/* X-Hesab — Jaber X black & white + neon tech blue */
:root {
  --xh-black: #0A0A0B;
  --xh-ink: #111318;
  --xh-ink-2: #1A1D24;
  --xh-neon: #00D4FF;
  --xh-electric: #2F6BFF;
  --xh-grad: linear-gradient(135deg, #00D4FF 0%, #2F6BFF 100%);
  --xh-glow: 0 0 0 1px rgba(0, 212, 255, .35), 0 10px 30px -10px rgba(0, 212, 255, .65);
  --xh-bg: #F3F5F9;
  --xh-card: #FFFFFF;
  --xh-border: #E5E8EF;
  --xh-text: #0A0A0B;
  --xh-muted: #6B7280;
  --xh-soft: #F7F9FC;
  --xh-radius: 16px;
  --xh-sidebar: 268px;
  --bs-body-font-family: "Cairo", system-ui, sans-serif;
  --bs-primary: #1F7BFF;
  --bs-primary-rgb: 31, 123, 255;
  --bs-link-color: #1F6FE5;
  --bs-link-color-rgb: 31, 111, 229;
  --bs-link-hover-color: #00A8E0;
}
[data-bs-theme="dark"] {
  --xh-bg: #07080A;
  --xh-card: #0F1116;
  --xh-border: #1E222B;
  --xh-text: #E9EEF6;
  --xh-muted: #8C95A6;
  --xh-soft: #13161C;
  --bs-body-bg: #07080A;
  --bs-body-color: #E9EEF6;
  --bs-link-color: #4FD8FF;
  --bs-link-color-rgb: 79, 216, 255;
}
html, body { font-family: "Cairo", system-ui, sans-serif; }
body { background: var(--xh-bg); color: var(--xh-text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
::selection { background: rgba(0, 212, 255, .3); }
.num { unicode-bidi: plaintext; font-variant-numeric: tabular-nums; }
span.num, b.num, small.num, div.num, a.num, strong.num { display: inline-block; direction: ltr; unicode-bidi: isolate; }
.text-neon { color: var(--xh-neon) !important; }
.text-electric { color: var(--xh-electric) !important; }
[data-bs-theme="dark"] .text-electric { color: var(--xh-neon) !important; }
.text-muted, .xh-muted { color: var(--xh-muted) !important; }
.grad-text { background: var(--xh-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fw-800 { font-weight: 800; }

/* ---------- layout ---------- */
.xh-sidebar {
  width: var(--xh-sidebar); background-color: var(--xh-black) !important; color: #fff;
  background-image: radial-gradient(600px 300px at 120% -10%, rgba(0, 212, 255, .16), transparent 60%),
                    radial-gradient(400px 300px at -20% 110%, rgba(47, 107, 255, .14), transparent 60%);
  border-inline-end: 1px solid rgba(0, 212, 255, .12);
}
@media (min-width: 992px) {
  .xh-sidebar { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 1030; }
  .xh-main { margin-inline-start: var(--xh-sidebar); }
}
.xh-sidebar .offcanvas-body { display: flex; flex-direction: column; padding: 0; overflow-y: auto; height: 100%; }
.xh-brand { display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1.25rem 1rem; color: #fff; }
.xh-brand img { width: 42px; height: 42px; filter: drop-shadow(0 0 12px rgba(0, 212, 255, .35)); }
.xh-brand b { font-size: 1.25rem; font-weight: 800; letter-spacing: .3px; line-height: 1; display: block; direction: ltr; text-align: start; }
.xh-brand small { color: rgba(255, 255, 255, .5); font-size: .75rem; }
.xh-company-pill {
  margin: 0 1rem 1rem; padding: .65rem .8rem; border-radius: 12px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; gap: .6rem; width: calc(100% - 2rem);
}
.xh-company-pill:hover { border-color: rgba(0, 212, 255, .4); color: #fff; }
.xh-company-pill .logo { width: 32px; height: 32px; border-radius: 8px; background: #fff; object-fit: contain; }
.xh-company-pill .ini { width: 32px; height: 32px; border-radius: 8px; background: var(--xh-grad); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.xh-nav { padding: 0 .75rem 1rem; }
.xh-nav-label { font-size: .72rem; color: rgba(255, 255, 255, .38); margin: 1rem .75rem .35rem; font-weight: 700; letter-spacing: .3px; }
.xh-nav-link {
  position: relative; display: flex; align-items: center; gap: .8rem; padding: .58rem .85rem; margin-bottom: 2px;
  border-radius: 10px; color: rgba(255, 255, 255, .7); font-weight: 600; font-size: .93rem; transition: all .18s ease;
}
.xh-nav-link i { width: 20px; text-align: center; color: rgba(255, 255, 255, .5); transition: all .18s ease; }
.xh-nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.xh-nav-link:hover i { color: var(--xh-neon); }
.xh-nav-link.active { background: linear-gradient(90deg, rgba(0, 212, 255, .02), rgba(0, 212, 255, .14)); color: #fff; }
.xh-nav-link.active::before {
  content: ""; position: absolute; inset-inline-start: -.75rem; top: 20%; bottom: 20%; width: 3px; border-radius: 3px;
  background: var(--xh-neon); box-shadow: 0 0 12px var(--xh-neon), 0 0 3px var(--xh-neon);
}
.xh-nav-link.active i { color: var(--xh-neon); text-shadow: 0 0 10px rgba(0, 212, 255, .8); }
.xh-nav-link .count { margin-inline-start: auto; font-size: .7rem; background: rgba(0, 212, 255, .16); color: var(--xh-neon); padding: .05rem .45rem; border-radius: 99px; }
.xh-sidebar-foot { margin-top: auto; padding: 1rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .75rem; color: rgba(255, 255, 255, .4); }
.xh-sidebar-foot b { color: rgba(255, 255, 255, .75); }

.xh-topbar {
  position: sticky; top: 0; z-index: 1020; height: 64px; display: flex; align-items: center; gap: .75rem; padding: 0 1.25rem;
  background: color-mix(in srgb, var(--xh-bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--xh-border);
}
.xh-search { position: relative; flex: 1; max-width: 460px; }
.xh-search input { padding-inline-start: 2.4rem; border-radius: 12px; background: var(--xh-card); }
.xh-search i { position: absolute; inset-inline-start: .9rem; top: 50%; transform: translateY(-50%); color: var(--xh-muted); }
.xh-search kbd { position: absolute; inset-inline-end: .6rem; top: 50%; transform: translateY(-50%); font-size: .7rem; background: var(--xh-soft); color: var(--xh-muted); border: 1px solid var(--xh-border); }
.xh-icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--xh-border);
  background: var(--xh-card); color: var(--xh-text);
}
.xh-icon-btn:hover { border-color: var(--xh-neon); color: var(--xh-electric); box-shadow: 0 0 0 3px rgba(0, 212, 255, .12); }
.xh-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--xh-black); color: var(--xh-neon); display: grid; place-items: center; font-weight: 800; font-size: .85rem; border: 1px solid rgba(0, 212, 255, .35); }
.xh-content { padding: 1.5rem 1.25rem 5rem; max-width: 1480px; }
@media (min-width: 1200px) { .xh-content { padding: 1.75rem 2rem 4rem; } }

/* ---------- page head ---------- */
.xh-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.xh-head h1 { font-size: 1.45rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .7rem; }
.xh-head h1 .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--xh-black); color: var(--xh-neon); display: grid; place-items: center; font-size: 1.05rem; box-shadow: var(--xh-glow); }
.xh-head .sub { color: var(--xh-muted); font-size: .9rem; margin-top: .15rem; }
.xh-crumbs { font-size: .82rem; color: var(--xh-muted); margin-bottom: .35rem; }
.xh-crumbs a { color: var(--xh-muted); }
.xh-crumbs a:hover { color: var(--xh-electric); }

/* ---------- cards ---------- */
.xh-card { background: var(--xh-card); border: 1px solid var(--xh-border); border-radius: var(--xh-radius); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.xh-card-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--xh-border); gap: .75rem; }
.xh-card-head h2, .xh-card-head h3 { font-size: 1rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .55rem; }
.xh-card-head h2 i, .xh-card-head h3 i { color: var(--xh-electric); }
[data-bs-theme="dark"] .xh-card-head h2 i, [data-bs-theme="dark"] .xh-card-head h3 i { color: var(--xh-neon); }
.xh-card-body { padding: 1.25rem; }
.xh-lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.xh-lift:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(10, 10, 11, .35); border-color: rgba(0, 212, 255, .45); }

.xh-kpi { padding: 1.1rem 1.2rem; height: 100%; position: relative; overflow: hidden; }
.xh-kpi .lbl { color: var(--xh-muted); font-size: .85rem; font-weight: 600; }
.xh-kpi .val { font-size: clamp(1.25rem, 4.2vw, 1.65rem); font-weight: 800; line-height: 1.25; margin-top: .3rem; }
.xh-kpi .val small { font-size: .9rem; color: var(--xh-muted); font-weight: 700; }
.xh-kpi .foot { font-size: .8rem; color: var(--xh-muted); margin-top: .35rem; }
.xh-kpi .ico { position: absolute; inset-inline-end: 1rem; top: 1rem; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 212, 255, .1); color: var(--xh-electric); }
[data-bs-theme="dark"] .xh-kpi .ico { color: var(--xh-neon); }
.xh-kpi-dark { background: var(--xh-black); color: #fff; border-color: rgba(0, 212, 255, .35);
  background-image: radial-gradient(420px 200px at 0% 0%, rgba(0, 212, 255, .28), transparent 60%), radial-gradient(300px 180px at 110% 120%, rgba(47, 107, 255, .3), transparent 60%); }
.xh-kpi-dark .lbl, .xh-kpi-dark .foot, .xh-kpi-dark .val small { color: rgba(255, 255, 255, .6); }
.xh-kpi-dark .ico { background: rgba(0, 212, 255, .15); color: var(--xh-neon); box-shadow: 0 0 18px rgba(0, 212, 255, .35); }
.xh-kpi-dark .val { text-shadow: 0 0 22px rgba(0, 212, 255, .35); }

/* ---------- buttons ---------- */
.btn { border-radius: 11px; font-weight: 700; }
.btn-neon, .btn-primary {
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
  background: var(--xh-grad); border: 0; color: #fff; box-shadow: 0 8px 22px -10px rgba(0, 170, 255, .9);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-neon:hover, .btn-primary:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(0, 200, 255, 1); }
.btn-neon:active, .btn-primary:active { transform: translateY(0); }
.btn-black { background: var(--xh-black); color: #fff; border: 1px solid var(--xh-black); }
.btn-black:hover { color: var(--xh-neon); border-color: var(--xh-neon); box-shadow: 0 0 0 3px rgba(0, 212, 255, .15); }
[data-bs-theme="dark"] .btn-black { background: #fff; color: var(--xh-black); border-color: #fff; }
.btn-soft { background: var(--xh-card); border: 1px solid var(--xh-border); color: var(--xh-text); }
.btn-soft:hover { border-color: var(--xh-neon); color: var(--xh-electric); }
[data-bs-theme="dark"] .btn-soft:hover { color: var(--xh-neon); }
.btn-wa { background: #0A0A0B; color: #fff; border: 1px solid #0A0A0B; }
.btn-wa:hover { color: #25D366; border-color: #25D366; }
.btn-wa i { color: #25D366; }

/* ---------- forms ---------- */
.form-control, .form-select { border-radius: 11px; border-color: var(--xh-border); padding: .55rem .85rem; background-color: var(--xh-card); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--xh-neon); box-shadow: 0 0 0 .22rem rgba(0, 212, 255, .2); }
.form-check-input:checked { background-color: var(--xh-electric); border-color: var(--xh-electric); }
.form-label { font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.form-text { color: var(--xh-muted); }
.errorlist { list-style: none; padding: 0; margin: .25rem 0 0; color: #dc3545; font-size: .82rem; }
.xh-field-error .form-control, .xh-field-error .form-select { border-color: #dc3545; }
.xh-section-title { font-weight: 800; font-size: .95rem; margin: 0 0 1rem; display: flex; gap: .5rem; align-items: center; }
.xh-section-title i { color: var(--xh-electric); }

/* ---------- tables ---------- */
.xh-table { margin: 0; --bs-table-bg: transparent; }
.xh-table thead th { font-size: .78rem; font-weight: 800; color: var(--xh-muted); background: var(--xh-soft); border-bottom: 1px solid var(--xh-border); padding: .75rem 1rem; white-space: nowrap; }
.xh-table td { padding: .8rem 1rem; vertical-align: middle; border-color: var(--xh-border); }
.xh-table tbody tr { transition: background .12s ease; }
.xh-table tbody tr:hover { background: rgba(0, 212, 255, .045); }
.xh-table tfoot td { font-weight: 800; background: var(--xh-soft); }
.xh-table .row-link { color: inherit; font-weight: 700; }
.xh-table .row-link:hover { color: var(--xh-electric); }
.xh-table-wrap { border-radius: var(--xh-radius); overflow: hidden; }

.xh-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .62rem; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.xh-badge-success { background: rgba(22, 163, 74, .12); color: #15803d; }
.xh-badge-danger { background: rgba(220, 38, 38, .1); color: #dc2626; }
.xh-badge-warning { background: rgba(245, 158, 11, .14); color: #b45309; }
.xh-badge-info { background: rgba(0, 212, 255, .14); color: #0284c7; }
.xh-badge-primary { background: rgba(47, 107, 255, .12); color: #2F6BFF; }
.xh-badge-secondary { background: rgba(107, 114, 128, .12); color: #4b5563; }
.xh-badge-dark { background: var(--xh-black); color: var(--xh-neon); }
.xh-badge-danger-outline { border: 1px solid rgba(220, 38, 38, .4); color: #dc2626; }
[data-bs-theme="dark"] .xh-badge-success { color: #4ade80; }
[data-bs-theme="dark"] .xh-badge-danger, [data-bs-theme="dark"] .xh-badge-danger-outline { color: #f87171; }
[data-bs-theme="dark"] .xh-badge-warning { color: #fbbf24; }
[data-bs-theme="dark"] .xh-badge-info { color: #4FD8FF; }
[data-bs-theme="dark"] .xh-badge-secondary { color: #9ca3af; }

/* filters bar */
.xh-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.xh-filters .form-control, .xh-filters .form-select { width: auto; min-width: 150px; }
.xh-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.xh-chip { padding: .38rem .85rem; border-radius: 999px; border: 1px solid var(--xh-border); background: var(--xh-card); color: var(--xh-text); font-weight: 700; font-size: .84rem; }
.xh-chip:hover { border-color: var(--xh-neon); color: var(--xh-electric); }
.xh-chip.active { background: var(--xh-black); color: #fff; border-color: var(--xh-black); box-shadow: inset 0 -2px 0 var(--xh-neon); }
[data-bs-theme="dark"] .xh-chip.active { background: rgba(0, 212, 255, .14); border-color: rgba(0, 212, 255, .5); color: #fff; }

/* empty state */
.xh-empty { text-align: center; padding: 3rem 1rem; color: var(--xh-muted); }
.xh-empty .ring { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 1.8rem; background: var(--xh-black); color: var(--xh-neon); box-shadow: var(--xh-glow); }
.xh-empty h3 { color: var(--xh-text); font-weight: 800; font-size: 1.1rem; }

/* document lines editor */
.xh-lines td { padding: .45rem; }
.xh-lines .form-control, .xh-lines .form-select { padding: .45rem .6rem; }
.xh-lines .col-qty { width: 110px; } .xh-lines .col-price { width: 140px; } .xh-lines .col-total { width: 130px; }
.xh-line-stock { font-size: .72rem; color: var(--xh-muted); margin-top: .2rem; }
.xh-line-stock.short { color: #dc2626; font-weight: 700; }
.xh-totals { background: var(--xh-black); color: #fff; border-radius: var(--xh-radius); padding: 1.1rem 1.25rem; border: 1px solid rgba(0, 212, 255, .3);
  background-image: radial-gradient(380px 180px at 0 0, rgba(0, 212, 255, .2), transparent 60%); }
.xh-totals .row-t { display: flex; justify-content: space-between; padding: .3rem 0; color: rgba(255, 255, 255, .72); }
.xh-totals .grand { border-top: 1px dashed rgba(255, 255, 255, .2); margin-top: .5rem; padding-top: .75rem; color: #fff; font-size: 1.35rem; font-weight: 800; }
.xh-totals .grand .num { text-shadow: 0 0 18px rgba(0, 212, 255, .55); }
.xh-del-line { color: var(--xh-muted); }
.xh-del-line:hover { color: #dc2626; }
.xh-line-row.removing { opacity: 0; transform: translateX(-10px); transition: all .2s ease; }

/* detail */
.xh-doc-hero { background: var(--xh-black); color: #fff; border-radius: var(--xh-radius); padding: 1.4rem 1.5rem; position: relative; overflow: hidden; border: 1px solid rgba(0, 212, 255, .28); }
.xh-doc-hero::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 212, 255, .35), transparent 65%); }
.xh-doc-hero .big { font-size: 2rem; font-weight: 800; text-shadow: 0 0 24px rgba(0, 212, 255, .45); }
.xh-doc-hero .meta { color: rgba(255, 255, 255, .6); font-size: .88rem; }
.xh-progress { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.xh-progress span { display: block; height: 100%; background: var(--xh-grad); box-shadow: 0 0 12px rgba(0, 212, 255, .8); border-radius: 99px; }
.xh-dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .92rem; }
.xh-dl dt { color: var(--xh-muted); font-weight: 600; }
.xh-dl dd { margin: 0; font-weight: 700; }

/* timeline */
.xh-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.xh-timeline li { position: relative; padding-inline-start: 1.6rem; padding-bottom: 1rem; }
.xh-timeline li::before { content: ""; position: absolute; inset-inline-start: .35rem; top: .5rem; bottom: -.2rem; width: 2px; background: var(--xh-border); }
.xh-timeline li:last-child::before { display: none; }
.xh-timeline li::after { content: ""; position: absolute; inset-inline-start: 0; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--xh-card); border: 2px solid var(--xh-neon); box-shadow: 0 0 8px rgba(0, 212, 255, .6); }

/* permission picker */
.xh-perm-group { border: 1px solid var(--xh-border); border-radius: 14px; padding: .9rem 1rem; height: 100%; background: var(--xh-card); transition: border-color .15s; }
.xh-perm-group:hover { border-color: rgba(0, 212, 255, .45); }
.xh-perm-group h4 { font-size: .9rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.xh-perm-group h4 i { color: var(--xh-electric); width: 18px; }
.xh-perm-group .form-check { margin-bottom: .25rem; }
.xh-perm-group .form-check-label { font-size: .87rem; }
.xh-role-card { border: 2px solid var(--xh-border); border-radius: 14px; padding: 1rem; cursor: pointer; transition: all .15s; display: block; height: 100%; }
.xh-role-card:hover { border-color: rgba(0, 212, 255, .5); }
.xh-role-input:checked + .xh-role-card { border-color: var(--xh-neon); box-shadow: var(--xh-glow); }
.xh-role-card .t { font-weight: 800; }
.xh-role-card small { color: var(--xh-muted); }
.xh-hierarchy { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-weight: 800; }
.xh-hierarchy span { padding: .35rem .8rem; border-radius: 99px; background: var(--xh-soft); border: 1px solid var(--xh-border); font-size: .85rem; }
.xh-hierarchy span.on { background: var(--xh-black); color: var(--xh-neon); border-color: var(--xh-black); }

/* animations */
@keyframes xhUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.xh-anim > * { animation: xhUp .45s cubic-bezier(.2, .7, .2, 1) both; }
.xh-anim > *:nth-child(2) { animation-delay: .05s; } .xh-anim > *:nth-child(3) { animation-delay: .1s; }
.xh-anim > *:nth-child(4) { animation-delay: .15s; } .xh-anim > *:nth-child(5) { animation-delay: .2s; }
.xh-anim > *:nth-child(6) { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) { .xh-anim > * { animation: none; } .xh-lift:hover { transform: none; } }

/* quick fab (mobile) */
.xh-fab { position: fixed; inset-inline-end: 1.1rem; bottom: 1.1rem; width: 58px; height: 58px; border-radius: 18px; z-index: 1040; display: grid; place-items: center; font-size: 1.35rem; }
@media (min-width: 992px) { .xh-fab { display: none; } }

/* command palette */
.xh-cmd .modal-content { border-radius: 18px; border: 1px solid rgba(0, 212, 255, .35); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), var(--xh-glow); overflow: hidden; }
.xh-cmd input { border: 0; border-bottom: 1px solid var(--xh-border); border-radius: 0; padding: 1rem 1.25rem; font-size: 1.05rem; }
.xh-cmd input:focus { box-shadow: none; }
.xh-cmd .list { max-height: 380px; overflow-y: auto; padding: .5rem; }
.xh-cmd .item { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 10px; color: var(--xh-text); font-weight: 700; }
.xh-cmd .item i { width: 22px; color: var(--xh-electric); }
.xh-cmd .item.sel, .xh-cmd .item:hover { background: rgba(0, 212, 255, .1); }

/* toasts */
.xh-toasts { position: fixed; top: 76px; inset-inline-end: 1rem; z-index: 1090; display: flex; flex-direction: column; gap: .5rem; max-width: 380px; }
.xh-toast { background: var(--xh-black); color: #fff; border-radius: 14px; padding: .85rem 1rem; display: flex; gap: .7rem; align-items: flex-start; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); border: 1px solid rgba(0, 212, 255, .35); animation: xhUp .35s ease both; }
.xh-toast i { margin-top: .2rem; }
.xh-toast.success i { color: #4ade80; } .xh-toast.error i { color: #f87171; } .xh-toast.info i { color: var(--xh-neon); } .xh-toast.warning i { color: #fbbf24; }

/* trial banner */
.xh-trial { background: var(--xh-black); color: #fff; font-size: .85rem; padding: .45rem 1.25rem; display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid rgba(0, 212, 255, .25); }
.xh-trial b { color: var(--xh-neon); }

/* auth pages */
.xh-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: var(--xh-bg); }
@media (min-width: 992px) { .xh-auth { grid-template-columns: 1.05fr 1fr; } }
.xh-auth-side { background: var(--xh-black); color: #fff; padding: 3rem; position: relative; overflow: hidden; display: none; }
@media (min-width: 992px) { .xh-auth-side { display: flex; flex-direction: column; justify-content: space-between; } }
.xh-auth-side .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 212, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, .08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.xh-auth-side .orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 212, 255, .45), rgba(47, 107, 255, .15) 45%, transparent 70%); top: 18%; inset-inline-start: 25%; filter: blur(8px); animation: xhFloat 9s ease-in-out infinite; }
@keyframes xhFloat { 50% { transform: translate(-20px, 25px) scale(1.05); } }
.xh-auth-side h2 { font-size: 2.3rem; font-weight: 800; line-height: 1.35; position: relative; }
.xh-auth-side li { margin-bottom: .7rem; color: rgba(255, 255, 255, .78); position: relative; }
.xh-auth-side li i { color: var(--xh-neon); margin-inline-end: .5rem; }
.xh-auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.xh-auth-card { width: 100%; max-width: 460px; }

/* print */
@media print {
  .xh-sidebar, .xh-topbar, .xh-fab, .no-print, .xh-toasts, .xh-trial { display: none !important; }
  .xh-main { margin: 0 !important; }
  body { background: #fff; }
}
