/* ========================================
   ESTILOS UNIFICADOS PARA RECUPERACIÓN DE CONTRASEÑA
   Mismo estilo que login/registro
   ======================================== */

:root {
    --primary-color: #2c7be5;
    --primary-dark: #1a5cc2;
    --secondary-color: #f1f5f9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --accent-gold: #d4af37;
    --success-color: #10b981;
    --error-color: #ef4444;
    --bg-light: #f8fafc;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenedor principal - Mismo que login */
.auth-main-contenedor {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 2rem;
    background: var(--bg-light);
    margin-top: 80px;
}

/* Layout de dos columnas - Igual que login */
.auth-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    margin-top: 2rem;
}

/* Sección del logo - Exactamente igual que login */
.auth-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
}

.big-logo-container {
    text-align: center;
    animation: fadeInLeft 0.8s ease-out;
    margin-top: 1rem;
}

.big-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    object-fit: cover;
    transition: var(--transition);
}

.big-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(44, 123, 229, 0.3);
}

/* Quitar el texto del logo como en login */
.big-logo-container h1 {
    display: none;
}

.logo-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Sección del formulario */
.auth-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 3rem;
}

.auth-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(44, 123, 229, 0.1);
    width: 100%;
    max-width: 450px;
    animation: fadeInRight 0.8s ease-out;
    margin-top: 2rem;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.auth-form-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-form-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* Formulario */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.campo-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.campo-grupo label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.campo-grupo input[type="email"],
.campo-grupo input[type="text"],
.campo-grupo input[type="password"] {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.campo-grupo input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
}

/* Input especial para código */
.codigo-input {
    letter-spacing: 8px !important;
    text-align: center !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

/* Botón */
.btn-auth {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    box-shadow: 0 8px 25px rgba(44, 123, 229, 0.35);
}

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(44, 123, 229, 0.5);
}

.btn-auth:active {
    transform: translateY(-1px);
}

/* Enlace de volver */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-footer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    text-decoration: underline;
    transform: translateX(-3px);
}

/* Mensajes de error */
.mensaje-error {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideInDown 0.3s ease;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error-color);
}

/* Información del correo */
.email-info {
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.1) 0%, rgba(44, 123, 229, 0.05) 100%);
    border: 1px solid rgba(44, 123, 229, 0.2);
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.email-info strong {
    font-weight: 600;
}

/* ========================================
   ANIMACIONES
   ======================================== */

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .auth-hero-section {
        gap: 3rem;
    }

    .big-logo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .auth-main-contenedor {
        padding: 5rem 1rem 1rem;
        min-height: calc(100vh - 150px);
        margin-top: 70px;
    }

    .auth-hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-top: 1rem;
    }

    .auth-logo-section {
        padding: 1rem;
        margin-top: 1rem;
    }

    .auth-form-section {
        padding: 1rem;
        margin-top: 1rem;
    }

    .auth-form-container {
        padding: 2rem;
        max-width: 100%;
        margin-top: 1rem;
    }

    .big-logo {
        width: 150px;
        height: 150px;
    }

    .logo-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-main-contenedor {
        padding: 4rem 0.5rem 0.5rem;
        margin-top: 60px;
    }

    .auth-form-container {
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 0.5rem;
    }

    .auth-form-header {
        padding-top: 0.5rem;
    }

    .auth-form-header h2 {
        font-size: 1.8rem;
    }

    .big-logo {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }

    .logo-subtitle {
        font-size: 0.95rem;
    }

    .btn-auth {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .campo-grupo input[type="email"],
    .campo-grupo input[type="text"],
    .campo-grupo input[type="password"] {
        padding: 0.9rem 1rem;
        font-size: 16px;
    }
}
/* ========================================
   CORRECCIÓN DEL TAMAÑO DEL LOGO - RECUPERACIÓN
   ======================================== */

/* Fuerza el tamaño del logo en todas partes */
img[src*="Logo.jpg"],
img[alt*="LOGO SMARTSTAY"],
img[alt*="Logo Hotel"],
img[alt*="SmartStay Solution"] {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Específico para cada ubicación en recuperación */
.big-logo {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important; /* Cambia de cover a contain */
}

.big-logo-container .big-logo {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
}

/* Logo en el navbar/header */
.barra-contenedor .logo img {
    width: 113px !important;
    height: 115px !important;
    object-fit: contain !important;
}

/* Logo en el footer */
.footer-logo img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
}




/* ========================================
   CORRECCIÓN DEL TAMAÑO DEL LOGO - RECUPERACIÓN
   ======================================== */

/* Fuerza el tamaño del logo en todas partes */
img[src*="Logo.jpg"],
img[alt*="LOGO SMARTSTAY"],
img[alt*="Logo Hotel"],
img[alt*="SmartStay Solution"] {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Específico para cada ubicación en recuperación */
.big-logo {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important; /* Cambia de cover a contain */
}

.big-logo-container .big-logo {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
}

/* Logo en el navbar/header */
.barra-contenedor .logo img {
    width: 113px !important;
    height: 115px !important;
    object-fit: contain !important;
}

/* Logo en el footer */
.footer-logo img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
}

/* Botón Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}


