body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1c4e80, #145374);
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

/* Contenedor principal */
.auth-wrapper {
    width: 85%;
    max-width: 320px;
    background: #ffffffee;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 25px rgba(0,0,0,0.25);
    text-align: center;
}

/* Logo */
.logo-box img {
    width: 300px;
    margin-bottom: 15px;
}

/* Texto */
.login-container h2 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Entradas */
.login-container input {
    width: 95%;
    padding: 12px;
    margin: 8px 0 18px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

/* Botón */
.btn-login {
    width: 100%;
    background: #1c4e80;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.3s;
}

.btn-login:hover {
    background: #163d63;
}

/* Link */
.forgot-link {
    display: block;
    margin-top: 15px;
    color: #1c4e80;
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.toggle-pass {
    cursor: pointer;
    text-decoration: underline;
}

.login-container label {
    font-weight: bold;
}

/* Loader */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader-overlay .loader {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top: 6px solid #1c4e80;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsivo */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 20px;
        max-width: 300px;
    }

    .logo-box img {
        width: 220px;
    }
}
