body.nortfly-account-v1:not(.wp-admin) {
    background: var(--nf-ui-page);
    color: var(--nf-ui-text);
}

body.nortfly-account-v1:not(.wp-admin) #main,
body.nortfly-account-v1:not(.wp-admin) .page-wrapper {
    background:
        radial-gradient(circle at 7% 8%, rgba(59, 34, 255, .07), transparent 26%),
        radial-gradient(circle at 96% 4%, rgba(0, 168, 132, .07), transparent 23%),
        var(--nf-ui-page) !important;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-wrap {
    box-sizing: border-box;
    color: var(--nf-ui-text);
    margin: 0 auto;
    max-width: 1216px;
    padding: clamp(24px, 5vw, 64px) 16px clamp(42px, 7vw, 84px);
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-wrap *,
body.nortfly-account-v1:not(.wp-admin) .nf-account-wrap *::before,
body.nortfly-account-v1:not(.wp-admin) .nf-account-wrap *::after {
    box-sizing: border-box;
}

.nf-account-shell {
    background: #fff;
    border: 1px solid rgba(159, 176, 197, .52);
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(2, 8, 23, .14);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    min-height: 640px;
    overflow: hidden;
}

.nf-account-story {
    background:
        radial-gradient(circle at 82% 12%, rgba(0, 224, 164, .2), transparent 25%),
        radial-gradient(circle at 20% 105%, rgba(59, 34, 255, .42), transparent 38%),
        linear-gradient(145deg, #020817, #071735 58%, #061226);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(34px, 5vw, 58px);
    position: relative;
}

.nf-account-story::after {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
    height: 280px;
    position: absolute;
    right: -146px;
    top: 42%;
    width: 280px;
}

.nf-account-brand {
    align-items: center;
    color: #fff !important;
    display: inline-flex;
    gap: 12px;
    position: relative;
    text-decoration: none !important;
    width: fit-content;
    z-index: 1;
}

.nf-account-brand__mark {
    align-items: center;
    background: linear-gradient(135deg, #684cff, #1463ff 58%, #00a884);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(20, 99, 255, .28);
    display: inline-flex;
    font-size: 18px;
    font-weight: 950;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.nf-account-brand__copy {
    display: grid;
    line-height: 1.08;
}

.nf-account-brand__copy small {
    color: #9fb5d3;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nf-account-brand__copy strong {
    color: #fff;
    font-size: 19px;
    margin-top: 4px;
}

.nf-account-story__content {
    max-width: 590px;
    padding: 52px 0 34px;
    position: relative;
    z-index: 1;
}

.nf-account-story__eyebrow,
.nf-account-form__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.nf-account-story__eyebrow {
    color: #78f2cf;
    margin-bottom: 14px;
}

.nf-account-story h2 {
    color: #fff;
    font-size: clamp(38px, 4.2vw, 58px);
    letter-spacing: -.045em;
    line-height: .98;
    margin: 0 0 20px;
    max-width: 620px;
}

.nf-account-story__lead {
    color: #cfdaea;
    font-size: 16px;
    font-weight: 620;
    line-height: 1.62;
    margin: 0;
    max-width: 570px;
}

.nf-account-trust-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.nf-account-trust-list li {
    align-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    display: grid;
    gap: 2px 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 12px 14px;
}

.nf-account-trust-list li::before {
    align-items: center;
    background: rgba(120, 242, 207, .13);
    border: 1px solid rgba(120, 242, 207, .26);
    border-radius: 50%;
    color: #78f2cf;
    content: "✓";
    display: inline-flex;
    font-size: 13px;
    font-weight: 950;
    grid-row: 1 / span 2;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.nf-account-trust-list strong {
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.nf-account-trust-list span {
    color: #aebed3;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-card {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    overflow: visible;
    padding: clamp(32px, 5vw, 58px);
    position: relative;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-card::before {
    display: none;
}

.nf-account-card__inner {
    margin: auto;
    max-width: 470px;
    width: 100%;
}

.nf-account-form__eyebrow {
    color: var(--nf-ui-primary);
    margin-bottom: 11px;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-card h1,
body.nortfly-account-v1:not(.wp-admin) .nf-account-card h2 {
    color: var(--nf-ui-text);
    font-size: clamp(31px, 3vw, 42px);
    letter-spacing: -.04em;
    line-height: 1.02;
    margin: 0 0 12px;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-form__lead {
    color: var(--nf-ui-text-muted);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.55;
    margin: 0 0 26px;
}

.nf-account-form {
    display: grid;
    gap: 16px;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-field label {
    color: var(--nf-ui-text);
    display: block;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;
    margin: 0;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-field input {
    appearance: none;
    background: #fff;
    border: 1px solid var(--nf-ui-border);
    border-radius: 13px;
    box-shadow: none;
    color: var(--nf-ui-text);
    font-family: inherit;
    font-size: 15px;
    min-height: 54px;
    outline: 0;
    padding: 0 15px;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
    width: 100%;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-field input:hover {
    border-color: var(--nf-ui-border-strong);
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-field input:focus {
    border-color: var(--nf-ui-primary);
    box-shadow: 0 0 0 4px rgba(20, 99, 255, .13);
}

.nf-account-password-note {
    color: var(--nf-ui-text-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
    margin: -6px 0 0;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-actions {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-btn,
body.nortfly-account-v1:not(.wp-admin) .nf-account-actions button.nf-account-btn,
body.nortfly-account-v1:not(.wp-admin) .nf-account-actions a.nf-account-btn {
    align-items: center !important;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 13px;
    box-sizing: border-box !important;
    cursor: pointer;
    display: inline-flex !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 850;
    height: auto !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    min-height: 52px !important;
    padding: 12px 18px !important;
    text-align: center;
    text-decoration: none !important;
    top: auto !important;
    transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, filter .16s ease, transform .16s ease;
    width: 100%;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-primary {
    background: linear-gradient(135deg, #3b22ff, #1463ff);
    box-shadow: 0 14px 28px rgba(20, 99, 255, .22);
    color: #fff !important;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px) !important;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-light {
    background: #fff;
    border-color: var(--nf-ui-border);
    color: var(--nf-ui-text) !important;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-light:hover {
    background: var(--nf-ui-inset);
    border-color: var(--nf-ui-border-strong);
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-btn:disabled {
    cursor: wait;
    filter: grayscale(.15);
    opacity: .64;
    transform: none !important;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-note {
    color: var(--nf-ui-text-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    margin: 4px 0 0 !important;
    text-align: center;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-note a {
    border: 0;
    color: var(--nf-ui-primary);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-msg {
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0;
    padding: 12px 13px;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-msg:empty {
    display: none;
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-msg.is-pending {
    background: var(--nf-ui-info-soft);
    color: var(--nf-ui-info);
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-msg.is-success {
    background: var(--nf-ui-success-soft);
    color: var(--nf-ui-success);
}

body.nortfly-account-v1:not(.wp-admin) .nf-account-msg.is-error {
    background: var(--nf-ui-danger-soft);
    color: var(--nf-ui-danger);
}

.nf-account-assurance {
    align-items: center;
    border-top: 1px solid var(--nf-ui-border);
    color: var(--nf-ui-text-muted);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    gap: 8px;
    line-height: 1.45;
    margin-top: 24px;
    padding-top: 18px;
}

.nf-account-assurance::before {
    background: var(--nf-ui-success);
    border: 4px solid var(--nf-ui-success-soft);
    border-radius: 50%;
    content: "";
    flex: 0 0 auto;
    height: 13px;
    width: 13px;
}

.nf-account-state {
    display: grid;
    gap: 14px;
}

.nf-account-state__badge {
    align-items: center;
    background: var(--nf-ui-primary-soft);
    border-radius: 999px;
    color: var(--nf-ui-primary);
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    min-height: 30px;
    padding: 6px 11px;
    text-transform: uppercase;
    width: fit-content;
}

.nf-hp {
    height: 0 !important;
    left: -9999px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    width: 0 !important;
}

body.nortfly-account-v1:not(.wp-admin) :where(
    .nf-account-btn,
    .nf-account-brand,
    .nf-account-note a,
    input
):focus-visible {
    outline: 3px solid var(--nf-ui-focus);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .nf-account-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .nf-account-story {
        gap: 28px;
        padding: 30px;
    }

    .nf-account-story__content {
        padding: 24px 0 0;
    }

    .nf-account-story h2 {
        font-size: clamp(34px, 7vw, 46px);
        max-width: 680px;
    }

    .nf-account-trust-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nf-account-trust-list li {
        align-content: start;
        grid-template-columns: 28px minmax(0, 1fr);
        min-height: 76px;
    }

    .nf-account-trust-list span {
        display: none;
    }

    body.nortfly-account-v1:not(.wp-admin) .nf-account-card {
        min-height: 520px;
    }
}

@media (max-width: 620px) {
    body.nortfly-account-v1:not(.wp-admin) .nf-account-wrap {
        padding: 14px 10px 38px;
    }

    .nf-account-shell {
        border-radius: 23px;
    }

    .nf-account-story {
        padding: 24px 21px;
    }

    .nf-account-brand__mark {
        border-radius: 12px;
        height: 40px;
        width: 40px;
    }

    .nf-account-story__content {
        padding-top: 14px;
    }

    .nf-account-story h2 {
        font-size: 34px;
        line-height: 1;
        margin-bottom: 14px;
    }

    .nf-account-story__lead {
        font-size: 14px;
    }

    .nf-account-trust-list {
        grid-template-columns: 1fr;
    }

    .nf-account-trust-list li {
        min-height: 0;
        padding: 10px 12px;
    }

    body.nortfly-account-v1:not(.wp-admin) .nf-account-card {
        min-height: 0;
        padding: 30px 21px 32px;
    }

    body.nortfly-account-v1:not(.wp-admin) .nf-account-card h1,
    body.nortfly-account-v1:not(.wp-admin) .nf-account-card h2 {
        font-size: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nortfly-account-v1:not(.wp-admin) .nf-account-btn,
    body.nortfly-account-v1:not(.wp-admin) .nf-account-field input {
        transition: none;
    }
}
