.nfsevia-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(91, 91, 214, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 24%),
        linear-gradient(145deg, #d9ebff 0%, #edf5ff 34%, #f8fbff 100%);
    position: relative;
    overflow-x: hidden;
}

.nfsevia-login-page::before,
.nfsevia-login-page::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 999px;
    filter: blur(14px);
    opacity: .18;
    pointer-events: none;
}

.nfsevia-login-page::before {
    width: 320px;
    height: 320px;
    left: -110px;
    top: 90px;
    background: #5b5bd6;
}

.nfsevia-login-page::after {
    width: 300px;
    height: 300px;
    right: -90px;
    bottom: 130px;
    background: #38bdf8;
}

.login-page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 132px;
}

.nfsevia-login-page .login-container {
    width: 100%;
    max-width: 520px;
    display: flex;
    justify-content: center;
}

.nfsevia-login-page .login-form {
    width: 100%;
    max-width: 430px;
    padding: 34px 34px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.nfsevia-login-page .login-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.nfsevia-login-page .login-form .text-muted {
    color: #64748b !important;
}

.nfsevia-login-page .form-label {
    font-weight: 600;
    color: #334155;
}

.nfsevia-login-page .form-control {
    min-height: 48px;
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

.nfsevia-login-page .form-control:focus {
    border-color: rgba(91, 91, 214, 0.55);
    box-shadow: 0 0 0 .2rem rgba(91, 91, 214, 0.12);
}

.login-remember-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 14px 0 20px;
}

.login-remember-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    color: #475569;
    cursor: pointer;
}

.login-remember-check input {
    width: 16px;
    height: 16px;
    accent-color: #5b5bd6;
}

.login-submit {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 600;
}

.login-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.login-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-card-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: .92rem;
    text-align: center;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(92%, 760px);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 18px 20px;
    z-index: 9999;
    animation: cookie-slide-up .35s ease-out;
}

.cookie-banner.is-hiding {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: all .3s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: .95rem;
    line-height: 1.5;
}

.cookie-text i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.btn-cookie-accept {
    min-width: 120px;
    padding: 10px 20px;
    border-radius: 12px;
    background: #3182ce;
    color: #fff;
    border: 0;
    font-weight: 700;
    transition: background .2s ease;
}

.btn-cookie-accept:hover {
    background: #2563eb;
}

@keyframes cookie-slide-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .login-page-shell {
        padding: 24px 16px 146px;
    }

    .nfsevia-login-page .login-form {
        padding: 28px 22px 24px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cookie-accept {
        width: 100%;
    }
}
