*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Nunito', sans-serif;
    background: #f3f3f3;
}

/* Contenedor principal para centrar sobre el fondo */
.login{
    background: url('../imagenes/website/login.jpg') no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tarjeta estilo Glassmorphism */
.login-card {
    width: 100%;
    max-width: 380px;
    padding: 2rem 3rem;
    background: rgba(29, 96, 134, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    text-align: center;
    color: #ffffff;
}

/* Tipografía del Logo */
.logo-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a2530;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #181717;
    margin-top: 5px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Inputs */
.login-form .input-group {
    margin-bottom: 15px;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(30, 41, 59, 0.45);
    color: #ffffff;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.login-form input::placeholder {
    color: #94a3b8;
}

.login-form input:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(30, 41, 59, 0.65);
}

/* Switch Recordar */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Toggle Switch personalizado */
.remember-me input[type="checkbox"] {
    display: none;
}

.switch-slider {
    width: 34px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    transition: background-color 0.3s;
}

.switch-slider::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ffffff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.remember-me input:checked + .switch-slider {
    background-color: #1e3a8a;
}

.remember-me input:checked + .switch-slider::before {
    transform: translateX(16px);
}

/* Botón Iniciar Sesión */
.btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #1e293b; /* Navy corporativo */
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-submit:hover {
    background: #0f172a;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Enlaces del pie */
.form-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-links a {
    color: #cbd5e1;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.form-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}