/* Nexora Config Center Stage 20.10 — global polish: softer weights, placeholders, Jalali date UI */
:root{--ncc-font-normal:400;--ncc-font-medium:500;--ncc-font-strong:600;}
body.ncc-nexlink-admin,
body.ncc-nexlink-admin input,
body.ncc-nexlink-admin textarea,
body.ncc-nexlink-admin select,
body.ncc-nexlink-admin button,
body.ncc-nexlink-admin .form-control,
body.ncc-nexlink-admin .form-select,
body.ncc-nexlink-admin .input,
body.ncc-nexlink-admin .btn,
body.ncc-nexlink-admin .dropdown-menu,
body.ncc-nexlink-admin .table,
body.ncc-nexlink-admin .card,
body.ncc-nexlink-admin .alert,
body.ncc-nexlink-admin .badge,
body.ncc-nexlink-admin .breadcrumb,
body.ncc-nexlink-admin #sidebar,
body.ncc-nexlink-admin #main-navbar{font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;font-weight:var(--ncc-font-normal)!important;}
body.ncc-nexlink-admin h1,
body.ncc-nexlink-admin h2,
body.ncc-nexlink-admin h3,
body.ncc-nexlink-admin h4,
body.ncc-nexlink-admin h5,
body.ncc-nexlink-admin h6{font-weight:var(--ncc-font-strong)!important;letter-spacing:-.015em!important;}
body.ncc-nexlink-admin strong,
body.ncc-nexlink-admin b,
body.ncc-nexlink-admin label,
body.ncc-nexlink-admin th,
body.ncc-nexlink-admin .btn,
body.ncc-nexlink-admin .badge,
body.ncc-nexlink-admin .switch,
body.ncc-nexlink-admin #side-menu li a,
body.ncc-nexlink-admin .nexora-admin-dropdown li a,
body.ncc-nexlink-admin .nexora-admin-dropdown .dropdown-form-logout button,
body.ncc-nexlink-admin .ncc-card-heading h2,
body.ncc-nexlink-admin .ncc-card-heading h3,
body.ncc-nexlink-admin .card>h2,
body.ncc-nexlink-admin .card>h3{font-weight:var(--ncc-font-medium)!important;}
body.ncc-nexlink-admin .ncc-page-heading h1{font-weight:var(--ncc-font-strong)!important;font-size:21px!important;}
body.ncc-nexlink-admin .ncc-page-heading p{font-weight:var(--ncc-font-normal)!important;}
body.ncc-nexlink-admin .stat strong,
body.ncc-nexlink-admin .ncc-stat-card strong,
body.ncc-nexlink-admin .ncc-mini-stat-row b{font-weight:var(--ncc-font-strong)!important;}
body.ncc-nexlink-admin .ncc-admin-role-chip,
body.ncc-nexlink-admin .nexora-top-user-menu .dropdown-user>a>span{font-weight:var(--ncc-font-medium)!important;}

/* Page title/subtitle must live inside a visible card across the whole system */
body.ncc-nexlink-admin .ncc-page-heading{background:#fff!important;border:1px solid #e4ebf5!important;border-radius:15px!important;box-shadow:0 8px 28px rgba(27,45,78,.07)!important;padding:16px 18px!important;margin:0 0 16px!important;}
body.ncc-nexlink-admin .ncc-page-heading>div{display:flex!important;flex-direction:column!important;gap:3px!important;}
body.ncc-nexlink-admin .ncc-page-heading:before{content:"";width:4px!important;align-self:stretch!important;border-radius:999px!important;background:#1756a9!important;margin-inline-end:2px!important;}
body.ncc-nexlink-admin .ncc-current-profile{font-weight:var(--ncc-font-normal)!important;}

/* Breadcrumb/help/date line — NexLink-style, Jalali-ready */
body.ncc-nexlink-admin .ncc-breadcrumb-box{gap:12px!important;}
body.ncc-nexlink-admin .ncc-breadcrumb-actions{display:flex!important;align-items:center!important;gap:9px!important;white-space:nowrap!important;}
body.ncc-nexlink-admin .ncc-help-link{display:inline-flex!important;align-items:center!important;gap:6px!important;height:34px!important;padding:0 11px!important;border-radius:10px!important;background:#eef5ff!important;color:#1756a9!important;border:1px solid #dbe9fb!important;font-size:12px!important;font-weight:var(--ncc-font-medium)!important;}
body.ncc-nexlink-admin .ncc-help-link:hover{background:#1756a9!important;color:#fff!important;}
body.ncc-nexlink-admin .breadcrumb-left{height:34px!important;padding:0 11px!important;border-radius:10px!important;background:#f8fafc!important;border:1px solid #e4ebf5!important;direction:rtl!important;text-align:right!important;font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;font-weight:var(--ncc-font-normal)!important;color:#617089!important;}
body.ncc-nexlink-admin .ncc-date-cell{direction:rtl!important;text-align:right!important;font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;white-space:nowrap!important;}

/* Form and placeholder consistency */
body.ncc-nexlink-admin input::placeholder,
body.ncc-nexlink-admin textarea::placeholder,
body.ncc-nexlink-admin .form-control::placeholder,
body.ncc-nexlink-admin .input::placeholder{font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;font-weight:var(--ncc-font-normal)!important;color:#98a2b3!important;text-align:right!important;direction:rtl!important;opacity:1!important;}
body.ncc-nexlink-admin input,
body.ncc-nexlink-admin textarea,
body.ncc-nexlink-admin .input,
body.ncc-nexlink-admin .form-control{font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;font-weight:var(--ncc-font-normal)!important;text-align:right!important;direction:rtl!important;}
body.ncc-nexlink-admin input.ltr,
body.ncc-nexlink-admin textarea.ltr,
body.ncc-nexlink-admin .ltr,
body.ncc-nexlink-admin .mono,
body.ncc-nexlink-admin code,
body.ncc-nexlink-admin pre,
body.ncc-nexlink-admin .code{direction:ltr!important;text-align:left!important;}
body.ncc-nexlink-admin input.ltr::placeholder,
body.ncc-nexlink-admin textarea.ltr::placeholder{font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;direction:rtl!important;text-align:right!important;}
body.ncc-nexlink-admin textarea:not(.ltr){min-height:118px!important;}

/* Avoid overly bold legacy NexLink layers */
body.ncc-nexlink-admin [style*="font-weight:950"],
body.ncc-nexlink-admin [style*="font-weight:900"],
body.ncc-nexlink-admin [style*="font-weight:800"],
body.ncc-nexlink-admin .fw-bold,
body.ncc-nexlink-admin .fw-bolder{font-weight:var(--ncc-font-strong)!important;}


/* Login page shares the same typography rules */
body.ncc-auth-page,
body.ncc-auth-page *,
body.ncc-auth-page input,
body.ncc-auth-page button{font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;}
body.ncc-auth-page h1{font-weight:600!important;}
body.ncc-auth-page p,
body.ncc-auth-page input,
body.ncc-auth-page button,
body.ncc-auth-page span{font-weight:400!important;}
body.ncc-auth-page .btn,
body.ncc-auth-page label{font-weight:500!important;}
body.ncc-auth-page input::placeholder{font-family:var(--app-font,"IRANSans",Tahoma,Arial,sans-serif)!important;text-align:right!important;direction:rtl!important;font-weight:400!important;color:#98a2b3!important;}
body.ncc-auth-page input.ltr{direction:ltr!important;text-align:left!important;}
body.ncc-auth-page input.ltr::placeholder{direction:rtl!important;text-align:right!important;}

@media(max-width:767.98px){
  body.ncc-nexlink-admin .ncc-page-heading{padding:14px!important;align-items:flex-start!important;}
  body.ncc-nexlink-admin .ncc-page-heading:before{display:none!important;}
  body.ncc-nexlink-admin .ncc-breadcrumb-box{align-items:flex-start!important;flex-direction:column!important;}
  body.ncc-nexlink-admin .ncc-breadcrumb-actions{width:100%!important;justify-content:space-between!important;}
  body.ncc-nexlink-admin .breadcrumb-left{display:flex!important;}
}


/* Stage 20.11 - Login cleanup and password input spacing */
.ncc-login-meta{display:none!important;}
.nexora-auth-input.has-btn-toggle-pass{position:relative!important;}
.nexora-auth-input.has-btn-toggle-pass .form-control[type="password"],
.nexora-auth-input.has-btn-toggle-pass input#loginPassword{
    padding-left:58px!important;
    padding-right:14px!important;
    text-align:right!important;
    direction:ltr!important;
    unicode-bidi:plaintext!important;
    font-family:IRANSans, IRANSansWeb, Tahoma, Arial, sans-serif!important;
}
.nexora-auth-input.has-btn-toggle-pass input#loginPassword::placeholder{
    direction:rtl!important;
    text-align:right!important;
    font-family:IRANSans, IRANSansWeb, Tahoma, Arial, sans-serif!important;
}
.nexora-auth-input.has-btn-toggle-pass .btn-toggle-pass{
    position:relative!important;
    z-index:3!important;
    flex:0 0 48px!important;
}
@media(max-width:480px){
    .nexora-auth-input.has-btn-toggle-pass .form-control[type="password"],
    .nexora-auth-input.has-btn-toggle-pass input#loginPassword{padding-left:62px!important;}
}
