/* Variables de Dr. Serpiel */
:root {
    --bg-color: #F5F2EE;
    --text-main: #4A443F;
    --accent-gold: #C5A059;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Notificación Personalizada */
#custom-notification {
    position: fixed;
    top: -100px; /* Oculto arriba */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: white;
    padding: 15px 40px;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
    z-index: 2000;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

#custom-notification.show {
    top: 40px; /* Posición visible */
}

.notification-hidden {
    display: block; /* Mantiene el elemento en el DOM para la animación */
}

/* Contenedores */
.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.auth-logo {
    width: 70px;
    margin-bottom: 15px;
}

.auth-header h2 {
    color: var(--text-main);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.auth-header p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 30px;
    font-family: 'Raleway', sans-serif;
}

/* Formulario */
.input-group {
    margin-bottom: 15px;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.auth-form input:focus {
    border-color: var(--accent-gold);
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row .input-group {
    flex: 1;
}

/* Botón Golden Glow */
.btn-golden-glow {
    width: 100%;
    padding: 15px;
    background: #E5DED4;
    border: 1px solid var(--accent-gold);
    color: var(--text-main);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.btn-golden-glow:hover {
    background-color: var(--accent-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* Footer de Auth */
.auth-footer {
    margin-top: 25px;
    font-size: 0.8rem;
    color: var(--text-main);
}

.auth-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    color: #aaa !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

/* Animación de entrada */
.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Evita el fondo azul de Chrome al autocompletar */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-main);
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    transition: background-color 5000s ease-in-out 0s;
}


.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper i {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: var(--accent-gold);
    transition: 0.3s;
}

.password-wrapper i:hover {
    color: var(--text-main);
}

/* Forzar que los campos no tengan el color amarillo/azul de Chrome */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: var(--text-main) !important;
}