/* ==========================================================================
   ixnodes — HostBill Template (nextgen_clean)
   Full Bootstrap 2 override + brand system
   Brand kit: v4 (Sovereign Cube, Inter + JetBrains Mono, single blue #3B82F6)
   Last rebrand: 2026-04-20
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS — adjust these to retune the brand globally
   ========================================================================== */
:root {
    --ix-bg: #0B0D12;
    --ix-bg-2: #10131A;
    --ix-surface: #13161D;
    --ix-surface-2: #1A1E28;
    --ix-surface-3: #222738;

    --ix-border: rgba(59,130,246,0.10);
    --ix-border-2: rgba(255,255,255,0.08);
    --ix-border-strong: rgba(255,255,255,0.14);

    --ix-text: #F1F3F7;
    --ix-text-2: #B5BBC9;
    --ix-text-3: #7C8496;
    --ix-text-4: #4B5263;

    --ix-accent: #3B82F6;
    --ix-accent-hover: #2563EB;
    --ix-accent-soft: rgba(59,130,246,0.12);
    --ix-accent-ring: rgba(59,130,246,0.35);

    --ix-green: #10B981;
    --ix-green-soft: rgba(16,185,129,0.12);
    --ix-amber: #F59E0B;
    --ix-amber-soft: rgba(245,158,11,0.12);
    --ix-red: #EF4444;
    --ix-red-soft: rgba(239,68,68,0.12);

    --ix-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ix-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --ix-radius: 10px;
    --ix-radius-sm: 6px;
    --ix-radius-lg: 14px;

    --ix-shadow-sm: 0 1px 2px rgba(0,0,0,0.35);
    --ix-shadow: 0 8px 24px rgba(0,0,0,0.30);
    --ix-shadow-lg: 0 20px 48px rgba(0,0,0,0.50);
}

/* ==========================================================================
   2. RESET + BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding: 0;
    background: var(--ix-bg);
    color: var(--ix-text);
    font-family: var(--ix-font);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    background-image:
        radial-gradient(ellipse 900px 500px at 50% -200px, rgba(59,130,246,0.10) 0%, transparent 60%),
        linear-gradient(rgba(59,130,246,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.025) 1px, transparent 1px);
    background-size: auto, 60px 60px, 60px 60px;
    background-repeat: no-repeat, repeat, repeat;
    background-attachment: fixed;
    background-position: top center, 0 0, 0 0;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 300px at 15% 85%, rgba(59,130,246,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 85% 75%, rgba(16,185,129,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--ix-accent); text-decoration: none; transition: color .18s ease; }
a:hover, a:focus { color: var(--ix-accent-hover); text-decoration: none; }

p { margin: 0 0 12px; }
hr { border: 0; border-top: 1px solid var(--ix-border-2); margin: 24px 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ix-font);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ix-text);
    margin: 0 0 14px;
    line-height: 1.25;
}
h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; font-weight: 600; }
h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ix-text-3); }

small, .small, .text-small, .fsize { font-size: 12px; color: var(--ix-text-3); }
.muted { color: var(--ix-text-3) !important; }
b, strong { font-weight: 600; color: var(--ix-text); }
code, pre, kbd, samp { font-family: var(--ix-mono); font-size: 12.5px; }

::selection { background: var(--ix-accent); color: #fff; }

/* ==========================================================================
   3. LAYOUT SHELL
   ========================================================================== */
#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.row, .row-fluid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > [class^="span"], .row-fluid > [class^="span"] { padding: 0 12px; box-sizing: border-box; }

[class^="span"] { float: none; min-height: 1px; }
.span1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.span2  { flex: 0 0 16.666%; max-width: 16.666%; }
.span3  { flex: 0 0 25%;     max-width: 25%; }
.span4  { flex: 0 0 33.333%; max-width: 33.333%; }
.span5  { flex: 0 0 41.666%; max-width: 41.666%; }
.span6  { flex: 0 0 50%;     max-width: 50%; }
.span7  { flex: 0 0 58.333%; max-width: 58.333%; }
.span8  { flex: 0 0 66.666%; max-width: 66.666%; }
.span9  { flex: 0 0 75%;     max-width: 75%; }
.span10 { flex: 0 0 83.333%; max-width: 83.333%; }
.span11 { flex: 0 0 91.666%; max-width: 91.666%; }
.span12 { flex: 0 0 100%;    max-width: 100%; }

.left, .pull-left { float: left; }
.right, .pull-right { float: right; }
.clear, .clearfix { clear: both; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.flex-container { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.flex-container .row > [class^="span"] { padding: 0; }
.flex-box-1 { flex: 1; min-width: 0; }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
#headpart {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11,13,18,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ix-border);
    margin-bottom: 0;
}
#mainpart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

#mainpart h1 {
    font-family: var(--ix-font);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ix-text);
}
.ix-brand-mark { display: inline-flex; align-items: center; flex-shrink: 0; }

.headersection { display: flex; align-items: center; gap: 8px; float: none !important; }
.headersection .btn-group { margin: 0; }

.notifications-drop { min-width: 280px !important; max-height: 400px; overflow-y: auto; }
.notifications-drop-item { padding: 4px 0; }
.notifications-drop-item-title { font-size: 13px; color: var(--ix-text); font-weight: 500; }
.notifications-drop-item-time { color: var(--ix-text-3) !important; }
.notifications-drop-showall a { font-weight: 500; color: var(--ix-accent) !important; }
.notifications-drop-item.seen .notifications-drop-item-title { color: var(--ix-text-3); font-weight: 400; }

/* ==========================================================================
   5. MAIN NAV (nav.nav-tabs) + SUBMENU
   ========================================================================== */
#mainmenu-container {
    background: transparent;
    border-bottom: 1px solid var(--ix-border);
    margin-bottom: 28px;
}
#mainmenu .nav.nav-tabs {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    border: 0;
}
#mainmenu .nav.nav-tabs > li { margin: 0; position: relative; }
#mainmenu .nav.nav-tabs > li > a {
    display: block;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ix-text-2);
    border: 0;
    border-radius: 0;
    position: relative;
    transition: color .18s ease;
    background: transparent;
}
#mainmenu .nav.nav-tabs > li > a:hover,
#mainmenu .nav.nav-tabs > li > a:focus,
#mainmenu .nav.nav-tabs > li.active > a,
#mainmenu .nav.nav-tabs > li.active > a:hover {
    color: var(--ix-text);
    background: transparent;
    border: 0;
}
#mainmenu .nav.nav-tabs > li.active > a::after,
#mainmenu .nav.nav-tabs > li > a:hover::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: -1px;
    height: 2px;
    background: var(--ix-accent);
    border-radius: 2px 2px 0 0;
}
#mainmenu .nav.nav-tabs > li > a b.caret { margin-left: 6px; }

/* Main-nav dropdown panels (Order, Support, Services, Account, Affiliates).
   These contain HostBill's .cntn > .row > .span* grid markup. */
#mainmenu .nav.nav-tabs .dropdown-menu {
    min-width: 440px;
    padding: 14px;
}
#mainmenu .nav.nav-tabs .dropdown-menu .cntn { width: 100%; }
#mainmenu .nav.nav-tabs .dropdown-menu .cntn > .row,
#mainmenu .nav.nav-tabs .dropdown-menu .cntn .row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    gap: 16px;
}
#mainmenu .nav.nav-tabs .dropdown-menu .cntn [class^="span"] {
    flex: 1 1 auto;
    max-width: none;
    padding: 0;
    min-width: 0;
}
#mainmenu .nav.nav-tabs .dropdown-menu .cntn .span5 { flex: 1 1 60%; }
#mainmenu .nav.nav-tabs .dropdown-menu .cntn .span3 { flex: 0 0 40%; border-left: 1px solid var(--ix-border-2); padding-left: 16px; }
#mainmenu .nav.nav-tabs .dropdown-menu ul { list-style: none; margin: 0; padding: 0; }
#mainmenu .nav.nav-tabs .dropdown-menu ul li a {
    display: block;
    padding: 7px 10px;
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: normal;
}
#mainmenu .nav.nav-tabs .dropdown-menu ul li a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
#mainmenu .nav.nav-tabs .dropdown-menu ul li.nav-header {
    font-size: 10px;
    font-weight: 600;
    color: var(--ix-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--ix-border-2);
}
#mainmenu .nav.nav-tabs .dropdown-menu .iconwrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    color: var(--ix-text-3);
    font-size: 28px;
    margin-bottom: 10px;
}
#mainmenu .nav.nav-tabs .dropdown-menu center,
#mainmenu .nav.nav-tabs .dropdown-menu .span3 center { text-align: center; display: block; }
#mainmenu .nav.nav-tabs .dropdown-menu .span3 p {
    font-size: 12.5px;
    color: var(--ix-text-3);
    margin: 0 0 12px;
    line-height: 1.5;
}
#mainmenu .nav.nav-tabs .dropdown-menu .span3 .btn { width: 100%; justify-content: center; }

/* Multi-column dropdown nav columns (used in Support, Account, Affiliates dropdowns) */
#mainmenu .nav.nav-tabs .dropdown-menu .dropdown-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}
#mainmenu .nav.nav-tabs .dropdown-menu .dropdown-columns > ul { margin: 0; }

/* Right-side CTA panel */
#mainmenu .nav.nav-tabs .dropdown-menu .dropdown-cta {
    text-align: center;
    border-left: 1px solid var(--ix-border-2);
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#mainmenu .nav.nav-tabs .dropdown-menu .dropdown-cta .iconwrap {
    color: var(--ix-accent);
    margin-bottom: 10px;
    height: auto;
    font-size: 0;
}
#mainmenu .nav.nav-tabs .dropdown-menu .dropdown-cta p {
    font-size: 12.5px;
    color: var(--ix-text-3);
    margin: 0 0 12px;
    line-height: 1.5;
    text-align: center;
}
#mainmenu .nav.nav-tabs .dropdown-menu .dropdown-cta .btn {
    width: 100%;
    justify-content: center;
}
#mainmenu .nav.nav-tabs .dropdown-menu .span5.introduction {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Counter pill (service counts in Services dropdown) */
.counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 0 7px;
    margin-left: 6px;
    font-family: var(--ix-mono);
    font-size: 10.5px;
    font-weight: 500;
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
    border-radius: 10px;
    line-height: 18px;
}

/* iconfont-* decorative classes used inside dropdowns (Bootstrap 2 legacy
   HostBill iconfonts). Hide the tiny broken icon; we use the text + button instead. */
.iconfont-cloud, .iconfont-price-tag, .iconfont-size5 { display: none; }

#submenu, .submenu-wrap {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    padding: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
#submenu:empty, .submenu-wrap:empty { display: none; }
/* #errors and #infos wrap an inner .alert div — HostBill only reveals them by
   adding inline style="display:block" when $error / $info is set. Default hidden. */
#errors, #infos { display: none; margin: 0 0 14px; }
#errors[style*="block"], #infos[style*="block"] { display: block !important; }
#submenu a, .submenu-wrap a {
    padding: 8px 14px;
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2);
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
}
#submenu a:hover, .submenu-wrap a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
#submenu a.active, .submenu-wrap a.active { background: var(--ix-accent-soft); color: var(--ix-accent); }

/* nav-pills style inside submenu (Bootstrap 2) */
.nav.nav-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.nav.nav-pills > li { margin: 0; }
.nav.nav-pills > li > a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2);
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
    text-decoration: none;
}
.nav.nav-pills > li > a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.nav.nav-pills > li.active > a,
.nav.nav-pills > li > a.active {
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
}
.pa1 { padding: 2px; }
.divider { height: 1px; background: var(--ix-border-2); margin: 14px 0; }

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    font-family: var(--ix-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ix-text);
    background: var(--ix-surface-2);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: none;
    text-shadow: none;
    background-image: none;
}
.btn:hover, .btn:focus {
    background: var(--ix-surface-3);
    color: var(--ix-text);
    border-color: var(--ix-border-strong);
    text-decoration: none;
    outline: 0;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn-primary, .btn-info { background: var(--ix-accent); border-color: var(--ix-accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus,
.btn-info:hover, .btn-info:focus { background: var(--ix-accent-hover); border-color: var(--ix-accent-hover); color: #fff; }

.btn-success, .btn-green { background: var(--ix-green); border-color: var(--ix-green); color: #fff; }
.btn-success:hover, .btn-green:hover { background: #0EA573; border-color: #0EA573; color: #fff; }

.btn-warning { background: var(--ix-amber); border-color: var(--ix-amber); color: #111; }
.btn-warning:hover, .btn-warning:focus { background: #D97706; border-color: #D97706; color: #fff; }

.btn-danger { background: var(--ix-red); border-color: var(--ix-red); color: #fff; }
.btn-danger:hover, .btn-danger:focus { background: #DC2626; border-color: #DC2626; color: #fff; }

.btn-inverse, .btn-default { background: var(--ix-surface-2); border-color: var(--ix-border-2); color: var(--ix-text); }

.btn-large, .btn-lg { padding: 12px 22px; font-size: 14px; border-radius: var(--ix-radius); }
.btn-small, .btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-mini, .btn-xs { padding: 4px 10px; font-size: 11px; }

.btn-group { display: inline-flex; position: relative; vertical-align: middle; margin: 0; }
.btn-group > .btn { border-radius: 0; margin-left: -1px; }
.btn-group > .btn:first-child { border-radius: var(--ix-radius-sm) 0 0 var(--ix-radius-sm); margin-left: 0; }
.btn-group > .btn:last-child { border-radius: 0 var(--ix-radius-sm) var(--ix-radius-sm) 0; }
.btn-group > .btn:only-child { border-radius: var(--ix-radius-sm); }
.btn-group .dropdown-toggle { gap: 8px; }

.headersection .btn-group { margin-left: 6px; }
.headersection .btn { padding: 8px 14px; }
.headersection .btn-primary { min-width: 100px; }

.caret {
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
    margin-left: 4px;
    vertical-align: middle;
}

/* ==========================================================================
   7. DROPDOWNS
   ========================================================================== */
.dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 6px;
    margin: 6px 0 0;
    list-style: none;
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    box-shadow: var(--ix-shadow);
    background-clip: padding-box;
}
.open > .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu.pull-right { right: 0; left: auto; }
.dropdown-menu > li > a {
    display: block;
    padding: 8px 12px;
    color: var(--ix-text-2);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--ix-radius-sm);
    transition: all .15s;
    white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus { background: var(--ix-surface-2); color: var(--ix-text); }
.dropdown-menu > li > a .muted { color: var(--ix-text-3); }
.dropdown-menu > .divider {
    height: 1px;
    margin: 6px 2px;
    background: var(--ix-border-2);
    overflow: hidden;
    list-style: none;
}
.dropdown-menu li.active > a,
.dropdown-menu li.active > a:hover { background: var(--ix-accent-soft); color: var(--ix-accent); }

/* ==========================================================================
   8. FORMS
   ========================================================================== */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="search"], input[type="tel"], input[type="url"], input[type="date"],
input.styled, input.magnify, textarea, select, .form-control {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 11px 14px;
    font-family: var(--ix-font);
    font-size: 14px;
    line-height: 1.4;
    color: var(--ix-text) !important;
    background: var(--ix-surface) !important;
    background-image: none;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-sm) !important;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    text-shadow: none;
}
/* Keep browser's native dropdown arrow working on <select> by restoring appearance overrides */
select:not(.chzn-select) {
    -webkit-appearance: none;
    appearance: none;
}
input:focus, textarea:focus, select:focus, .form-control:focus {
    border-color: var(--ix-accent);
    box-shadow: 0 0 0 3px var(--ix-accent-ring);
    outline: 0;
}
input::placeholder, textarea::placeholder { color: var(--ix-text-4); }

textarea { resize: vertical; min-height: 96px; }

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237C8496' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 6px;
    accent-color: var(--ix-accent);
}

label, .styled[for] {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ix-text-2);
}
label.styled { font-weight: 500; color: var(--ix-text-2); }

.control-group { margin-bottom: 16px; }
.control-label { font-weight: 500; color: var(--ix-text-2); font-size: 13px; }
.form-horizontal .control-label { padding-top: 10px; }
.form-horizontal .controls { margin-left: 180px; }
.form-actions {
    padding: 18px 0 !important;
    margin: 20px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--ix-border-2) !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-shadow: none;
    color: var(--ix-text-2);
}
.form-actions .left { margin-right: auto; float: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.form-actions .right { float: none; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-actions .list_item, .form-actions a { color: var(--ix-accent); font-size: 12.5px; font-weight: 500; padding: 0; }
.form-actions a:hover { color: var(--ix-accent-hover); }

.form-groups { margin-bottom: 16px; }
.ribbon {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    padding: 18px 20px;
    margin: 16px 0;
}
.ribbon-shadow-l, .ribbon-shadow-r { display: none; }

/* ==========================================================================
   9. WBOX (login / form card container)
   ========================================================================== */
.wbox {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    overflow: hidden;
    box-shadow: var(--ix-shadow);
    margin: 0 0 24px;
}
.wbox_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 22px;
    background: var(--ix-surface-2);
    border-bottom: 1px solid var(--ix-border-2);
    font-size: 14px;
    font-weight: 600;
    color: var(--ix-text);
}
.wbox_header h2, .wbox_header h3, .wbox_header h4 { margin: 0; font-size: inherit; font-weight: 700; }
.wbox_header > h2 { font-size: 16px; }
.wbox_header > h3 { font-size: 15px; }
.wbox_content { padding: 22px; }
.wbox_content > h3:first-child { margin-top: 0; }

/* When .wbox_header is used inside .bordered-section.article (not .wbox),
   neutralize the extra padding from the parent section. */
.bordered-section > .wbox_header,
.article > .wbox_header {
    margin: -24px -26px 16px;
    border-radius: var(--ix-radius-lg) var(--ix-radius-lg) 0 0;
}
@media (max-width: 760px) {
    .bordered-section > .wbox_header,
    .article > .wbox_header { margin: -18px -16px 14px; }
}

#loginbox_container {
    max-width: 440px;
    margin: 60px auto;
    position: relative;
}
#loginbox_container .wbox { margin: 0; }

/* ==========================================================================
   10. ALERTS + BADGES
   ========================================================================== */
.alert {
    padding: 12px 16px !important;
    margin: 0 0 16px !important;
    border: 1px solid var(--ix-border-2) !important;
    border-left: 3px solid var(--ix-accent) !important;
    border-radius: var(--ix-radius-sm) !important;
    background: var(--ix-accent-soft) !important;
    background-image: none !important;
    color: var(--ix-text) !important;
    font-size: 13px;
    text-shadow: none !important;
    box-shadow: none !important;
}
.alert .close { float: right; color: var(--ix-text-3); background: transparent; border: 0; font-size: 18px; cursor: pointer; }
.alert-info { background: var(--ix-accent-soft) !important; border-left-color: var(--ix-accent) !important; color: var(--ix-text) !important; }
.alert-success { background: var(--ix-green-soft) !important; border-left-color: var(--ix-green) !important; color: var(--ix-text) !important; }
.alert-warning, .alert-block { background: var(--ix-amber-soft) !important; border-left-color: var(--ix-amber) !important; color: var(--ix-text) !important; }
.alert-error, .alert-danger { background: var(--ix-red-soft) !important; border-left-color: var(--ix-red) !important; color: var(--ix-text) !important; }

/* Empty widget containers — hide to prevent rendering empty grey boxes */
.widget-container:empty, .hb-widget:empty, [class*="widget"]:empty { display: none !important; }
.hb-client-status-bar:empty, .status-bar:empty { display: none !important; }

.label, .badge {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 20px;
    background: var(--ix-surface-2);
    color: var(--ix-text-2);
    font-family: var(--ix-mono);
}
.label-success, .badge-success { background: var(--ix-green-soft); color: var(--ix-green); }
.label-info, .badge-info { background: var(--ix-accent-soft); color: var(--ix-accent); }
.label-warning, .badge-warning { background: var(--ix-amber-soft); color: var(--ix-amber); }
.label-important, .label-danger, .badge-danger, .badge-important { background: var(--ix-red-soft); color: var(--ix-red); }

/* ==========================================================================
   11. TABLES
   ========================================================================== */
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; background: transparent !important; color: var(--ix-text); }
.table { background: transparent !important; font-size: 13px; color: var(--ix-text); }
.table th, .table td {
    padding: 11px 14px !important;
    text-align: left;
    border: 0 !important;
    border-bottom: 1px solid var(--ix-border-2) !important;
    vertical-align: middle;
    background: transparent !important;
    background-image: none !important;
    color: var(--ix-text);
}
.table thead th {
    background: var(--ix-surface-2) !important;
    color: var(--ix-text) !important;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ix-border-2) !important;
}
.table tbody tr { background: transparent !important; }
.table tbody tr:hover,
.table tbody tr:hover > td,
.table tbody tr:hover > th { background: rgba(59,130,246,0.04) !important; }

/* .table-striped overrides — MUST target > td and > th to beat Bootstrap 2's native rules */
.table-striped tbody tr:nth-child(odd),
.table-striped tbody tr:nth-child(odd) > td,
.table-striped tbody tr:nth-child(odd) > th {
    background: rgba(255,255,255,0.02) !important;
    background-color: rgba(255,255,255,0.02) !important;
}
.table-striped tbody tr:nth-child(odd):hover,
.table-striped tbody tr:nth-child(odd):hover > td,
.table-striped tbody tr:nth-child(odd):hover > th {
    background: rgba(59,130,246,0.06) !important;
}
.table-striped tbody tr:nth-child(even),
.table-striped tbody tr:nth-child(even) > td,
.table-striped tbody tr:nth-child(even) > th {
    background: transparent !important;
    background-color: transparent !important;
}

.table-bordered {
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-sm);
    overflow: hidden;
    background: transparent !important;
}
.table-bordered th, .table-bordered td { border: 1px solid var(--ix-border-2) !important; }

/* Any remaining table.table inside wbox_content or article should not show Bootstrap 2 defaults */
.wbox_content > table, .wbox_content table.table,
.article table, .bordered-section table {
    background: transparent !important;
}
.wbox_content table.table tr,
.wbox_content table.table td,
.wbox_content table.table th,
.article table.table tr,
.article table.table td,
.article table.table th,
.bordered-section table.table tr,
.bordered-section table.table td,
.bordered-section table.table th {
    background: transparent !important;
}

/* Re-apply striped ONLY on our tables — overriding the transparent catch-all */
.table-striped tbody tr:nth-child(odd) > td,
.table-striped tbody tr:nth-child(odd) > th {
    background: rgba(255,255,255,0.02) !important;
}

/* ==========================================================================
   12. CONTENT SECTIONS
   ========================================================================== */
#cont { min-height: 360px; margin-bottom: 40px; }

.bordered-section, .article {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 24px 26px;
    margin-bottom: 20px;
    box-shadow: var(--ix-shadow-sm);
}
.bordered-section h2, .article h2 { font-size: 20px; margin-bottom: 14px; }

.brcrm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    margin: 0 0 16px;
    border-bottom: 1px solid var(--ix-border-2);
    font-size: 12px;
    color: var(--ix-text-3);
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    padding: 0;
    margin: 0;
    background: transparent;
    list-style: none;
    font-size: 13px;
    font-family: var(--ix-mono);
}
.breadcrumb > li { color: var(--ix-text-3); }
.breadcrumb > li a { color: var(--ix-text-2); }
.breadcrumb > li a:hover { color: var(--ix-text); }
.breadcrumb > li .divider { color: var(--ix-text-4); padding: 0 6px; }
.breadcrumb > li.active { color: var(--ix-text); }

.p19 { padding: 4px 0 8px; }
.pt0 { padding-top: 0; }
.spacing { margin: 12px 0; }

.hero-unit {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 60px 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-unit::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    width: 600px; height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--ix-accent-soft) 0%, transparent 60%);
    pointer-events: none;
}
.hero-unit h1, .hero-unit h2 { position: relative; margin-bottom: 14px; }
.hero-unit h1 { font-size: 48px; font-weight: 800; }
.hero-unit .error-details { color: var(--ix-text-2); font-size: 16px; max-width: 480px; margin: 0 auto 18px; position: relative; }
.hero-unit .error-actions { position: relative; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

blockquote {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-left: 3px solid var(--ix-accent);
    border-radius: var(--ix-radius);
    padding: 16px 20px;
    margin: 0 0 16px;
    color: var(--ix-text-2);
    font-size: 14px;
}
blockquote h3 { font-size: 17px; margin-bottom: 6px; }
blockquote h3 a { color: var(--ix-text); }
blockquote h3 a:hover { color: var(--ix-accent); }
blockquote p { margin: 8px 0; }

.annoucement_date { color: var(--ix-text-3); font-family: var(--ix-mono); font-size: 12px; }
.annoucements2 { font-size: 26px; font-weight: 800; margin: 10px 0 20px; }

.folder3 { color: var(--ix-text) !important; font-weight: 600; }
.folder3:hover { color: var(--ix-accent) !important; }

/* ==========================================================================
   13. CLIENTAREA LEFT NAV
   ========================================================================== */
.box-feature-small {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 14px;
    min-width: 220px;
}
.box-feature-small h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ix-text-3);
    padding: 10px 10px 6px;
    margin: 0;
}
.box-feature-small ul { list-style: none; margin: 0 0 8px; padding: 0; }
.box-feature-small li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin: 2px 0;
    color: var(--ix-text-2);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--ix-radius-sm);
    transition: all .15s;
}
.box-feature-small li a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.box-feature-small li.active > a,
.box-feature-small li a.active { background: var(--ix-accent-soft); color: var(--ix-accent); }

.iep { padding-top: 0; }

.hb-client-status-bar, .status-bar {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    padding: 14px 18px;
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: var(--ix-text-2);
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
footer {
    margin-top: auto;
    padding: 28px 0 20px;
    border-top: 1px solid var(--ix-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--ix-text-3);
    font-size: 12.5px;
    font-family: var(--ix-mono);
}
footer a { color: var(--ix-text-2); }
footer a:hover { color: var(--ix-text); }
footer .left, footer .right { float: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   15. ICONS — Bootstrap 2 glyphicons replaced with inline-SVG masks.
   Keeps class names like .icon-user, .icon-lock working everywhere.
   ========================================================================== */
[class^="icon-"], [class*=" icon-"], .iconfont-bell, .iconfont {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}
.icon-white { color: #fff; }

.icon-user { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='5' r='3'/><path d='M2.5 14c0-3 2.5-5 5.5-5s5.5 2 5.5 5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='5' r='3'/><path d='M2.5 14c0-3 2.5-5 5.5-5s5.5 2 5.5 5'/></svg>"); }
.icon-lock { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='7' width='10' height='7' rx='1.5'/><path d='M5 7V5a3 3 0 1 1 6 0v2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='7' width='10' height='7' rx='1.5'/><path d='M5 7V5a3 3 0 1 1 6 0v2'/></svg>"); }
.icon-ok, .icon-check { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8.5l3 3 7-7'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8.5l3 3 7-7'/></svg>"); }
.icon-remove, .icon-close, .icon-cross { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4 4l8 8M12 4l-8 8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4 4l8 8M12 4l-8 8'/></svg>"); }
.icon-home { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M2 7l6-5 6 5v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M2 7l6-5 6 5v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7z'/></svg>"); }
.icon-envelope, .icon-mail { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><rect x='2' y='3' width='12' height='10' rx='1.5'/><path d='M2.5 4l5.5 5 5.5-5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><rect x='2' y='3' width='12' height='10' rx='1.5'/><path d='M2.5 4l5.5 5 5.5-5'/></svg>"); }
.icon-chevron-left { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10 3L5 8l5 5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10 3L5 8l5 5'/></svg>"); }
.icon-chevron-right { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3l5 5-5 5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3l5 5-5 5'/></svg>"); }
.icon-chevron-up { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10l5-5 5 5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10l5-5 5 5'/></svg>"); }
.icon-chevron-down { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6l5 5 5-5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 6l5 5 5-5'/></svg>"); }
.icon-time, .icon-clock { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M8 4.5V8l2.5 2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M8 4.5V8l2.5 2'/></svg>"); }
.icon-bell, .iconfont-bell { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h10l-1.5-2V7a3.5 3.5 0 0 0-7 0v3L3 12z'/><path d='M6.5 13a1.5 1.5 0 0 0 3 0'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h10l-1.5-2V7a3.5 3.5 0 0 0-7 0v3L3 12z'/><path d='M6.5 13a1.5 1.5 0 0 0 3 0'/></svg>"); }
.icon-shopping-cart, .icon-cart { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1.5 2h2l1.5 9h8l1.5-6H4'/><circle cx='6' cy='13.5' r='1'/><circle cx='12' cy='13.5' r='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1.5 2h2l1.5 9h8l1.5-6H4'/><circle cx='6' cy='13.5' r='1'/><circle cx='12' cy='13.5' r='1'/></svg>"); }
.icon-search { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><circle cx='7' cy='7' r='5'/><path d='M11 11l3.5 3.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><circle cx='7' cy='7' r='5'/><path d='M11 11l3.5 3.5'/></svg>"); }
.icon-cog, .icon-settings { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'><circle cx='8' cy='8' r='2'/><circle cx='8' cy='8' r='5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'><circle cx='8' cy='8' r='2'/><circle cx='8' cy='8' r='5'/></svg>"); }
.icon-plus { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M8 3v10M3 8h10'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M8 3v10M3 8h10'/></svg>"); }
.icon-minus { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M3 8h10'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M3 8h10'/></svg>"); }
.icon-trash { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 4h12M6 4V2.5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1V4M4 4v9a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 4h12M6 4V2.5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1V4M4 4v9a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4'/></svg>"); }
.icon-edit, .icon-pencil { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l2 2-8 8-3 1 1-3 8-8z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l2 2-8 8-3 1 1-3 8-8z'/></svg>"); }
.icon-download { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v8M4 7l4 4 4-4M2 13h12'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v8M4 7l4 4 4-4M2 13h12'/></svg>"); }
.icon-info-sign, .icon-info { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M8 7v4M8 4.5v.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M8 7v4M8 4.5v.5'/></svg>"); }
.icon-warning-sign { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2l6.5 11h-13z'/><path d='M8 6v4M8 11.5v.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2l6.5 11h-13z'/><path d='M8 6v4M8 11.5v.5'/></svg>"); }
.icon-globe { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M2 8h12M8 2a9 9 0 0 1 0 12M8 2a9 9 0 0 0 0 12'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M2 8h12M8 2a9 9 0 0 1 0 12M8 2a9 9 0 0 0 0 12'/></svg>"); }
.icon-file, .icon-file-alt { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M4 2h6l3 3v9H4V2z'/><path d='M10 2v3h3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M4 2h6l3 3v9H4V2z'/><path d='M10 2v3h3'/></svg>"); }
.icon-tags, .icon-tag { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 2v5.5l7 6.5 6.5-6.5L9 1H2z'/><circle cx='5' cy='5' r='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 2v5.5l7 6.5 6.5-6.5L9 1H2z'/><circle cx='5' cy='5' r='1'/></svg>"); }
.icon-plus-sign, .icon-plus-circle { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><circle cx='8' cy='8' r='6'/><path d='M8 5v6M5 8h6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><circle cx='8' cy='8' r='6'/><path d='M8 5v6M5 8h6'/></svg>"); }
.icon-ok-sign, .icon-check-circle { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M5 8l2 2 4-4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6'/><path d='M5 8l2 2 4-4'/></svg>"); }
.icon-book { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 2.5a1.5 1.5 0 0 1 1.5-1.5H13v12H4.5a1.5 1.5 0 0 0-1.5 1.5V2.5z'/><path d='M3 13.5A1.5 1.5 0 0 1 4.5 12H13'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 2.5a1.5 1.5 0 0 1 1.5-1.5H13v12H4.5a1.5 1.5 0 0 0-1.5 1.5V2.5z'/><path d='M3 13.5A1.5 1.5 0 0 1 4.5 12H13'/></svg>"); }
.icon-flag { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 14V2M3 3h9l-2 3 2 3H3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 14V2M3 3h9l-2 3 2 3H3'/></svg>"); }
.icon-card, .icon-credit-card { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><rect x='1.5' y='3' width='13' height='10' rx='1.5'/><path d='M1.5 6.5h13'/><path d='M4 10.5h3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><rect x='1.5' y='3' width='13' height='10' rx='1.5'/><path d='M1.5 6.5h13'/><path d='M4 10.5h3'/></svg>"); }
.icon-cloud-upload, .icon-upload { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 11h-.5A2.5 2.5 0 0 1 3.5 6a4 4 0 0 1 7.9-.5A3 3 0 0 1 13 11h-1'/><path d='M8 8v6M5.5 10.5L8 8l2.5 2.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 11h-.5A2.5 2.5 0 0 1 3.5 6a4 4 0 0 1 7.9-.5A3 3 0 0 1 13 11h-1'/><path d='M8 8v6M5.5 10.5L8 8l2.5 2.5'/></svg>"); }
.icon-add-user, .icon-user-plus { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='5' r='3'/><path d='M1 14c0-3 2.5-5 5-5s5 2 5 5'/><path d='M12 4v4M10 6h4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='5' r='3'/><path d='M1 14c0-3 2.5-5 5-5s5 2 5 5'/><path d='M12 4v4M10 6h4'/></svg>"); }
.icon-ellipsis, .icon-more { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><circle cx='3' cy='8' r='1.5'/><circle cx='8' cy='8' r='1.5'/><circle cx='13' cy='8' r='1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><circle cx='3' cy='8' r='1.5'/><circle cx='8' cy='8' r='1.5'/><circle cx='13' cy='8' r='1.5'/></svg>"); }
.icon-folder { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M1.5 4h4l1.5 1.5h7.5V13a1 1 0 0 1-1 1H2.5a1 1 0 0 1-1-1V4z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'><path d='M1.5 4h4l1.5 1.5h7.5V13a1 1 0 0 1-1 1H2.5a1 1 0 0 1-1-1V4z'/></svg>"); }
.icon-star { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M8 1l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.4l-4.5 2.4.9-5L.8 6.3l5-.7L8 1z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M8 1l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.4l-4.5 2.4.9-5L.8 6.3l5-.7L8 1z'/></svg>"); }
.icon-refresh { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3v4h-4'/><path d='M2 13v-4h4'/><path d='M13 7a5 5 0 0 0-9-1.5M3 9a5 5 0 0 0 9 1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3v4h-4'/><path d='M2 13v-4h4'/><path d='M13 7a5 5 0 0 0-9-1.5M3 9a5 5 0 0 0 9 1.5'/></svg>"); }

/* ==========================================================================
   16. MISC LEGACY HELPERS
   ========================================================================== */
.list_item { display: inline-block; padding: 4px 0; font-size: 12.5px; }
.pagination { display: inline-flex; gap: 2px; list-style: none; padding: 0; margin: 18px 0; }
.pagination li a, .pagination li span {
    display: block; padding: 6px 11px;
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2); font-size: 13px;
    background: var(--ix-surface);
}
.pagination li.active a, .pagination li.active span { background: var(--ix-accent); border-color: var(--ix-accent); color: #fff; }

#cart-sidemenu, .cart-sidemenu {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 18px;
    margin-bottom: 20px;
}

.loading, .ajax-loading {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid var(--ix-border-strong);
    border-top-color: var(--ix-accent);
    border-radius: 50%;
    animation: ixspin .8s linear infinite;
    vertical-align: middle;
}
@keyframes ixspin { to { transform: rotate(360deg); } }

/* Language flag images — kept legible on dark bg */
.btn img[src*="/famfamfam/"] { border-radius: 2px; vertical-align: -2px; }

/* Cart dropdown (header cart) — inherits dropdown-cta / dropdown-columns rules below */
.cart-dropdown .dropdown-menu {
    min-width: 460px;
    padding: 14px;
}
.cart-dropdown .cntn { width: 100%; }
.cart-dropdown .cntn .row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    gap: 16px;
}
.cart-dropdown .cntn [class^="span"] {
    flex: 1 1 auto;
    max-width: none;
    padding: 0;
    min-width: 0;
}
.cart-dropdown .cntn .span5 { flex: 1 1 60%; }
.cart-dropdown .cntn .span3 { flex: 0 0 40%; border-left: 1px solid var(--ix-border-2); padding-left: 16px; }
.cart-dropdown ul { list-style: none; padding: 0; margin: 0; }
.cart-dropdown li.nav-header {
    font-size: 10px;
    font-weight: 600;
    color: var(--ix-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--ix-border-2);
}
.cart-dropdown li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2);
    font-size: 13px;
    text-decoration: none;
    white-space: normal;
}
.cart-dropdown li a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.cart-dropdown li a .counter {
    font-family: var(--ix-mono);
    color: var(--ix-accent);
    font-weight: 500;
    font-size: 12px;
    flex-shrink: 0;
    background: var(--ix-accent-soft);
    padding: 2px 8px;
    border-radius: 8px;
}
.cart-dropdown li a .text-overflow {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
}
.cart-dropdown .dropdown-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cart-dropdown .dropdown-cta .iconwrap { color: var(--ix-accent); font-size: 0; }
.cart-dropdown .dropdown-cta .btn { width: 100%; justify-content: center; }
.cart-dropdown .silver { color: var(--ix-text-3); }

.nav-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--ix-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 10px 4px;
}

/* Text overflow helpers */
.text-overflow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.silver, .gray, .grey { color: var(--ix-text-3); }

/* Captcha imagery */
img.capcha { border: 1px solid var(--ix-border-2); border-radius: var(--ix-radius-sm); background: #fff; }

/* Strip body background image cruft */
body { background-image: none !important; }

/* Smoother images in RTL/left-right content */
.article img, .bordered-section img, blockquote img { border-radius: var(--ix-radius-sm); }

/* Big step-by-step progress bar (cart steps) */
.steps, .progressbar, .cart-progress {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    margin-bottom: 18px;
}
.steps > *, .progressbar > * {
    flex: 1;
    padding: 10px 14px;
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-3);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.steps > .active, .progressbar > .active { border-color: var(--ix-accent); background: var(--ix-accent-soft); color: var(--ix-accent); }
.steps > .done, .progressbar > .done { color: var(--ix-green); border-color: var(--ix-green-soft); }

/* ==========================================================================
   19. CLIENTAREA DASHBOARD HELPERS
   Used by clientarea/dashboard.tpl and siblings.
   ========================================================================== */

/* Welcome-back header on dashboard */
#welcomeback {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 0 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ix-border-2);
}
#welcomeback h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    float: none;
    letter-spacing: -0.02em;
}
#welcomeback .form-horizontal { margin: 0; float: none; }
#welcomeback .input-append {
    min-width: 320px;
}
@media (max-width: 760px) {
    #welcomeback { flex-direction: column; align-items: stretch; }
    #welcomeback .form-horizontal { width: 100%; }
    #welcomeback .input-append { min-width: 0; width: 100%; }
}
.dashboardblock {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: var(--ix-shadow-sm);
}
.dashboardblock h3, .dashboardblock .dashboardblock-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ix-text-3);
    margin: 0 0 14px;
}
.dashrow { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 -8px; }
.dashrow > * { flex: 1 1 260px; padding: 0 8px; }

.darkheader {
    background: var(--ix-surface-2);
    padding: 12px 16px;
    border-bottom: 1px solid var(--ix-border-2);
    color: var(--ix-text);
    font-size: 14px;
    font-weight: 600;
}
.darkshadow { box-shadow: var(--ix-shadow); }

.nice-sidemenu {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 10px;
}
.nice-sidemenu ul { list-style: none; margin: 0; padding: 0; }
.nice-sidemenu li a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2);
    font-size: 13px; font-weight: 500;
    transition: all .15s;
}
.nice-sidemenu li a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.nice-sidemenu li.active > a { background: var(--ix-accent-soft); color: var(--ix-accent); }

.pagelabel {
    display: inline-block;
    padding: 3px 10px;
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
    border-radius: var(--ix-radius-sm);
    font-family: var(--ix-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fullscreen { width: 100%; }

.sortorder { display: inline-flex; gap: 2px; align-items: center; color: var(--ix-text-3); font-size: 11px; }
.sortorder.asc, .sortorder.desc { color: var(--ix-accent); }

/* Action-group: horizontal list of small inline action buttons inside tables */
.action-group {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.action-group .btn { padding: 4px 10px; font-size: 11px; }

/* Knowledgebase search result row */
.kb-result {
    display: block;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    transition: border-color .15s;
}
.kb-result:hover { border-color: var(--ix-accent); }
.kb-result .kb-title { font-weight: 600; color: var(--ix-text); font-size: 14px; margin-bottom: 4px; }
.kb-result .kb-snippet { color: var(--ix-text-3); font-size: 12.5px; }

/* .greenbox → maps to success alert (legacy class some widgets still use) */
.greenbox {
    padding: 12px 16px;
    background: var(--ix-green-soft);
    border: 1px solid var(--ix-border-2);
    border-left: 3px solid var(--ix-green);
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text);
    margin: 0 0 14px;
    font-size: 13px;
}

/* Dashboard stat card pattern */
.stat-card { text-align: center; padding: 18px 16px; }
.stat-card .stat-value { font-family: var(--ix-mono); font-size: 28px; font-weight: 600; color: var(--ix-text); line-height: 1; margin-bottom: 4px; }
.stat-card .stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ix-text-3); }

/* Generic status dots (used in service/domain/invoice lists) */
.status-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ix-text-3);
    margin-right: 6px;
    vertical-align: 1px;
}
.status-dot.active, .status-dot.live, .status-dot.paid, .status-dot.ok { background: var(--ix-green); box-shadow: 0 0 6px var(--ix-green); }
.status-dot.pending, .status-dot.unpaid { background: var(--ix-amber); }
.status-dot.suspended, .status-dot.terminated, .status-dot.cancelled, .status-dot.overdue { background: var(--ix-red); }

/* ==========================================================================
   20. PORTAL HOME (root.tpl)
   ========================================================================== */
.portal-hero {
    text-align: center;
    padding: 50px 20px 36px;
    margin-bottom: 24px;
    position: relative;
}
.portal-hero::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%;
    width: 640px; max-width: 90%; height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, var(--ix-accent-soft) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.portal-hero > * { position: relative; z-index: 1; }
.portal-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}
.portal-hero-sub {
    color: var(--ix-text-3);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
}
.portal-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 36px;
}
.portal-tile {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    color: var(--ix-text);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}
.portal-tile::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top right, var(--ix-accent-soft) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}
.portal-tile:hover { border-color: var(--ix-accent); transform: translateY(-2px); color: var(--ix-text); text-decoration: none; }
.portal-tile:hover::after { opacity: 1; }
.portal-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
    border-radius: var(--ix-radius);
    margin-bottom: 14px;
}
.portal-tile h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--ix-text);
}
.portal-tile p {
    color: var(--ix-text-3);
    font-size: 13px;
    margin: 0 0 14px;
    line-height: 1.55;
    flex: 1;
}
.portal-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ix-accent);
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--ix-mono);
    letter-spacing: 0.02em;
}
.portal-announcements { margin-top: 30px; }
.portal-announcements > h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ix-text-3);
    margin-bottom: 14px;
}
.announcement-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.announcement-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    border-radius: 10px;
    font-family: var(--ix-mono);
}
.announcement-actions { display: flex; justify-content: flex-end; margin-top: 10px; }

@media (max-width: 760px) {
    .portal-tiles { grid-template-columns: 1fr; }
    .portal-hero { padding: 28px 12px; }
    .portal-hero h1 { font-size: 28px; }
}

/* ==========================================================================
   21. CART / ORDERFORM (cart.tpl)
   ========================================================================== */
.cart-sidemenu-wrap, #cart-sidemenu, aside.cart-sidemenu {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 20px;
    margin-bottom: 18px;
    min-width: 240px;
}
.cart-sidemenu h3 {
    font-size: 11px;
    font-weight: 600;
    color: var(--ix-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.cart-sidemenu ul { list-style: none; margin: 0 0 12px; padding: 0; }
.cart-sidemenu li { padding: 8px 10px; border-radius: var(--ix-radius-sm); margin: 2px 0; }
.cart-sidemenu li.active { background: var(--ix-accent-soft); color: var(--ix-accent); }
.cart-sidemenu li a { display: block; color: inherit; }

/* Product catalog tiles */
.product-catalog, .orderpage-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 18px 0;
}
.product-card {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 22px;
    transition: border-color .2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { border-color: var(--ix-accent); }
.product-card h3, .product-card .product-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.product-card .product-desc { color: var(--ix-text-3); font-size: 13px; line-height: 1.55; margin-bottom: 14px; flex: 1; }
.product-card .product-price {
    font-family: var(--ix-mono);
    font-size: 28px;
    font-weight: 600;
    color: var(--ix-text);
    margin-bottom: 4px;
}
.product-card .product-price .currency { font-size: 16px; color: var(--ix-text-3); margin-right: 2px; }
.product-card .product-price .period { font-size: 13px; color: var(--ix-text-3); font-family: var(--ix-font); margin-left: 4px; }
.product-card ul.product-specs { list-style: none; margin: 12px 0; padding: 0; border-top: 1px solid var(--ix-border-2); }
.product-card ul.product-specs li {
    display: flex; justify-content: space-between; padding: 7px 0;
    font-size: 13px; color: var(--ix-text-2);
    border-bottom: 1px solid var(--ix-border-2);
}
.product-card ul.product-specs li:last-child { border-bottom: 0; }

/* Cart summary box */
.cart-summary, .cart-totals {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 22px;
    margin-bottom: 18px;
}
.cart-summary .cart-row, .cart-totals .cart-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--ix-border-2);
}
.cart-summary .cart-row:last-of-type, .cart-totals .cart-row:last-of-type { border-bottom: 0; }
.cart-summary .cart-total, .cart-totals .cart-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0 2px;
    margin-top: 8px;
    border-top: 2px solid var(--ix-accent-soft);
    font-size: 18px;
    font-weight: 700;
    font-family: var(--ix-mono);
    color: var(--ix-text);
}

/* Cart summary header extras */
.cart-summary-title { font-size: 14px; font-weight: 600; }
.cart-summary-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cart-currency-form { margin: 0; display: inline-block; }
.cart-currency-form select { display: inline-block; width: auto; min-width: 100px; padding: 6px 28px 6px 10px; font-size: 12px; }

/* Cart line-item rows */
.cart-totals .srow td { padding-top: 12px; padding-bottom: 2px; border-bottom: 0; }
.cart-totals .cart-row-actions td { padding-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ix-border-2); }
.cart-totals .cart-row-actions .btn { margin-right: 4px; }
.cart-totals .text-right { text-align: right; }
.cart-totals .cart-total-row td { border-top: 2px solid var(--ix-accent-soft); border-bottom: 0; padding-top: 16px; font-size: 16px; }
.cart-totals .cart-total-value { font-family: var(--ix-mono); font-weight: 700; color: var(--ix-text); font-size: 18px; }
.cart-totals .cart-total-sign { color: var(--ix-text-3); font-size: 14px; margin-right: 2px; }
.cart-totals .cart_total { color: var(--ix-text); }

.cart-checkout-form { margin: 0; }
.cart-checkout-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cart-checkout-actions .btn-large { min-width: 180px; }

/* Tabs at top of "Contact info" box (new vs existing customer) */
.wbox_menu, .cust-method-tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    flex-wrap: wrap;
}
.wbox_menu > li, .cust-method-tabs > li {
    flex: 1;
    min-width: 120px;
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-sm);
    background: var(--ix-surface);
    transition: all .15s;
}
.wbox_menu > li label, .cust-method-tabs > li label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--ix-text-2);
    margin: 0;
    width: 100%;
}
.wbox_menu > li.bgon2, .cust-method-tabs > li.bgon2 {
    background: var(--ix-accent-soft);
    border-color: var(--ix-accent);
}
.wbox_menu > li.bgon2 label, .cust-method-tabs > li.bgon2 label { color: var(--ix-accent); }
.wbox_menu > li.bgoff2 label, .cust-method-tabs > li.bgoff2 label { color: var(--ix-text-2); }

/* Payment method selection (radio pills) */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 12px 0;
}
.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    cursor: pointer;
    transition: all .15s;
    margin: 0;
    font-size: 13px;
    color: var(--ix-text-2);
}
.payment-method:hover { border-color: var(--ix-border-strong); color: var(--ix-text); }
.payment-method input[type="radio"]:checked + *,
.payment-method:has(input[type="radio"]:checked) {
    border-color: var(--ix-accent);
    background: var(--ix-accent-soft);
    color: var(--ix-text);
}
.payment-method img { max-height: 24px; width: auto; }

/* Suggested products strip */
.suggested-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 12px 0;
}
.suggested-products .dashboardblock { margin: 0; padding: 16px; }
.suggested-products .internal { display: flex; flex-direction: column; gap: 8px; }
.suggested-products .internal .btn { align-self: flex-start; }

/* TOS block */
.cart-tos { margin: 14px 0; }
.cart-tos .term-checkbox { margin-right: 8px; }
.cart-tos .control-group { padding: 10px 12px; background: var(--ix-bg-2); border: 1px solid var(--ix-border-2); border-radius: var(--ix-radius-sm); margin-bottom: 6px; }
.cart-tos label { cursor: pointer; font-weight: 400; color: var(--ix-text-2); display: flex; align-items: center; gap: 8px; margin: 0; }

/* Text utilities */
.text-muted { color: var(--ix-text-3) !important; }
.text-danger, .text-error { color: var(--ix-red) !important; }
.text-success, .text-green { color: var(--ix-green) !important; }
.text-warning { color: var(--ix-amber) !important; }
.text-info, .text-primary { color: var(--ix-accent) !important; }
.d-block { display: block !important; }
.d-flex { display: flex; }
.d-inline-block { display: inline-block; }
.d-none, .hidden { display: none !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-overflow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* Bootstrap 2 .hide / .show legacy */
.hide { display: none !important; }
.invisible { visibility: hidden; }
[hidden] { display: none !important; }

/* Legacy checker table variant */
table.checker { width: 100%; }
table.checker td { vertical-align: top; }

/* Invoice/estimate rendered bodies */
.invoice-iframe, .estimate-iframe {
    width: 100%;
    min-height: 600px;
    background: #fff;
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    display: block;
}
.estimate-body, .invoice-body {
    background: var(--ix-surface);
    padding: 20px;
    border-radius: var(--ix-radius);
    border: 1px solid var(--ix-border-2);
}

/* ==========================================================================
   22. AFFILIATES / CONTACTS / SERVICES misc components
   (classes introduced during page restyling pass)
   ========================================================================== */

/* Affiliate summary banner */
.affiliate-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.affiliate-summary-reflink { flex: 1; min-width: 240px; word-break: break-all; }
.affiliate-summary-reflink .affiliate-reflink { font-family: var(--ix-mono); font-weight: 500; font-size: 12.5px; }
.affiliate-summary-balance { display: flex; align-items: center; gap: 6px; font-family: var(--ix-mono); font-size: 13px; }
.affiliate-balance { color: var(--ix-accent); font-weight: 600; }
.affiliate-pending { color: var(--ix-amber); font-weight: 600; }

/* Contacts / privileges matrix (contacts/privileges.tpl) */
.priv-matrix {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 20px;
    margin-bottom: 18px;
}
.priv-matrix h3, .priv-matrix h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ix-text-3);
    margin: 16px 0 10px;
    padding-top: 10px;
    border-top: 1px solid var(--ix-border-2);
}
.priv-matrix > h3:first-child, .priv-matrix > h4:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.pgroup {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}
.pgroup label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--ix-bg-2);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-sm);
    font-size: 13px;
    font-weight: 400;
    color: var(--ix-text-2);
    margin: 0;
    cursor: pointer;
    transition: all .15s;
}
.pgroup label:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.pgroup label:has(input:checked) { border-color: var(--ix-accent); background: var(--ix-accent-soft); color: var(--ix-accent); }
.pgroup input[type="checkbox"] { margin: 0; accent-color: var(--ix-accent); }

/* Inline checkbox + label helper */
.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: var(--ix-text-2);
    cursor: pointer;
    margin-right: 12px;
}

/* Inline input + button/checkbox combos (forms where fields sit on one row) */
.input-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.input-inline > input,
.input-inline > select,
.input-inline > .form-control { flex: 1; min-width: 160px; width: auto; }
.input-inline > .btn { flex-shrink: 0; }

/* Slider wrapper (addvoucher commission slider) */
.slider-wrap {
    margin: 12px 0 18px;
    padding: 14px 16px;
    background: var(--ix-bg-2);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
}
.slider-wrap #slider { margin: 10px 0; }
.slider-indicator {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 4px 10px;
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
    font-family: var(--ix-mono);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--ix-radius-sm);
}

/* Active row highlight (alt pattern for lists/rows) */
.is-active {
    border-color: var(--ix-accent) !important;
    background: var(--ix-accent-soft);
}
tr.is-active td { background: var(--ix-accent-soft); }

/* jQuery UI slider skin (used in addvoucher.tpl) */
.ui-slider {
    position: relative;
    height: 6px;
    background: var(--ix-surface-2);
    border-radius: 3px;
    border: 0;
}
.ui-slider .ui-slider-range { background: var(--ix-accent); border-radius: 3px; height: 100%; }
.ui-slider .ui-slider-handle {
    position: absolute;
    top: -6px;
    width: 18px; height: 18px;
    margin-left: -9px;
    background: var(--ix-accent);
    border: 2px solid var(--ix-bg);
    border-radius: 50%;
    cursor: grab;
    box-shadow: var(--ix-shadow-sm);
    outline: 0;
}
.ui-slider .ui-slider-handle:active { cursor: grabbing; }

/* jQuery UI datepicker basics (used via .haspicker) */
.ui-datepicker {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius);
    padding: 12px;
    font-size: 13px;
    font-family: var(--ix-font);
    color: var(--ix-text);
    box-shadow: var(--ix-shadow);
    z-index: 9999;
}
.ui-datepicker .ui-datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--ix-text);
}
.ui-datepicker table { width: 100%; margin: 0; }
.ui-datepicker th { color: var(--ix-text-3); font-size: 10px; text-transform: uppercase; padding: 6px 4px; font-weight: 600; }
.ui-datepicker td { padding: 2px; text-align: center; border: 0; }
.ui-datepicker td a, .ui-datepicker td span {
    display: block; padding: 6px; border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2); text-decoration: none; font-size: 12px;
}
.ui-datepicker td a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.ui-datepicker td.ui-datepicker-today a { background: var(--ix-accent-soft); color: var(--ix-accent); }
.ui-datepicker td a.ui-state-active,
.ui-datepicker td.ui-datepicker-current-day a { background: var(--ix-accent); color: #fff; }
.ui-datepicker-prev, .ui-datepicker-next {
    cursor: pointer; padding: 4px 8px; color: var(--ix-text-2); border-radius: var(--ix-radius-sm);
    background: var(--ix-surface-2);
}
.ui-datepicker-prev:hover, .ui-datepicker-next:hover { color: var(--ix-text); background: var(--ix-surface-3); }

/* ==========================================================================
   Chosen.js plugin — full dark-mode skin (used on country / currency / many selects)
   Covers broken default styling + overrides the bundled chosen CSS.
   ========================================================================== */
.chzn-container {
    position: relative;
    display: block;
    vertical-align: middle;
    font-family: var(--ix-font);
    font-size: 13px;
    width: 100% !important;
    max-width: 100%;
    zoom: 1;
    user-select: none;
}
.field-control .chzn-container { width: 100% !important; }
.chzn-container * { box-sizing: border-box; }

/* Single select */
.chzn-container-single .chzn-single {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: auto;
    padding: 10px 36px 10px 12px;
    background: var(--ix-surface) !important;
    background-image: none !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-sm) !important;
    color: var(--ix-text) !important;
    font-size: 13px;
    text-decoration: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
}
.chzn-container-single .chzn-single:hover { border-color: var(--ix-border-strong) !important; }
.chzn-container-single .chzn-single span {
    display: block;
    margin-right: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ix-text);
}
.chzn-container-single .chzn-single abbr {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 12px;
    background: transparent;
    cursor: pointer;
}
.chzn-container-single .chzn-single div {
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    width: 20px;
    background: transparent !important;
    border: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chzn-container-single .chzn-single div b {
    display: block;
    width: 12px; height: 8px;
    background: none !important;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
    background-color: var(--ix-text-3) !important;
}

/* Multi-select */
.chzn-container-multi .chzn-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 10px;
    background: var(--ix-surface) !important;
    background-image: none !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-sm) !important;
    min-height: 38px;
    cursor: text;
    list-style: none;
    margin: 0;
}
.chzn-container-multi .chzn-choices li { list-style: none; }
.chzn-container-multi .chzn-choices li.search-field input {
    background: transparent !important;
    border: 0 !important;
    color: var(--ix-text) !important;
    font-size: 13px;
    padding: 4px 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    height: auto !important;
}
.chzn-container-multi .chzn-choices li.search-choice {
    padding: 3px 22px 3px 8px;
    background: var(--ix-accent-soft) !important;
    background-image: none !important;
    border: 1px solid var(--ix-accent) !important;
    border-radius: 12px;
    color: var(--ix-accent);
    font-size: 12px;
    line-height: 1.5;
    position: relative;
}
.chzn-container-multi .chzn-choices li.search-choice .search-choice-close {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 12px;
    background: none !important;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4 4l8 8M12 4l-8 8'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4 4l8 8M12 4l-8 8'/></svg>");
    -webkit-mask-size: contain;
            mask-size: contain;
    background-color: var(--ix-accent) !important;
    cursor: pointer;
    text-indent: -9999px;
}

/* Dropdown panel */
.chzn-container .chzn-drop {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 1010;
    background: var(--ix-surface) !important;
    background-image: none !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius) !important;
    box-shadow: var(--ix-shadow) !important;
    overflow: hidden;
    padding: 6px;
    display: none;
}
.chzn-container.chzn-with-drop .chzn-drop,
.chzn-container.chzn-container-active .chzn-drop { display: block; }

.chzn-container.chzn-container-active.chzn-with-drop .chzn-single,
.chzn-container.chzn-container-active .chzn-choices {
    border-color: var(--ix-accent) !important;
    box-shadow: 0 0 0 3px var(--ix-accent-ring) !important;
}

/* Search box inside dropdown */
.chzn-search {
    padding: 0 0 6px;
    white-space: nowrap;
    position: relative;
}
.chzn-search input,
.chzn-search input[type="text"] {
    width: 100% !important;
    padding: 8px 10px 8px 32px !important;
    background: var(--ix-bg-2) !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237C8496' stroke-width='1.6' stroke-linecap='round'><circle cx='7' cy='7' r='5'/><path d='M11 11l3.5 3.5'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
    background-size: 14px !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-sm) !important;
    color: var(--ix-text) !important;
    font-size: 13px !important;
    outline: 0;
    box-shadow: none !important;
    font-family: var(--ix-font);
}
.chzn-search input::placeholder { color: var(--ix-text-4); }

/* Results list */
.chzn-results {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 260px;
    overflow-x: hidden;
    overflow-y: auto;
}
.chzn-results li {
    display: block;
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2);
    font-size: 13px;
    line-height: 1.3;
    word-wrap: break-word;
    cursor: pointer;
}
.chzn-results li::before, .chzn-results li::marker { content: none !important; display: none !important; }
.chzn-results li.active-result { cursor: pointer; }
.chzn-results li.highlighted { background: var(--ix-accent) !important; color: #fff !important; }
.chzn-results li.result-selected { background: var(--ix-accent-soft); color: var(--ix-accent); font-weight: 500; }
.chzn-results li.group-result {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 10px;
    color: var(--ix-text-3);
    padding: 10px 12px 4px !important;
    cursor: default;
}
.chzn-results li.group-option { padding-left: 22px !important; }
.chzn-results li.no-results {
    background: transparent;
    color: var(--ix-text-3);
    font-style: italic;
    cursor: default;
}
.chzn-results li em { background: transparent; font-style: normal; color: var(--ix-accent); font-weight: 500; }

/* Hide the hidden-by-chosen <select> */
.chzn-container + select.chzn-select,
.chzn-done + select { display: none !important; }

/* If chosen isn't initialized yet, keep the raw <select> looking native-dark */
select.chzn-select:not(.chzn-done) {
    background: var(--ix-surface);
    color: var(--ix-text);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-sm);
    padding: 10px 32px 10px 12px;
}

/* When chosen JS fails entirely, hide any stray <ul class="chzn-results"> that appears outside its container */
body > ul.chzn-results,
.container > ul.chzn-results { display: none !important; }

/* ==========================================================================
   23. LANGUAGE SWITCHER (header)
   ========================================================================== */
.lang-switcher > .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--ix-surface) !important;
    background-image: none !important;
    border: 1px solid var(--ix-border-2) !important;
    color: var(--ix-text-2) !important;
}
.lang-switcher > .btn:hover { color: var(--ix-text) !important; border-color: var(--ix-border-strong) !important; }
.lang-switcher img { width: 16px; height: 11px; border-radius: 2px; vertical-align: middle; display: inline-block; }
.lang-switcher .lang-label { font-size: 12px; font-weight: 500; }
.lang-switcher .dropdown-menu img { margin-right: 8px; }
@media (max-width: 760px) { .lang-switcher .lang-label { display: none; } }

/* ==========================================================================
   24. LOGIN / SIGNUP HERO POLISH
   ========================================================================== */
#loginbox_container {
    max-width: 440px;
    margin: 80px auto 60px;
    position: relative;
}
#loginbox_container::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    width: 560px; height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, var(--ix-accent-soft) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
#loginbox_container .wbox {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(19,22,29,0.85);
}
#loginbox_container .wbox_header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px;
    background: transparent;
    border-bottom: 1px solid var(--ix-border-2);
}
#loginbox_container .alert-info {
    background: transparent;
    border: 0;
    border-left: 0;
    padding: 0 0 14px;
    color: var(--ix-text-3);
    font-size: 13px;
}

.login-welcome {
    text-align: center;
    margin-bottom: 20px;
}
.login-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: var(--ix-green-soft);
    color: var(--ix-green);
    border-radius: 20px;
    font-family: var(--ix-mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.login-welcome h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
}
.login-welcome p {
    color: var(--ix-text-3);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

/* Signup page wrap — more breathing room */
section#signup #cont,
section#signup .bordered-section,
section#signup > .bordered-section,
body section#signup { max-width: 860px; margin-left: auto; margin-right: auto; }

.signup-hero {
    text-align: center;
    padding: 30px 20px 24px;
    margin-bottom: 20px;
    position: relative;
}
.signup-hero::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    width: 600px; max-width: 90%; height: 320px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, var(--ix-accent-soft) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}
.signup-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--ix-green-soft);
    color: var(--ix-green);
    border-radius: 20px;
    font-family: var(--ix-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.signup-hero h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}
.signup-hero-sub {
    color: var(--ix-text-3);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}
.signup-section { max-width: 960px; margin: 0 auto; }
.signup-form { width: 100%; }

/* Two-column signup grid */
.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
    margin-bottom: 20px;
}
.signup-col { display: flex; flex-direction: column; gap: 16px; }

.field-row { display: flex; flex-direction: column; gap: 6px; }
.field-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ix-text-2);
    margin: 0;
}
.field-label .required { color: var(--ix-accent); margin-left: 2px; font-weight: 700; }
.field-control { width: 100%; }
.field-control input,
.field-control select,
.field-control textarea { width: 100%; }
.field-control .check-group { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 4px; }
.field-control .empty-placeholder { min-height: 1px; }

.vtip_description {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 15px; height: 15px;
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    cursor: help;
    margin-left: 4px;
    vertical-align: middle;
}
.vtip_description::before { content: '?'; }

/* Captcha inside field row */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.captcha-row .capcha {
    width: 130px !important;
    height: 44px !important;
    border-radius: var(--ix-radius-sm);
    border: 1px solid var(--ix-border-2);
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
}
.captcha-row .captcha-help { display: flex; flex-direction: column; gap: 2px; }
.captcha-row .captcha-help small { color: var(--ix-text-3); font-size: 11.5px; }
.captcha-row .captcha-help a {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 500;
}

/* Legacy .newchecker fallback (for editfields.tpl and drawclientinfo.tpl which still use it) */
.newchecker {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px 16px;
    margin: 0;
    width: 100%;
}
.newchecker tbody, .newchecker thead { display: contents; }
.newchecker tr { display: contents; }
.newchecker tr.iscomp, .newchecker tr.ispr { display: contents; }
.newchecker tr[style*="display:none"],
.newchecker tr[style*="display: none"] { display: none !important; }
.newchecker td {
    padding: 8px 0 !important;
    vertical-align: middle !important;
    border: 0;
    align-self: center;
}
.newchecker td:first-child { color: var(--ix-text-2); font-weight: 500; font-size: 13px; }
.newchecker td:nth-child(2) { grid-column: 2; }
.newchecker td.bord { border: 0; }
.newchecker label { color: var(--ix-text-2); font-weight: 500; font-size: 13px; margin: 0; }

@media (max-width: 820px) {
    .signup-grid { grid-template-columns: 1fr; gap: 18px; }
    .signup-hero h1 { font-size: 26px; }
    .newchecker { grid-template-columns: 1fr; gap: 4px 0; }
    .newchecker td:first-child { padding-bottom: 0 !important; }
}

/* Kill any stray order-dropdown content rendering outside a dropdown container */
body > .cntn,
#cont > .cntn,
#cont > .dropdown-menu { display: none !important; }

/* Defensive: if dropdown-menu is a direct child of .nav > li without .open class,
   force it hidden. Bootstrap 2 sometimes leaks it on non-JS page loads. */
.nav > li:not(.open) > .dropdown-menu { display: none !important; }

/* Nuke any stray white backgrounds on content blocks (Bootstrap 2 defaults) */
#cont > div:not([class]), #cont > section:not([class]), #cont > article:not([class]) {
    background: transparent;
    color: var(--ix-text);
}

/* ==========================================================================
   26. BOOTSTRAP 2 AGGRESSIVE OVERRIDES
   Forces dark theme on Bootstrap 2 defaults that leak in through bundled CSS
   or external orderpage templates outside nextgen_clean.
   ========================================================================== */
.well {
    background: var(--ix-surface) !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-lg) !important;
    color: var(--ix-text) !important;
    padding: 20px !important;
    box-shadow: none !important;
    background-image: none !important;
}
.navbar, .navbar-inner {
    background: var(--ix-surface) !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.modal {
    background: var(--ix-surface) !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-lg) !important;
    color: var(--ix-text) !important;
    box-shadow: var(--ix-shadow-lg) !important;
}
.modal-header, .modal-footer {
    background: var(--ix-surface-2) !important;
    border-color: var(--ix-border-2) !important;
    color: var(--ix-text) !important;
}
.modal-body { background: var(--ix-surface) !important; color: var(--ix-text) !important; }
.modal-backdrop { background: rgba(0,0,0,0.7) !important; }

/* Panels / accordions */
.panel, .accordion-group {
    background: var(--ix-surface) !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius) !important;
    box-shadow: none !important;
}
.panel-heading, .accordion-heading {
    background: var(--ix-surface-2) !important;
    color: var(--ix-text) !important;
    border-bottom: 1px solid var(--ix-border-2) !important;
}
.accordion-heading a { color: var(--ix-text) !important; }
.panel-body, .accordion-inner { background: var(--ix-surface) !important; color: var(--ix-text) !important; border: 0 !important; }

/* Progress bars (Bootstrap 2) */
.progress {
    background: var(--ix-surface-2) !important;
    border-radius: var(--ix-radius-sm) !important;
    height: 8px;
    box-shadow: none !important;
    overflow: hidden;
}
.progress .bar, .progress-bar {
    background: var(--ix-accent) !important;
    background-image: none !important;
    box-shadow: none !important;
}
.progress-success .bar, .progress-bar-success { background: var(--ix-green) !important; }
.progress-warning .bar, .progress-bar-warning { background: var(--ix-amber) !important; }
.progress-danger .bar, .progress-bar-danger { background: var(--ix-red) !important; }

/* Thumbnails */
.thumbnail {
    background: var(--ix-surface) !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius) !important;
    padding: 6px !important;
    box-shadow: none !important;
}

/* Bootstrap 2 navbar search + input groups */
.input-prepend, .input-append {
    display: inline-flex !important;
    align-items: stretch;
    vertical-align: middle;
    margin: 0;
    background: var(--ix-surface) !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-sm) !important;
    overflow: hidden;
}
.input-prepend > input, .input-append > input,
.input-prepend > .form-control, .input-append > .form-control,
.input-prepend > .span2, .input-append > .span2,
.input-prepend > .styled, .input-append > .styled {
    flex: 1;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 40px;
    max-width: 100%;
    background: transparent !important;
    box-shadow: none !important;
}
.input-prepend > .btn, .input-append > .btn,
.input-prepend > .btn-group, .input-append > .btn-group {
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-left: 1px solid var(--ix-border-2) !important;
    flex-shrink: 0;
    background: var(--ix-surface-2) !important;
    color: var(--ix-text-2) !important;
}
.input-prepend > .btn:last-child, .input-append > .btn:last-child { border-right: 0; }
.input-prepend > .btn-primary, .input-append > .btn-primary {
    background: var(--ix-accent) !important;
    color: #fff !important;
}
.input-prepend .add-on, .input-append .add-on {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    background: var(--ix-surface-2) !important;
    border: 0 !important;
    color: var(--ix-text-2) !important;
    text-shadow: none !important;
    background-image: none !important;
}

/* Catch-all: any <form> without our class */
form { background: transparent; }

/* Catch-all: orderpages products / category tiles (external to theme) */
.orderpage-categories, .orderpages, .productrow, .orderform,
.hbo-orderform, .hbo-orderpages, .hbo-products, .hbo-product,
.category-selector {
    background: transparent !important;
    color: var(--ix-text);
}
.orderpage-categories .thumbnail, .orderpages .thumbnail,
.productrow > *, .hbo-product {
    background: var(--ix-surface) !important;
    border: 1px solid var(--ix-border-2) !important;
    border-radius: var(--ix-radius-lg) !important;
    padding: 18px !important;
    color: var(--ix-text);
    box-shadow: none !important;
}

/* Any big white table in cart/orderpages — force dark */
#cart table:not(.table):not([class*="chzn"]):not([class*="ui-"]),
section[id="cart"] table:not(.table):not([class*="chzn"]):not([class*="ui-"]) {
    background: transparent !important;
    color: var(--ix-text);
}
#cart td, section[id="cart"] td { background: transparent !important; color: inherit; }

/* Hero-unit of the cart / empty state — replace white Bootstrap 2 default */
section[id="cart"] .hero-unit,
#cart .hero-unit { background: var(--ix-surface) !important; }

/* Common HostBill "Select" button on orderpages tiles */
.btn.select-button, a.orderpage-select, .orderpage-action .btn,
.category-tile .btn, .product-tile .btn {
    background: var(--ix-accent) !important;
    color: #fff !important;
    border: 0 !important;
}

/* Final safety: <body>-level white background override */
html, body { background-color: var(--ix-bg) !important; }

/* Force any element using default white to inherit ours */
[style*="background: #fff"],
[style*="background:#fff"],
[style*="background-color: #fff"],
[style*="background-color:#fff"],
[style*="background: white"],
[style*="background-color: white"],
[style*="background:#FFFFFF"],
[style*="background:#ffffff"] {
    background: var(--ix-surface) !important;
    background-color: var(--ix-surface) !important;
    color: var(--ix-text) !important;
}
/* ...but keep captcha image white (it's a raster image) */
img.capcha[style*="background"] { background: #fff !important; }

/* ==========================================================================
   25. PRO POLISH — status indicators, labels, empty states, navigation
   ========================================================================== */

/* Status labels (Active, Pending, Suspended, Terminated, Paid, Unpaid, Overdue, Refunded) */
.label-Active, .label-active, .label-Paid, .label-paid, .label-Completed {
    background: var(--ix-green-soft); color: var(--ix-green);
}
.label-Active::before, .label-active::before, .label-Paid::before {
    content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ix-green); margin-right: 6px; vertical-align: middle;
    box-shadow: 0 0 6px var(--ix-green);
}
.label-Pending, .label-pending, .label-Unpaid, .label-unpaid {
    background: var(--ix-amber-soft); color: var(--ix-amber);
}
.label-Pending::before, .label-pending::before, .label-Unpaid::before {
    content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ix-amber); margin-right: 6px; vertical-align: middle;
}
.label-Suspended, .label-suspended, .label-Terminated, .label-terminated, .label-Cancelled, .label-Overdue, .label-Fraud, .label-Refunded {
    background: var(--ix-red-soft); color: var(--ix-red);
}
.label-Suspended::before, .label-Overdue::before, .label-Terminated::before, .label-Cancelled::before {
    content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ix-red); margin-right: 6px; vertical-align: middle;
}

/* Row highlighting for invoice/domain tables */
tr.expired, tr.Overdue { background: var(--ix-red-soft) !important; }
tr.nearexpire { background: var(--ix-amber-soft) !important; }
tr.even { background: rgba(255,255,255,0.015); }

/* Floating headers on sticky tables */
.bordered-section > h2:first-child,
.article > h2:first-child,
.wbox_content > h2:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cards with subtle top-edge accent gradient */
.portal-tile, .product-card, .dashboardblock, .bordered-section, .article {
    position: relative;
}
.portal-tile::before, .product-card::before, .dashboardblock::before {
    content: '';
    position: absolute;
    top: 0; left: 12px; right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ix-accent-soft), transparent);
    pointer-events: none;
}

/* Empty state block */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--ix-surface);
    border: 1px dashed var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    color: var(--ix-text-3);
}
.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--ix-accent-soft);
    color: var(--ix-accent);
    border-radius: 50%;
    margin-bottom: 12px;
}
.empty-state-title { color: var(--ix-text); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.empty-state-text { font-size: 13px; }

/* KB search (knowledgebase.tpl) — make the search input bigger & bolder */
.ribbon .magnify, .ribbon input[name="query"] {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: var(--ix-radius-lg);
}
.ribbon .controls { display: flex; gap: 10px; flex-wrap: wrap; }
.ribbon .controls input[type="text"], .ribbon .controls input.magnify { flex: 1; min-width: 200px; }
.ribbon .control-group { margin-bottom: 0; }

/* Scrollbar styling (webkit + firefox) */
* { scrollbar-width: thin; scrollbar-color: var(--ix-surface-3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ix-surface-3); border-radius: 5px; border: 2px solid var(--ix-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--ix-border-strong); }

/* Tighter header + smoother landing on portal/root */
body.English section#root #cont,
body section#root #cont { padding-top: 0; }

/* Decorative orbiting dots on portal tiles */
.portal-tile-icon {
    position: relative;
    background: linear-gradient(135deg, var(--ix-accent-soft), rgba(16,185,129,0.08));
    border: 1px solid var(--ix-border-2);
}

/* Subtle section dividers using faint gradient lines */
section[id] + section[id] { margin-top: 8px; }

/* Focus rings — consistent across the app */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--ix-accent);
    outline-offset: 2px;
}

/* Footer brand polish */
footer .ix-brand-mark { opacity: 0.75; }
footer .ix-brand-mark svg { filter: grayscale(0.3); }

/* Service sidemenu (services/service_sidemenu.tpl) */
.service-sidemenu, .services-sidemenu {
    background: var(--ix-surface);
    border: 1px solid var(--ix-border-2);
    border-radius: var(--ix-radius-lg);
    padding: 12px;
    margin-bottom: 16px;
}
.service-sidemenu h3, .services-sidemenu h3 {
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ix-text-3);
    padding: 8px 10px 6px; margin: 0;
}
.service-sidemenu ul, .services-sidemenu ul { list-style: none; margin: 0; padding: 0; }
.service-sidemenu li a, .services-sidemenu li a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: var(--ix-radius-sm);
    color: var(--ix-text-2); font-size: 13px; font-weight: 500;
    text-decoration: none; transition: all .15s;
}
.service-sidemenu li a:hover, .services-sidemenu li a:hover { background: var(--ix-surface-2); color: var(--ix-text); }
.service-sidemenu li.active > a, .services-sidemenu li.active > a { background: var(--ix-accent-soft); color: var(--ix-accent); }

/* Progress ribbon (used on invoice.tpl: status ribbon, preloader) */
#status-ribbon, .status-ribbon {
    padding: 10px 16px;
    background: var(--ix-accent-soft);
    border: 1px solid var(--ix-border-2);
    border-left: 3px solid var(--ix-accent);
    border-radius: var(--ix-radius-sm);
    margin-bottom: 14px;
    font-size: 13px;
}
#preloader, .preloader-overlay {
    position: fixed; inset: 0;
    background: rgba(11,13,18,0.75);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
    .form-horizontal .controls { margin-left: 0; }
    .flex-container { flex-direction: column; }
    .box-feature-small { width: 100%; min-width: 0; }
    .span1, .span2, .span3, .span4, .span5, .span6,
    .span7, .span8, .span9, .span10, .span11, .span12 {
        flex: 0 0 100%; max-width: 100%;
    }
}
@media (max-width: 760px) {
    .container { padding: 0 16px; }
    #mainpart { flex-wrap: wrap; padding: 12px 0; }
    #mainpart h1 { font-size: 18px; }
    .headersection { gap: 6px; flex-wrap: wrap; }
    .headersection .btn { padding: 6px 10px; font-size: 12px; }
    #mainmenu .nav.nav-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    #mainmenu .nav.nav-tabs > li > a { padding: 12px 14px; font-size: 13px; white-space: nowrap; }
    .bordered-section, .article { padding: 18px 16px; }
    .hero-unit { padding: 40px 18px; }
    .hero-unit h1 { font-size: 32px; }
    footer { flex-direction: column; text-align: center; }
    footer .left, footer .right { justify-content: center; }
    .table { font-size: 12px; }
    .table th, .table td { padding: 9px 10px; }
    .form-actions { flex-direction: column-reverse; align-items: stretch; }
    .form-actions .right { flex-direction: column; }
    .form-actions .btn { width: 100%; }
}

/* ==========================================================================
   18. PRINT
   ========================================================================== */
@media print {
    body { background: #fff; color: #000; }
    footer, .no-print, #mainmenu-container, #headpart { display: none !important; }
    .bordered-section, .article, .wbox { border: 1px solid #ddd; box-shadow: none; }
}
