/* Complete the shared accent across legacy public, account and staff pages. */
html[data-tj-theme] body .page-header,html[data-tj-theme] body .search-area{background:var(--tj-panel)!important;background-image:none!important;border:1px solid var(--tj-line)!important;border-inline-start:3px solid var(--tj-accent)!important}
html[data-tj-theme] body .search-area .subtitle,html[data-tj-theme] body .search-area .title{color:var(--tj-text)!important}
html[data-tj-theme] body .bg-blue-gradiant,html[data-tj-theme] body .bg-static-gradiant,html[data-tj-theme] body .linear-gradient{background:linear-gradient(125deg,var(--tj-accent-hi),var(--tj-accent))!important;color:#14121a!important}
html[data-tj-theme] body{--bs-primary-rgb:213,174,104;--bs-info-rgb:213,174,104;--theme-color:var(--tj-accent);---theme-color:var(--tj-accent);--color-primary:var(--tj-accent)}
html[data-tj-theme=purple] body{--bs-primary-rgb:177,138,231;--bs-info-rgb:177,138,231}
html[data-tj-theme] body .text-info,html[data-tj-theme] body .text-blue,html[data-tj-theme] body .link-primary,html[data-tj-theme] body .link-info,html[data-tj-theme] body .custom-link{color:var(--tj-accent-hi)!important}
html[data-tj-theme] body .bg-info,html[data-tj-theme] body .badge-info,html[data-tj-theme] body .alert-info,html[data-tj-theme] body .bg-confirm,html[data-tj-theme] body .bg-finish{background:var(--tj-tint)!important;color:var(--tj-accent-hi)!important;border-color:var(--tj-accent)!important}
html[data-tj-theme] body .btn-link,html[data-tj-theme] body .btn-backto-login{color:var(--tj-accent-hi)!important}
html[data-tj-theme] body .nav-pills .nav-link.active,html[data-tj-theme] body .select2-container--default .select2-results__option--highlighted[aria-selected],html[data-tj-theme] body .custom-control-input:checked~.custom-control-label:before{background-color:var(--tj-accent)!important;border-color:var(--tj-accent)!important;color:#14121a!important}
html[data-tj-theme] body .swal2-popup{background:var(--tj-panel)!important;color:var(--tj-text)!important;border:1px solid var(--tj-line);border-radius:14px}
html[data-tj-theme] body .swal2-title,html[data-tj-theme] body .swal2-html-container{color:var(--tj-text)!important}
html[data-tj-theme] body .swal2-confirm:not([style*="rgb(221, 51, 51)"]):not([style*="#d33"]){background:var(--tj-accent)!important;color:#14121a!important;box-shadow:none!important}
html[data-tj-theme] body .swal2-cancel{background:var(--tj-panel-2);color:var(--tj-text);border:1px solid var(--tj-line)}
html[data-tj-theme] body .swal2-icon.swal2-info,html[data-tj-theme] body .swal2-icon.swal2-question{color:var(--tj-accent)!important;border-color:var(--tj-accent)!important}
html[data-tj-theme] body .ui-state-active,html[data-tj-theme] body .ui-widget-content .ui-state-active,html[data-tj-theme] body .irs--flat .irs-bar,html[data-tj-theme] body .irs--flat .irs-single,html[data-tj-theme] body .irs--flat .irs-handle>i:first-child{background:var(--tj-accent)!important;border-color:var(--tj-accent)!important;color:#14121a!important}
html[data-tj-theme] body .form-check-input:checked,html[data-tj-theme] body .custom-switch .custom-control-input:checked~.custom-control-label:before{background-color:var(--tj-accent)!important;border-color:var(--tj-accent)!important}
html[data-tj-theme] body .tj-empty-state{color:var(--tj-muted);background:var(--tj-panel);border:1px solid var(--tj-line);border-radius:16px;padding:36px 24px;text-align:center}
html[data-tj-theme] body .tj-empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;background:var(--tj-tint);color:var(--tj-accent);border:1px solid var(--tj-line);border-radius:50%;font-size:27px;margin-bottom:18px}
html[data-tj-theme] body .tj-empty-state h1{font-size:clamp(28px,5vw,42px);margin-bottom:14px}
html[data-tj-theme] body .tj-empty-state p{max-width:520px;margin:0 auto 24px;line-height:1.8}

/* Keep legacy hover/show/focus rules from restoring light-theme menu colors. */
html[data-tj-theme] body #navbar_top .header-nav-dropdown{background:var(--tj-panel)!important;background-image:none!important;color:var(--tj-text)!important;border:1px solid var(--tj-line)!important;border-top:2px solid var(--tj-accent)!important;border-radius:0 0 10px 10px!important;padding:6px!important;box-shadow:0 14px 36px #0006!important;max-width:calc(100vw - 24px)}
html[data-tj-theme] body #navbar_top .header-nav-dropdown:before{border-bottom-color:var(--tj-accent)!important}
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item:link,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item:visited{color:var(--tj-text)!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;background-image:none!important;border:0!important;border-inline-start:2px solid transparent!important;border-radius:5px;padding:10px 12px!important;min-height:40px;font-size:14px!important;line-height:1.6;white-space:normal;opacity:1;transition:background-color .12s ease,border-color .12s ease!important}
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item:hover,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item:focus,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item:focus-visible,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item:active,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item.active,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item[aria-current=page]{color:var(--tj-accent-hi)!important;-webkit-text-fill-color:currentColor!important;background:var(--tj-tint)!important;border-inline-start-color:var(--tj-accent)!important}
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item i{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item.disabled,
html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item[aria-disabled=true]{color:var(--tj-muted)!important;background:transparent!important;border-inline-start-color:transparent!important;opacity:.55}
html[data-tj-theme] body #navbar_top #navbarCollapse .nav-item.dropdown>.dropdown-toggle,
html[data-tj-theme] body #navbar_top .nav-item.dropdown>.dropdown-toggle{color:var(--tj-muted)!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:6px;transition:background-color .12s ease!important}
html[data-tj-theme] body #navbar_top #navbarCollapse .nav-item.dropdown>.dropdown-toggle:hover,
html[data-tj-theme] body #navbar_top #navbarCollapse .nav-item.dropdown>.dropdown-toggle:focus,
html[data-tj-theme] body #navbar_top #navbarCollapse .nav-item.dropdown>.dropdown-toggle:active,
html[data-tj-theme] body #navbar_top #navbarCollapse .nav-item.dropdown>.dropdown-toggle.active,
html[data-tj-theme] body #navbar_top #navbarCollapse .nav-item.dropdown>.dropdown-toggle[aria-expanded=true],
html[data-tj-theme] body #navbar_top .nav-item.dropdown>.dropdown-toggle[aria-expanded=true]{color:var(--tj-accent-hi)!important;-webkit-text-fill-color:currentColor!important;background:var(--tj-tint)!important}
@media(prefers-reduced-motion:reduce){html[data-tj-theme] body #navbar_top .header-nav-dropdown .dropdown-item,html[data-tj-theme] body #navbar_top .nav-item.dropdown>.dropdown-toggle{transition:none!important}}


/* Mobile navigation uses the same readable state palette. */
html[data-tj-theme] body #tjProMenu{max-width:100vw;background:var(--tj-panel)!important;color:var(--tj-text)}
html[data-tj-theme] body #tjProMenu .tj-offcanvas-header,html[data-tj-theme] body #tjProMenu .tj-menu-wrapper{background:var(--tj-panel)!important;color:var(--tj-text);border-color:var(--tj-line)!important}
html[data-tj-theme] body #tjProMenu .tj-menu-item{border-color:var(--tj-line)!important}
html[data-tj-theme] body #tjProMenu .tj-menu-item>a{display:flex;align-items:center;gap:10px;color:var(--tj-text)!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;padding:13px 12px;border-radius:6px;min-height:44px;line-height:1.6;font-size:14px}
html[data-tj-theme] body #tjProMenu .tj-menu-item>a>i:not(.tj-toggle-submenu){margin:0!important;width:18px;text-align:center;color:var(--tj-accent)}
html[data-tj-theme] body #tjProMenu .tj-toggle-submenu{margin-inline-start:auto!important;margin-inline-end:0!important;color:inherit}
html[data-tj-theme] body #tjProMenu .tj-menu-item>a:hover,html[data-tj-theme] body #tjProMenu .tj-menu-item>a:focus,html[data-tj-theme] body #tjProMenu .tj-menu-item>a.active,html[data-tj-theme] body #tjProMenu .tj-show>a{background:var(--tj-tint)!important;color:var(--tj-accent-hi)!important}
html[data-tj-theme] body #tjProMenu .tj-submenu{padding:4px 0 6px!important;margin-inline:18px 0;border-inline-start:1px solid var(--tj-line)}
html[data-tj-theme] body #tjProMenu .tj-submenu a{display:block;padding:10px 14px!important;min-height:42px;font-size:14px;color:var(--tj-text)!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;border-inline-start:2px solid transparent}
html[data-tj-theme] body #tjProMenu .tj-submenu a:hover,html[data-tj-theme] body #tjProMenu .tj-submenu a:focus,html[data-tj-theme] body #tjProMenu .tj-submenu a.active{color:var(--tj-accent-hi)!important;background:var(--tj-tint)!important;border-inline-start-color:var(--tj-accent)}

/* Keep the mobile item surface dark while hovered, focused or expanded. */
html[data-tj-theme] body #tjProMenu .tj-menu-item,html[data-tj-theme] body #tjProMenu .tj-menu-item:hover,html[data-tj-theme] body #tjProMenu .tj-menu-item:focus-within{background:var(--tj-panel)!important}

/* Drawer lives outside the sticky footer navigation stacking context. */
html[data-tj-theme] body #tjProMenu .btn-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;opacity:1!important;color:#10161f!important;background:var(--tj-accent-hi,#f3d9a4)!important;border-radius:50%;border:1px solid var(--tj-accent,#d5ae68);box-shadow:none}
html[data-tj-theme] body #tjProMenu .btn-close::before{content:"×";font:30px/1 Arial,sans-serif}
html[data-tj-theme] body #tjProMenu .btn-close:focus-visible{outline:2px solid var(--tj-accent-hi,#f3d9a4);outline-offset:3px}

html[data-tj-theme] body #tjProMenu .btn-close{filter:none!important}
