/* ========================================================================== */
/* CICLO VALIDA - Modal de Validación de Ciclo                              */
/* ========================================================================== */

.ciclo-valida-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: fadeIn 0.2s ease-out;
}

.ciclo-valida-container {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: slideIn 0.3s ease-out;
    border: 1px solid var(--border-color);
}

.ciclo-valida-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(240, 116, 0, 0.12);
    color: #F07400;
}

.ciclo-valida-icon svg {
    width: 32px;
    height: 32px;
}

.ciclo-valida-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.ciclo-valida-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: var(--text-primary);
    opacity: 0.85;
}

.ciclo-valida-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.ciclo-valida-input:focus {
    border-color: #F07400;
}

.ciclo-valida-input::placeholder {
    color: var(--text-primary);
    opacity: 0.4;
    font-weight: 400;
    font-size: 14px;
}

/* Ocultar flechas del input number */
.ciclo-valida-input::-webkit-outer-spin-button,
.ciclo-valida-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ciclo-valida-input[type=number] {
    -moz-appearance: textfield;
}

.ciclo-valida-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}

.ciclo-valida-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ciclo-valida-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ciclo-valida-btn:active {
    transform: translateY(0);
}

.ciclo-valida-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ciclo-valida-btn-confirm {
    background-color: #F07400;
    color: white;
}

.ciclo-valida-btn-confirm:hover:not(:disabled) {
    background-color: #d46800;
}

.ciclo-valida-btn-cancel {
    background-color: #6c757d;
    color: white;
}

.ciclo-valida-btn-cancel:hover {
    background-color: #5c636a;
}
