@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/peydaWeb-extralight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/peydaWeb-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda/PeydaWeb-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-Thin-Digits.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/peydaWeb-extralight-Digits.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/peydaWeb-light-Digits.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-Regular-Digits.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-Medium-Digits.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-SemiBold-Digits.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-Bold-Digits.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-ExtraBold-Digits.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}
@font-face {
  font-family: "NabzDigits";
  src: url("../fonts/peyda/PeydaWeb-Black-Digits.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

/* Nabz — Frontend login UI
 * استایل ایزوله و سازگار با همه قالب‌ها (همه قواعد scoped به .nabz-auth یا والدهای آن).
 * ------------------------------------------------------------------ */

/* ============== فرم اصلی (شورت‌کد + داخل صفحه + داخل پاپ‌آپ) ============== */
.nabz-auth,
.nabz-auth * {
    box-sizing: border-box;
}
.nabz-auth {
    --ssl-accent: #10b981;
    --ssl-accent-fg: #ffffff;
    --ssl-bg: #ffffff;
    --ssl-surface: #ffffff;
    --ssl-surface-2: #f4f4f5;
    --ssl-border: #e4e4e7;
    --ssl-border-2: #d4d4d8;
    --ssl-text: #0a0a0a;
    --ssl-text-2: #52525b;
    --ssl-text-3: #71717a;
    --ssl-danger: #dc2626;
    --ssl-success: #16a34a;
    --ssl-radius: 14px;
    --ssl-radius-sm: 10px;
    --ssl-shadow: 0 10px 30px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.05);
    direction: rtl;
    font-family: 'NabzDigits', 'Peyda', 'IRANSans', 'Tahoma', system-ui, -apple-system, sans-serif;
    color: var(--ssl-text);
    font-size: 15px;
    line-height: 1.7;
    background: var(--ssl-surface);
    border-radius: var(--ssl-radius);
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--ssl-border);
    box-shadow: var(--ssl-shadow);
    position: relative;
}
.nabz-auth--inline { box-shadow: none; }

/* ====== برندینگ (لوگو + عنوان) ====== */
.nabz-auth .ssl-brand {
    text-align: center;
    margin-bottom: 24px;
}
.nabz-auth .ssl-brand__logo {
    max-width: 80px;
    max-height: 80px;
    margin: 0 auto 14px;
    display: block;
    border-radius: 16px;
    object-fit: contain;
}
.nabz-auth .ssl-brand__mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--ssl-accent);
    color: var(--ssl-accent-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.nabz-auth .ssl-brand__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--ssl-text) !important;
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
    padding: 0 !important;
}
.nabz-auth .ssl-brand__subtitle {
    font-size: 13px !important;
    color: var(--ssl-text-3) !important;
    margin: 0 !important;
    font-weight: 400 !important;
    padding: 0 !important;
}

/* ====== تب‌ها (otp / password) ====== */
.nabz-auth .ssl-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ssl-surface-2);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--ssl-border);
}
.nabz-auth .ssl-tab {
    background: transparent;
    border: none;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ssl-text-2);
    border-radius: 999px;
    cursor: pointer;
    transition: all 200ms ease;
    font-family: inherit;
    line-height: 1;
}
.nabz-auth .ssl-tab.is-active {
    background: var(--ssl-accent);
    color: var(--ssl-accent-fg);
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* ====== فیلدها ====== */
.nabz-auth .ssl-form {
    margin: 0;
    padding: 0;
    display: block;
}
.nabz-auth .ssl-form[hidden] { display: none !important; }
.nabz-auth .ssl-field {
    margin-bottom: 16px;
}
.nabz-auth .ssl-field[hidden] { display: none !important; }
.nabz-auth .ssl-field__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ssl-text);
    margin-bottom: 8px;
}
.nabz-auth .ssl-field__required {
    color: #dc2626;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
}
.nabz-auth .ssl-field__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.nabz-auth .ssl-field__heading .ssl-field__label { margin: 0; }
.nabz-auth .ssl-field__heading .ssl-link {
    margin: 0;
    padding: 0;
    font-size: 12px;
}
/* Overlay the method details so both tabs share a compact, content-sized row.
   Hidden content reserves its size but stays inaccessible and unfocusable. */
.nabz-auth .ssl-mode-details {
    display: grid;
    margin-bottom: 16px;
}
.nabz-auth .ssl-mode-details > * {
    grid-area: 1 / 1;
    margin: 0;
    min-width: 0;
    align-self: center;
}
.nabz-auth .ssl-mode-details > [hidden] {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
}
.nabz-auth .ssl-mode-details .ssl-otp-note { margin: 0; }
.nabz-auth .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.nabz-auth .ssl-input {
    background: var(--ssl-bg);
    border: 1.5px solid var(--ssl-border-2);
    border-radius: var(--ssl-radius-sm);
    padding: 12px 14px;
    width: 100%;
    font-size: 15px;
    color: var(--ssl-text);
    line-height: 1.5;
    box-shadow: none;
    outline: none;
    font-family: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    -webkit-appearance: none;
    appearance: none;
    height: auto;
    min-height: 46px;
}
.nabz-auth .ssl-input:focus {
    border-color: var(--ssl-accent);
    box-shadow: 0 0 0 3px rgba(0,0,0,.07);
}
.nabz-auth .ssl-input::placeholder { color: #a1a1aa; }
.nabz-auth .ssl-otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-content: center;
    gap: 10px;
    margin-bottom: 4px;
}
.nabz-auth .ssl-otp-box {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: auto;
    aspect-ratio: 1.7;
    min-height: 40px;
    padding: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-feature-settings: "tnum";
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    color: var(--ssl-text);
    transition: border-color 150ms, box-shadow 150ms, background 150ms;
    caret-color: transparent;
}
.nabz-auth .ssl-otp-box:focus {
    outline: none;
    border-color: var(--ssl-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ssl-accent) 15%, transparent);
    background: var(--ssl-surface);
}
.nabz-auth .ssl-subfield { margin-bottom: 12px; }
.nabz-auth .ssl-help {
    background: var(--ssl-surface-2);
    border-right: 3px solid var(--ssl-accent);
    border-radius: var(--ssl-radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--ssl-text-2);
    margin: 0 0 14px;
}

/* ====== دکمه اصلی ====== */
.nabz-auth .ssl-btn {
    background: var(--ssl-accent);
    color: var(--ssl-accent-fg);
    border: none;
    border-radius: 8px;
    padding: 6px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 150ms ease, box-shadow 200ms ease, opacity 200ms ease;
    line-height: 1.4;
    min-height: 48px;
    margin: 8px 0 0;
    text-decoration: none;
}
.nabz-auth .ssl-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.nabz-auth .ssl-btn:active { transform: translateY(0); }
.nabz-auth .ssl-btn[disabled],
.nabz-auth .ssl-btn.is-loading {
    opacity: .8;
    cursor: progress;
    pointer-events: none;
}
.nabz-auth .ssl-btn.is-loading .ssl-btn__label { opacity: .6; }
.nabz-auth .ssl-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ssl-spin .7s linear infinite;
}
.nabz-auth .ssl-btn.is-loading .ssl-spinner { display: inline-block; }
@keyframes ssl-spin { to { transform: rotate(360deg); } }

/* ====== لینک‌های متنی (تغییر شماره / ارسال مجدد) ====== */
.nabz-auth .ssl-link {
    background: transparent;
    border: none;
    color: var(--ssl-text-2);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 4px;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--ssl-border-2);
    text-underline-offset: 3px;
    font-family: inherit;
    transition: color 150ms ease;
    margin-top: 8px;
    display: inline-block;
}
.nabz-auth .ssl-link:hover { color: var(--ssl-accent); }
.nabz-auth .ssl-link[hidden] { display: none !important; }
.nabz-auth .ssl-link--change {
    text-align: center;
    width: 100%;
    margin-top: 4px;
}

/* ====== پیام وضعیت ====== */
.nabz-auth .ssl-status {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    min-height: 20px;
    color: var(--ssl-text-2);
}
.nabz-auth .ssl-status.is-error   { color: var(--ssl-danger); }
.nabz-auth .ssl-status.is-success { color: var(--ssl-success); }
.nabz-auth .ssl-status:empty {
    margin: 0;
    min-height: 0;
}

/* ============== صفحه‌ی کامل (template_redirect) ============== */
body.nabz-login-body {
    margin: 0;
    padding: 0;
    background: #fafafa;
    font-family: 'NabzDigits', 'Peyda', 'IRANSans', 'Tahoma', sans-serif;
    min-height: 100vh;
}
.ssl-page {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-size: cover;
    background-position: center;
}
.ssl-page__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    display: flex;
}
.ssl-page__form {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}
body.nabz-layout-card .ssl-page__form > .nabz-auth,
body.nabz-layout-minimal .ssl-page__form > .nabz-auth {
    max-width: 100%;
    padding: 28px 32px;
}
body.nabz-login-body .ssl-brand { margin-bottom: 20px; }
body.nabz-login-body .ssl-brand__logo {
    max-width: 64px;
    max-height: 64px;
    margin-bottom: 10px;
}
@media (max-width: 540px) {
    .ssl-page { padding: 20px 16px; }
    body.nabz-layout-card .ssl-page__form > .nabz-auth,
    body.nabz-layout-minimal .ssl-page__form > .nabz-auth {
        padding: 24px;
    }
}
body.nabz-layout-split .ssl-page {
    background: none;
    padding: 0;
}
body.nabz-layout-split .ssl-page__inner {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 0 60px rgba(0,0,0,.05);
    display: grid;
    grid-template-columns: 1fr 480px;   /* default: form on right */
}
body.nabz-layout-split .ssl-page__inner--form-left {
    grid-template-columns: 480px 1fr;
}
body.nabz-layout-split .ssl-page__visual {
    background-size: cover;
    background-position: center;
    border-radius: 0;
    background-color: var(--ssl-accent, #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
body.nabz-layout-split .ssl-page__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
    z-index: 1;
}
body.nabz-layout-split .ssl-aside__inner {
    position: relative;
    z-index: 2;
    max-width: 480px;
    text-align: right;
    direction: rtl;
    font-family: 'NabzDigits', 'Peyda', 'IRANSans', 'Tahoma', sans-serif;
}
body.nabz-layout-split .ssl-aside__heading {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.4;
    color: #fff;
}
body.nabz-layout-split .ssl-aside__subtext {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.88);
    margin: 0 0 22px;
}
body.nabz-layout-split .ssl-aside__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.nabz-layout-split .ssl-aside__benefits li {
    position: relative;
    padding: 8px 28px 8px 0;
    color: rgba(255,255,255,.95);
    font-size: 14.5px;
    line-height: 1.7;
}
body.nabz-layout-split .ssl-aside__benefits li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    font-weight: 700;
}
body.nabz-layout-split .ssl-page__form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}
body.nabz-layout-split .nabz-auth {
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 420px;
    width: 100%;
}
body.nabz-layout-minimal .ssl-page {
    background: #fff;
}
body.nabz-layout-minimal .nabz-auth {
    box-shadow: none;
    border: none;
}
@media (max-width: 900px) {
    body.nabz-layout-split .ssl-page__inner,
    body.nabz-layout-split .ssl-page__inner--form-left {
        grid-template-columns: 1fr;
    }
    body.nabz-layout-split .ssl-page__visual {
        min-height: 260px;
        padding: 40px 24px;
    }
    body.nabz-layout-split .ssl-aside__heading { font-size: 22px; }
    body.nabz-layout-split .ssl-page__form {
        padding: 30px 20px;
    }
}

/* ============== پاپ‌آپ ============== */
.nabz-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.nabz-modal[hidden] { display: none; }
.nabz-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: ssl-fadein 200ms ease;
}
.nabz-modal__box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: ssl-popin 280ms cubic-bezier(.18,.89,.32,1.28);
}
.nabz-modal .nabz-modal__close {
    position: absolute;
    top: 8px;
    bottom: auto;
    inset-inline-start: auto;
    inset-inline-end: auto;
    right: 8px;
    left: auto;
    z-index: 2;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--ssl-border, #e4e4e7);
    color: #0a0a0a;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: none;
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    transform: none;
}
.nabz-modal .nabz-modal__close:hover {
    background: #f4f4f5;
    transform: none;
}
@keyframes ssl-fadein { from { opacity: 0 } to { opacity: 1 } }
@keyframes ssl-popin {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============== باکس ترغیب به ورود (صفحه محصول) ============== */
.nabz-prod-cta {
    position: fixed;
    bottom: 22px;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(340px, calc(100vw - 32px));
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--ssl-border, #e4e4e7);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(0,0,0,.16), 0 4px 10px rgba(0,0,0,.06);
    direction: rtl;
    font-family: 'NabzDigits', 'Peyda', 'Tahoma', sans-serif;
    animation: ssl-popin 320ms cubic-bezier(.18,.89,.32,1.28);
}
.nabz-prod-cta[hidden] { display: none !important; }
.nabz-prod-cta--right { inset-inline-end: 22px; }
.nabz-prod-cta--left  { inset-inline-start: 22px; }
.nabz-prod-cta.is-closing {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 200ms ease, transform 200ms ease;
}
.nabz-prod-cta__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ssl-accent, #0a0a0a);
    color: #fff;
}
.nabz-prod-cta__icon svg { width: 22px; height: 22px; }
.nabz-prod-cta__body { flex: 1 1 auto; min-width: 0; }
.nabz-prod-cta__text {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #18181b;
}
.nabz-prod-cta__code {
    display: inline-flex;
    align-items: stretch;
    gap: 6px;
    margin: 0 0 8px;
}
.nabz-prod-cta__code code {
    display: inline-flex;
    align-items: center;
    direction: ltr;
    font-family: 'NabzDigits', "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #0a0a0a;
    background: #f4f4f5;
    border: 1px dashed #d4d4d8;
    border-radius: 8px;
    padding: 5px 12px;
}
.nabz-prod-cta__copy {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    flex: 0 0 auto;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    color: #52525b;
    padding: 0;
    transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}
.nabz-prod-cta__copy:hover {
    color: #0a0a0a;
    background: #e9e9ec;
}
.nabz-prod-cta__copy-ico {
    width: 16px;
    height: 16px;
}
/* پیش‌فرض: آیکن کپی دیده می‌شود، آیکن موفقیت پنهان است */
.nabz-prod-cta__copy-ico--done { display: none; }
.nabz-prod-cta__copy.is-copied { color: #16a34a; border-color: #bbf7d0; background: #f0fdf4; }
.nabz-prod-cta__copy.is-copied .nabz-prod-cta__copy-ico--copy { display: none; }
.nabz-prod-cta__copy.is-copied .nabz-prod-cta__copy-ico--done { display: inline-block; }
.nabz-prod-cta__btn {
    appearance: none;
    border: none;
    cursor: pointer;
    background: var(--ssl-accent, #0a0a0a);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9px;
    transition: filter 200ms ease, transform 200ms ease;
}
.nabz-prod-cta__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nabz-prod-cta__dismiss {
    position: absolute;
    top: 6px;
    inset-inline-start: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #a1a1aa;
    font-family: inherit;
    padding: 2px;
}
.nabz-prod-cta__dismiss:hover { color: #52525b; }

/* ============== Reset برای رهایی از قالب میزبان ============== */
.nabz-auth input,
.nabz-auth button,
.nabz-auth label {
    font-family: inherit;
}
.nabz-auth p { margin: 0; padding: 0; }
.nabz-auth h1 { margin: 0; padding: 0; }
.nabz-auth a { color: inherit; }

/* ============== Panel tabs (Login / Register) ============== */
.nabz-auth .ssl-panel-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ssl-surface-2);
    border-radius: var(--ssl-radius-sm);
    padding: 4px;
    margin: 0 0 18px;
    gap: 4px;
}
.nabz-auth .ssl-panel-tab {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ssl-text-2);
    border-radius: 8px;
    transition: background .15s ease, color .15s ease;
}
.nabz-auth .ssl-panel-tab.is-active {
    background: var(--ssl-surface);
    color: var(--ssl-text);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.nabz-auth .ssl-panel-tab:hover:not(.is-active) { color: var(--ssl-text); }

.nabz-auth .ssl-foot {
    text-align: center;
    margin-top: 14px;
    color: var(--ssl-text-2);
    font-size: 13.5px;
}
.nabz-auth .ssl-foot a {
    color: var(--ssl-accent);
    text-decoration: none;
    font-weight: 600;
}
.nabz-auth .ssl-foot a:hover { text-decoration: underline; }

.nabz-auth .ssl-field__hint {
    font-size: 12px;
    color: var(--ssl-text-3);
    margin-top: 4px;
}

/* ============== Password strength meter ============== */
.nabz-auth .ssl-strength {
    margin-top: 8px;
}
.nabz-auth .ssl-strength__bar {
    width: 100%;
    height: 6px;
    background: var(--ssl-surface-2);
    border-radius: 999px;
    overflow: hidden;
}
.nabz-auth .ssl-strength__fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--ssl-danger);
    border-radius: 999px;
    transition: width .25s ease, background .25s ease;
}
.nabz-auth .ssl-strength[data-score="1"] .ssl-strength__fill { background: #f59e0b; }
.nabz-auth .ssl-strength[data-score="2"] .ssl-strength__fill { background: #eab308; }
.nabz-auth .ssl-strength[data-score="3"] .ssl-strength__fill { background: #84cc16; }
.nabz-auth .ssl-strength[data-score="4"] .ssl-strength__fill { background: var(--ssl-success); }
.nabz-auth .ssl-strength__text {
    margin-top: 4px;
    font-size: 12px;
    color: var(--ssl-text-2);
}

/* ============== حساب کاربری در تسویه‌حساب ============== */
/* ساخت حساب و گذرواژه را نبض مدیریت می‌کند، نه فرم بومی ووکامرس. */
body.nabz-checkout-account-managed .woocommerce-account-fields,
body.nabz-checkout-account-managed .wc-block-checkout__create-account,
body.nabz-checkout-account-managed .wc-block-checkout__guest-checkout-notice {
    display: none !important;
}

/* در حالت ورود از سبد/پرداخت، ایمیل قبلاً طبق تنظیمات فرم نبض گرفته شده است. */
body.nabz-checkout-email-managed #billing_email_field,
body.nabz-checkout-email-managed .wp-block-woocommerce-checkout-contact-information-block {
    display: none !important;
}
