@charset "UTF-8";
/* Page shell (was inline in header.tpl and sidebar.tpl). Bump uhShellVer in header.tpl after changing this file. */
/* ═══════════════════════════════════════════════════════════════
   CUSTOMERPANEL — Arctic Ice Unified Header
   Single-bar layout: logo left · nav center · account right
═══════════════════════════════════════════════════════════════ */

section#header { display: none !important; }

section#main-menu {
    background: linear-gradient(135deg, #08111e 0%, #0b1a2e 40%, #0f2040 70%, #091525 100%) !important;
    border-bottom: 1px solid rgba(34,211,238,0.12) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(34,211,238,0.08) !important;
    position: sticky !important; top: 0 !important; z-index: 999 !important;
}

section#main-menu nav.navbar,
section#main-menu .navbar-default,
section#main-menu #nav {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important; border-radius: 0 !important;
    box-shadow: none !important; margin: 0 !important;
    min-height: 0 !important; padding: 0 !important;
}
section#main-menu .navbar-collapse,
section#main-menu .navbar-header,
section#main-menu .navbar-toggle { display: none !important; }

section#main-menu .container {
    display: flex !important;
    align-items: center !important;
    height: 62px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 8px !important;
    position: relative !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.cp-brand {
    display: flex !important; align-items: center !important;
    text-decoration: none !important; flex-shrink: 0 !important; margin-right: 12px !important;
}
.cp-brand img { height: 46px !important; width: auto !important; display: block !important; }

.cp-nav-sep { width: 1px; height: 28px; background: rgba(255,255,255,0.1); flex-shrink: 0; margin: 0 4px; }

ul.nb-desktop {
    display: flex !important; align-items: center !important; list-style: none !important;
    margin: 0 !important; padding: 0 !important; gap: 2px !important; height: 62px !important;
    flex-wrap: nowrap !important; float: none !important; flex: 1 !important;
}
ul.nb-desktop-right {
    display: flex !important; align-items: center !important; list-style: none !important;
    margin: 0 !important; padding: 0 !important; gap: 2px !important; height: 62px !important;
    flex-wrap: nowrap !important; float: none !important; margin-left: auto !important; flex-shrink: 0 !important;
}

ul.nb-desktop > li, ul.nb-desktop-right > li {
    list-style: none !important; position: relative !important; float: none !important;
    display: block !important; background: transparent !important;
    background-color: transparent !important; border: none !important; box-shadow: none !important;
}

ul.nb-desktop > li > a, ul.nb-desktop-right > li > a {
    display: flex !important; align-items: center !important; gap: 6px !important;
    padding: 7px 11px !important; border-radius: 9px !important;
    font-size: 13px !important; font-weight: 600 !important;
    color: rgba(255,255,255,0.65) !important; text-decoration: none !important;
    background: transparent !important; background-color: transparent !important;
    background-image: none !important; border: none !important; box-shadow: none !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    white-space: nowrap !important; line-height: 1.4 !important; height: auto !important; margin: 0 !important;
}
ul.nb-desktop > li > a:hover, ul.nb-desktop-right > li > a:hover,
ul.nb-desktop > li > a:focus, ul.nb-desktop-right > li > a:focus {
    background: rgba(255,255,255,0.08) !important; color: #fff !important; text-decoration: none !important;
}
/* UnderHost.com: ghost button with a soft warm glow on hover (class set in includes/hooks/navbar_item2.php) */
ul.nb-desktop > li.nb-site-btn { margin-left: 6px !important; }
ul.nb-desktop > li.nb-site-btn > a { gap: 8px !important; padding: 6px 13px !important; border: 1.5px solid rgba(255,255,255,0.22) !important; border-radius: 10px !important;
    color: #fff !important; transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease !important; }
ul.nb-desktop > li.nb-site-btn > a .nb-site-arrow { font-size: 11px; color: #fff !important; transition: transform .18s ease; }
ul.nb-desktop > li.nb-site-btn > a:hover, ul.nb-desktop > li.nb-site-btn > a:focus {
    background: rgba(255,255,255,0.05) !important; border-color: rgba(251,191,36,0.45) !important; color: #fff !important;
    box-shadow: 0 0 14px rgba(251,191,36,0.22), inset 0 0 8px rgba(251,191,36,0.06) !important; }
ul.nb-desktop > li.nb-site-btn > a:hover .nb-site-arrow, ul.nb-desktop > li.nb-site-btn > a:focus .nb-site-arrow { transform: translateX(3px); }
ul.nb-desktop > li.active > a, ul.nb-desktop-right > li.active > a {
    background: rgba(34,211,238,0.12) !important; color: #22D3EE !important; font-weight: 700 !important;
}

ul.nb-desktop > li > a .nb-caret, ul.nb-desktop-right > li > a .nb-caret {
    font-size: 9px !important; color: rgba(255,255,255,0.3) !important; transition: transform 0.18s ease !important;
}
ul.nb-desktop > li.nb-open > a .nb-caret, ul.nb-desktop-right > li.nb-open > a .nb-caret {
    transform: rotate(180deg) !important; color: #22D3EE !important;
}

ul.nb-desktop .nb-badge, ul.nb-desktop-right .nb-badge {
    background: linear-gradient(90deg,#22D3EE,#60A5FA) !important; color: #fff !important;
    font-size: 10px !important; font-weight: 700 !important; padding: 2px 6px !important;
    border-radius: 50px !important; margin-left: 2px !important; display: inline-flex !important;
}

ul.nb-desktop > li.nb-has-drop, ul.nb-desktop-right > li.nb-has-drop {
    padding-bottom: 12px !important; margin-bottom: -12px !important;
}
ul.nb-desktop > li.nb-has-drop::after, ul.nb-desktop-right > li.nb-has-drop::after {
    content: '' !important; position: absolute !important; bottom: 0 !important; left: 0 !important;
    right: 0 !important; height: 12px !important; background: transparent !important;
    pointer-events: all !important; z-index: 9998 !important;
}

ul.nb-drop {
    display: none !important; position: absolute !important; top: 100% !important; left: 0 !important;
    min-width: 210px !important; background: #ffffff !important;
    border: 1px solid rgba(34,211,238,0.18) !important; border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08) !important;
    padding: 6px !important; z-index: 9999 !important;
    list-style: none !important; margin: 4px 0 0 0 !important; float: none !important;
}
ul.nb-drop::before {
    content: '' !important; position: absolute !important; top: 0 !important; left: 16px !important;
    right: 16px !important; height: 2px !important;
    background: linear-gradient(90deg,#22D3EE,#60A5FA) !important;
    border-radius: 50px !important; pointer-events: none !important;
}
li.nb-has-drop.nb-open > ul.nb-drop { display: block !important; }

ul.nb-drop > li { list-style: none !important; float: none !important; }
ul.nb-drop > li > a {
    display: flex !important; align-items: center !important; gap: 9px !important;
    padding: 9px 12px !important; border-radius: 10px !important;
    font-size: 13px !important; font-weight: 500 !important; color: #374151 !important;
    text-decoration: none !important; background: transparent !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    white-space: nowrap !important; border: none !important; box-shadow: none !important;
}
ul.nb-drop > li > a:hover { background: #f7f8fa !important; color: #0B1F3A !important; }
ul.nb-drop > li > a > i:first-child {
    font-size: 12px !important; color: #9ca3af !important; width: 16px !important;
    text-align: center !important; transition: color 0.15s ease !important;
}
ul.nb-drop > li > a:hover > i:first-child { color: #22D3EE !important; }
li.nb-drop-divider {
    height: 1px !important; background: #e5e7eb !important; margin: 5px 8px !important;
    padding: 0 !important; pointer-events: none !important; list-style: none !important; display: block !important;
}

/* Dropdown icon tiles + Open Ticket call to action (icons set in includes/hooks/navbar_items.php) */
ul.nb-drop { min-width: 236px !important; padding: 8px !important; }
ul.nb-drop > li > a { gap: 11px !important; padding: 7px 12px 7px 7px !important; font-weight: 600 !important; color: #334155 !important; }
ul.nb-drop > li > a > i:first-child {
    flex: 0 0 30px !important; width: 30px !important; height: 30px !important; border-radius: 9px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    background: #f1f5f9 !important; color: #64748b !important; font-size: 12.5px !important;
    transition: background .15s ease, color .15s ease !important;
}
ul.nb-drop > li > a:hover { background: #f0fbfe !important; color: #0B1F3A !important; }
ul.nb-drop > li > a:hover > i:first-child { background: #0B1F3A !important; color: #22D3EE !important; }
ul.nb-drop > li.nb-drop-cta { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid #e8edf3 !important; }
ul.nb-drop > li.nb-drop-cta > a { background: linear-gradient(135deg,#0B1F3A,#0e2244) !important; color: #fff !important; font-weight: 700 !important; }
ul.nb-drop > li.nb-drop-cta > a > i:first-child { background: rgba(34,211,238,.16) !important; color: #22D3EE !important; }
ul.nb-drop > li.nb-drop-cta > a:hover { background: linear-gradient(135deg,#0e2244,#12305e) !important; color: #fff !important; }
ul.nb-drop > li.nb-drop-cta > a:hover > i:first-child { background: #22D3EE !important; color: #0B1F3A !important; }

ul.nb-desktop-right > li:last-child ul.nb-drop,
ul.nb-desktop-right > li:nth-last-child(2) ul.nb-drop { left: auto !important; right: 0 !important; }

.cp-account-pill {
    display: inline-flex !important; align-items: center !important; gap: 7px !important;
    padding: 7px 14px 7px 10px !important; border-radius: 50px !important;
    background: rgba(255,255,255,0.07) !important; border: 1px solid rgba(255,255,255,0.12) !important;
    font-size: 13px !important; font-weight: 600 !important; color: rgba(255,255,255,0.8) !important;
    cursor: pointer !important; transition: all 0.18s ease !important;
    text-decoration: none !important; white-space: nowrap !important;
}
.cp-account-pill:hover {
    background: rgba(255,255,255,0.13) !important; border-color: rgba(255,255,255,0.22) !important; color: #fff !important;
}

.cp-btn-logout {
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    padding: 7px 14px !important; border-radius: 9px !important;
    background: rgba(239,68,68,0.12) !important; border: 1px solid rgba(239,68,68,0.22) !important;
    font-size: 12px !important; font-weight: 700 !important; color: #fca5a5 !important;
    text-decoration: none !important; transition: all 0.18s ease !important; white-space: nowrap !important;
}
.cp-btn-logout:hover {
    background: rgba(239,68,68,0.22) !important; border-color: rgba(239,68,68,0.4) !important; color: #fff !important;
}

.cp-notif-badge {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    min-width: 18px; height: 18px; background: linear-gradient(90deg,#22D3EE,#60A5FA) !important;
    color: #fff !important; font-size: 10px !important; font-weight: 700 !important;
    border-radius: 50px !important; padding: 0 5px !important; margin-left: 2px !important;
}

.cp-btn-admin {
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    padding: 7px 12px !important; border-radius: 9px !important;
    background: rgba(239,68,68,0.15) !important; border: 1px solid rgba(239,68,68,0.3) !important;
    font-size: 12px !important; font-weight: 700 !important; color: #fca5a5 !important;
    text-decoration: none !important; transition: all 0.18s ease !important;
}

.nb-hamburger {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: linear-gradient(-45deg, #22D3EE, #60A5FA) !important;
    border: none !important; border-radius: 10px;
    cursor: pointer; padding: 0;
    box-shadow: 0 0 18px rgba(34,211,238,0.35);
    transition: all 0.2s ease; flex-shrink: 0;
}
.nb-hamburger:hover { box-shadow: 0 0 28px rgba(34,211,238,0.6) !important; transform: scale(1.05); }
.nb-hamburger .hb-box { width: 18px; height: 13px; display: flex; flex-direction: column; justify-content: space-between; }
.nb-hamburger .hb-box span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: all 0.28s ease; }
.nb-hamburger.is-open .hb-box span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nb-hamburger.is-open .hb-box span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nb-hamburger.is-open .hb-box span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nb-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(8,17,30,0.65); z-index: 1998;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.28s ease;
}
.nb-overlay.is-open { display: block; opacity: 1; }

.nb-drawer {
    position: fixed; top: 0; right: 0;
    width: 300px; max-width: 88vw; height: 100dvh;
    background: #fff; z-index: 1999;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}
.nb-drawer.is-open { transform: translateX(0); }
.nb-drawer-head {
    background: linear-gradient(135deg, #08111e 0%, #0b1a2e 50%, #0f2040 100%);
    padding: 18px 20px; display: flex; align-items: center;
    justify-content: space-between; flex-shrink: 0; position: relative; overflow: hidden;
}
.nb-drawer-head::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(34,211,238,0.15), transparent 60%);
    pointer-events: none;
}
.nb-drawer-head-brand { display: flex; align-items: center; position: relative; z-index: 1; }
.nb-drawer-head-brand img { height: 36px; width: auto; }
.nb-drawer-close {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; font-size: 13px;
    transition: all 0.2s ease; position: relative; z-index: 1; flex-shrink: 0;
}
.nb-drawer-close:hover { background: rgba(255,255,255,0.2); }

.nb-drawer-user {
    padding: 12px 18px; background: #f7f8fa; border-bottom: 1px solid #e5e7eb;
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nb-drawer-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #22D3EE, #60A5FA);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nb-drawer-avatar i { color: #fff; font-size: 15px; }
.nb-drawer-user-name { font-size: 13px; font-weight: 700; color: #0B1F3A; }
.nb-drawer-user-sub  { font-size: 11px; color: #6b7280; }

.nb-drawer-nav { flex: 1; overflow-y: auto; padding: 10px; overscroll-behavior: contain; }
.nb-drawer-nav::-webkit-scrollbar { width: 4px; }
.nb-drawer-nav::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }
.nb-drawer-section { font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.7px; padding: 10px 10px 4px; }
.nb-drawer-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 12px;
    font-size: 13px; font-weight: 500;
    color: #374151 !important; text-decoration: none !important;
    transition: all 0.18s ease; cursor: pointer;
    border: none; background: transparent; width: 100%; text-align: left;
}
.nb-drawer-link:hover { background: #f7f8fa; color: #0B1F3A !important; }
.nb-drawer-link i.nb-di {
    width: 30px; height: 30px; background: #f3f4f6; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #6b7280; flex-shrink: 0; transition: all 0.18s ease;
}
.nb-drawer-link:hover i.nb-di,
.nb-drawer-link.is-active i.nb-di { background: rgba(34,211,238,0.12); color: #22D3EE; }
.nb-drawer-link.is-active { background: rgba(34,211,238,0.07); color: #0a1220 !important; font-weight: 700; }
.nb-dl-label  { flex: 1; }
.nb-dl-badge  { background: linear-gradient(90deg,#22D3EE,#60A5FA); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }
.nb-dl-caret  { font-size: 10px; color: #9ca3af; flex-shrink: 0; transition: transform 0.2s ease; }
.nb-drawer-link.is-expanded .nb-dl-caret { transform: rotate(90deg); }
.nb-drawer-sub { display: none; padding: 2px 0 4px 16px; }
.nb-drawer-sub.is-open { display: block; }
.nb-drawer-sub .nb-drawer-link { font-size: 13px; padding: 8px 12px; }
.nb-drawer-sub .nb-drawer-link i.nb-di { width: 26px; height: 26px; font-size: 11px; }
.nb-drawer-divider { height: 1px; background: #e5e7eb; margin: 6px 10px; }
.nb-drawer-footer {
    padding: 12px 16px; border-top: 1px solid #e5e7eb;
    background: #f7f8fa; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
}
.nb-drawer-footer a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px; border-radius: 12px; font-size: 13px; font-weight: 600;
    text-decoration: none !important; transition: all 0.2s ease;
}
.nb-footer-logout { background: linear-gradient(135deg, #08111e, #0f2040); color: #fff !important; box-shadow: 0 3px 12px rgba(8,17,30,0.4); }
.nb-footer-logout:hover { box-shadow: 0 6px 20px rgba(8,17,30,0.55); transform: translateY(-1px); }
.nb-footer-cart { background: linear-gradient(90deg,#22D3EE,#60A5FA); color: #fff !important; box-shadow: 0 3px 12px rgba(34,211,238,0.3); }
.nb-footer-cart:hover { box-shadow: 0 6px 20px rgba(34,211,238,0.5); transform: translateY(-1px); }

.nb-mobile-logo    { display: none; }
.nb-mobile-actions { display: none; }
.nb-mobile-home    { display: none; }

@media (max-width: 1200px) {
    ul.nb-desktop, ul.nb-desktop-right { display: none !important; }
    .cp-brand { display: none !important; }
    .cp-nav-sep { display: none !important; }
    section#main-menu .container { height: 60px !important; gap: 0 !important; }
    .nb-mobile-logo { display: flex !important; align-items: center !important; text-decoration: none !important; flex-shrink: 0 !important; }
    .nb-mobile-logo img { height: 40px !important; width: auto !important; }
    .nb-mobile-actions { display: flex !important; align-items: center !important; gap: 8px !important; margin-left: auto !important; flex-shrink: 0 !important; }
    .nb-mobile-home { display: flex !important; align-items: center !important; justify-content: center !important; width: 38px !important; height: 38px !important; background: rgba(34,211,238,0.10) !important; border: 1.5px solid rgba(34,211,238,0.3) !important; border-radius: 10px !important; color: #22D3EE !important; font-size: 15px !important; text-decoration: none !important; transition: all 0.2s ease !important; flex-shrink: 0 !important; }
    .nb-mobile-home:hover { background: rgba(34,211,238,0.2) !important; color: #fff !important; }
    .nb-hamburger { display: flex !important; }
}
/* Laptops (1201-1599px): the full menu did not fit (Logout and the account menu ran off the right edge),
   so the right-hand pills collapse to icons and the links get tighter padding. */
@media (min-width: 1201px) and (max-width: 1599px) {
    .cp-lbl { display: none !important; }
    ul.nb-desktop > li > a, ul.nb-desktop-right > li > a { padding: 7px 8px !important; }
    .cp-account-pill { padding: 8px 10px !important; }
    .cp-btn-logout { padding: 8px 10px !important; }
    .cp-brand { margin-right: 4px !important; }
    .cp-brand img { height: 40px !important; }
    section#main-menu .container { gap: 4px !important; padding-left: 14px !important; padding-right: 14px !important; }
}
@media (min-width: 1201px) and (max-width: 1365px) {
    ul.nb-desktop > li > a[href^="https://underhost.com"] { display: none !important; }
}
@media (min-width: 1201px) {
    .nb-hamburger { display: none !important; }
    .nb-drawer, .nb-overlay { display: none !important; }
}

/* Ticket rows in the Notifications menu (uh_quicknav.php). The popover drops style attributes, so colours live here. */
.client-alerts .uh-ta-abuse > a > i { color: #b91c1c !important; }
.client-alerts .uh-ta-action > a > i { color: #db2777 !important; }
.client-alerts .uh-ta-warn > a > i { color: #b45309 !important; }
.uh-ta-btns { display: flex; justify-content: flex-end; gap: 8px; padding: 2px 12px 12px; }
.uh-ta-btns.is-drawer { padding: 0 14px 10px 14px; }
.uh-ta-btns a.uh-ta-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; float: none !important; width: auto !important; height: 32px !important; margin: 0 !important; padding: 0 12px !important; border-radius: 9px;
    background: #0b1f3a !important; color: #fff !important; font-size: 12px; font-weight: 700; line-height: 1 !important; text-decoration: none !important; white-space: nowrap; border: 0 !important; }
.uh-ta-btns a.uh-ta-btn:hover { background: #0077ff !important; }
.uh-ta-btns a.uh-ta-btn i { float: none !important; position: static !important; margin: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; line-height: 1 !important; font-size: 11px !important; color: inherit !important; }
.uh-ta-btns a.uh-ta-btn.uh-ta-close { background: #fff !important; color: #0b1f3a !important; box-shadow: inset 0 0 0 1px #cbd5e1; }
.uh-ta-btns a.uh-ta-btn.uh-ta-close:hover { background: #f1f5f9 !important; }
.uh-ta-btns.is-drawer a.uh-ta-btn.uh-ta-close { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════
   ARCTIC ICE SIDEBAR — improved formatting
   scoped to .sb-wrap
═══════════════════════════════════════════ */
.sb-wrap,
#sb-custom-mobile {
    --ice-primary:     #22D3EE;
    --ice-primary-rgb: 34,211,238;
    --ice-dark:        #0B1F3A;
    --ice-navy:        #1e3a5f;
    --ice-g-cyan:      linear-gradient(90deg, #22D3EE, #60A5FA);
    --ice-g-navy:      linear-gradient(135deg, #0B1F3A, #1e3a5f);
    --ice-border:      rgba(34,211,238,0.13);
    --ice-border-h:    rgba(34,211,238,0.28);
    --sh-sm:           0 2px 10px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --sh-md:           0 4px 18px rgba(0,0,0,0.09);
    --c-ink:    #0d1117;
    --c-ink-2:  #374151;
    --c-ink-3:  #6b7280;
    --c-ink-4:  #9ca3af;
    --c-border: #e5e7eb;
    --c-surf:   #f7f8fa;
    --c-surf-2: #f0f2f5;
    --r-md:  10px;
    --r-lg:  14px;
    --r-xl:  18px;
    --r-2xl: 22px;
    --r-pill: 50px;
    --t: 0.2s ease;
}

/* Clickability fix */
.sb-nav-item {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
}
.sb-nav-item > * {
    pointer-events: none;
}
.sb-nav-item[data-identifier] {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

/* Panel shell */
.sb-panel {
    background: #fff;
    border: 1px solid var(--ice-border);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    margin-bottom: 14px;
    transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.sb-panel:hover {
    box-shadow: var(--sh-md);
    border-color: var(--ice-border-h);
}
.sb-panel-stripe {
    height: 3px;
    background: var(--ice-g-cyan);
}

/* Heading */
.sb-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    cursor: pointer;
    user-select: none;
    gap: 10px;
}
.sb-panel-heading-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.sb-panel-icon {
    width: 32px;
    height: 32px;
    background: var(--ice-g-navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.sb-panel-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34,211,238,0.28), transparent 60%);
}
.sb-panel-icon i {
    color: #fff;
    font-size: 12px;
    position: relative;
    z-index: 1;
}
.sb-panel-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--ice-dark);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ice-g-cyan);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--r-pill);
    padding: 0 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(34,211,238,0.22);
}
.sb-chevron {
    color: var(--c-ink-4);
    font-size: 11px;
    transition: transform var(--t), color var(--t);
    flex-shrink: 0;
}
.sb-panel:hover .sb-chevron {
    color: var(--ice-primary);
}
.sb-panel.is-collapsed .sb-chevron {
    transform: rotate(180deg);
}

/* Body / footer */
.sb-panel-body {
    padding: 8px 18px 14px;
    font-size: 13px;
    color: var(--c-ink-2);
    border-top: 1px solid var(--c-border);
    line-height: 1.6;
}
.sb-panel-body p:last-child {
    margin-bottom: 0;
}
.sb-panel-body a {
    color: #22D3EE;
    font-weight: 600;
    text-decoration: none;
}
.sb-panel-body a:hover {
    text-decoration: underline;
}
.sb-panel-footer {
    padding: 12px 18px;
    background: var(--c-surf);
    border-top: 1px solid var(--c-border);
    font-size: 12px;
    color: var(--c-ink-3);
    line-height: 1.55;
}

/* Nav */
.sb-nav {
    border-top: 1px solid var(--c-border);
    padding: 8px;
}
.sb-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: var(--r-lg);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-ink-2);
    text-decoration: none;
    transition: all var(--t);
    cursor: pointer;
    position: relative;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    min-height: 40px;
}
.sb-nav-item:hover {
    background: var(--c-surf);
    color: var(--ice-dark);
    text-decoration: none;
}
.sb-nav-item.is-active {
    background: rgba(var(--ice-primary-rgb), 0.08);
    color: var(--ice-dark);
    font-weight: 800;
}
.sb-nav-item.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    background: var(--ice-g-cyan);
    border-radius: 0 3px 3px 0;
}
.sb-nav-item.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}
.sb-nav-item i.sb-nav-icon {
    color: var(--c-ink-4);
    font-size: 12px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    transition: color var(--t);
}
.sb-nav-item:hover i.sb-nav-icon,
.sb-nav-item.is-active i.sb-nav-icon {
    color: var(--ice-primary);
}
.sb-nav-item .sb-nav-label {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
    white-space: normal;
}
.sb-nav-item .sb-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-surf-2);
    color: var(--c-ink-3);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--r-pill);
    padding: 0 5px;
    flex-shrink: 0;
    transition: all var(--t);
}
.sb-nav-item.is-active .sb-nav-badge,
.sb-nav-item:hover .sb-nav-badge {
    background: rgba(var(--ice-primary-rgb),0.12);
    color: var(--ice-primary);
}
.sb-nav-item .sb-loading {
    display: none;
}
.sb-nav-item .sb-loading i {
    color: var(--ice-primary);
}

.sb-nav-static {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    font-size: 13px;
    color: var(--c-ink-3);
    font-style: italic;
}
.sb-nav-static i {
    color: var(--c-ink-4);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

/* Collapse */
.sb-collapsible {
    overflow: hidden;
    transition: max-height 0.28s ease;
}
.sb-panel.is-collapsed .sb-collapsible {
    max-height: 0 !important;
}

/* Mobile select */
.sb-mobile-panel {
    background: #fff;
    border: 1px solid var(--ice-border);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    margin-bottom: 14px;
}
.sb-mobile-panel .sb-panel-heading {
    cursor: default;
}
.sb-mobile-select-wrap {
    padding: 4px 14px 14px;
    border-top: 1px solid var(--c-border);
}
.sb-mobile-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--c-surf);
    border: 1.5px solid var(--ice-border);
    border-radius: var(--r-lg);
    padding: 10px 36px 10px 14px;
    font-size: 13px;
    color: var(--ice-dark);
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all var(--t);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.sb-mobile-select:focus {
    border-color: var(--ice-primary);
    box-shadow: 0 0 0 3px rgba(var(--ice-primary-rgb),0.10);
    background-color: #fff;
}

/* Action buttons */
.sb-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--r-lg);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all var(--t);
    margin-top: 10px;
    border: none;
    min-height: 38px;
}
.sb-action-btn-cyan {
    background: var(--ice-g-navy);
    border: 1px solid var(--ice-border);
    color: #fff !important;
}
.sb-action-btn-cyan:hover {
    border-color: var(--ice-border-h);
    opacity: .92;
    transform: translateY(-1px);
}
.sb-action-btn-amber {
    background: linear-gradient(-45deg,#fbbf24,#d97706);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(217,119,6,.28);
}
.sb-action-btn-amber:hover {
    box-shadow: 0 4px 14px rgba(217,119,6,.42);
    transform: translateY(-1px);
}
.sb-action-btn-purple {
    background: rgba(124,58,237,.08);
    color: #7c3aed !important;
    border: 1px solid rgba(124,58,237,.2);
}
.sb-action-btn-purple:hover {
    background: rgba(124,58,237,.14);
    transform: translateY(-1px);
}

/* Renewing soon */
.sb-renew-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
}
.sb-renew-row:first-child {
    padding-top: 4px;
}
.sb-renew-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sb-renew-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d97706;
    flex-shrink: 0;
    margin-top: 5px;
    box-shadow: 0 0 0 4px rgba(217,119,6,0.10);
}
.sb-renew-info {
    flex: 1;
    min-width: 0;
}
.sb-renew-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--ice-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.sb-renew-due {
    font-size: 11px;
    color: #d97706;
    font-weight: 700;
}
.sb-renew-due i {
    margin-right: 4px;
}
.sb-renew-amount {
    font-size: 12px;
    font-weight: 700;
    color: var(--ice-dark);
    flex-shrink: 0;
}
.sb-renew-amount-inline {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-ink-3);
    margin-top: 2px;
}

.sb-renew-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(-45deg, #fbbf24, #d97706);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(217,119,6,.25);
    transition: all 0.18s ease;
    white-space: nowrap;
}
.sb-renew-btn:hover {
    box-shadow: 0 4px 12px rgba(217,119,6,.42);
    transform: translateY(-1px);
    color: #fff !important;
}

.sb-renew-body-html {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}
.sb-renew-body-html a {
    color: #d97706 !important;
    font-weight: 700;
    text-decoration: none !important;
}
.sb-renew-body-html a:hover {
    text-decoration: underline !important;
}
.sb-empty-note {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    padding: 8px 0 3px;
    line-height: 1.5;
}

/* Affiliate invitation (home page sidebar) */
.sb-aff { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.sb-aff-copy { flex: 1; min-width: 0; }
.sb-aff-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-top: 1px;
    background: #f5f3ff; color: #7c3aed; font-size: 16px; border: 1px solid rgba(124,58,237,.15); }
.sb-aff-title { font-size: 13.5px; font-weight: 800; color: #0b1f3a; line-height: 1.35; }
.sb-aff-text { margin: 5px 0 0; font-size: 12.5px; color: #64748b; line-height: 1.55; }
.sb-aff-perk { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: #f5f3ff; color: #6d28d9; font-size: 11.5px; font-weight: 700; }
/* dark sidebar */
.sb-wrap.sb-dark .sb-aff-ico { background: rgba(167,139,250,.14); color: #c4b5fd; border-color: rgba(167,139,250,.3); }
.sb-wrap.sb-dark .sb-aff-title { color: #fff; }
.sb-wrap.sb-dark .sb-aff-text { color: #94a3b8; }
.sb-wrap.sb-dark .sb-aff-perk { background: rgba(167,139,250,.14); color: #c4b5fd; }
.sb-wrap.sb-dark #sb-custom-panels .sb-action-btn-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 4px 14px rgba(124,58,237,.35); }
.sb-wrap.sb-dark #sb-custom-panels .sb-action-btn-purple i { color: #fff !important; }
.sb-wrap.sb-dark #sb-custom-panels .sb-action-btn-purple:hover { filter: brightness(1.1); }
.sb-aff-ico.is-cyan { background: #ecfeff; color: #0091d6; border-color: rgba(0,145,214,.15); }
.sb-wrap.sb-dark .sb-aff-ico.is-cyan { background: rgba(34,211,238,.14); color: #67e8f9; border-color: rgba(34,211,238,.3); }
.sb-action-btn-sky { background: linear-gradient(-45deg, #00d4ff, #0091d6); color: #fff !important; box-shadow: 0 4px 14px rgba(0,145,214,.3); }
.sb-action-btn-sky:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sb-aff + .sb-action-btn { margin-top: 0; }
/* Affiliate body tidy-up */
.sb-panel-body .affiliate-stat,
.sb-panel-body .stat,
.sb-panel-body .affiliate-data {
    margin-bottom: 8px;
}
.sb-panel-body table {
    width: 100%;
    font-size: 12px;
}
.sb-panel-body table td,
.sb-panel-body table th {
    padding: 4px 0;
    vertical-align: top;
}

/* Mobile placement */
#sb-custom-panels {
    display: block;
}
@media (max-width: 991px) {
    .sidebar #sb-custom-panels {
        display: none !important;
    }
    #sb-custom-mobile {
        display: block !important;
        margin-top: 18px;
    }

    .sb-panel,
    .sb-mobile-panel {
        border-radius: 18px;
    }

    .sb-panel-heading {
        padding: 13px 15px 11px;
    }

    .sb-panel-body,
    .sb-panel-footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .sb-nav {
        padding: 8px;
    }

    .sb-nav-item {
        padding: 10px 10px;
        min-height: 42px;
    }

    .sb-renew-row {
        flex-wrap: wrap;
    }

    .sb-renew-btn {
        margin-left: 18px;
    }
}
@media (min-width: 992px) {
    #sb-custom-mobile {
        display: none !important;
    }
    .sidebar #sb-custom-panels {
        display: block !important;
    }
}

/* ═══════════════════════════════════════════
   2026 refresh: calm "context card" look (all sidebar panels, every page).
   No cyan stripe or icon tiles; small uppercase section label; clean rows with a light-blue current item; counts on the right.
═══════════════════════════════════════════ */
.sb-wrap .sb-panel, .sb-mobile-panel { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; box-shadow: 0 2px 12px rgba(15,23,42,.04); margin-bottom: 16px; }
.sb-wrap .sb-panel:hover { border-color: #dbe4ee; box-shadow: 0 4px 16px rgba(15,23,42,.06); }
.sb-wrap .sb-panel-stripe, .sb-mobile-panel .sb-panel-stripe { display: none; }
.sb-wrap .sb-panel-heading, .sb-mobile-panel .sb-panel-heading { padding: 16px 18px 8px; border-bottom: 0 !important; }
.sb-wrap .sb-panel-heading + .sb-collapsible, .sb-wrap .sb-collapsible { border-top: 0 !important; }
.sb-wrap .sb-panel-icon, .sb-mobile-panel .sb-panel-icon { display: none; }
.sb-wrap .sb-panel-title, .sb-mobile-panel .sb-panel-title { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #94a3b8; }
.sb-wrap .sb-panel-badge { background: #ecfeff; color: #0077b6; box-shadow: none; font-weight: 800; }
.sb-wrap .sb-chevron { font-size: 10px; color: #cbd5e1; }
.sb-wrap .sb-panel.is-collapsed .sb-panel-heading { padding-bottom: 16px; }

.sb-wrap .sb-nav { padding: 2px 10px 12px; border-top: 0 !important; }
.sb-wrap .sb-nav-item, .sb-wrap .sb-nav-static { display: flex; align-items: center; gap: 10px; margin: 1px 0; padding: 9px 10px; border-radius: 10px;
    font-size: 14px; font-weight: 600; color: #334155; border: 0; background: transparent; line-height: 1.35; }
.sb-wrap .sb-nav-item:hover { background: #f5f8fb; color: #0b1f3a; transform: none; }
.sb-wrap .sb-nav-item.is-active { background: #eef7ff; color: #0077b6; font-weight: 700; }
.sb-wrap .sb-nav-item.is-active::before { display: none; }
/* Icon tiles with a tone per meaning (icons + uh-tone-* classes set in includes/hooks/uh_sidebar_icons.php) */
.sb-wrap .sb-nav-item i.sb-nav-icon { flex: 0 0 28px; width: 28px; height: 28px; margin: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; background: #f1f5f9; color: #64748b; transition: background .15s ease, color .15s ease; }
.sb-wrap .sb-nav-item.uh-tone-cyan i.sb-nav-icon { background: #ecfeff; color: #0891b2; }
.sb-wrap .sb-nav-item.uh-tone-blue i.sb-nav-icon { background: #eff6ff; color: #2563eb; }
.sb-wrap .sb-nav-item.uh-tone-green i.sb-nav-icon { background: #ecfdf5; color: #059669; }
.sb-wrap .sb-nav-item.uh-tone-amber i.sb-nav-icon { background: #fffbeb; color: #d97706; }
.sb-wrap .sb-nav-item.uh-tone-violet i.sb-nav-icon { background: #f5f3ff; color: #7c3aed; }
.sb-wrap .sb-nav-item.uh-tone-red i.sb-nav-icon { background: #fef2f2; color: #dc2626; }
.sb-wrap .sb-nav-item.uh-tone-red:hover { background: #fef2f2; color: #b91c1c; }
.sb-wrap .sb-nav-item:hover i.sb-nav-icon, .sb-wrap .sb-nav-item.is-active i.sb-nav-icon { background: #0b1f3a; color: #22d3ee; }
.sb-wrap .sb-nav-item.uh-tone-red:hover i.sb-nav-icon { background: #dc2626; color: #fff; }
.sb-wrap .sb-nav-item { padding: 6px 10px 6px 6px; }
/* Info rows (Service / Server Information): caption above the value */
.sb-wrap .uh-sb-cap { display: block; margin-bottom: 1px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8;
    user-select: none; -webkit-user-select: none; }
.sb-wrap .sb-nav-item.sb-nav-static-info:hover i.sb-nav-icon { background: #f1f5f9; color: #64748b; }
.sb-wrap .sb-nav-item.sb-nav-static-info.uh-tone-cyan:hover i.sb-nav-icon { background: #ecfeff; color: #0891b2; }
.sb-wrap .sb-nav-item.sb-nav-static-info.uh-tone-blue:hover i.sb-nav-icon { background: #eff6ff; color: #2563eb; }
.sb-wrap .sb-nav-item .sb-nav-label { flex: 1; min-width: 0; white-space: normal; }
.sb-wrap .sb-nav-item .sb-nav-label small, .sb-wrap .sb-nav-item .sb-nav-label .text-muted { display: block; margin-top: 1px; font-size: 12px; font-weight: 500; color: #94a3b8; }
.sb-wrap .sb-nav-item .sb-nav-badge, .sb-wrap .sb-nav-static .sb-nav-badge { margin-left: auto; padding: 0; min-width: 0; height: auto; background: none !important; box-shadow: none !important;
    font-size: 12.5px; font-weight: 700; color: #94a3b8 !important; border: 0; }
.sb-wrap .sb-nav-item.is-active .sb-nav-badge { color: #0077b6 !important; }
.sb-wrap .sb-nav-static { color: #64748b; font-weight: 500; }

.sb-wrap .sb-panel-body { padding: 4px 18px 16px; font-size: 13px; color: #475569; border-top: 0 !important; }
.sb-wrap .sb-panel-footer { padding: 12px 18px 16px; border-top: 1px solid #f1f5f9; background: transparent; }
.sb-wrap .sb-panel-footer .btn, .sb-wrap .sb-panel-body .btn { border-radius: 10px; font-weight: 700; box-shadow: none; }
.sb-wrap .sb-panel-footer .btn-success, .sb-wrap .sb-panel-body .btn-success,
.sb-wrap .sb-panel-footer .btn-primary, .sb-wrap .sb-panel-body .btn-primary { background: linear-gradient(135deg, #22d3ee, #60a5fa) !important; border: 0 !important; color: #06101e !important; }
.sb-wrap .sb-panel-footer .btn-danger, .sb-wrap .sb-panel-body .btn-danger { background: #fff !important; border: 1.5px solid #e8edf3 !important; color: #b91c1c !important; }
.sb-wrap .sb-panel-footer .btn-danger.disabled, .sb-wrap .sb-panel-footer .btn-danger[disabled] { color: #94a3b8 !important; opacity: 1; }
.sb-wrap .sb-panel-footer .btn-default, .sb-wrap .sb-panel-body .btn-default { background: #fff !important; border: 1.5px solid #e8edf3 !important; color: #0b1f3a !important; }
.sb-wrap .sb-panel-body .form-control, .sb-wrap .sb-panel-footer .form-control { height: 38px; border: 1.5px solid #e8edf3; border-radius: 10px; box-shadow: none; font-size: 13px; }
.sb-wrap .sb-panel-body .form-control:focus, .sb-wrap .sb-panel-footer .form-control:focus { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34,211,238,.12); }
.sb-mobile-select { border: 1.5px solid #e8edf3 !important; border-radius: 10px !important; }

/* ═══════════════════════════════════════════
   Dark sidebar (matches the navbar, heroes and footer). Everything is scoped to .sb-wrap.sb-dark:
   remove "sb-dark" from <div class="sb-wrap sb-dark"> below to go back to the light cards.
═══════════════════════════════════════════ */
.sb-wrap.sb-dark .sb-panel, .sb-wrap.sb-dark .sb-mobile-panel { position: relative; overflow: hidden; border: 1px solid rgba(34,211,238,.10);
    background: radial-gradient(circle at 100% 0, rgba(34,211,238,.08), transparent 45%), linear-gradient(160deg, #0b1a30 0%, #081426 100%);
    box-shadow: 0 10px 28px rgba(2,8,23,.18); }
.sb-wrap.sb-dark .sb-panel:hover { border-color: rgba(34,211,238,.22); box-shadow: 0 12px 32px rgba(2,8,23,.24); }
.sb-wrap.sb-dark .sb-panel-title { color: #22d3ee; }
.sb-wrap.sb-dark .sb-panel-badge { background: rgba(34,211,238,.14); color: #67e8f9; }
.sb-wrap.sb-dark .sb-chevron { color: rgba(255,255,255,.3); }
.sb-wrap.sb-dark .sb-nav-item, .sb-wrap.sb-dark .sb-nav-static { color: #cbd5e1; }
.sb-wrap.sb-dark .sb-nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.sb-wrap.sb-dark .sb-nav-item.is-active { position: relative; background: rgba(34,211,238,.10); color: #fff; }
.sb-wrap.sb-dark .sb-nav-item.is-active::before { display: none; content: none; } /* no side line: the tinted row + cyan icon tile mark the current page */
.sb-wrap.sb-dark .sb-nav-item .sb-nav-label small, .sb-wrap.sb-dark .sb-nav-item .sb-nav-label .text-muted { color: #64748b; }
.sb-wrap.sb-dark .sb-nav-item .sb-nav-badge, .sb-wrap.sb-dark .sb-nav-static .sb-nav-badge { color: #64748b !important; }
.sb-wrap.sb-dark .sb-nav-item.is-active .sb-nav-badge, .sb-wrap.sb-dark .sb-nav-item:hover .sb-nav-badge { color: #fff !important; }
.sb-wrap.sb-dark .sb-nav-item.is-disabled { color: #475569; }
/* icon tiles: same tones, tinted for a dark background */
.sb-wrap.sb-dark .sb-nav-item i.sb-nav-icon { background: rgba(148,163,184,.12); color: #94a3b8; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-cyan i.sb-nav-icon { background: rgba(34,211,238,.14); color: #67e8f9; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-blue i.sb-nav-icon { background: rgba(96,165,250,.14); color: #93c5fd; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-green i.sb-nav-icon { background: rgba(52,211,153,.14); color: #6ee7b7; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-amber i.sb-nav-icon { background: rgba(251,191,36,.14); color: #fcd34d; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-violet i.sb-nav-icon { background: rgba(167,139,250,.16); color: #c4b5fd; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-red i.sb-nav-icon { background: rgba(248,113,113,.14); color: #fca5a5; }
.sb-wrap.sb-dark .sb-nav-item:hover i.sb-nav-icon, .sb-wrap.sb-dark .sb-nav-item.is-active i.sb-nav-icon { background: #22d3ee; color: #06101e; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-red:hover { background: rgba(248,113,113,.10); color: #fecaca; }
.sb-wrap.sb-dark .sb-nav-item.uh-tone-red:hover i.sb-nav-icon { background: #ef4444; color: #fff; }
/* Service / Server Information rows (converted to static text by includes/hooks/shownameservers.php) */
.sb-wrap.sb-dark .sb-nav-item.sb-nav-static-info, .sb-wrap.sb-dark .sb-nav-item.sb-nav-static-info:hover { background: transparent !important; color: #cbd5e1 !important; }
.sb-wrap.sb-dark .sb-nav-item.sb-nav-static-info > .sb-nav-label { color: #fff !important; }
.sb-wrap.sb-dark .sb-nav-item.sb-nav-static-info:hover i.sb-nav-icon { background: rgba(148,163,184,.12); color: #94a3b8; }
.sb-wrap.sb-dark .sb-nav-item.sb-nav-static-info.uh-tone-cyan:hover i.sb-nav-icon { background: rgba(34,211,238,.14); color: #67e8f9; }
.sb-wrap.sb-dark .sb-nav-item.sb-nav-static-info.uh-tone-blue:hover i.sb-nav-icon { background: rgba(96,165,250,.14); color: #93c5fd; }
.sb-wrap.sb-dark .uh-sb-cap { color: #64748b; }
/* Info values (domain, hostname...) stay on one line: the script below shrinks the font to fit, "…" only as a last resort */
.sb-wrap .sb-nav-item .sb-nav-label .uh-sb-val { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: normal !important; }
.sb-wrap .sb-nav-item.sb-nav-static-info > .sb-nav-label { word-break: normal !important; overflow-wrap: normal !important; min-width: 0; }
/* panel bodies (ticket info, module panels, renewals, affiliates) */
.sb-wrap.sb-dark .sb-panel-body, .sb-wrap.sb-dark .sb-panel-body p, .sb-wrap.sb-dark .sb-panel-body [style*="color:#6b7280"],
.sb-wrap.sb-dark .sb-panel-body [style*="color: #6b7280"] { color: #94a3b8 !important; }
.sb-wrap.sb-dark .sb-panel-body strong, .sb-wrap.sb-dark .sb-panel-body b, .sb-wrap.sb-dark .sb-panel-body .title { color: #e2e8f0; }
.sb-wrap.sb-dark .sb-panel-body a:not(.btn):not(.sb-action-btn):not(.sb-renew-btn) { color: #67e8f9; }
.sb-wrap.sb-dark .sb-panel-footer { border-top-color: rgba(255,255,255,.06); }
.sb-wrap.sb-dark .sb-panel-footer .btn-default, .sb-wrap.sb-dark .sb-panel-body .btn-default,
.sb-wrap.sb-dark .sb-panel-footer .btn-danger, .sb-wrap.sb-dark .sb-panel-body .btn-danger { background: rgba(255,255,255,.04) !important; border-color: rgba(255,255,255,.12) !important; }
.sb-wrap.sb-dark .sb-panel-footer .btn-default, .sb-wrap.sb-dark .sb-panel-body .btn-default { color: #e2e8f0 !important; }
.sb-wrap.sb-dark .sb-panel-footer .btn-danger, .sb-wrap.sb-dark .sb-panel-body .btn-danger { color: #fca5a5 !important; }
.sb-wrap.sb-dark .sb-panel-footer .btn-danger.disabled, .sb-wrap.sb-dark .sb-panel-footer .btn-danger[disabled] { color: #64748b !important; }
.sb-wrap.sb-dark .sb-panel-body .form-control, .sb-wrap.sb-dark .sb-panel-footer .form-control { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.sb-wrap.sb-dark .sb-panel-body .form-control::placeholder { color: #64748b; }
.sb-wrap.sb-dark .sb-renew-row { border-color: rgba(255,255,255,.06); }
.sb-wrap.sb-dark .sb-renew-name, .sb-wrap.sb-dark .sb-renew-amount, .sb-wrap.sb-dark .sb-renew-amount-inline { color: #fff; }
.sb-wrap.sb-dark .sb-renew-due, .sb-wrap.sb-dark .sb-empty-note { color: #94a3b8; }
.sb-wrap.sb-dark .sb-mobile-select { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12) !important; color: #fff; }
.sb-wrap.sb-dark .sb-mobile-select option { color: #0b1f3a; }
/* Ticket Information card (includes/hooks/uh_ticket_sidebar.php) */
.uh-ti { margin: -4px -2px 0; }
.uh-ti-req { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 12px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.16); }
.uh-ti-av { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #22d3ee, #0091d6); color: #06101e; font-size: 13px; font-weight: 800; }
.uh-ti-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.uh-ti-who b { color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uh-ti-who small { margin-top: 3px; color: #67e8f9; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.uh-ti-rows { margin: 8px 0; }
.uh-ti-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 4px; border-bottom: 1px solid rgba(148,163,184,.12); }
.uh-ti-row:last-child { border-bottom: 0; }
.uh-ti-k { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.uh-ti-k i { width: 14px; text-align: center; color: #64748b; font-size: 12px; }
.uh-ti-v { flex: 1 1 auto; min-width: 0; text-align: right; color: #e2e8f0; font-size: 13px; font-weight: 700; }
.uh-ti-v .uh-sb-val { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.uh-ti-pri { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.uh-ti-pri.is-low { background: rgba(148,163,184,.16); color: #cbd5e1; }
.uh-ti-pri.is-medium { background: rgba(245,158,11,.16); color: #fbbf24; }
.uh-ti-pri.is-high { background: rgba(239,68,68,.18); color: #fca5a5; }
.uh-ti-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px;
    background: color-mix(in srgb, var(--uh-ti-c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--uh-ti-c) 45%, transparent); }
.uh-ti-status span { color: #94a3b8; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.uh-ti-status b { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 13.5px; font-weight: 800; }
.uh-ti-status b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--uh-ti-c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--uh-ti-c) 30%, transparent); }
