.nl-modal {
    z-index: 2147483000;
    display: none;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.nl-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(8px);
}

.nl-modal__wrap {
    position: relative;
    z-index: 2;
    min-height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.nl-sheet {
    width: min(980px, 100%);
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 35px 90px -30px rgba(2, 33, 22, 0.55);
    transform: translateY(18px) scale(0.985);
    opacity: 0;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

.nl-grid {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr;
}

.nl-left {
    color: #fff;
    padding: 2rem;
    background: linear-gradient(140deg, #032e1f 0%, #054d35 45%, #0a6b4b 100%);
}

.nl-left__brand {
    margin-bottom: 2rem;
}
.nl-left__logo {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.nl-left__wordmark {
    font-size: 2rem;
    font-weight: 900;
}
.nl-left__title {
    font-size: 1.6rem;
    line-height: 1.06;
    font-weight: 900;
    max-width: 470px;
}
.nl-left__subtitle {
      margin-top: 0.8rem;
    color: #f69e40;
    font-weight: 600;
    font-size: 1.05rem;
    max-width: 420px;
}

.nl-benefits {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.nl-benefit {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 0.75rem;
    font-weight: 700;
    font-size: 0.94rem;
}

.nl-benefit i {
    color: #9af3cb;
    font-size: 1.05rem;
}

.nl-right {
    position: relative;
    background: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nl-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #fca5a5;
    background: #fff1f2;
    color: #be123c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nl-close:hover {
    background: #ffe4e6;
    border-color: #fb7185;
    color: #9f1239;
}

.nl-head__title {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 900;
    color: #0f172a;
}

.nl-head__sub {
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.nl-head__sub i {
    color: #0a6b4b;
}

.nl-form {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.95rem;
}
.nl-field label,
.nl-otp label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}
.nl-field label i,
.nl-otp label i {
    color: #0a6b4b;
    margin-right: 0.25rem;
}

.nl-input {
    display: flex;
    align-items: center;
    border: 1px solid #dbe3ea;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.nl-input:focus-within {
    border-color: #0a6b4b;
    box-shadow: 0 0 0 4px rgba(10, 107, 75, 0.16);
}

.nl-code {
    padding: 0.85rem 0.9rem;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.9rem;
}

.nl-input input {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    outline: 0;
    width: 100%;
    padding: 0.88rem 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.nl-input input:focus,
.nl-input input:focus-visible {
    outline: none;
    box-shadow: none;
}

.nl-input input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.nl-error {
    color: #dc2626;
    font-size: 0.78rem;
    margin-top: 0.35rem;
}
.nl-field {
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}
.nl-field.is-minimized {
    opacity: 0.55;
    transform: scale(0.99);
}

.nl-otp-sent {
    border: 1px solid #d1fae5;
    background: #f0fdf4;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    animation: nlFadeIn 0.2s ease;
}
.nl-otp-sent__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #065f46;
}
.nl-otp-sent__text {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: #475569;
}
.nl-otp-sent__row {
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
}
.nl-otp-sent__row strong {
    color: #0f172a;
}
.nl-otp-sent__row button {
    border: 0;
    background: transparent;
    color: #047857;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.nl-otp-loading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid #bfdbfe;
    background: linear-gradient(120deg, #eff6ff 0%, #f8fbff 100%);
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    animation: nlFadeIn 0.2s ease;
}
.nl-otp-loading__spinner {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 3px solid #bfdbfe;
    border-top-color: #2563eb;
    animation: nlSpin 0.7s linear infinite;
}
.nl-otp-loading__title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1d4ed8;
}
.nl-otp-loading__text {
    margin-top: 0.1rem;
    font-size: 0.8rem;
    color: #475569;
}

.nl-otp {
    animation: nlFadeIn 0.2s ease;
}
.nl-resend-btn {
    margin-top: 0.45rem;
    border: 0;
    background: transparent;
    color: #047857;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

@keyframes nlFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nlSpin {
    to {
        transform: rotate(360deg);
    }
}

.nl-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #475569;
}
.nl-check input {
    margin-top: 0.1rem;
    accent-color: #0a6b4b;
    width: 1.06rem;
    height: 1.06rem;
}
.nl-check a {
    color: #0a6b4b;
    font-weight: 700;
    text-decoration: underline;
}

.nl-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.2rem;
}

.nl-btn {
    border-radius: 12px;
    border: 0;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.9rem;
    transition:
        transform 0.18s ease,
        box-shadow 0.22s ease,
        filter 0.18s ease;
}

.nl-btn:hover {
    transform: translateY(-1px);
}

.nl-btn--primary {
    color: #fff;
    background-color: #e78014;
    box-shadow: 0 14px 26px -14px rgba(4, 56, 39, 0.55);
}

.nl-btn--ghost {
    color: #065f46;
    border: 2px solid #bbf7d0;
    background: #f0fdf4;
}

.nl-foot {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.nl-foot a {
    margin-left: 0.35rem;
    color: #047857;
    font-weight: 800;
}
.nl-safe {
    margin-top: 0.55rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.76rem;
}

@media (max-width: 900px) {
    .nl-grid {
        grid-template-columns: 1fr;
    }
    .nl-left__title {
        font-size: 2rem;
    }
    .nl-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nl-actions {
        grid-template-columns: 1fr;
    }
    .nl-sheet {
        width: 100%;
        max-height: calc(100vh - 1.2rem);
        border-radius: 18px;
        overflow-y: auto;
    }
    .nl-modal__wrap {
        align-items: flex-start;
        padding: .6rem;
    }
    .nl-left, .nl-right {
        width: 100%;
    }
    .nl-left {
        padding: 1.1rem;
    }
    .nl-right {
        padding: 1rem;
    }
    .nl-left__title {
        font-size: 1.35rem;
        line-height: 1.2;
    }
    .nl-left__subtitle {
        font-size: .92rem;
    }
    .nl-left__brand {
        margin-bottom: .9rem;
    }
    .nl-left__logo {
        height: 40px;
        max-width: 180px;
    }
    .nl-benefit {
        min-height: 84px;
        align-items: flex-start;
        font-size: .78rem;
        line-height: 1.35;
        padding: .58rem .52rem;
        gap: .4rem;
    }
    .nl-benefit i {
        font-size: .88rem;
        margin-top: .08rem;
    }
    .nl-head__title {
        font-size: 1.75rem;
    }
    .nl-check {
        font-size: .8rem;
    }
    .nl-safe {
        margin-bottom: .4rem;
    }
}

@media (min-width: 901px) {
    .nl-sheet {
        width: min(1080px, 96vw);
    }
    .nl-grid {
        grid-template-columns: 1.2fr 0.95fr;
        min-height: 620px;
    }
    .nl-left {
        padding: 2.2rem 2.1rem;
    }
    .nl-right {
        padding: 2.1rem;
    }
    .nl-left__title {
        font-size: 2.3rem;
        line-height: 1.08;
    }
    .nl-left__subtitle {
        color: rgba(209, 250, 229, .9);
        font-size: 1rem;
        font-weight: 500;
    }
    .nl-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .6rem;
    }
    .nl-head__title {
        font-size: 2.45rem;
    }
}
