/* ========== ESTILOS ESPECÍFICOS PARA FORGOT PASSWORD ========== */

:root {
    --primary: #e50914;
    --primary-dark: #b2070f;
    --dark: #221f1f;
    --gray: #7f7f7f;
}

/* Fondo */
.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #764ba2 100%);
    z-index: -2;
}

body.auth-page {
    overflow-y: auto;
}

/* Wrapper principal */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Contenedor centrado — una sola columna */
.auth-container {
    width: 100%;
    max-width: 480px;
}

/* Tarjeta */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-icon i {
    font-size: 1.8rem;
    color: white;
}

.auth-header h2 {
    font-size: 1.75rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Formulario */
.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary);
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

/* Botón enviar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
}

@media (min-width: 769px) {
    .btn-block {
        width: fit-content;
        display: flex;
        margin: 0 auto;
    }
}

/* Loader */
.btn-loader {
    display: inline-block;
}

/* Footer */
.auth-footer {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.login-prompt {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.login-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
}

.login-link i {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.login-link:hover i {
    transform: translateX(4px);
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    .auth-wrapper {
        min-height: auto;
        padding: 2rem 1rem 5rem;
        align-items: flex-start;
    }

    .auth-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .auth-header h2 {
        font-size: 1.3rem;
    }

    .auth-header p {
        font-size: 0.85rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .btn-block {
        width: 100%;
    }
}