html,
body.nsib-flp-gated-body {
    min-height: 100%;
    margin: 0;
}

body.nsib-flp-gated-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #0f172a;
    color: #0f172a;
}

.nsib-flp-backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.30), transparent 35%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.20), transparent 35%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.98));
}

.nsib-flp-gate-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.nsib-flp-gate-card {
    width: 100%;
    max-width: 470px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.nsib-flp-badge {
    display: inline-flex;
    padding: 7px 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nsib-flp-gate-card h1 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.2;
}

.nsib-flp-message,
.nsib-flp-page-name {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.5;
}

.nsib-flp-page-name {
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
}

.nsib-flp-error {
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-weight: 600;
}

.nsib-flp-form label {
    display: block;
    margin: 14px 0 6px;
    color: #0f172a;
    font-weight: 700;
}

.nsib-flp-form input[type="text"],
.nsib-flp-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 16px;
    outline: none;
}

.nsib-flp-form input[type="text"]:focus,
.nsib-flp-form input[type="password"]:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.nsib-flp-remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 14px 0 16px !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

.nsib-flp-form button {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.nsib-flp-form button:hover,
.nsib-flp-form button:focus {
    background: #1e293b;
}

.nsib-flp-links {
    margin: 16px 0 0;
    text-align: center;
}

.nsib-flp-links a {
    color: #0369a1;
    font-weight: 700;
    text-decoration: none;
}

.nsib-flp-links a:hover,
.nsib-flp-links a:focus {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .nsib-flp-gate-wrap {
        padding: 18px;
    }

    .nsib-flp-gate-card {
        padding: 24px;
        border-radius: 18px;
    }

    .nsib-flp-gate-card h1 {
        font-size: 24px;
    }
}
