/* IRANSansX FaNum webfont supplied by the site owner. ss01 renders Latin digits as Persian without changing stored/input values. */
@font-face {
    font-family: "Nobetra IRANSansX";
    src: url("../fonts/IRANSansXVFaNum.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 1000;
    font-display: block;
}

:is(.nbw-login, .nb-security, .nobetra-booking, .nobetra-dashboard, .nobetra-reporting, .nobetra-admin, .nb-preview, .nbm, .nbs, .nbc, .nbc-login, .nbtv, .nbdm) {
    --nb-font: "Nobetra IRANSansX", Tahoma, sans-serif;
    font-family: var(--nb-font) !important;
    font-feature-settings: "ss01" 1 !important;
}

/* Theme typography frequently targets headings and form controls directly. */
:is(.nbw-login, .nb-security, .nobetra-booking, .nobetra-dashboard, .nobetra-reporting, .nobetra-admin, .nb-preview, .nbm, .nbs, .nbc, .nbc-login, .nbtv, .nbdm)
    :is(h1, h2, h3, h4, h5, h6, p, a, label, button, input, select, option, textarea, th, td, small, strong, b, em, span:not(.dashicons):not([class*="icon"]), div, li, dt, dd, legend, caption, summary, time, output) {
    font-family: var(--nb-font) !important;
    font-feature-settings: "ss01" 1 !important;
}
/* Plugin typography scale: independent from theme font sizes. */
:is(.nobetra-booking, .nobetra-reporting, .nobetra-admin, .nb-preview, .nbm, .nbs, .nbc, .nbc-login) {
    font-size: 14px !important;
    line-height: 1.55;
}

:is(.nbm-nav button, .nbs-nav button, .nbc-nav button) {
    font-size: 14px !important;
    line-height: 1.45;
}

:is(.nbm-topbar h1, .nbs-topbar h1, .nbc-top h1) {
    font-size: 23px !important;
    line-height: 1.35;
}

:is(.nbm-stat strong, .nbs-stat strong, .nbc-stat strong) {
    font-size: 23px !important;
    line-height: 1.35;
}

:is(.nbm-card-head h2, .nbm-section-head h2, .nbs-card-head h2, .nbs-section-head h2, .nbc-card h2) {
    font-size: 16px !important;
    line-height: 1.45;
}

.nbc-login-copy h1 { font-size: 30px !important; line-height: 1.4; }
.nbc-login aside h2 { font-size: clamp(30px, 4vw, 50px) !important; line-height: 1.35; }

@media (max-width: 760px) {
    :is(.nbm-topbar h1, .nbs-topbar h1, .nbc-top h1) { font-size: 20px !important; }
    :is(.nbm-stat strong, .nbs-stat strong, .nbc-stat strong) { font-size: 21px !important; }
    .nbc-login-copy h1 { font-size: 27px !important; }
}
/* Public salon pages share the plugin font without inheriting theme typography. */
.nobetra-site-public, .nobetra-site-public :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,button,input,textarea){font-family:"Nobetra IRANSansX",Tahoma,sans-serif!important;font-feature-settings:"ss01" 1!important}
