.nt-subscription-page-section {
    max-width: 1040px;
    margin-inline: auto;
}

.nt-subscription-header {
    margin-inline: auto;
    text-align: center;
}

.nt-billing-selector {
    width: fit-content;
    max-width: 100%;
    margin-top: 18px;
    padding: 4px;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border: 1px solid var(--nt-border);
    border-radius: 999px;
    background: #f1f5f9;
}

.nt-billing-option {
    min-height: 42px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--nt-neutral);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.nt-billing-option span {
    display: inline-flex;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

.nt-billing-option.is-active {
    background: #ffffff;
    color: var(--nt-dark);
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.10);
}

.nt-billing-option:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.nt-subscription-price-wrap {
    min-height: 82px;
}

.nt-subscription-billing-note,
.nt-subscription-config-note {
    margin: 8px 0 0;
    color: var(--nt-neutral);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 650;
}

.nt-subscription-config-note {
    padding: 9px 11px;
    border: 1px solid rgba(217, 119, 6, 0.20);
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
}

.nt-subscription-pro-actions {
    align-items: flex-start;
}

.nt-subscription-pro-actions .nt-pricing-disclaimer {
    flex-basis: 100%;
}

.nt-subscription-faq {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nt-subscription-faq > div {
    padding: 14px;
    border: 1px solid var(--nt-border);
    border-radius: 14px;
    background: #f8fafc;
}

.nt-subscription-faq strong,
.nt-subscription-faq span {
    display: block;
}

.nt-subscription-faq strong {
    color: var(--nt-dark);
    font-size: 12px;
    font-weight: 950;
}

.nt-subscription-faq span {
    margin-top: 5px;
    color: var(--nt-neutral);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
}

@media (max-width: 760px) {
    .nt-subscription-faq {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nt-billing-selector {
        width: 100%;
    }

    .nt-billing-option {
        padding-inline: 9px;
    }

    .nt-billing-option span {
        display: none;
    }
}

.nt-current-plan-panel {
    margin: 16px 0 2px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    background: rgba(239, 246, 255, 0.82);
}

.nt-current-plan-panel[hidden] {
    display: none;
}

.nt-current-plan-panel.is-cancelling {
    border-color: rgba(217, 119, 6, 0.24);
    background: rgba(255, 251, 235, 0.88);
}

.nt-current-plan-panel > div {
    min-width: 0;
}

.nt-current-plan-label,
.nt-current-plan-panel strong,
.nt-current-plan-panel span {
    display: block;
}

.nt-current-plan-label {
    color: var(--nt-neutral);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nt-current-plan-panel strong {
    margin-top: 2px;
    color: var(--nt-dark);
    font-size: 14px;
    font-weight: 950;
}

.nt-current-plan-panel strong + span {
    margin-top: 3px;
    color: var(--nt-neutral);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 650;
}

.nt-current-plan-manage {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid var(--nt-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--nt-dark);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.nt-current-plan-manage:hover {
    border-color: rgba(37, 99, 235, 0.32);
    color: #1d4ed8;
}

.nt-plan-change-note {
    flex-basis: 100%;
    margin: 0;
    color: var(--nt-neutral);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 650;
}

.nt-plan-change-note[hidden] {
    display: none;
}

@media (max-width: 560px) {
    .nt-current-plan-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .nt-current-plan-manage {
        width: 100%;
    }
}
