/* olvidar.css - MISMO ESTILO QUE login.css */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --success: #10b981;
    --error: #ef4444;
    --warning: #fbbf24;
    --light: #f8fafc;
    --dark: #1e293b;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    overflow: auto;
    padding: 20px;
    position: relative;
    color: var(--dark);
}
.bg-slider {
            position: fixed;
            width: 100vw;
            height: 100vh;
            top: 0;
            left: 0;
            z-index: 0;
            overflow: hidden;
        }

        .bg-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;      /* Muestra la imagen completa */
    background-position: center;
    background-repeat: no-repeat;  /* No se repite */
    opacity: 0;
    animation: slider 20s infinite;
    filter: brightness(0.6);
    background-color: #f3f2f2;        /* Relleno para espacios vacíos */
}


        .bg-slider .slide:nth-child(1) {
    background-image: url('../img/img4.png');
    animation-delay: 0s;
}

.bg-slider .slide:nth-child(2) {
    background-image: url('../img/img5.png');
    animation-delay: 4s;
}

.bg-slider .slide:nth-child(3) {
    background-image: url('../img/img6.png');
    animation-delay: 8s;
}

.bg-slider .slide:nth-child(4) {
    background-image: url('../img/img3.png');
    animation-delay: 12s;
}

.bg-slider .slide:nth-child(5) {
    background-image: url('../img/img2.png');
    animation-delay: 16s;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
}

@keyframes slider {
    0%, 20%, 100% {
        opacity: 0;
        transform: scale(1.1) rotate(0.5deg);
    }
    5%, 15% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.forgot-password-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    z-index: 1;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

.forgot-password-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo i {
    font-size: 60px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.logo h1 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.success-message, .error-message {
    display: none;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: fadeIn 0.5s ease-out;
}

.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
}

.success-message i {
    color: var(--success);
    margin-right: 10px;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: white;
}

.error-message i {
    color: var(--error);
    margin-right: 10px;
}

#forgotPasswordForm {
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group i {
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    font-size: 16px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label {
    top: 10px;
    transform: translateY(0);
    font-size: 12px;
    color: var(--primary);
}

.form-group input::placeholder {
    color: transparent;
}

.submit-btn {
    position: relative;
    width: 100%;
    padding: 16px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.submit-btn:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.back-to-login {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-login a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-login a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.back-to-login i {
    font-size: 14px;
}

.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.step-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none;
}

.step-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .forgot-password-container {
        padding: 30px 20px;
    }
    
    .logo i {
        font-size: 50px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .description {
        font-size: 13px;
        padding: 0;
    }
    
    .step-label {
        display: none;
    }
    
    .step-line {
        width: 20px;
    }
}
/* ===== NOTIFICACIONES TOAST - DISEÑO COMPLETO ===== */

/* Contenedor principal */
/* ===== NOTIFICACIONES TOAST - DISEÑO SOLICITADO ===== */
.toast-notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateX(150px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Colores según tipo */
.toast-notification.success {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.toast-notification.success i {
    color: #10b981 !important;
}

.toast-notification.error {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.toast-notification.error i {
    color: #ef4444 !important;
}

.toast-notification.info {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.toast-notification.info i {
    color: #3b82f6 !important;
}

/* Icono */
.toast-notification i {
    font-size: 20px;
    flex-shrink: 0;
}

/* Texto */
.toast-notification span {
    line-height: 1.5;
    word-wrap: break-word;
    flex-grow: 1;
    color: white;
}

/* Botón de cerrar */
.toast-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
    margin-left: 5px;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

/* Barra de progreso sutil */
.toast-notification::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, #10b981, rgba(16, 185, 129, 0.3));
    width: 100%;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    animation: toastProgress 4s linear forwards;
}

.toast-notification.success::after {
    background: linear-gradient(to right, #10b981, rgba(16, 185, 129, 0.3));
}

.toast-notification.error::after {
    background: linear-gradient(to right, #ef4444, rgba(239, 68, 68, 0.3));
}

.toast-notification.info::after {
    background: linear-gradient(to right, #3b82f6, rgba(59, 130, 246, 0.3));
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Animación de salida */
@keyframes toastHide {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(150px);
    }
}

.toast-notification.hiding {
    animation: toastHide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 576px) {
    .toast-notification {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
    
    @keyframes toastHide {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(-100px);
        }
    }
}