.nt-login-page,
.nt-login-page .custom-container {
    min-height: 100%;
    margin: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 52%),
        linear-gradient(180deg, #7fa6bf 0%, #6f98b4 38%, #5f88a5 100%);
    color: #142235;
}

.nt-login-page .custom-container {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.nt-login-page {
    overflow-x: hidden;
    overflow-y: auto;
}

.nt-password-reset-page,
.nt-password-reset-page .custom-container {
    min-height: 100%;
    margin: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 52%),
        linear-gradient(180deg, #7fa6bf 0%, #6f98b4 38%, #5f88a5 100%);
    color: #142235;
}

.nt-password-reset-page .custom-container {
    min-height: 100vh;
}

.nt-password-reset-page .nt-site-header {
    background: #fbf7f4;
}

.nt-password-reset-main {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 48px 20px 64px;
}

.nt-password-reset-card {
    width: min(100%, 560px);
    padding: 48px 40px 40px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    background: #fbf7f4;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12), 0 5px 16px rgba(15, 23, 42, 0.06);
}

.nt-password-reset-card__header {
    margin-bottom: 30px;
    text-align: center;
}

.nt-password-reset-card__header h1 {
    margin: 0 0 9px;
    color: #142235;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nt-password-reset-card__header p {
    margin: 0;
    color: #536274;
    font-size: 1rem;
}

.nt-password-reset-card > .alert {
    margin: 0 0 24px;
}

.nt-password-reset-page-form {
    display: grid;
    gap: 20px;
}

.nt-password-reset-page-field {
    display: grid;
    gap: 8px;
}

.nt-password-reset-page-field label {
    color: #142235;
    font-size: 0.94rem;
    font-weight: 700;
}

.nt-password-reset-page-field .login-input {
    width: 100%;
    height: 56px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #142235;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: none;
}

.nt-password-reset-page-field .login-input:focus {
    border-color: var(--nt-color-focus);
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 95, 145, 0.18);
}

.nt-password-reset-page-field .login-input.is-invalid {
    border-color: #b42318;
}

.nt-password-reset-page-field .invalid-feedback {
    margin: 0;
    color: #b42318;
    font-size: 0.86rem;
}

.nt-password-reset-page-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
}

.nt-password-reset-page-submit:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-login-page .nt-site-header {
    background: #fbf7f4;
}

.nt-login-main {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: auto;
    padding: 48px 20px max(80px, env(safe-area-inset-bottom));
}

.nt-login-card {
    box-sizing: border-box;
    width: min(100%, 520px);
    margin-bottom: 16px;
    padding: 62px 40px 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    background: #fbf7f4;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12), 0 5px 16px rgba(15, 23, 42, 0.06);
}

.nt-login-card__header {
    margin-bottom: 30px;
    text-align: center;
}

.nt-login-card__header h1 {
    margin: 0 0 9px;
    color: #142235;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nt-login-card__header p {
    margin: 0;
    color: #536274;
    font-size: 1rem;
}

.nt-login-form {
    display: grid;
    gap: 16px;
}

.nt-login-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.nt-login-field {
    display: grid;
    gap: 8px;
}

.nt-login-field label {
    color: #142235;
    font-size: 0.94rem;
    font-weight: 700;
}

.nt-login-password-field {
    position: relative;
}

.nt-login-form .nt-login-password-field .login-input {
    padding-right: 58px;
}

.nt-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: #536274;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.nt-login-password-toggle:hover {
    color: #142235;
}

.nt-login-password-toggle:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 1px;
}

.nt-login-password-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.nt-login-form .login-input {
    width: 100%;
    height: 56px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #142235;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: none;
}

.nt-login-form .login-input:focus {
    border-color: var(--nt-color-focus) !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 95, 145, 0.18) !important;
}

.nt-login-remember {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
}

.nt-login-remember input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #1e5a32;
}

.nt-login-remember label {
    display: block;
    color: #142235;
    font-weight: 700;
}

.nt-login-remember p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.nt-login-recaptcha-section {
    display: grid;
    gap: 10px;
    width: 100%;
}

.nt-login-recaptcha-warning,
.nt-login-recaptcha {
    box-sizing: border-box;
    width: 100%;
    border-radius: 18px;
}

.nt-login-recaptcha-warning {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 11px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #b87568;
    background: #fdf1ee;
}

.nt-login-recaptcha-warning__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #b87568;
    border-radius: 50%;
    color: #a65f52;
    font-weight: 800;
}

.nt-login-recaptcha-warning p {
    margin: 0;
    color: #342321;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.nt-login-recaptcha {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 2px solid #84a9c3;
    background: #eef5f9;
    box-shadow: 0 8px 22px rgba(36, 75, 104, 0.1);
}

.nt-login-recaptcha:focus {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-login-recaptcha__heading {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
}

.nt-login-recaptcha__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: #244b68;
    font-size: 1rem;
    font-weight: 800;
}

.nt-login-recaptcha h2 {
    margin: 0;
    color: #142235;
    font-size: 1.05rem;
    font-weight: 800;
}

.nt-login-recaptcha p {
    margin: 4px 0 0;
    color: #536274;
    font-size: 0.88rem;
    line-height: 1.45;
}

.nt-login-recaptcha__control {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nt-login-primary {
    width: 100%;
    min-height: 54px;
}

.nt-login-primary:focus-visible,
.nt-login-recovery a:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-login-recovery {
    display: flex;
    justify-content: center;
    gap: 10px 24px;
    flex-wrap: wrap;
    margin-top: -3px;
}

.nt-login-recovery a {
    color: #244b68;
    font-size: 0.93rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.nt-login-recovery a:hover {
    color: #0f2438;
}

.nt-login-new-member {
    margin-top: 0;
    padding-top: 30px;
    border-top: 1px solid rgba(100, 116, 139, 0.22);
    text-align: center;
}

.nt-login-new-member h2 {
    margin: 0 0 6px;
    color: #142235;
    font-size: 1.25rem;
    font-weight: 800;
}

.nt-login-new-member p {
    margin: 0 auto 18px;
    max-width: 350px;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.5;
}

.nt-login-form .alert {
    margin: 0;
}

body.nt-login-modal-open {
    overflow: hidden;
}

.nt-login-security-modal[x-cloak] {
    display: none !important;
}

.nt-login-security-modal {
    position: fixed;
    z-index: 2100;
    inset: 0;
    display: grid;
    box-sizing: border-box;
    place-items: center;
    width: 100%;
    min-height: 100dvh;
    padding: 24px;
}

.nt-login-security-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 31, 46, 0.58);
    backdrop-filter: blur(3px);
}

.nt-login-security-modal__dialog {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(100%, 460px);
    padding: 38px 36px 34px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: #fbf7f4;
    color: #142235;
    text-align: center;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28), 0 8px 24px rgba(15, 23, 42, 0.12);
}

.nt-login-security-modal__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    border-radius: 50%;
    color: #244b68;
    background: #e6eef4;
}

.nt-login-security-modal__icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nt-login-security-modal__dialog--temporary-lock {
    background: #fffdfb;
}

.nt-login-security-modal__icon--temporary-lock {
    color: #a65f52;
    background: #f9e9e5;
    box-shadow: inset 0 0 0 1px rgba(184, 117, 104, 0.32);
}

.nt-login-security-modal__dialog h2 {
    margin: 0;
    color: #142235;
    font-size: clamp(1.55rem, 4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.nt-login-security-modal__dialog p {
    margin: 14px 0 26px;
    color: #536274;
    font-size: 1rem;
    line-height: 1.6;
}

.nt-login-security-modal__action {
    width: 100%;
    min-height: 52px;
}

.nt-login-security-modal__action:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-password-reset-modal .modal-dialog {
    width: min(calc(100% - 32px), 520px);
    max-width: 520px;
    margin: 24px auto;
}

.nt-password-reset-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: #fbf7f4;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

.nt-password-reset-modal .modal-header {
    align-items: flex-start;
    padding: 30px 32px 18px;
    border: 0;
}

.nt-password-reset-modal .modal-title {
    margin: 0;
    padding-right: 16px;
    color: #142235;
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.nt-modal-close {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: -6px -6px 0 0;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #244b68;
    background: #fff;
    font: inherit;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition:
        border-color var(--nt-duration-standard) var(--nt-timing-standard),
        color var(--nt-duration-standard) var(--nt-timing-standard),
        background-color var(--nt-duration-standard) var(--nt-timing-standard);
}

.nt-modal-close:hover {
    border-color: #244b68;
    color: #fff;
    background: #244b68;
}

.nt-modal-close:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-password-reset-modal .modal-body {
    padding: 0 32px 32px;
}

.nt-password-reset-form {
    display: grid;
    gap: 24px;
}

.nt-password-reset-copy {
    margin: 0;
    color: #536274;
    font-size: 1rem;
    line-height: 1.6;
}

.nt-password-reset-field {
    display: grid;
    gap: 8px;
}

.nt-password-reset-field label {
    color: #142235;
    font-size: 0.94rem;
    font-weight: 700;
}

.nt-password-reset-field .login-input {
    width: 100%;
    height: 56px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #142235;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: none;
}

.nt-password-reset-field .login-input:focus {
    border-color: #1e5a32;
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 90, 50, 0.12);
}

.nt-password-reset-field .login-input.is-invalid {
    border-color: #b42318;
}

.nt-password-reset-hint {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.nt-password-reset-field .invalid-feedback {
    margin: 0;
    color: #b42318;
    font-size: 0.86rem;
}

.nt-password-reset-submit {
    width: 100%;
    min-height: 54px;
}

.nt-password-reset-submit:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-password-reset-submit:disabled {
    border-color: #e5e7eb;
    color: #6b7280;
    background: #e5e7eb;
    box-shadow: none;
    cursor: not-allowed;
}

.nt-forgot-email-form {
    display: grid;
    gap: 20px;
}

.nt-forgot-email-alert {
    margin: 0 0 20px;
    border-radius: 12px;
    font-size: 0.94rem;
}

.nt-forgot-email-field {
    display: grid;
    gap: 8px;
}

.nt-forgot-email-field label {
    color: #142235;
    font-size: 0.94rem;
    font-weight: 700;
}

.nt-forgot-email-field .login-input {
    width: 100%;
    height: 56px;
    margin: 0 !important;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #142235;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: none;
}

.nt-forgot-email-field .login-input:focus {
    border-color: var(--nt-color-focus);
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 95, 145, 0.18);
}

.nt-forgot-email-date {
    color-scheme: light;
}

.nt-forgot-email-submit {
    width: 100%;
    min-height: 54px;
}

.nt-forgot-email-submit:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-forgot-email-submit:disabled {
    border-color: #e5e7eb;
    color: #6b7280;
    background: #e5e7eb;
    box-shadow: none;
    cursor: not-allowed;
}

.nt-reset-success-popup {
    width: min(calc(100% - 32px), 520px);
    padding: 34px 34px 30px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: #fbf7f4;
    color: #142235;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

.nt-reset-success-popup .swal2-success-ring {
    border-color: rgba(36, 75, 104, 0.24);
}

.nt-reset-success-popup .swal2-success-line-tip,
.nt-reset-success-popup .swal2-success-line-long {
    background-color: #244b68;
}

.nt-reset-success-title {
    margin: 0;
    padding: 0;
    color: #142235;
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.nt-reset-success-content {
    margin: 20px 0 0;
    padding: 0;
    color: #536274;
    font-size: 1rem;
    line-height: 1.6;
}

.nt-reset-success-content p {
    margin: 0;
}

.nt-reset-success-content p + p {
    margin-top: 14px;
}

.nt-reset-success-popup .swal2-actions {
    width: 100%;
    margin: 26px 0 0;
}

.nt-reset-success-confirm {
    width: 100%;
    min-height: 54px;
}

.nt-reset-success-confirm:focus-visible {
    outline: 0.1875rem solid var(--nt-color-focus);
    outline-offset: 0.1875rem;
}

.nt-reset-success-confirm:disabled {
    border-color: #e5e7eb;
    color: #6b7280;
    background: #e5e7eb;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .nt-login-main {
        padding: 32px 18px 48px;
    }

    .nt-login-card {
        padding: 56px 28px 22px;
        border-radius: 22px;
    }

    .nt-password-reset-main {
        padding: 32px 18px 48px;
    }

    .nt-password-reset-card {
        padding: 40px 28px 32px;
        border-radius: 22px;
    }

    .nt-password-reset-modal .modal-header {
        padding: 26px 26px 16px;
    }

    .nt-password-reset-modal .modal-body {
        padding: 0 26px 28px;
    }

    .nt-reset-success-popup {
        padding: 30px 28px 26px;
    }
}

@media (max-width: 479.98px) {
    .nt-login-main {
        padding: 22px 12px 36px;
    }

    .nt-login-card {
        padding: 52px 20px 18px;
        border-radius: 20px;
    }

    .nt-password-reset-main {
        padding: 22px 12px 36px;
    }

    .nt-password-reset-card {
        padding: 34px 20px 26px;
        border-radius: 20px;
    }

    .nt-login-recovery {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .nt-password-reset-modal .modal-dialog {
        width: min(calc(100% - 24px), 520px);
        margin: 12px auto;
    }

    .nt-password-reset-modal .modal-content {
        border-radius: 20px;
    }

    .nt-password-reset-modal .modal-header {
        padding: 22px 20px 14px;
    }

    .nt-password-reset-modal .modal-body {
        padding: 0 20px 22px;
    }

    .nt-password-reset-form {
        gap: 20px;
    }

    .nt-reset-success-popup {
        width: min(calc(100% - 24px), 520px);
        padding: 26px 20px 22px;
        border-radius: 20px;
    }

    .nt-login-security-modal {
        padding: 16px;
    }

    .nt-login-security-modal__dialog {
        padding: 32px 22px 26px;
        border-radius: 20px;
    }

    .nt-login-security-modal__icon {
        width: 58px;
        height: 58px;
        margin-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nt-login-primary,
    .nt-modal-close,
    .nt-password-reset-submit,
    .nt-password-reset-page-submit,
    .nt-reset-success-confirm {
        transition: none;
    }

    .nt-login-security-modal__backdrop {
        backdrop-filter: none;
    }
}

/* Farsi public authentication typography and RTL refinements. */
html[lang="fa"] body.nt-login-page,
html[lang="fa"] body.nt-password-reset-page {
    font-size: 1.1875rem;
    line-height: 1.7;
}

html[lang="fa"] .nt-login-card__header p,
html[lang="fa"] .nt-password-reset-card__header p,
html[lang="fa"] .nt-login-new-member p,
html[lang="fa"] .nt-password-reset-copy,
html[lang="fa"] .nt-login-security-modal__dialog p {
    font-size: 1.25rem;
    line-height: 1.75;
}

html[lang="fa"] .nt-login-field label,
html[lang="fa"] .nt-password-reset-page-field label,
html[lang="fa"] .nt-password-reset-field label,
html[lang="fa"] .nt-forgot-email-field label,
html[lang="fa"] .nt-login-remember label,
html[lang="fa"] .nt-login-recovery a {
    font-size: 1.1875rem;
    line-height: 1.6;
}

html[lang="fa"] .nt-login-form .login-input,
html[lang="fa"] .nt-password-reset-page-field .login-input,
html[lang="fa"] .nt-password-reset-field .login-input,
html[lang="fa"] .nt-forgot-email-field .login-input {
    font-size: 1.1875rem;
    line-height: 1.5;
    text-align: right;
}

html[lang="fa"] input[type="email"] {
    direction: rtl;
    text-align: right;
}

html[lang="fa"] input[type="email"]:not(:placeholder-shown),
html[lang="fa"] input[type="email"]:-webkit-autofill {
    direction: ltr;
    text-align: left !important;
}

html[lang="fa"] .nt-login-primary,
html[lang="fa"] .nt-password-reset-submit,
html[lang="fa"] .nt-forgot-email-submit,
html[lang="fa"] .nt-password-reset-page-submit,
html[lang="fa"] .nt-login-security-modal__action {
    font-size: 1.25rem;
    line-height: 1.5;
}

html[lang="fa"] .nt-login-remember p,
html[lang="fa"] .nt-password-reset-hint,
html[lang="fa"] .invalid-feedback,
html[lang="fa"] .nt-login-form .alert,
html[lang="fa"] .nt-forgot-email-alert,
html[lang="fa"] .nt-login-recaptcha p,
html[lang="fa"] .nt-login-recaptcha-warning p {
    font-size: 1.0625rem;
    line-height: 1.65;
}

html[lang="fa"] .nt-login-field,
html[lang="fa"] .nt-login-new-member,
html[lang="fa"] .nt-password-reset-page-field,
html[lang="fa"] .nt-password-reset-modal .modal-body,
html[lang="fa"] .nt-login-security-modal__dialog {
    text-align: right;
}

html[lang="fa"] .nt-login-form .nt-login-password-field .login-input {
    padding-right: 18px;
    padding-left: 58px;
}

html[lang="fa"] .nt-login-password-toggle {
    right: auto;
    left: 8px;
}

html[lang="fa"] body.nt-login-page .nt-login-main {
    padding-block: 28px max(48px, env(safe-area-inset-bottom));
}

html[lang="fa"] body.nt-login-page .nt-login-card {
    padding-block: 38px 20px;
}

html[lang="fa"] body.nt-login-page .nt-login-card__header {
    margin-bottom: 18px;
}

html[lang="fa"] body.nt-login-page .nt-login-card__header h1 {
    margin-bottom: 4px;
}

html[lang="fa"] body.nt-login-page .nt-login-form {
    gap: 10px;
}

html[lang="fa"] body.nt-login-page .nt-login-field {
    gap: 5px;
}

html[lang="fa"] body.nt-login-page .nt-login-form .login-input {
    height: 50px;
}

html[lang="fa"] body.nt-login-page .nt-login-remember {
    gap: 7px;
}

html[lang="fa"] body.nt-login-page .nt-login-remember p {
    margin-top: 1px;
}

html[lang="fa"] body.nt-login-page .nt-login-primary {
    min-height: 48px;
}

html[lang="fa"] body.nt-login-page .nt-login-recovery {
    gap: 6px 18px;
    margin-top: 0;
}

html[lang="fa"] body.nt-login-page .nt-login-new-member {
    padding-top: 18px;
}

html[lang="fa"] body.nt-login-page .nt-login-new-member h2 {
    margin-bottom: 3px;
}

html[lang="fa"] body.nt-login-page .nt-login-new-member p {
    margin-bottom: 10px;
}

@media (max-width: 767.98px) {
    html[lang="fa"] body.nt-login-page,
    html[lang="fa"] body.nt-password-reset-page,
    html[lang="fa"] .nt-login-field label,
    html[lang="fa"] .nt-password-reset-page-field label,
    html[lang="fa"] .nt-password-reset-field label,
    html[lang="fa"] .nt-forgot-email-field label,
    html[lang="fa"] .nt-login-remember label,
    html[lang="fa"] .nt-login-recovery a,
    html[lang="fa"] .nt-login-form .login-input,
    html[lang="fa"] .nt-password-reset-page-field .login-input,
    html[lang="fa"] .nt-password-reset-field .login-input,
    html[lang="fa"] .nt-forgot-email-field .login-input {
        font-size: 1.125rem;
    }

    html[lang="fa"] .nt-login-primary,
    html[lang="fa"] .nt-password-reset-submit,
    html[lang="fa"] .nt-forgot-email-submit,
    html[lang="fa"] .nt-password-reset-page-submit,
    html[lang="fa"] .nt-login-security-modal__action {
        font-size: 1.1875rem;
    }

    html[lang="fa"] body.nt-login-page .nt-login-main {
        padding-block: 20px 36px;
    }

    html[lang="fa"] body.nt-login-page .nt-login-card {
        padding-block: 32px 16px;
    }
}
