/* Página login moderna */
.login-page-modern {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Lottie */
.login-bg-lottie {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160%;
    height: 160%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

/* Contenedor card */
.login-container-modern {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
    z-index: 1;
    position: relative;
}

/* Card moderna */
.card-modern {
    border-radius: 1.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}

/* Header */
.card-header {
    border-bottom: none;
    background: transparent;
    text-align: center;
}

/* Logo */
.logo-login-modern {
    height: 52px;
    margin-bottom: 0.5rem;
}

/* Inputs */
.input-modern:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59,130,246,0.35);
}

/* Botón submit */
.btn-modern-hover {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 6px 16px rgba(59,130,246,0.25);
    transition: all 0.3s ease;
}

.btn-modern-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59,130,246,0.35);
}

/* Password toggle */
.input-group-modern .btn-toggle-pass {
    border-radius: 0 50px 50px 0;
}

/* Footer */
.card-footer {
    background: transparent;
}

/* Dark mode */
.dark-mode .card-modern {
    background: rgba(30,30,30,0.9);
    color: #eee;
    backdrop-filter: blur(10px);
}

.dark-mode .input-modern {
    background-color: #2a2a2a;
    border-color: #444;
    color: #fff;
}

.dark-mode .input-modern::placeholder {
    color: #aaa;
}
