/*!
 * Abr Baran (ابر باران) — WHMCS 8.4.1 client area theme
 * Standalone theme (no parent). Direction-aware: uses logical properties so the
 * same file serves both RTL (Persian/Arabic) and LTR (English).
 *
 * Sections
 *  01 Tokens          07 Tables / DataTables   13 Service details
 *  02 Base            08 Forms                 14 Domains
 *  03 Header / Nav    09 Alerts / Modals       15 Tickets
 *  04 Layout          10 Tabs / Popovers       16 Auth pages
 *  05 Sidebar         11 Status / Labels       17 Footer / misc
 *  06 Panels / Cards  12 Dashboard             18 Responsive / Print
 */

/* ───────────────────────── 01 Tokens ───────────────────────── */
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --abr-ink: #052926;
    --abr-navy: #073b36;
    --abr-navy-2: #0b5a51;
    --abr-primary: #0e9482;
    --abr-primary-dark: #0a6f62;
    --abr-primary-soft: #e2f5f1;
    --abr-cyan: #35d0b4;
    --abr-teal: #14b8a6;
    --abr-bg: #f1f6f4;
    --abr-surface: #ffffff;
    --abr-border: #dbe8e4;
    --abr-border-soft: #e8f1ee;
    --abr-text: #1c3330;
    --abr-muted: #5f7d77;
    --abr-success: #16a068;
    --abr-warning: #e8a81c;
    --abr-danger: #dc3b4b;
    --abr-info: #0b9aa8;
    --abr-radius: 12px;
    --abr-radius-sm: 8px;
    --abr-shadow: 0 1px 2px rgba(5, 60, 54, .05), 0 4px 16px rgba(5, 60, 54, .06);
    --abr-shadow-lg: 0 10px 34px rgba(5, 60, 54, .16);
    --abr-font: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
    --abr-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ───────────────────────── 02 Base ───────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body.abr-body,
.abr-body input, .abr-body button, .abr-body select, .abr-body textarea {
    font-family: var(--abr-font);
}
body.abr-body {
    background: var(--abr-bg);
    color: var(--abr-text);
    font-size: 14px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.abr-body h1, .abr-body h2, .abr-body h3, .abr-body h4, .abr-body h5, .abr-body h6,
.abr-body .h1, .abr-body .h2, .abr-body .h3, .abr-body .h4, .abr-body .h5, .abr-body .h6 {
    font-family: var(--abr-font);
    font-weight: 700;
    color: var(--abr-ink);
    line-height: 1.5;
}
.abr-body a { color: var(--abr-primary); text-decoration: none; transition: color .15s; }
.abr-body a:hover, .abr-body a:focus { color: var(--abr-primary-dark); text-decoration: none; }
.abr-body :focus-visible { outline: 2px solid var(--abr-cyan); outline-offset: 2px; }
.abr-body img { max-width: 100%; }
.abr-body hr { border-top-color: var(--abr-border-soft); }
.abr-body .text-muted, .abr-body .small, .abr-body small { color: var(--abr-muted); }
.abr-body ::selection { background: var(--abr-primary); color: #fff; }

/* LTR islands: domains, IPs, e-mail, code, hostnames must never be mirrored */
.ltr, .domain, .ip, .abr-ltr, code, kbd, pre, samp,
input[type="email"], input[type="url"], input[type="password"], input[name="domain"],
input[name="sld"], input[name="username"], input[type="tel"], .abr-ltr-input {
    direction: ltr;
    unicode-bidi: plaintext;
}
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="password"], html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[name="domain"], html[dir="rtl"] input[name="sld"] { text-align: left; }
code, kbd, pre, samp { font-family: var(--abr-mono); }
code { color: var(--abr-primary-dark); background: var(--abr-primary-soft); border-radius: 4px; padding: 1px 6px; }

.abr-body .container { width: 100%; max-width: 1230px; }
.abr-body .margin-bottom { margin-bottom: 20px; }
.abr-body .margin-top { margin-top: 20px; }
.abr-body .margin-bottom-5 { margin-bottom: 5px; }
.abr-body .margin-top-5 { margin-top: 5px; }
.abr-body .no-padding { padding: 0 !important; }
.abr-body .w-hidden, .abr-body .hidden { display: none !important; }
.abr-body .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abr-body .lead { font-size: 16px; color: var(--abr-muted); }

/* ───────────────────────── 03 Header / Nav ───────────────────────── */
.abr-topbar {
    background: var(--abr-ink);
    color: #a9c9c1;
    font-size: 12.5px;
}
.abr-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.abr-topbar a { color: #d3e8e2; }
.abr-topbar a:hover { color: #fff; }
.abr-topbar .abr-top-contact { display: flex; gap: 18px; align-items: center; margin: 0; padding: 0; list-style: none; }
.abr-topbar .abr-top-contact i { color: var(--abr-cyan); margin-inline-end: 6px; }
.abr-topbar .top-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.abr-topbar .top-nav > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; }
.abr-topbar .top-nav > li > a:hover { background: rgba(255, 255, 255, .08); }
.abr-topbar .top-nav .label-info { background: var(--abr-cyan); }
.abr-topbar .top-nav .primary-action > a.btn {
    background: var(--abr-primary); color: #fff; padding: 4px 14px; border: 0; font-size: 12.5px;
}
.abr-topbar .top-nav .primary-action > a.btn:hover { background: var(--abr-primary-dark); }
.abr-topbar .btn-logged-in-admin { background: var(--abr-warning); color: #fff; padding: 3px 10px; border: 0; }

#header.abr-header {
    background: var(--abr-surface);
    border-bottom: 1px solid var(--abr-border);
    position: sticky; top: 0; z-index: 1030;
    box-shadow: 0 2px 14px rgba(5, 60, 54, .05);
}
.abr-header .container { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.abr-header .logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--abr-ink); font-weight: 800; font-size: 20px; }
.abr-header .logo img { max-height: 46px; width: auto; }
.abr-header .logo.logo-text:before {
    content: "\f0c2"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, var(--abr-primary), var(--abr-cyan)); color: #fff; font-size: 18px;
}
.abr-header .navbar { margin: 0; border: 0; background: transparent; min-height: 0; flex: 1 1 auto; }
.abr-header .navbar-collapse { padding: 0; border: 0; box-shadow: none; }
.abr-header .navbar-nav > li > a {
    color: var(--abr-text); font-weight: 600; padding: 10px 13px; margin: 0 1px; border-radius: 10px; line-height: 1.6;
}
.abr-header .navbar-nav > li > a:hover,
.abr-header .navbar-nav > .open > a,
.abr-header .navbar-nav > .open > a:hover,
.abr-header .navbar-nav > .open > a:focus { background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.abr-header .navbar-nav > li > a > i { color: var(--abr-primary); margin-inline-end: 4px; }
.abr-header .navbar-nav .badge { background: var(--abr-danger); font-size: 10px; padding: 3px 6px; }
.abr-header .navbar-right { margin: 0; }
.abr-header .dropdown-menu {
    border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow-lg);
    padding: 8px; margin-top: 8px; min-width: 210px; text-align: start;
}
.abr-header .dropdown-menu > li > a { border-radius: 8px; padding: 8px 12px; color: var(--abr-text); }
.abr-header .dropdown-menu > li > a:hover { background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.abr-header .dropdown-menu > li > a > i { color: var(--abr-primary); width: 20px; text-align: center; }
.abr-header .caret { margin-inline-start: 2px; }
.abr-header .navbar-toggle {
    margin: 0; border: 1px solid var(--abr-border); border-radius: 10px; padding: 10px 11px;
    margin-inline-start: auto;
}
.abr-header .navbar-toggle .icon-bar { background: var(--abr-ink); width: 20px; border-radius: 2px; }
.abr-header .navbar-toggle:hover, .abr-header .navbar-toggle:focus { background: var(--abr-primary-soft); }

/* Page heading band */
.abr-pagehead {
    background: linear-gradient(135deg, var(--abr-navy) 0%, var(--abr-navy-2) 55%, #0f7f70 100%);
    color: #fff; position: relative; overflow: hidden; padding: 26px 0 24px;
}
.abr-pagehead:before, .abr-pagehead:after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(53, 208, 180, .28), rgba(53, 208, 180, 0) 65%);
}
.abr-pagehead:before { width: 360px; height: 360px; inset-block-start: -180px; inset-inline-end: 6%; }
.abr-pagehead:after { width: 260px; height: 260px; inset-block-end: -170px; inset-inline-start: 12%; }
.abr-pagehead .container { position: relative; z-index: 1; }
.abr-pagehead h1 { color: #fff; margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.abr-pagehead h1 small { color: #a9ddd1; font-size: 14px; font-weight: 400; margin-inline-start: 8px; }
.abr-pagehead .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 12.5px; }
.abr-pagehead .breadcrumb > li + li:before { color: #7fbfb2; padding: 0 8px; content: "\203A"; }
html[dir="rtl"] .abr-pagehead .breadcrumb > li + li:before { content: "\2039"; }
.abr-pagehead .breadcrumb a { color: #c8ece4; }
.abr-pagehead .breadcrumb a:hover { color: #fff; }
.abr-pagehead .breadcrumb > .active { color: #fff; }
.header-lined h1 { margin-top: 0; }

/* ───────────────────────── 04 Layout ───────────────────────── */
#main-body { flex: 1 0 auto; padding: 26px 0 40px; }
.abr-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.abr-layout.has-sidebar { grid-template-columns: 290px minmax(0, 1fr); }
.abr-layout.has-sidebar.has-secondary { grid-template-columns: 290px minmax(0, 1fr) 290px; }
.abr-layout.no-sidebar.has-secondary { grid-template-columns: minmax(0, 1fr) 290px; }
.abr-layout > .main-content { min-width: 0; }
.abr-layout > .sidebar { min-width: 0; }
.abr-layout .main-content > .abr-block:first-child { margin-top: 0; }
.container-fluid.without-padding { padding: 0; overflow-x: hidden; }
.abr-layout.is-cart { display: block; }

/* ───────────────────────── 05 Sidebar ───────────────────────── */
.sidebar .panel-sidebar { margin-bottom: 18px; }
.sidebar .panel-sidebar > .panel-heading {
    background: transparent; border: 0; padding: 14px 16px 6px; color: var(--abr-ink);
}
.sidebar .panel-sidebar .panel-title { font-size: 13px; font-weight: 800; color: var(--abr-navy); display: flex; align-items: center; gap: 8px; }
.sidebar .panel-sidebar .panel-title > i:first-child { color: var(--abr-primary); }
.sidebar .panel-sidebar .panel-minimise { margin-inline-start: auto; font-size: 11px; color: var(--abr-muted); cursor: pointer; transition: transform .2s; }
.sidebar .panel-sidebar .panel-minimise.minimised { transform: rotate(180deg); }
.sidebar .list-group { margin: 0; padding: 0 8px 8px; border-radius: 0; }
.sidebar .list-group-item {
    border: 0; background: transparent; border-radius: 9px !important; padding: 9px 12px; margin-bottom: 2px;
    color: var(--abr-text); font-size: 13.5px; display: flex; align-items: center; gap: 8px;
}
.sidebar .list-group-item > i { color: var(--abr-muted); width: 18px; text-align: center; flex: 0 0 auto; }
.sidebar a.list-group-item:hover, .sidebar a.list-group-item:focus { background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.sidebar a.list-group-item:hover > i { color: var(--abr-primary); }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover, .sidebar .list-group-item.active:focus {
    background: var(--abr-primary); color: #fff; border: 0;
}
.sidebar .list-group-item.active > i { color: #fff; }
.sidebar .list-group-item .badge { order: 3; margin-inline-start: auto; background: var(--abr-primary-soft); color: var(--abr-primary-dark); font-weight: 700; }
.sidebar .list-group-item.active .badge { background: rgba(255, 255, 255, .22); color: #fff; }
.sidebar .list-group-item.disabled { opacity: .55; pointer-events: none; }
.sidebar .panel-body { padding: 4px 16px 14px; color: var(--abr-muted); }
.sidebar .panel-footer { background: transparent; border: 0; padding: 0 16px 14px; }
.sidebar .panel-sidebar.panel-sidebar-compact .list-group-item { padding: 6px 10px; }
.view-filter-btns .list-group-item .fa-circle, .view-filter-btns .list-group-item .fa-dot-circle { color: var(--abr-primary); }
.sidebar .form-control { margin-bottom: 8px; }

/* ───────────────────────── 06 Panels / Cards ───────────────────────── */
.abr-body .panel {
    background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius);
    box-shadow: var(--abr-shadow); margin-bottom: 20px; overflow: visible;
}
.abr-body .panel > .panel-heading {
    background: transparent; border-bottom: 1px solid var(--abr-border-soft); padding: 14px 18px;
    border-radius: var(--abr-radius) var(--abr-radius) 0 0;
}
.abr-body .panel-title { font-size: 15px; font-weight: 700; color: var(--abr-ink); }
.abr-body .panel-title > i:first-child { color: var(--abr-primary); margin-inline-end: 6px; }
.abr-body .panel-body { padding: 18px; }
.abr-body .panel-footer { background: #f8fcfb; border-top: 1px solid var(--abr-border-soft); border-radius: 0 0 var(--abr-radius) var(--abr-radius); padding: 12px 18px; }
.abr-body .panel > .list-group .list-group-item { border-color: var(--abr-border-soft); }
.abr-body .panel > .list-group:last-child .list-group-item:last-child { border-radius: 0 0 var(--abr-radius) var(--abr-radius); }
.abr-body .panel-primary > .panel-heading, .abr-body .panel-info > .panel-heading,
.abr-body .panel-success > .panel-heading, .abr-body .panel-warning > .panel-heading,
.abr-body .panel-danger > .panel-heading { background: transparent; color: var(--abr-ink); }
.abr-body .panel-primary, .abr-body .panel-info, .abr-body .panel-success,
.abr-body .panel-warning, .abr-body .panel-danger { border-top-width: 3px; }
.abr-body .panel-primary { border-top-color: var(--abr-primary); }
.abr-body .panel-info { border-top-color: var(--abr-cyan); }
.abr-body .panel-success { border-top-color: var(--abr-success); }
.abr-body .panel-warning { border-top-color: var(--abr-warning); }
.abr-body .panel-danger { border-top-color: var(--abr-danger); }
.abr-body .panel[class*="panel-accent-"] { border-top: 3px solid var(--abr-primary); }
.abr-body .panel-accent-green, .abr-body .panel-accent-emerald, .abr-body .panel-accent-lime { border-top-color: var(--abr-success) !important; }
.abr-body .panel-accent-red, .abr-body .panel-accent-pomegranate { border-top-color: var(--abr-danger) !important; }
.abr-body .panel-accent-gold, .abr-body .panel-accent-orange, .abr-body .panel-accent-sun-flower { border-top-color: var(--abr-warning) !important; }
.abr-body .panel-accent-teal, .abr-body .panel-accent-turquoise { border-top-color: var(--abr-teal) !important; }
.abr-body .panel-accent-purple, .abr-body .panel-accent-amethyst, .abr-body .panel-accent-magenta, .abr-body .panel-accent-pink { border-top-color: #7c5cd6 !important; }
.abr-body .panel-accent-asbestos, .abr-body .panel-accent-silver, .abr-body .panel-accent-wet-asphalt, .abr-body .panel-accent-midnight-blue { border-top-color: var(--abr-navy-2) !important; }
.panel-collapsable > .panel-heading { cursor: pointer; }
.panel-collapsable .collapse-icon { color: var(--abr-muted); }
.panel-collapsed > .panel-body, .panel-body-collapsed { display: none; }
.abr-body .well { background: #fff; border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: none; }
.abr-body .list-group-item { border-color: var(--abr-border-soft); background: #fff; }
.abr-body a.list-group-item:hover { background: var(--abr-primary-soft); }
.abr-body .list-group-item.active, .abr-body .list-group-item.active:hover { background: var(--abr-primary); border-color: var(--abr-primary); }
.abr-body .list-group-item-selected { background: var(--abr-primary-soft); }
.abr-body .badge { background: var(--abr-primary); font-weight: 600; border-radius: 10px; }
.abr-body .progress { background: var(--abr-border-soft); border-radius: 999px; box-shadow: none; height: 10px; overflow: hidden; }
.abr-body .progress-bar { background: linear-gradient(90deg, var(--abr-primary), var(--abr-cyan)); box-shadow: none; }

.abr-card { background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow); padding: 18px; margin-bottom: 20px; }
.abr-card-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--abr-ink); display: flex; align-items: center; gap: 8px; }
.abr-card-title i { color: var(--abr-primary); }

/* Buttons */
.abr-body .btn {
    border-radius: 10px; font-weight: 600; padding: 7px 16px; border-width: 1px; transition: all .15s; line-height: 1.7;
    text-shadow: none; box-shadow: none; white-space: normal;
}
.abr-body .btn-lg { padding: 11px 24px; font-size: 15px; border-radius: 12px; }
.abr-body .btn-sm { padding: 5px 12px; font-size: 12.5px; }
.abr-body .btn-xs { padding: 2px 9px; font-size: 12px; border-radius: 8px; }
.abr-body .btn-default { background: #fff; border-color: var(--abr-border); color: var(--abr-text); }
.abr-body .btn-default:hover, .abr-body .btn-default:focus, .abr-body .btn-default:active { background: var(--abr-primary-soft); border-color: #b4e3d9; color: var(--abr-primary-dark); }
.abr-body .btn-primary { background: linear-gradient(135deg, var(--abr-primary), #0b7c6d); border-color: var(--abr-primary-dark); color: #fff; }
.abr-body .btn-primary:hover, .abr-body .btn-primary:focus, .abr-body .btn-primary:active { background: var(--abr-primary-dark); border-color: var(--abr-primary-dark); color: #fff; }
.abr-body .btn-success { background: var(--abr-success); border-color: #108557; color: #fff; }
.abr-body .btn-success:hover, .abr-body .btn-success:focus { background: #108557; border-color: #0c6b46; color: #fff; }
.abr-body .btn-info { background: var(--abr-info); border-color: #0a8591; color: #fff; }
.abr-body .btn-info:hover, .abr-body .btn-info:focus { background: #0a8591; border-color: #07707a; color: #fff; }
.abr-body .btn-warning { background: var(--abr-warning); border-color: #c48e0e; color: #fff; }
.abr-body .btn-danger { background: var(--abr-danger); border-color: #bd2f3d; color: #fff; }
.abr-body .btn-danger:hover, .abr-body .btn-danger:focus { background: #bd2f3d; color: #fff; }
.abr-body .btn-link { color: var(--abr-primary); }
.abr-body .btn.disabled, .abr-body .btn[disabled] { opacity: .55; }
.abr-body .btn-action { background: var(--abr-primary-soft); color: var(--abr-primary-dark); border-color: transparent; }
.abr-body .btn-group > .btn + .btn, .abr-body .btn-group .btn + .btn-group { margin-inline-start: -1px; }

/* ───────────────────────── 07 Tables / DataTables ───────────────────────── */
.table-container { background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow); padding: 14px 16px 6px; margin-bottom: 20px; }
.abr-body .table { margin-bottom: 14px; background: transparent; }
.abr-body .table > thead > tr > th {
    border-bottom: 2px solid var(--abr-border); color: var(--abr-muted); font-size: 12.5px; font-weight: 700;
    padding: 11px 12px; white-space: nowrap; background: #f5faf8; text-align: start;
}
.abr-body .table > tbody > tr > td { border-top: 1px solid var(--abr-border-soft); padding: 12px; vertical-align: middle; }
.abr-body .table-striped > tbody > tr:nth-of-type(odd) { background: #f8fcfb; }
.abr-body .table-hover > tbody > tr:hover, .abr-body .table-list > tbody > tr:hover { background: var(--abr-primary-soft); }
.abr-body .table-list > tbody > tr { cursor: pointer; }
.abr-body .table-list > tbody > tr > td a:not(.btn) { font-weight: 600; }
.abr-body .table-bordered { border-color: var(--abr-border); }
.abr-body .table-bordered > tbody > tr > td, .abr-body .table-bordered > thead > tr > th { border-color: var(--abr-border-soft); }
.abr-body .table-responsive { border: 0; }
.abr-body .table-list td.text-center { text-align: center; }
.abr-body .ticket-number { color: var(--abr-muted); font-family: var(--abr-mono); font-size: 12px; margin-inline-end: 6px; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.abr-body .ticket-subject.unread { font-weight: 800; color: var(--abr-ink); }
.abr-body .ticket-subject.unread:before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--abr-primary); margin-inline-end: 6px; }

.dataTables_wrapper { font-size: 13px; }
.dataTables_wrapper .listtable { margin-bottom: 8px; }
.dataTables_filter { float: none !important; text-align: start !important; margin-bottom: 12px; }
.dataTables_filter label { display: block; margin: 0; }
.dataTables_filter input, .dataTables_filter .form-control {
    width: 100% !important; max-width: 360px; margin: 0 !important; height: 40px; border-radius: 10px;
    padding-inline: 38px 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2366788f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5.2'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat;
    background-position: left 12px center;
}
html[dir="rtl"] .dataTables_filter input, html[dir="rtl"] .dataTables_filter .form-control { background-position: right 12px center; }
.dataTables_length { float: none !important; display: inline-block; margin-top: 6px; }
.dataTables_length select { display: inline-block; width: auto; height: 34px; border-radius: 8px; }
.dataTables_info { float: none !important; display: inline-block; color: var(--abr-muted); padding: 8px 0 !important; }
.dataTables_paginate { float: none !important; text-align: center; margin-top: 4px; }
.dataTables_paginate .pagination { margin: 4px 0; }
.abr-body .pagination > li > a, .abr-body .pagination > li > span {
    border: 1px solid var(--abr-border); margin: 0 3px; border-radius: 8px !important; color: var(--abr-text); padding: 5px 12px; background: #fff;
}
.abr-body .pagination > li > a:hover { background: var(--abr-primary-soft); }
.abr-body .pagination > .active > a, .abr-body .pagination > .active > a:hover { background: var(--abr-primary); border-color: var(--abr-primary); color: #fff; }
.abr-body .pagination > .disabled > a { color: #aab7c7; background: #f6f9fc; }
table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc { cursor: pointer; }
table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after { opacity: .4; }
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before { background-color: var(--abr-primary); box-shadow: none; border: 0; }
table.dataTable > tbody > tr.child ul.dtr-details { display: block; }
table.dataTable > tbody > tr.child .dtr-title { font-weight: 700; color: var(--abr-muted); }
.responsive-edit-button { white-space: nowrap; }

/* ───────────────────────── 08 Forms ───────────────────────── */
.abr-body label { font-weight: 600; color: var(--abr-text); }
.abr-body .form-control {
    height: 42px; border: 1px solid var(--abr-border); border-radius: 10px; box-shadow: none; color: var(--abr-text);
    background-color: #fff; padding: 8px 14px; transition: border-color .15s, box-shadow .15s;
}
.abr-body textarea.form-control { height: auto; }
.abr-body select.form-control { padding-inline: 10px; }
.abr-body .form-control:focus { border-color: var(--abr-primary); box-shadow: 0 0 0 3px rgba(14, 148, 130, .16); }
.abr-body .form-control[disabled], .abr-body .form-control[readonly] { background: #f3f7fb; }
.abr-body .input-lg { height: 50px; font-size: 15px; border-radius: 12px; }
.abr-body .input-sm { height: 34px; border-radius: 8px; }
.abr-body .input-group-addon { border: 1px solid var(--abr-border); background: #f3f7fb; color: var(--abr-muted); }
.abr-body .input-group .form-control:first-child, .abr-body .input-group-addon:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
.abr-body .help-block, .abr-body .field-help-text { color: var(--abr-muted); font-size: 12.5px; }
.abr-body .has-error .form-control { border-color: var(--abr-danger); }
.abr-body .has-error .control-label, .abr-body .has-error .help-block { color: var(--abr-danger); }
.abr-body .has-success .form-control { border-color: var(--abr-success); }
.abr-body .checkbox label, .abr-body .radio label { font-weight: 500; }
.abr-body .form-horizontal .control-label { padding-top: 10px; }
.abr-body .form-control-static { padding-top: 10px; }
.abr-body fieldset legend { font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--abr-border-soft); padding-bottom: 8px; color: var(--abr-ink); }
.abr-body .input-group-btn .btn { height: 42px; }
.abr-body .input-group-lg .input-group-btn .btn, .abr-body .input-group-lg > .form-control { height: 50px; }
.abr-body .bootstrap-switch, .abr-body .icheckbox_square-blue, .abr-body .iradio_square-blue { vertical-align: middle; }

/* ───────────────────────── 09 Alerts / Modals ───────────────────────── */
.abr-body .alert { border-radius: var(--abr-radius-sm); border: 1px solid transparent; padding: 13px 16px; border-inline-start-width: 4px; }
.abr-body .alert-success { background: #e9f8f1; border-color: #bfe8d3; color: #0f6b46; }
.abr-body .alert-info { background: #e7f5fb; border-color: #bde3f3; color: #0a6f95; }
.abr-body .alert-warning { background: #fff6e1; border-color: #f6dfa3; color: #8a5d00; }
.abr-body .alert-danger { background: #fdecee; border-color: #f4c1c7; color: #a1202e; }
.abr-body .alert ul { margin: 6px 0 0; padding-inline-start: 20px; }
.abr-body .alert .close { position: static; float: none; }
.abr-body .verification-banner { background: var(--abr-primary-soft); border-bottom: 1px solid #b4e3d9; padding: 10px 0; color: var(--abr-navy); }
.abr-body .verification-banner .btn { margin-inline-start: 8px; }

.abr-body .modal-content { border: 0; border-radius: 16px; box-shadow: var(--abr-shadow-lg); overflow: hidden; }
.abr-body .modal-header { background: linear-gradient(135deg, var(--abr-navy), var(--abr-navy-2)); color: #fff; border: 0; padding: 14px 18px; }
.abr-body .modal-header .modal-title, .abr-body .modal-header h4 { color: #fff; margin: 0; font-size: 16px; }
.abr-body .modal-header .close { float: none; margin: 0; color: #fff; opacity: .8; text-shadow: none; position: absolute; inset-block-start: 14px; inset-inline-end: 16px; }
.abr-body .modal-footer { background: #f8fcfb; border-top: 1px solid var(--abr-border-soft); }
.abr-body .modal-footer .loader { color: var(--abr-muted); }
.abr-body .modal-body.panel-body { padding: 20px; }
html[dir="rtl"] .abr-body .modal-footer .btn + .btn { margin-inline-start: 5px; margin-left: 0; }
.abr-body .modal-footer .pull-left.loader, .abr-body .modal-footer .pull-right.loader { margin-top: 6px; }
#fullpage-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 27, 51, .82); color: #fff; display: table; width: 100%; height: 100%; }
#fullpage-overlay.hidden { display: none !important; }
#fullpage-overlay .outer-wrapper { display: table-cell; vertical-align: middle; text-align: center; }
#fullpage-overlay .inner-wrapper { display: inline-block; text-align: center; }
.abr-body .tooltip-inner { background: var(--abr-ink); border-radius: 8px; padding: 6px 10px; font-family: var(--abr-font); }
.abr-body .tooltip.in { opacity: 1; }

/* ───────────────────────── 10 Tabs / Popovers ───────────────────────── */
.abr-body .nav-tabs { border-bottom: 1px solid var(--abr-border); margin-bottom: 0; }
.abr-body .nav-tabs > li > a {
    border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--abr-muted); font-weight: 600; padding: 11px 16px; margin: 0;
}
.abr-body .nav-tabs > li > a:hover { background: transparent; color: var(--abr-primary-dark); border-bottom-color: #b4e3d9; }
.abr-body .nav-tabs > li.active > a, .abr-body .nav-tabs > li.active > a:hover, .abr-body .nav-tabs > li.active > a:focus {
    border: 0; border-bottom: 3px solid var(--abr-primary); color: var(--abr-primary-dark); background: transparent;
}
.abr-body .nav-tabs > li > a > i { margin-inline-end: 4px; }
.abr-body .nav-pills > li > a { border-radius: 10px; font-weight: 600; }
.abr-body .nav-pills > li.active > a { background: var(--abr-primary); }
.abr-body .tab-content.product-details-tab-container { padding: 22px 6px 6px; }
.abr-body .tabdrop .dropdown-menu { text-align: start; }

.abr-body .popover { border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow-lg); font-family: var(--abr-font); padding: 0; max-width: 340px; }
.abr-body .popover-content { padding: 6px; }
.abr-body .popover ul { list-style: none; margin: 0; padding: 0; }
.abr-body .popover li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--abr-text); }
.abr-body .popover li a:hover { background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.abr-body .popover .client-alerts li a { display: flex; gap: 10px; align-items: flex-start; }
.abr-body .popover .client-alerts li .message { flex: 1; font-size: 12.5px; line-height: 1.7; }
.abr-body .popover .client-alerts li.none { padding: 12px; color: var(--abr-muted); text-align: center; }
.abr-body .dropdown-menu { font-family: var(--abr-font); }

/* ───────────────────────── 11 Status / Labels ───────────────────────── */
.abr-body .label { border-radius: 999px; font-weight: 600; padding: .35em .85em; font-size: 11.5px; line-height: 1.5; background: #e8eef6; color: var(--abr-navy); display: inline-block; }
.abr-body .label-info { background: var(--abr-info); color: #fff; }
.abr-body .label-success { background: var(--abr-success); color: #fff; }
.abr-body .label-warning { background: var(--abr-warning); color: #fff; }
.abr-body .label-danger { background: var(--abr-danger); color: #fff; }
.abr-body .label.status { border: 1px solid transparent; }
.abr-body .status-active, .abr-body .status-completed, .abr-body .status-paid, .abr-body .status-accepted, .abr-body .status-delivered, .abr-body .status-online, .abr-body .status-live { color: #0f6b46; background: #e3f6ed; border-color: #b6e4cc; }
.abr-body .status-pending, .abr-body .status-pending-registration, .abr-body .status-pending-transfer, .abr-body .status-grace, .abr-body .status-onhold, .abr-body .status-inprogress, .abr-body .status-draft, .abr-body .status-paymentpending, .abr-body .status-payment-pending { color: #8a5d00; background: #fff4d8; border-color: #f5dc9b; }
.abr-body .status-suspended, .abr-body .status-redemption, .abr-body .status-expired, .abr-body .status-customer-reply, .abr-body .status-customerreply, .abr-body .status-unpaid, .abr-body .status-overdue { color: #a1202e; background: #fdebed; border-color: #f4c1c7; }
.abr-body .status-terminated, .abr-body .status-cancelled, .abr-body .status-fraud, .abr-body .status-dead, .abr-body .status-lost, .abr-body .status-collections, .abr-body .status-transferred-away { color: #5b6878; background: #eceff3; border-color: #d3dae3; }
.abr-body .status-open { color: #0a6f95; background: #e1f3fa; border-color: #b6e0f1; }
.abr-body .status-answered { color: #0f6b46; background: #e3f6ed; border-color: #b6e4cc; }
.abr-body .status-closed, .abr-body .status-refunded { color: #5b6878; background: #eceff3; border-color: #d3dae3; }
.abr-body .status-custom { background: #fff; border: 1px solid; }
/* plain text statuses (invoice view, product details) */
.abr-body .draft { color: var(--abr-muted); }
.abr-body .unpaid { color: var(--abr-danger); }
.abr-body .paid { color: var(--abr-success); }
.abr-body .refunded { color: var(--abr-info); }
.abr-body .cancelled { color: var(--abr-muted); }
.abr-body .collections { color: var(--abr-warning); }
.abr-body .bg-color-blue { background: var(--abr-primary); }
.abr-body .bg-color-green, .abr-body .bg-color-emerald, .abr-body .bg-color-lime { background: var(--abr-success); }
.abr-body .bg-color-red, .abr-body .bg-color-pomegranate { background: var(--abr-danger); }
.abr-body .bg-color-gold, .abr-body .bg-color-orange, .abr-body .bg-color-sun-flower { background: var(--abr-warning); }
.abr-body .bg-color-teal, .abr-body .bg-color-turquoise { background: var(--abr-teal); }
.abr-body .bg-color-purple, .abr-body .bg-color-amethyst, .abr-body .bg-color-magenta, .abr-body .bg-color-pink { background: #7c5cd6; }
.abr-body .bg-color-asbestos, .abr-body .bg-color-silver, .abr-body .bg-color-wet-asphalt, .abr-body .bg-color-midnight-blue { background: var(--abr-navy-2); }
.abr-body .btn[class*="bg-color-"] { color: #fff; border-color: transparent; }

/* ───────────────────────── 12 Dashboard ───────────────────────── */
.abr-welcome {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(120deg, #fff 0%, #eef6fe 100%); border: 1px solid var(--abr-border);
    border-radius: var(--abr-radius); box-shadow: var(--abr-shadow); padding: 20px 22px; margin-bottom: 20px;
}
.abr-welcome h2 { margin: 0 0 2px; font-size: 19px; }
.abr-welcome p { margin: 0; color: var(--abr-muted); }
.abr-welcome .abr-welcome-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.abr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.abr-tile {
    position: relative; display: flex; align-items: center; gap: 14px; background: var(--abr-surface);
    border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow);
    padding: 16px 18px; color: var(--abr-text) !important; transition: transform .15s, box-shadow .15s; overflow: hidden;
}
.abr-tile:hover { transform: translateY(-2px); box-shadow: var(--abr-shadow-lg); }
.abr-tile .abr-tile-icon {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    font-size: 21px; color: #fff; background: var(--abr-primary);
}
.abr-tile .abr-tile-stat { font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--abr-ink); font-feature-settings: "tnum"; }
.abr-tile .abr-tile-title { color: var(--abr-muted); font-size: 13px; }
.abr-tile.t-blue .abr-tile-icon { background: linear-gradient(135deg, #0e9482, #35d0b4); }
.abr-tile.t-green .abr-tile-icon { background: linear-gradient(135deg, #16a068, #3ccf91); }
.abr-tile.t-red .abr-tile-icon { background: linear-gradient(135deg, #dc3b4b, #f0707c); }
.abr-tile.t-gold .abr-tile-icon { background: linear-gradient(135deg, #e8a81c, #f5c24b); }
/* legacy tiles (kept for 3rd-party homepage addons) */
.tiles .tile { margin-bottom: 16px; }
.tiles .tile > a { display: block; background: #fff; border: 1px solid var(--abr-border); border-radius: var(--abr-radius); padding: 16px; text-align: center; color: var(--abr-text); position: relative; overflow: hidden; }
.tiles .tile .stat { font-size: 26px; font-weight: 800; }
.tiles .tile .highlight { position: absolute; inset-inline: 0; inset-block-end: 0; height: 4px; }
.tiles .tile .icon { font-size: 22px; color: var(--abr-primary); }

.abr-kbsearch { position: relative; margin-bottom: 20px; }
.abr-kbsearch .form-control { height: 52px; padding-inline: 48px 16px; border-radius: 14px; }
.abr-kbsearch > i { position: absolute; inset-inline-start: 18px; inset-block-start: 17px; color: var(--abr-muted); }
.home-kb-search { position: relative; margin-bottom: 20px; }
.home-kb-search .fa-search { position: absolute; inset-inline-start: 28px; inset-block-start: 17px; color: var(--abr-muted); }
.home-kb-search .form-control { padding-inline-start: 46px; }

.abr-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.abr-quick a {
    display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px 10px;
    background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); color: var(--abr-text); font-weight: 600; transition: all .15s;
}
.abr-quick a i { font-size: 22px; color: var(--abr-primary); }
.abr-quick a:hover { border-color: var(--abr-primary); background: var(--abr-primary-soft); transform: translateY(-2px); }

.client-home-panels .panel-title .btn { float: none; }
.client-home-panels .panel-title > div.pull-right { margin-inline-start: auto; }
.client-home-panels .panel-title { display: flex; align-items: center; gap: 8px; }
.client-home-panels .list-group-item { display: flex; align-items: center; gap: 8px; }
.client-home-panels .list-group-item .badge { margin-inline-start: auto; }
.client-home-panels .panel-footer:empty { display: none; }

/* ───────────────────────── 13 Service details ───────────────────────── */
.abr-svc-hero {
    display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
    background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius);
    box-shadow: var(--abr-shadow); padding: 20px 22px; margin-bottom: 20px; position: relative; overflow: hidden;
}
.abr-svc-hero:before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: var(--abr-muted); }
.abr-svc-hero.is-active:before { background: var(--abr-success); }
.abr-svc-hero.is-pending:before { background: var(--abr-warning); }
.abr-svc-hero.is-suspended:before, .abr-svc-hero.is-fraud:before { background: var(--abr-danger); }
.abr-svc-hero .abr-svc-icon {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; color: #fff;
    background: linear-gradient(135deg, var(--abr-primary), var(--abr-cyan));
}
.abr-svc-hero.kind-vps .abr-svc-icon { background: linear-gradient(135deg, #0b8fa8, #35d0b4); }
.abr-svc-hero.kind-dedicated .abr-svc-icon { background: linear-gradient(135deg, #073b36, #0e9482); }
.abr-svc-hero.kind-domain .abr-svc-icon { background: linear-gradient(135deg, #16a068, #35d0b4); }
.abr-svc-hero.kind-ssl .abr-svc-icon { background: linear-gradient(135deg, #e8a81c, #f5c24b); }
.abr-svc-hero h2 { margin: 0; font-size: 19px; }
.abr-svc-hero .abr-svc-sub { color: var(--abr-muted); margin: 2px 0 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.abr-svc-hero .abr-svc-sub .ltr { font-family: var(--abr-mono); font-size: 13px; }
.abr-svc-hero .abr-svc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.abr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.abr-fact { background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); padding: 14px 16px; box-shadow: var(--abr-shadow); }
.abr-fact .abr-fact-label { color: var(--abr-muted); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.abr-fact .abr-fact-label i { color: var(--abr-primary); }
.abr-fact .abr-fact-value { font-weight: 700; color: var(--abr-ink); font-size: 15px; margin-top: 2px; word-break: break-word; }

.abr-kv { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; margin: 0; }
.abr-kv > dt, .abr-kv > dd { padding: 11px 4px; border-bottom: 1px solid var(--abr-border-soft); margin: 0; }
.abr-kv > dt { color: var(--abr-muted); font-weight: 600; }
.abr-kv > dd { color: var(--abr-text); word-break: break-word; }
.abr-kv > dt:last-of-type, .abr-kv > dd:last-of-type { border-bottom: 0; }

.abr-usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.abr-usage .abr-usage-item { background: #f5faf8; border: 1px solid var(--abr-border-soft); border-radius: var(--abr-radius-sm); padding: 14px 16px; }
.abr-usage .abr-usage-head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.abr-usage .abr-usage-foot { color: var(--abr-muted); font-size: 12.5px; margin-top: 6px; direction: ltr; text-align: start; }
.abr-usage .progress-bar.is-warn { background: linear-gradient(90deg, #e8a81c, #f5c24b); }
.abr-usage .progress-bar.is-crit { background: linear-gradient(90deg, #dc3b4b, #f0707c); }

/* module output: defensive — never restyle layout of third-party markup */
.module-client-area { text-align: start; margin-top: 4px; }
.module-client-area table { max-width: 100%; }
.module-client-area .btn { margin-block: 2px; }
.module-client-area iframe, .module-client-area canvas { max-width: 100%; }
.module-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.product-details .product-status { text-align: center; padding: 20px; border-radius: var(--abr-radius); background: #f5faf8; border: 1px solid var(--abr-border-soft); margin-bottom: 14px; }
.product-details .product-icon { color: var(--abr-primary); }
.product-details .product-status-text { display: inline-block; padding: 3px 14px; border-radius: 999px; font-weight: 700; background: #e3f6ed; color: #0f6b46; }
.product-details .product-status-suspended .product-status-text, .product-details .product-status-fraud .product-status-text { background: #fdebed; color: #a1202e; }
.product-details .product-status-pending .product-status-text { background: #fff4d8; color: #8a5d00; }
.product-details .product-status-terminated .product-status-text, .product-details .product-status-cancelled .product-status-text { background: #eceff3; color: #5b6878; }

/* ───────────────────────── 14 Domains ───────────────────────── */
.abr-domain-search {
    background: linear-gradient(135deg, var(--abr-navy), var(--abr-navy-2) 60%, #0f7f70); color: #fff; border-radius: 18px;
    padding: 34px 24px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--abr-shadow-lg);
}
.abr-domain-search h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.abr-domain-search p { color: #bfe6dd; margin: 0 0 18px; }
.abr-domain-search .input-group { max-width: 760px; margin: 0 auto; display: flex; align-items: stretch; gap: 8px; }
.abr-domain-search .input-group .form-control { flex: 1 1 auto; min-width: 0; float: none; width: auto; }
.abr-domain-search .input-group-btn { flex: 0 0 auto; float: none; }
.abr-domain-search .form-control { height: 54px; font-size: 16px; border: 0; border-radius: 12px !important; }
.abr-domain-search .btn { height: 54px; border-radius: 12px !important; padding-inline: 26px; font-weight: 700; }
.abr-domain-search .input-group-btn { display: flex; gap: 8px; width: auto; padding-inline-start: 8px; }
.abr-domain-search .btn.search { background: var(--abr-cyan); border-color: var(--abr-cyan); color: #04304a; }
.abr-domain-search .btn.transfer { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; }
.domainchecker-homepage-captcha { margin-top: 12px; }
.domain-checker-container, .domain-checker-bg { background: transparent; }
.domainresults .domain-available, .domain-available { color: var(--abr-success); font-weight: 700; }
.domain-unavailable, .domain-error { color: var(--abr-danger); }
.domain-pricing .tld-pricing-header, .domain-pricing .featured-tld { border-radius: var(--abr-radius); }
.tld-filters a.badge { padding: 6px 12px; margin: 2px; border-radius: 999px; background: #e8eef6; color: var(--abr-navy); }
.tld-filters a.badge-success, .tld-filters a.badge.active { background: var(--abr-primary); color: #fff; }
.abr-body .domain-validation { display: block; }

/* ───────────────────────── 15 Tickets ───────────────────────── */
.abr-ticket-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.abr-ticket-box { min-width: 0; }
@media (max-width: 991px) { .abr-ticket-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.abr-ticket-box {
    display: flex; align-items: center; gap: 12px; background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius);
    padding: 14px 16px; box-shadow: var(--abr-shadow); color: var(--abr-text) !important; transition: all .15s;
}
.abr-ticket-box:hover { border-color: var(--abr-primary); transform: translateY(-2px); }
.abr-ticket-box .abr-ticket-box-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--abr-primary-soft); color: var(--abr-primary); font-size: 18px; }
.abr-ticket-box.is-open .abr-ticket-box-icon { background: #e1f3fa; color: var(--abr-info); }
.abr-ticket-box.is-answered .abr-ticket-box-icon { background: #e3f6ed; color: var(--abr-success); }
.abr-ticket-box.is-reply .abr-ticket-box-icon { background: #fdebed; color: var(--abr-danger); }
.abr-ticket-box.is-closed .abr-ticket-box-icon { background: #eceff3; color: #5b6878; }
.abr-ticket-box .abr-ticket-box-num { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--abr-ink); }
.abr-ticket-box .abr-ticket-box-title { color: var(--abr-muted); font-size: 12.5px; }

.abr-ticket-head { background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow); padding: 16px 20px; margin-bottom: 20px; }
.abr-ticket-head h2 { font-size: 18px; margin: 0 0 8px; }
.abr-ticket-meta { display: flex; gap: 8px 24px; flex-wrap: wrap; color: var(--abr-muted); font-size: 13px; }
.abr-ticket-meta b { color: var(--abr-text); font-weight: 600; }

.ticket-reply {
    background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); box-shadow: var(--abr-shadow);
    margin-bottom: 16px; overflow: hidden; position: relative;
}
.ticket-reply:before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--abr-primary); }
.ticket-reply.staff:before { background: var(--abr-teal); }
.ticket-reply.staff { background: #fbfefd; }
.ticket-reply .date { float: inline-end; padding: 12px 18px 0; color: var(--abr-muted); font-size: 12px; }
html[dir="rtl"] .ticket-reply .date { float: left; }
html[dir="ltr"] .ticket-reply .date { float: right; }
.ticket-reply .user { padding: 12px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--abr-border-soft); }
.ticket-reply .user > i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--abr-primary-soft); color: var(--abr-primary); }
.ticket-reply.staff .user > i { background: #dff6f2; color: var(--abr-teal); }
.ticket-reply .user .name { font-weight: 700; color: var(--abr-ink); }
.ticket-reply .user .type { color: var(--abr-muted); font-size: 12.5px; margin-inline-start: auto; }
.ticket-reply .user .label { margin-inline-start: 6px; }
.ticket-reply .requestor-type-operator { background: #dff6f2; color: #0b7a6c; }
.ticket-reply .requestor-type-owner, .ticket-reply .requestor-type-registereduser { background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.ticket-reply .requestor-type-authorizeduser, .ticket-reply .requestor-type-subaccount { background: #efe9fd; color: #5a3fb5; }
.ticket-reply .requestor-type-guest { background: #eceff3; color: #5b6878; }
.ticket-reply .message { padding: 16px 18px; overflow-wrap: anywhere; line-height: 1.95; }
.ticket-reply .message pre { direction: ltr; text-align: left; background: #0d1b2f; color: #d9e6f7; border: 0; border-radius: 10px; padding: 12px 14px; }
.ticket-reply .message img { max-width: 100%; height: auto; }
.ticket-reply .attachments { margin: 0; padding: 12px 18px; border-top: 1px dashed var(--abr-border); background: #f8fcfb; }
.ticket-reply .attachments ul { list-style: none; margin: 6px 0 0; padding: 0; }
.ticket-reply .rating, .ticket-reply .rating-done { float: left; padding: 5px 10px; unicode-bidi: bidi-override; direction: rtl; font-size: 22px; }
.ticket-reply .rating span.star, .ticket-reply .rating-done span.star { font-family: "Font Awesome 5 Free"; font-weight: 400; font-style: normal; display: inline-block; cursor: default; }
.ticket-reply .rating span.star { cursor: pointer; }
.ticket-reply .rating span.star:before, .ticket-reply .rating-done span.star:before { content: "\f005"; color: #b9c4d2; font-weight: 900; }
.ticket-reply .rating span.star:hover:before, .ticket-reply .rating span.star:hover ~ span.star:before, .ticket-reply .rating-done span.star.active:before { color: #f2b705; }
.ticket-reply .rating-done .rated { display: inline-block; font-size: 12px; font-family: var(--abr-font); }
.abr-body .markdown-content p:last-child { margin-bottom: 0; }
.abr-body .md-editor { border-radius: 10px; border-color: var(--abr-border); }
.abr-body .md-editor > .md-header { border-radius: 10px 10px 0 0; }
.abr-body .md-editor > textarea { direction: inherit; }
.ticket-attachments-message { margin-top: 8px; font-size: 12.5px; }
.kb-article-title { font-weight: 700; }
.kb-search .form-control { height: 48px; }
.kbcategories .panel, .kb-category { transition: box-shadow .15s; }

/* ───────────────────────── 16 Auth pages ───────────────────────── */
.logincontainer, .abr-auth { max-width: 460px; margin: 20px auto 0; }
.logincontainer.with-social { max-width: 860px; }
.logincontainer .header-lined { text-align: center; border: 0; }
.logincontainer .header-lined h1 { font-size: 22px; }
.logincontainer .providerLinkingFeedback { text-align: center; }
.abr-auth-card { background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: 18px; box-shadow: var(--abr-shadow-lg); padding: 28px; }
.abr-auth-card h2 { text-align: center; font-size: 21px; margin: 0 0 4px; }
.abr-auth-card .abr-auth-sub { text-align: center; color: var(--abr-muted); margin-bottom: 20px; }
.abr-auth-card .btn-lg { width: 100%; }
.social-signin-btns .btn { margin-bottom: 8px; }
.abr-body .login-form .field-container { position: relative; }
.field-icon { position: absolute; inset-inline-end: 14px; inset-block-start: 12px; color: var(--abr-muted); }
.prepend-icon { position: relative; display: block; }
.prepend-icon .field-icon { inset-inline: 14px auto; }
.prepend-icon .field, .prepend-icon .form-control.field { padding-inline-start: 40px; }

/* ───────────────────────── 17 Footer / misc ───────────────────────── */
#footer.abr-footer { background: var(--abr-ink); color: #9fb2cb; margin-top: auto; }
.abr-footer-main { padding: 40px 0 22px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.abr-footer h5 { color: #fff; font-size: 14px; margin: 0 0 12px; font-weight: 700; }
.abr-footer ul { list-style: none; margin: 0; padding: 0; }
.abr-footer li { margin-bottom: 6px; }
.abr-footer a { color: #9fb2cb; }
.abr-footer a:hover { color: #fff; }
.abr-footer .abr-foot-brand p { margin: 8px 0 0; line-height: 2; }
.abr-footer .abr-foot-brand .logo-mark { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.abr-footer .abr-foot-brand .logo-mark i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--abr-primary), var(--abr-cyan)); font-size: 17px; }
.abr-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; position: relative; }
.abr-footer-bottom p { margin: 0; }
.abr-body .announcement-single { background: #fff; border: 1px solid var(--abr-border); border-radius: var(--abr-radius); padding: 18px; }
.abr-body .error-container { text-align: center; padding: 50px 0; }
.abr-body .password-strength-meter, .abr-body #passwordStrengthTextLabel { font-size: 12.5px; }
.abr-body .admin-masquerade-notice { background: var(--abr-warning); color: #fff; padding: 8px; text-align: center; }
.abr-body .kb-article-content { line-height: 2; }
.abr-body .affiliate-referral-link { background: #f5faf8; border: 1px dashed var(--abr-border); border-radius: 10px; padding: 10px 14px; direction: ltr; }
.abr-body .invoice-summary-table td, .abr-body .invoice-summary-table th { padding: 8px 10px; }
.abr-body .masspay-total { font-weight: 800; }

/* Shopping cart (standard_cart) safety net — cart brings its own css */
.abr-layout.is-cart #order-standard_cart { font-family: var(--abr-font); }
#order-standard_cart .panel, #order-standard_cart .card { box-shadow: var(--abr-shadow); }
#order-standard_cart .btn-primary, #order-standard_cart .btn-checkout { background: var(--abr-primary); border-color: var(--abr-primary-dark); }
#order-standard_cart .header-lined h1 { color: var(--abr-ink); }

/* ───────────────────────── 18 Responsive / Print ───────────────────────── */
@media (max-width: 1199px) {
    .abr-layout.has-sidebar.has-secondary { grid-template-columns: 270px minmax(0, 1fr); }
    .abr-layout.has-sidebar.has-secondary > .sidebar-secondary { grid-column: 1 / -1; }
    .abr-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .abr-layout.has-sidebar, .abr-layout.has-sidebar.has-secondary, .abr-layout.no-sidebar.has-secondary { grid-template-columns: minmax(0, 1fr); }
    .abr-layout > .main-content { order: 1; }
    .abr-layout > .sidebar { order: 2; }
    .abr-layout > .sidebar-secondary { order: 3; }
    .abr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .abr-svc-hero { grid-template-columns: auto 1fr; }
    .abr-svc-hero .abr-svc-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .abr-topbar .abr-top-contact { display: none; }
    .abr-topbar .container { justify-content: flex-end; }
    .abr-header .container { flex-wrap: wrap; min-height: 60px; padding-block: 8px; }
    .abr-header .navbar { flex: 0 0 auto; margin-inline-start: auto; }
    .abr-header .navbar-collapse {
        position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--abr-border); box-shadow: var(--abr-shadow-lg);
        max-height: calc(100vh - 110px); overflow-y: auto; padding: 10px 16px 16px;
    }
    .abr-header .navbar-nav { margin: 0; }
    .abr-header .navbar-nav > li > a { padding: 11px 12px; }
    .abr-header .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin: 0 0 6px; box-shadow: none; border: 0; background: #f6f9fd; }
    .abr-header .navbar-nav .open .dropdown-menu > li > a { padding: 9px 14px; }
    .abr-header .navbar-right { border-top: 1px solid var(--abr-border-soft); margin-top: 6px; padding-top: 6px; }
    .abr-pagehead { padding: 20px 0 18px; }
    .abr-pagehead h1 { font-size: 20px; }
}
@media (max-width: 767px) {
    .abr-body { font-size: 14px; }
    #main-body { padding: 18px 0 30px; }
    .abr-body .container { padding-inline: 14px; }
    .abr-welcome { padding: 16px; }
    .abr-tile { padding: 12px 12px; gap: 10px; }
    .abr-tile .abr-tile-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
    .abr-tile .abr-tile-stat { font-size: 22px; }
    .abr-kv { grid-template-columns: 1fr; }
    .abr-kv > dt { border-bottom: 0; padding-bottom: 0; font-size: 12.5px; }
    .abr-svc-hero { padding: 16px; gap: 12px; }
    .abr-svc-hero .abr-svc-icon { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; }
    .abr-footer-main { grid-template-columns: 1fr; padding-top: 28px; }
    .abr-footer-bottom { justify-content: center; text-align: center; }
    .abr-domain-search { padding: 24px 14px; }
    .abr-domain-search .input-group { display: block; }
    .abr-domain-search .input-group .form-control { width: 100%; border-radius: 12px !important; margin-bottom: 8px; }
    .abr-domain-search .input-group-btn { display: flex; width: 100%; padding: 0; }
    .abr-domain-search .input-group-btn .btn { flex: 1; }
    .abr-body .btn-xs-block { display: block; width: 100%; }
    .abr-body .table-container { padding: 10px; }
    .abr-body .nav-tabs-overflow { display: flex; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .abr-body .nav-tabs-overflow > li { flex: 0 0 auto; float: none; }
    .abr-body .modal-dialog { margin: 10px; }
    .abr-body .form-horizontal .control-label { text-align: start; padding-top: 0; }
    .ticket-reply .user .type { margin-inline-start: 0; width: 100%; }
    .abr-auth-card { padding: 20px 16px; }
    .dataTables_filter input, .dataTables_filter .form-control { max-width: none; }
}
@media (max-width: 420px) {
    .abr-tiles { gap: 10px; }
    .abr-tile { flex-direction: column; align-items: flex-start; }
    .abr-ticket-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .abr-body * { transition: none !important; animation: none !important; }
}
@media print {
    .abr-topbar, #header.abr-header, .abr-pagehead, .sidebar, #footer.abr-footer,     body.abr-body { background: #fff; }
    .abr-layout { display: block; }
    .abr-body .panel, .ticket-reply, .abr-card { box-shadow: none; }
}

/* ───────── list rows (services / domains) ───────── */
.abr-row-icon {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; font-size: 16px;
    background: linear-gradient(135deg, var(--abr-primary), var(--abr-cyan)); vertical-align: middle; margin-inline-end: 10px;
}
.abr-row-icon.kind-vps { background: linear-gradient(135deg, #0b8fa8, #35d0b4); }
.abr-row-icon.kind-dedicated { background: linear-gradient(135deg, #073b36, #0e9482); }
.abr-row-icon.kind-ssl { background: linear-gradient(135deg, #e8a81c, #f5c24b); }
.abr-row-icon.kind-domain { background: linear-gradient(135deg, #16a068, #35d0b4); }
.abr-row-main { display: inline-block; vertical-align: middle; line-height: 1.6; }

.abr-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.abr-actions li a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--abr-border); border-radius: 10px; color: var(--abr-text); font-weight: 600; background: #fff; }
.abr-actions li a:hover { border-color: var(--abr-primary); background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.abr-actions li a:before { content: "\f061"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 11px; color: var(--abr-primary); }
html[dir="rtl"] .abr-actions li a:before { content: "\f060"; }
.abr-ticket-box.is-selected { border-color: var(--abr-primary); box-shadow: 0 0 0 3px rgba(14, 148, 130, .15); }

.abr-dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.abr-dept-card { display: flex; align-items: center; gap: 14px; background: var(--abr-surface); border: 1px solid var(--abr-border); border-radius: var(--abr-radius); padding: 16px 18px; box-shadow: var(--abr-shadow); color: var(--abr-text) !important; transition: all .15s; }
.abr-dept-card:hover { border-color: var(--abr-primary); transform: translateY(-2px); box-shadow: var(--abr-shadow-lg); }
.abr-dept-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--abr-primary), var(--abr-cyan)); color: #fff; font-size: 19px; }
.abr-dept-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.abr-dept-body strong { color: var(--abr-ink); }
.abr-dept-desc { color: var(--abr-muted); font-size: 12.5px; line-height: 1.7; }
.abr-dept-go { color: var(--abr-muted); font-size: 12px; }

.client-home-panels .panel-title .btn { white-space: nowrap; }
.client-home-panels .panel-title > .pull-right { margin-inline-start: auto; float: none !important; }
.client-home-panels .panel-title > span:first-of-type { min-width: 0; }

.abr-tile { padding: 14px; gap: 10px; }
.abr-tile > span:last-child { min-width: 0; line-height: 1.5; }
.abr-tile .abr-tile-title { white-space: nowrap; }
.abr-tile .abr-tile-icon { width: 44px; height: 44px; font-size: 18px; }
.abr-tiles { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }

/* safety net: wide tables never widen the page */
.table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.abr-body .main-content { min-width: 0; }

/* mixed-direction third-party output (e.g. "4096 MB") reads correctly in RTL */
.module-client-area td, .module-client-area th, .module-client-area dd, .module-client-area li { unicode-bidi: plaintext; }
.table-container table.dataTable, .table-container table.table-list { width: 100% !important; }

/* hero search: beat bootstrap table layout, drop nested band */
#home-banner.abr-pagehead { background: transparent; box-shadow: none; }
#home-banner .abr-domain-search .input-group.input-group-lg { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; width: 100%; }
#home-banner .abr-domain-search .input-group.input-group-lg > .form-control { display: block; flex: 1 1 auto; width: 1%; min-width: 0; float: none; }
#home-banner .abr-domain-search .input-group.input-group-lg > .input-group-btn { display: flex; flex: 0 0 auto; width: auto; gap: 8px; padding: 0; font-size: inherit; white-space: nowrap; }
#home-banner .abr-domain-search .input-group-btn > .btn { float: none; margin: 0; }
@media (max-width: 767px) {
  #home-banner .abr-domain-search .input-group.input-group-lg { flex-direction: column; }
  #home-banner .abr-domain-search .input-group.input-group-lg > .form-control { width: 100%; }
  #home-banner .abr-domain-search .input-group-btn { width: 100%; }
  #home-banner .abr-domain-search .input-group-btn > .btn { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   19  MODERN LAYER — «کله‌غازی» identity (mallard teal-green + gold accent)
   Loaded last on purpose: restyles shapes, depth and rhythm without
   touching any markup contract used by modules.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --abr-r-xl: 26px; --abr-r-lg: 20px; --abr-r-md: 14px;
    --abr-gold: #f2b134; --abr-gold-soft: #fff3d6;
    --abr-grad: linear-gradient(135deg, #0fa592 0%, #0a6f62 100%);
    --abr-grad-deep: linear-gradient(140deg, #04201e 0%, #073b36 45%, #0b5d52 100%);
    --abr-shadow: 0 1px 2px rgba(5, 60, 54, .04), 0 10px 30px -12px rgba(5, 60, 54, .16);
    --abr-shadow-lg: 0 24px 60px -20px rgba(5, 60, 54, .38);
    --abr-ring: 0 0 0 4px rgba(14, 148, 130, .16);
}
body.abr-body {
    background:
        radial-gradient(900px 420px at 88% -80px, rgba(53, 208, 180, .26), transparent 62%),
        radial-gradient(700px 380px at 4% 120px, rgba(242, 177, 52, .10), transparent 60%),
        #eef5f2;
    background-attachment: fixed;
    font-size: 14.5px;
}
.abr-body h1, .abr-body h2, .abr-body h3, .abr-body h4 { letter-spacing: -.01em; }

/* ── top utility strip ── */
.abr-topbar { background: transparent; color: var(--abr-muted); font-size: 12.5px; }
.abr-topbar .container { min-height: 40px; }
.abr-topbar a { color: var(--abr-text); }
.abr-topbar a:hover { color: var(--abr-primary-dark); }
.abr-topbar .abr-top-contact i { color: var(--abr-primary); }
.abr-topbar .top-nav > li > a:hover { background: rgba(14, 148, 130, .08); }
.abr-topbar .top-nav .primary-action > a.btn { background: var(--abr-grad); color: #fff; border-radius: 999px; padding: 4px 16px; box-shadow: 0 8px 18px -8px rgba(14, 148, 130, .7); }
.abr-topbar .top-nav .primary-action > a.btn:hover { background: var(--abr-primary-dark); color: #fff; }
.abr-topbar .top-nav .label-info { background: var(--abr-gold); color: #4a3200; }

/* ── floating island header ── */
#header.abr-header { background: transparent; border: 0; box-shadow: none; padding: 6px 0 0; }
.abr-header .container {
    width: calc(100% - 24px); max-width: 1230px; min-height: 68px; padding: 0 14px;
    background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 16px 40px -18px rgba(5, 60, 54, .35);
}
.abr-header .logo img { max-height: 46px; max-width: 190px; width: auto; height: auto; object-fit: contain; }
.abr-header .logo.logo-text, .abr-header .logo .logo-text-fb { font-size: 21px; font-weight: 900; color: var(--abr-navy); background: var(--abr-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.abr-header .logo.logo-text:before { display: none; }
.abr-header .navbar-nav > li > a { border-radius: 12px; padding: 9px 14px; color: var(--abr-text); }
.abr-header .navbar-nav > li > a > i { color: var(--abr-primary); }
.abr-header .navbar-nav > li > a:hover, .abr-header .navbar-nav > .open > a, .abr-header .navbar-nav > .open > a:hover, .abr-header .navbar-nav > .open > a:focus { background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.abr-header .navbar-nav > .active > a { background: var(--abr-navy); color: #fff; }
.abr-header .navbar-nav > .active > a > i { color: var(--abr-cyan); }
.abr-header .dropdown-menu { border: 0; border-radius: var(--abr-r-lg); padding: 10px; box-shadow: var(--abr-shadow-lg); margin-top: 14px; }
.abr-header .dropdown-menu > li > a { border-radius: 12px; padding: 9px 12px; }
.abr-header .navbar-toggle { border-radius: 14px; background: var(--abr-primary-soft); border: 0; }

/* ── page heading: rounded gradient card ── */
.abr-pagehead { background: transparent; padding: 14px 0 0; overflow: visible; }
.abr-pagehead:before, .abr-pagehead:after { display: none; }
.abr-pagehead:not(#home-banner) > .container {
    width: calc(100% - 24px); max-width: 1230px; padding: 26px 32px; border-radius: var(--abr-r-xl); overflow: hidden;
    background:
        radial-gradient(420px 220px at 12% 120%, rgba(242, 177, 52, .30), transparent 70%),
        radial-gradient(520px 300px at 92% -20%, rgba(53, 208, 180, .45), transparent 70%),
        var(--abr-grad-deep);
    box-shadow: var(--abr-shadow-lg); position: relative;
}
.abr-pagehead:not(#home-banner) > .container:before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%);
}
html[dir="rtl"] .abr-pagehead:not(#home-banner) > .container:before { -webkit-mask-image: linear-gradient(to right, #000, transparent 70%); mask-image: linear-gradient(to right, #000, transparent 70%); }
.abr-pagehead > .container > * { position: relative; }
.abr-pagehead h1 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.abr-pagehead .breadcrumb { display: inline-flex; flex-wrap: wrap; padding: 5px 14px; background: rgba(255, 255, 255, .10); border-radius: 999px; }

/* ── layout rhythm ── */
.abr-body .container { max-width: 1254px; }
#main-body { padding: 22px 0 46px; }
.abr-layout { gap: 22px; }
.abr-layout.has-sidebar { grid-template-columns: 280px minmax(0, 1fr); }
.abr-layout.has-sidebar.has-secondary { grid-template-columns: 280px minmax(0, 1fr) 280px; }
.abr-layout.no-sidebar.has-secondary { grid-template-columns: minmax(0, 1fr) 280px; }

/* ── sidebar cards ── */
.sidebar .panel-sidebar { border: 0; border-radius: var(--abr-r-lg); box-shadow: var(--abr-shadow); background: #fff; overflow: hidden; }
.sidebar .panel-sidebar > .panel-heading { padding: 16px 18px 8px; }
.sidebar .panel-sidebar .panel-title { font-size: 13.5px; color: var(--abr-ink); }
.sidebar .panel-sidebar .panel-title > i:first-child {
    width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 13px;
    background: var(--abr-primary-soft); color: var(--abr-primary-dark);
}
.sidebar .list-group { padding: 0 10px 10px; }
.sidebar .list-group-item { border-radius: 12px !important; padding: 10px 12px; font-weight: 500; }
.sidebar .list-group-item > i { color: var(--abr-primary); opacity: .75; }
.sidebar a.list-group-item:hover { background: var(--abr-primary-soft); transform: none; }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover, .sidebar .list-group-item.active:focus {
    background: var(--abr-grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(14, 148, 130, .8);
}
.sidebar .list-group-item.active > i { color: #fff; opacity: 1; }

/* ── generic cards / panels ── */
.abr-body .panel, .abr-card, .abr-body .well, .abr-fact, .abr-body .announcement-single, .table-container {
    border: 1px solid rgba(5, 60, 54, .06); border-radius: var(--abr-r-lg); box-shadow: var(--abr-shadow);
}
.abr-body .panel > .panel-heading { border-radius: var(--abr-r-lg) var(--abr-r-lg) 0 0; padding: 16px 20px; border-bottom: 1px solid var(--abr-border-soft); }
.abr-body .panel-title { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.abr-body .panel-title > i:first-child {
    width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; margin: 0;
    background: var(--abr-primary-soft); color: var(--abr-primary-dark); font-size: 14px;
}
.abr-body .panel-body { padding: 20px; }
.abr-body .panel-footer { border-radius: 0 0 var(--abr-r-lg) var(--abr-r-lg); padding: 14px 20px; background: #f7fbf9; }
.abr-body .panel-primary, .abr-body .panel-info, .abr-body .panel-success, .abr-body .panel-warning, .abr-body .panel-danger, .abr-body .panel[class*="panel-accent-"] { border-top-width: 1px; position: relative; }
.abr-body .panel-primary:before, .abr-body .panel-info:before, .abr-body .panel-success:before, .abr-body .panel-warning:before, .abr-body .panel-danger:before, .abr-body .panel[class*="panel-accent-"]:before {
    content: ""; position: absolute; inset-inline: 20px; top: -1px; height: 3px; border-radius: 0 0 6px 6px; background: var(--abr-primary);
}
.abr-body .panel-info:before { background: var(--abr-cyan); } .abr-body .panel-success:before { background: var(--abr-success); }
.abr-body .panel-warning:before { background: var(--abr-gold); } .abr-body .panel-danger:before { background: var(--abr-danger); }
.abr-body .panel-accent-gold:before, .abr-body .panel-accent-orange:before { background: var(--abr-gold); }
.abr-body .panel-accent-red:before { background: var(--abr-danger); }
.abr-body .panel-accent-green:before, .abr-body .panel-accent-emerald:before { background: var(--abr-success); }
.abr-body .panel-accent-purple:before, .abr-body .panel-accent-amethyst:before { background: #7c5cd6; }

/* ── buttons ── */
.abr-body .btn { border-radius: 12px; padding: 8px 18px; font-weight: 700; }
.abr-body .btn-primary, .abr-body .btn-success, .abr-body .btn-info {
    background: var(--abr-grad); border: 0; color: #fff; box-shadow: 0 10px 22px -10px rgba(14, 148, 130, .75);
}
.abr-body .btn-primary:hover, .abr-body .btn-primary:focus, .abr-body .btn-success:hover, .abr-body .btn-info:hover { background: linear-gradient(135deg, #0b8f7e, #085a50); color: #fff; transform: translateY(-1px); }
.abr-body .btn-success { background: linear-gradient(135deg, #1fb673, #0f8a52); box-shadow: 0 10px 22px -10px rgba(22, 160, 104, .8); }
.abr-body .btn-warning { background: linear-gradient(135deg, #f7c04a, #e8a81c); border: 0; color: #3d2b00; box-shadow: 0 10px 22px -10px rgba(232, 168, 28, .8); }
.abr-body .btn-danger { background: linear-gradient(135deg, #ea4d5d, #c9303f); border: 0; box-shadow: 0 10px 22px -10px rgba(220, 59, 75, .7); }
.abr-body .btn-default { background: #fff; border: 1px solid var(--abr-border); box-shadow: 0 1px 2px rgba(5, 60, 54, .04); }
.abr-body .btn-default:hover { border-color: var(--abr-primary); background: var(--abr-primary-soft); color: var(--abr-primary-dark); }
.abr-body .btn-lg { border-radius: 14px; padding: 12px 26px; }

/* ── forms ── */
.abr-body .form-control { height: 46px; border-radius: 12px; background: #f8fcfb; border: 1px solid var(--abr-border); padding-inline: 15px; }
.abr-body textarea.form-control { height: auto; }
.abr-body .form-control:focus { background: #fff; border-color: var(--abr-primary); box-shadow: var(--abr-ring); }
.abr-body .input-lg { height: 54px; border-radius: 14px; }
.abr-body .input-group-btn .btn { height: 46px; }
.abr-body .input-group-addon { background: var(--abr-primary-soft); border-color: var(--abr-border); }
.abr-body label { font-size: 13px; }

/* ── tables ── */
.table-container { padding: 18px 20px 8px; border-radius: var(--abr-r-lg); overflow: hidden; }
.abr-body .table > thead > tr > th { background: transparent; border-bottom: 1px solid var(--abr-border); font-size: 12px; letter-spacing: .02em; color: var(--abr-muted); text-transform: uppercase; }
.abr-body .table > tbody > tr > td { border-top: 1px dashed var(--abr-border-soft); padding: 14px 12px; }
.abr-body .table > tbody > tr:first-child > td { border-top: 0; }
.abr-body .table-striped > tbody > tr:nth-of-type(odd) { background: transparent; }
.abr-body .table-hover > tbody > tr:hover, .abr-body .table-list > tbody > tr:hover { background: #f1faf7; }
.dataTables_filter input, .dataTables_filter .form-control { background-color: #f8fcfb; height: 44px; border-radius: 14px; }
.abr-body .pagination > li > a, .abr-body .pagination > li > span { border: 0; border-radius: 10px !important; margin: 0 2px; color: var(--abr-text); background: transparent; }
.abr-body .pagination > .active > a, .abr-body .pagination > .active > span { background: var(--abr-grad); color: #fff; }

/* ── status pills with dot ── */
.abr-body .label.status, .abr-body [class*="status-"].label { display: inline-flex; align-items: center; gap: 6px; padding: .3em .9em .3em .8em; font-weight: 700; }
.abr-body .label.status:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }

/* ── tabs ── */
.abr-body .nav-tabs { border: 0; background: #e8f1ee; border-radius: 16px; padding: 5px; display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.abr-body .nav-tabs > li { float: none; margin: 0; }
.abr-body .nav-tabs > li > a { border: 0 !important; border-radius: 12px; padding: 8px 16px; margin: 0; color: var(--abr-muted); font-weight: 700; background: transparent; }
.abr-body .nav-tabs > li.active > a, .abr-body .nav-tabs > li.active > a:hover { background: #fff; color: var(--abr-primary-dark); box-shadow: 0 4px 12px -4px rgba(5, 60, 54, .25); }

/* ── dashboard ── */
.abr-welcome {
    background: radial-gradient(380px 200px at 100% -30%, rgba(53, 208, 180, .45), transparent 70%), radial-gradient(300px 200px at 0 130%, rgba(242, 177, 52, .30), transparent 70%), var(--abr-grad-deep);
    border: 0; border-radius: var(--abr-r-xl); padding: 28px 30px; box-shadow: var(--abr-shadow-lg); color: #fff;
}
.abr-welcome h2 { color: #fff; font-size: 22px; font-weight: 900; }
.abr-welcome p { color: #b8e0d7; }
.abr-welcome .btn-default { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: #fff; box-shadow: none; }
.abr-welcome .btn-default:hover { background: #fff; color: var(--abr-navy); }
.abr-welcome .btn-primary { background: var(--abr-gold); color: #3d2b00; box-shadow: 0 10px 24px -10px rgba(242, 177, 52, .9); }
.abr-tiles { gap: 18px; }
.abr-tile { border: 1px solid rgba(5, 60, 54, .06); border-radius: var(--abr-r-lg); padding: 20px; box-shadow: var(--abr-shadow); }
.abr-tile:before { content: ""; position: absolute; inset-inline-end: -26px; inset-block-start: -26px; width: 96px; height: 96px; border-radius: 50%; background: var(--abr-primary-soft); opacity: .8; transition: transform .3s; }
.abr-tile:hover:before { transform: scale(1.5); }
.abr-tile > * { position: relative; }
.abr-tile .abr-tile-icon { width: 54px; height: 54px; border-radius: 18px; box-shadow: 0 12px 22px -10px rgba(5, 60, 54, .5); }
.abr-tile .abr-tile-stat { font-size: 30px; font-weight: 900; }
.abr-quick a { border: 1px solid rgba(5, 60, 54, .06); border-radius: var(--abr-r-lg); padding: 20px 12px; box-shadow: var(--abr-shadow); }
.abr-quick a i { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--abr-primary-soft); font-size: 21px; margin-bottom: 4px; }
.abr-quick a:hover { background: #fff; border-color: transparent; box-shadow: var(--abr-shadow-lg); }
.abr-quick a:hover i { background: var(--abr-grad); color: #fff; }
.abr-kbsearch .form-control, .home-kb-search .form-control { border-radius: 18px; background: #fff; height: 56px; box-shadow: var(--abr-shadow); }

/* ── service details ── */
.abr-svc-hero { border: 1px solid rgba(5, 60, 54, .06); border-radius: var(--abr-r-xl); padding: 24px 26px; box-shadow: var(--abr-shadow); }
.abr-svc-hero:before { width: auto; inset-inline: 0; inset-block: 0 auto; height: 5px; }
.abr-svc-hero:after { content: ""; position: absolute; inset-inline-end: -70px; inset-block-end: -90px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(53, 208, 180, .20), transparent 70%); pointer-events: none; }
.abr-svc-hero > * { position: relative; z-index: 1; }
.abr-svc-hero .abr-svc-icon { width: 72px; height: 72px; border-radius: 22px; font-size: 30px; box-shadow: 0 16px 28px -12px rgba(5, 60, 54, .6); background: var(--abr-grad); }
.abr-svc-hero h2 { font-size: 21px; font-weight: 900; }
.abr-fact { padding: 16px 18px; }
.abr-fact .abr-fact-label i { width: 24px; height: 24px; border-radius: 8px; background: var(--abr-primary-soft); display: inline-grid; place-items: center; font-size: 11px; }
.abr-usage .abr-usage-item { background: #f6fbf9; border-radius: var(--abr-r-md); }
.abr-body .progress { height: 12px; }
.abr-body .progress-bar { background: var(--abr-grad); }

/* ── domains / hero search ── */
#home-banner.abr-pagehead > .container {
    width: calc(100% - 24px); max-width: 1230px; border-radius: 32px; padding: 54px 32px 56px; overflow: hidden; position: relative;
    background:
        radial-gradient(520px 320px at 85% -10%, rgba(53, 208, 180, .55), transparent 70%),
        radial-gradient(420px 260px at 8% 115%, rgba(242, 177, 52, .38), transparent 70%),
        var(--abr-grad-deep);
    box-shadow: var(--abr-shadow-lg);
}
#home-banner > .container:before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 24px 24px; }
.abr-domain-search { background: transparent; box-shadow: none; padding: 0; border-radius: 0; position: relative; }
.abr-domain-search h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.abr-domain-search p { font-size: 15.5px; margin-bottom: 26px; }
#home-banner .abr-domain-search .input-group.input-group-lg { max-width: 820px; padding: 8px; background: rgba(255, 255, 255, .96); border-radius: 22px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); gap: 8px; }
#home-banner .abr-domain-search .form-control { background: transparent; border: 0; box-shadow: none; height: 54px; font-size: 16px; }
#home-banner .abr-domain-search .btn { height: 54px; border-radius: 16px !important; }
#home-banner .abr-domain-search .btn.search { background: var(--abr-grad); color: #fff; border: 0; }
#home-banner .abr-domain-search .btn.transfer { background: var(--abr-gold-soft); color: #6b4a00; border: 0; }

/* ── tickets ── */
.abr-ticket-box { border-radius: var(--abr-r-lg); border: 1px solid rgba(5, 60, 54, .06); box-shadow: var(--abr-shadow); }
.abr-dept-card { border-radius: var(--abr-r-lg); border: 1px solid rgba(5, 60, 54, .06); box-shadow: var(--abr-shadow); }
.abr-dept-card:hover { box-shadow: var(--abr-shadow-lg); transform: translateY(-3px); border-color: transparent; }
.abr-body .ticket-reply, .abr-ticket-head { border-radius: var(--abr-r-lg); border: 1px solid rgba(5, 60, 54, .06); box-shadow: var(--abr-shadow); }

/* ── alerts / modals / popovers ── */
.abr-body .alert { border-radius: var(--abr-r-md); border-width: 1px; padding: 14px 18px; box-shadow: var(--abr-shadow); }
.abr-body .modal-content { border: 0; border-radius: var(--abr-r-xl); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(5, 40, 36, .6); }
.abr-body .modal-header { background: var(--abr-grad-deep); color: #fff; border: 0; padding: 18px 24px; }
.abr-body .modal-header .modal-title, .abr-body .modal-header h4 { color: #fff; }
.abr-body .modal-header .close { color: #fff; opacity: .8; text-shadow: none; }
.abr-body .popover { border: 0; border-radius: var(--abr-r-md); box-shadow: var(--abr-shadow-lg); padding: 6px; }

/* ── auth ── */
.abr-auth-card { border: 0; border-radius: 30px; padding: 36px 34px; box-shadow: var(--abr-shadow-lg); position: relative; overflow: hidden; }
.abr-auth-card:before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--abr-grad); }

/* ── footer: rounded dark island ── */
#footer.abr-footer {
    margin: 10px 12px 12px; border-radius: 34px; color: #a9d3ca; position: relative; overflow: hidden;
    background: radial-gradient(520px 300px at 90% -20%, rgba(53, 208, 180, .30), transparent 70%), radial-gradient(420px 260px at 0 120%, rgba(242, 177, 52, .16), transparent 70%), var(--abr-grad-deep);
}
.abr-footer-main { padding: 46px 12px 26px; }
.abr-footer h5 { color: #fff; font-size: 14.5px; position: relative; padding-bottom: 10px; }
.abr-footer h5:after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 26px; height: 3px; border-radius: 3px; background: var(--abr-gold); }
.abr-footer a { color: #a9d3ca; } .abr-footer a:hover { color: #fff; }
.abr-footer .foot-logo { display: inline-block; margin-bottom: 4px; }
.abr-footer .foot-logo img { max-height: 58px; max-width: 220px; width: auto; height: auto; object-fit: contain; display: block; }
.abr-footer .foot-logo.on-light { background: #fff; border-radius: 18px; padding: 10px 16px; }
.abr-footer .foot-logo.foot-logo-text { color: #fff; font-weight: 900; font-size: 22px; }
.abr-footer-bottom { border-top-color: rgba(255, 255, 255, .10); padding: 18px 12px; }

/* ── responsive polish ── */
@media (max-width: 991px) {
    .abr-header .container { min-height: 62px; border-radius: 18px; }
    .abr-header .navbar-collapse { background: #fff; border-radius: 18px; margin-top: 8px; padding: 8px; box-shadow: var(--abr-shadow); }
    .abr-pagehead:not(#home-banner) > .container { padding: 20px 20px; border-radius: 22px; }
    .abr-pagehead h1 { font-size: 21px; }
    #home-banner.abr-pagehead > .container { padding: 34px 18px 36px; border-radius: 26px; }
    .abr-domain-search h2 { font-size: 24px; }
    .abr-welcome { padding: 22px 20px; border-radius: 22px; }
    #footer.abr-footer { border-radius: 26px; }
}
@media (max-width: 767px) {
    .abr-topbar .abr-top-contact { display: none; }
    .abr-topbar .container { justify-content: flex-end; }
    #home-banner .abr-domain-search .input-group.input-group-lg { padding: 8px; }
}

/* fixes after first review */
.abr-header .logo .logo-text-fb { font-size: 21px; font-weight: 900; color: var(--abr-navy); }
.abr-footer .foot-logo .logo-text-fb { color: #fff; font-size: 22px; font-weight: 900; }
.abr-header .logo.logo-text { -webkit-text-fill-color: initial; background: none; }
.abr-pagehead:not(#home-banner) > .container { background: radial-gradient(420px 220px at 12% 130%, rgba(242, 177, 52, .14), transparent 70%), radial-gradient(520px 300px at 92% -20%, rgba(53, 208, 180, .45), transparent 70%), var(--abr-grad-deep); }
#home-banner.abr-pagehead > .container { background: radial-gradient(520px 320px at 85% -10%, rgba(53, 208, 180, .55), transparent 70%), radial-gradient(420px 260px at 8% 115%, rgba(242, 177, 52, .16), transparent 70%), var(--abr-grad-deep); }
.abr-welcome { background: radial-gradient(380px 200px at 100% -30%, rgba(53, 208, 180, .45), transparent 70%), radial-gradient(300px 200px at 0 130%, rgba(242, 177, 52, .14), transparent 70%), var(--abr-grad-deep); }
.abr-body .abr-kbsearch .form-control, .abr-body .home-kb-search .form-control { padding-inline: 52px 16px; }

/* modern-layer grids must still stack on tablets/phones (placed last to win the cascade) */
@media (max-width: 991px) {
    .abr-layout.has-sidebar, .abr-layout.has-sidebar.has-secondary, .abr-layout.no-sidebar.has-secondary { grid-template-columns: minmax(0, 1fr); }
    .abr-layout > .main-content { order: 1; }
    .abr-layout > .sidebar { order: 2; }
    .abr-layout > .sidebar-secondary { order: 3; grid-column: auto; }
}
@media (max-width: 575px) {
    .abr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .abr-tile { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
    .abr-tile .abr-tile-stat { font-size: 26px; }
    .abr-svc-hero { grid-template-columns: 1fr; text-align: start; }
    .abr-svc-hero .abr-svc-actions { justify-content: flex-start; }
}
.table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-container .dataTables_wrapper { min-width: 0; }
@media (max-width: 767px) { .table-container table.dataTable { min-width: 560px; } }

/* ═══════════════════════════════════════════════════════════════════════
   20  MOBILE / TABLET HARDENING
   ═══════════════════════════════════════════════════════════════════════ */
/* Safety nets: long tokens (e-mail, domains, hashes) wrap instead of widening the page */
.abr-body .main-content, .abr-body .sidebar, .abr-body .panel, .abr-body .modal-body, .abr-body .alert { overflow-wrap: break-word; }
.abr-body .main-content img, .abr-body .main-content video, .abr-body .main-content iframe { max-width: 100%; height: auto; }
.abr-body pre { white-space: pre-wrap; word-break: break-word; overflow-x: auto; max-width: 100%; }
.abr-body .main-content .row { margin-inline: -10px; }
.abr-body .main-content .row > [class*="col-"] { padding-inline: 10px; }
.abr-body.abr-body { overflow-x: clip; }
.abr-body input[type="checkbox"], .abr-body input[type="radio"] { accent-color: var(--abr-primary); }

/* Plain tables that WHMCS templates do not wrap are made scrollable instead of widening the page */
@media (max-width: 767px) {
    .abr-body .main-content table.table:not(.dataTable):not(.abr-keep) { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .abr-body .main-content table.table:not(.dataTable) th, .abr-body .main-content table.table:not(.dataTable) td { white-space: normal; }
}

/* Touch ergonomics (≥40px targets, 16px inputs → no iOS zoom) */
@media (max-width: 991px) {
    .abr-body .btn, .abr-body .btn-sm { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
    .abr-body .btn-xs { min-height: 34px; padding-inline: 12px; }
    .abr-body .btn-block { display: flex; }
    .abr-body .btn-group > .btn, .abr-body .btn-group-vertical > .btn { display: inline-flex; }
    .abr-body .btn-group > .dropdown-toggle { min-width: 40px; }
    .abr-topbar .top-nav > li > a { min-height: 40px; }
    .abr-topbar .top-nav .primary-action > a.btn { min-height: 36px; padding-block: 2px; }
    .abr-body .pagination > li > a, .abr-body .pagination > li > span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; }
    .abr-body input[type="checkbox"], .abr-body input[type="radio"] { width: 20px; height: 20px; margin-top: 2px; }
    .abr-body .checkbox label, .abr-body .radio label, .abr-body .checkbox-inline, .abr-body .radio-inline { min-height: 32px; padding-top: 4px; }
    .abr-body .list-group-item, .sidebar .list-group-item { min-height: 44px; }
    .abr-body .dropdown-menu > li > a { padding-block: 10px; }
    .abr-body .domain-tld-pricing-category, .abr-body a.label { min-height: 34px; display: inline-flex; align-items: center; }
    .abr-body .form-control, .abr-body select.form-control, .abr-body textarea.form-control { font-size: 16px; }
}

/* Phones + tablets (≤991): nav stays collapsed (the desktop menu needs ≥992px) */
@media (max-width: 991px) {
    .abr-header .container { flex-wrap: wrap; }
    .abr-header .navbar { flex: 1 1 100%; order: 3; }
    .abr-header .logo { order: 1; }
    .abr-header .navbar-header { float: none; position: absolute; inset-inline-end: 14px; inset-block-start: 14px; }
    .abr-header .navbar-toggle { display: block; margin: 0; }
    .abr-header .navbar-collapse.collapse { display: none !important; }
    .abr-header .navbar-collapse.collapse.in, .abr-header .navbar-collapse.collapsing { display: block !important; }
    .abr-header .navbar-collapse { width: 100%; overflow-y: auto; max-height: 70vh; margin: 8px 0 12px; }
    .abr-header .navbar-nav, .abr-header .navbar-nav.navbar-right { float: none !important; margin: 0; }
    .abr-header .navbar-nav > li { float: none; }
    .abr-header .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin: 0 0 6px; box-shadow: none; background: #f5faf8; border-radius: 14px; }
}
/* Phones: same collapsed panel, scrollable when tall */
@media (max-width: 767px) {
    .abr-header .navbar-collapse { max-height: 70vh; overflow-y: auto; }
    .abr-header .navbar-nav .open .dropdown-menu { background: #f5faf8; border-radius: 14px; box-shadow: none; margin: 0 0 6px; }
    .abr-header .navbar-nav > li > a { padding: 12px 14px; }
}

/* forms: horizontal groups must not exceed the column on phones */
.abr-body .form-horizontal .form-group { margin-inline: -10px; }
.abr-body .form-horizontal .form-group > [class*="col-"] { padding-inline: 10px; }
.abr-body .form-horizontal .control-label { text-align: start; }
@media (max-width: 767px) {
    .abr-body .form-horizontal .control-label { padding-top: 0; margin-bottom: 6px; }
    .abr-body .form-horizontal .form-group > [class*="col-"].col-sm-offset-3, .abr-body .form-horizontal .form-group > [class*="col-"].col-sm-offset-4 { margin-inline-start: 0; }
}
/* stand-alone anchors inside headings / single-link list rows get a touch-sized hit area */
@media (max-width: 991px) {
    .abr-body .main-content h1 a, .abr-body .main-content h2 a, .abr-body .main-content h3 a, .abr-body .main-content h4 a,
    .abr-body .main-content li > a:only-child, .abr-body .main-content .kbcategories a, .abr-body .main-content .announcement-single a.title { display: inline-block; padding-block: 6px; }
    .abr-body .md-control { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
}


/* ── Phones: list tables become stacked cards (labels come from <th> via abr.js) ── */
@media (max-width: 767px) {
    .table-container { padding: 6px; background: transparent; border: 0; box-shadow: none; overflow: visible; }
    .table-container table.dataTable { min-width: 0 !important; }
    .abr-body table.abr-stack, .abr-body table.abr-stack > tbody, .abr-body table.abr-stack > tbody > tr,
    .abr-body .abr-stack.dataTable, .abr-body .abr-stack.dataTable > tbody, .abr-body .abr-stack.dataTable > tbody > tr { display: block; width: 100% !important; }
    .abr-body table.abr-stack > thead, .abr-body .abr-stack.dataTable > thead { display: none; }
    .abr-body table.abr-stack > tbody > tr, .abr-body .abr-stack.dataTable > tbody > tr {
        background: #fff; border: 1px solid rgba(5, 60, 54, .07); border-radius: 18px; padding: 10px 16px; margin-bottom: 12px; box-shadow: var(--abr-shadow);
    }
    .abr-body table.abr-stack > tbody > tr:hover { background: #fff; }
    .abr-body table.abr-stack > tbody > tr > td, .abr-body .abr-stack.dataTable > tbody > tr > td {
        display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 0 !important; padding: 7px 0 !important; text-align: end; width: auto !important;
    }
    .abr-body table.abr-stack > tbody > tr > td + td { border-top: 1px dashed var(--abr-border-soft) !important; }
    .abr-body table.abr-stack > tbody > tr > td:before, .abr-body .abr-stack.dataTable > tbody > tr > td:before {
        content: attr(data-label); flex: 0 0 34%; max-width: 40%; text-align: start; color: var(--abr-muted); font-size: 12px; font-weight: 700;
    }
    .abr-body table.abr-stack > tbody > tr > td[data-label=""]:before, .abr-body table.abr-stack > tbody > tr > td:not([data-label]):before { display: none; }
    .abr-body table.abr-stack > tbody > tr > td[data-label=""] { justify-content: flex-start; }
    .abr-body table.abr-stack > tbody > tr > td.dataTables_empty { display: block; text-align: center; }
    .abr-body table.abr-stack > tbody > tr > td.dataTables_empty:before { display: none; }
    .abr-body table.abr-stack > tbody > tr > td .label, .abr-body table.abr-stack > tbody > tr > td .btn-group { margin-inline-start: auto; }
}
@media (max-width: 767px) {
    .abr-body table.abr-stack > tbody > tr > td .btn-group { display: inline-flex; flex-direction: row; }
    .abr-body table.abr-stack > tbody > tr > td .btn-group > .btn { flex: 0 0 auto; }
    .abr-body table.abr-stack > tbody > tr > td .btn-group .dropdown-menu { inset-inline-end: 0; inset-inline-start: auto; }
}
.abr-body .label, .abr-body .label.status { font-size: 12px; }
@media (max-width: 991px) {
    .abr-body .main-content :is(div, section, h1, h2, h3, h4, h5, h6, dd, dt) > a:not(.btn):not([class*="label"]):not(.list-group-item):not(.logo),
    .abr-body .main-content p > a:only-child:not(.btn) { display: inline-block; padding-block: 6px; }
    .abr-body .content-padded a { display: inline-block; padding-block: 6px; }
}

@media (max-width: 767px) {
    .abr-body table.abr-stack > tbody > tr > td .form-control, .abr-body table.abr-stack > tbody > tr > td select, .abr-body table.abr-stack > tbody > tr > td input[type="text"] { flex: 1 1 auto; min-width: 0; max-width: 100%; width: 100%; }
    .abr-body table.abr-stack > tbody > tr > td:has(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { flex-wrap: wrap; }
    .abr-body table.abr-stack > tbody > tr > td:has(input:not([type="checkbox"]):not([type="radio"]), select, textarea):before { flex-basis: 100%; max-width: 100%; }
    .abr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .abr-fact { padding: 12px 14px; }
    .abr-fact .abr-fact-value { font-size: 14px; }
    .abr-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; padding-top: 34px; }
    .abr-footer-main .abr-foot-brand { grid-column: 1 / -1; }
}
.abr-footer-main .abr-foot-brand { grid-column: auto; }
@media (max-width: 1199px) { .abr-footer-main .abr-foot-brand { grid-column: 1 / -1; } .abr-footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .abr-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* unstyled native controls that some core templates output without .form-control */
.abr-body .main-content :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], select, textarea):not(.form-control):not(.no-style):not([class*="select2"]):not(.module-client-area *):not(.dataTables_filter *):not(.dataTables_length *) {
    min-height: 44px; border: 1px solid var(--abr-border); border-radius: 12px; background-color: #f8fcfb; padding: 8px 14px; max-width: 100%; box-shadow: none; color: var(--abr-text);
}
.abr-body .main-content textarea:not(.form-control):not(.module-client-area *) { min-height: 110px; width: 100%; }
.abr-body .main-content :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], select, textarea):not(.form-control):not(.no-style):not(.module-client-area *):not(.input-group *):not(.form-inline *):not(.dataTables_filter *):not(.dataTables_length *):not([class*="select2"]) { width: 100%; }
.abr-body .prepend-icon .field { width: 100%; }
.abr-body .prepend-icon .field:not(.form-control) { padding-inline-start: 42px; }
.abr-body .intl-tel-input, .abr-body .iti { width: 100%; display: block; }

/* markdown editor (ticket reply) */
.abr-body .md-editor { border: 1px solid var(--abr-border); border-radius: var(--abr-r-md); overflow: hidden; background: #fff; }
.abr-body .md-editor > .md-header { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: #f5faf8; border-bottom: 1px solid var(--abr-border-soft); float: none; }
.abr-body .md-editor > .md-header .btn-group { float: none; margin: 0; display: inline-flex; gap: 4px; }
.abr-body .md-editor > .md-header .btn { min-height: 36px; min-width: 36px; padding: 4px 10px; }
.abr-body .md-editor > textarea { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 160px; }
.abr-body .md-editor > .md-footer { padding: 6px 12px; color: var(--abr-muted); font-size: 12px; background: #f9fcfb; }
.abr-body .md-editor.active { border-color: var(--abr-primary); box-shadow: var(--abr-ring); }
/* bootstrap-switch (toggle) colors */
.abr-body .bootstrap-switch { border-radius: 999px; border-color: var(--abr-border); }
.abr-body .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .abr-body .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success { background: var(--abr-primary); }
.abr-body .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default { background: #e8f1ee; color: var(--abr-muted); }
/* verification-code / 2FA inputs */
.abr-body .verification-input, .abr-body input.verification { text-align: center; letter-spacing: .4em; font-size: 22px; font-weight: 700; }

/* ===== 21. Final hardening: skip link, topbar wrap, tap targets, store mobile ===== */
.abr-skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:2000;background:#06322e;color:#fff;padding:10px 16px;border-radius:0 0 10px 10px;font-weight:600;transition:top .15s}
.abr-skip:focus{top:0;color:#fff;text-decoration:none;outline:2px solid #f2b134}
#main-body:focus{outline:0}
.abr-topbar .container{flex-wrap:wrap;gap:4px 12px}
.abr-topbar ul.top-nav{flex-wrap:wrap;max-width:100%;min-width:0}
@media (max-width:575px){
  .abr-topbar .abr-lbl{display:none}
  .abr-topbar .abr-top-contact{display:none}
  .abr-topbar ul.top-nav{width:100%;justify-content:flex-end}
}
.oauth-login a,.switch-forced a,.forgot-password a{display:inline-block;padding:10px 4px;min-height:40px}
@media (max-width:575px){
  .landing-page .hero h2,.landing-page h2{font-size:24px!important;line-height:1.4}
  .landing-page h3{font-size:18px!important}
  .landing-page,.landing-page *{overflow-wrap:break-word;word-break:break-word;max-width:100%}
  .landing-page img{height:auto}
  .landing-page .navbar-header{overflow:hidden}
}

/* tap targets: standalone links inside forms/paragraphs */
.oauth-wrapper a[href*="password-reset"],.card-body > p > a,#frmLogin a[href*="password-reset"],a[href*="password-reset"]{display:inline-block;padding:10px 6px;min-height:40px}
p > a[href*="clientarea-home"],.switch-account-forced a,#main-body p > a:only-child{display:inline-block;padding:10px 6px;min-height:40px}
/* cart / orderform: never exceed viewport */
.abr-layout.is-cart,.abr-layout.is-cart .main-content{max-width:100%;min-width:0}
.abr-layout.is-cart #order-standard_cart,.abr-layout.is-cart #order-standard_cart .row{max-width:100%}
.abr-layout.is-cart .main-content{overflow-x:clip}
@media (max-width:991px){
  #main-body .container{padding-inline:12px}
  .abr-layout.is-cart #order-standard_cart .row{margin-inline:0}
  .abr-layout.is-cart #order-standard_cart [class*=col-]{padding-inline:6px}
}
@media (max-width:575px){html,body{overflow-x:clip}}
.abr-tap{display:inline-block;padding:10px 8px;min-height:40px;line-height:20px}
table.abr-stack td a.border-left{display:inline-block;padding-block:10px;min-height:40px}

/* ===== 22. Popovers (language / notifications) + collapsed nav fixes ===== */
/* bootstrap.rtl sets .popover{right:0;left:auto} which fights the inline left:Npx that popover.js computes,
   stretching the box and pushing it off-screen in RTL. Always position popovers from the left. */
.abr-body .popover{left:0;right:auto;min-width:200px;max-width:min(340px,calc(100vw - 24px));text-align:start}
.abr-body .popover.top>.arrow,.abr-body .popover.bottom>.arrow{left:50%;right:auto;margin-left:-11px;margin-right:0}
.abr-body .popover.top>.arrow:after,.abr-body .popover.bottom>.arrow:after{margin-left:-10px;margin-right:0;left:50%;right:auto}
.abr-body .popover-content{padding:6px;max-height:60vh;overflow-y:auto}
.abr-body .popover .client-alerts,.abr-body .popover ul{margin:0}
.abr-body .popover li a{min-height:40px;display:flex;align-items:center}
.abr-body .popover li.none{display:block}
.abr-topbar .top-nav>li>a{min-height:36px;display:inline-flex;align-items:center;gap:4px}
@media (max-width:991px){
  .abr-header .navbar{flex:1 1 100%;order:3;margin:0;width:100%;min-width:0}
  .abr-header .navbar-collapse{position:static;width:100%;inset:auto;max-height:70vh;overflow-y:auto;margin:8px 0 12px;padding:8px;background:#fff;border:1px solid var(--abr-border-soft);border-radius:18px;box-shadow:var(--abr-shadow)}
  .abr-header .navbar-nav,.abr-header .navbar-nav.navbar-right{float:none!important;margin:0;width:100%}
  .abr-header .navbar-nav>li{float:none;width:100%}
  .abr-header .navbar-nav>li>a{display:flex;align-items:center;min-height:44px;margin:0;white-space:normal}
  .abr-header .navbar-nav .open .dropdown-menu{position:static;float:none;width:100%;min-width:0;margin:0 0 6px}
  .abr-header .navbar-nav .dropdown-menu>li>a{min-height:42px;display:flex;align-items:center;white-space:normal}
  .abr-header .navbar-right{border-top:1px solid var(--abr-border-soft);margin-top:6px;padding-top:6px}
}
@media (max-width:991px){
  .abr-header .container{position:relative;row-gap:0}
  .abr-header .navbar{position:static}
  .abr-header .navbar-header{position:absolute;float:none;inset-inline-end:14px;inset-block-start:12px;z-index:3;margin:0;width:auto}
  .abr-header .navbar-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:44px;height:44px;min-height:44px;padding:0;margin:0}
  .abr-header .navbar-toggle .icon-bar{display:block;margin:0}
  .abr-header .navbar-collapse{margin-top:4px}
}
.abr-header .container::before,.abr-header .container::after,.abr-topbar .container::before,.abr-topbar .container::after{display:none!important;content:none}
@media (max-width:991px){
  .abr-header .logo{min-height:44px;order:1}
  .abr-header .navbar-header{inset-block-start:8px}
}

/* ===== 23. Status filter chips + full-height mobile menu drawer ===== */
.abr-filter-wrap{margin:0 0 16px}
.abr-filter{display:flex;flex-wrap:wrap;gap:8px}
.abr-chip{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 8px 6px 14px;padding-inline:14px 8px;border:1px solid var(--abr-border);border-radius:999px;background:#fff;color:var(--abr-text);font:inherit;font-weight:700;font-size:13.5px;cursor:pointer;box-shadow:var(--abr-shadow);transition:background .15s,border-color .15s,transform .15s,color .15s;white-space:nowrap}
.abr-chip:hover{border-color:var(--abr-primary);transform:translateY(-1px)}
.abr-chip:focus-visible{outline:0;box-shadow:var(--abr-ring)}
.abr-chip b{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:var(--abr-primary-soft);color:var(--abr-primary-dark);font-size:12.5px;font-weight:800}
.abr-chip.is-active{background:var(--abr-grad);border-color:transparent;color:#fff;box-shadow:0 10px 22px -10px rgba(14,148,130,.8)}
.abr-chip.is-active b{background:rgba(255,255,255,.24);color:#fff}
.abr-chip-dot{width:10px;height:10px;border-radius:50%;background:#9bb0ab;flex:0 0 auto}
.abr-chip.is-active .abr-chip-dot{box-shadow:0 0 0 2px rgba(255,255,255,.55)}
.abr-chip-dot.st-active,.abr-chip-dot.st-paid,.abr-chip-dot.st-accepted,.abr-chip-dot.st-completed{background:var(--abr-success)}
.abr-chip-dot.st-unpaid,.abr-chip-dot.st-overdue,.abr-chip-dot.st-collections,.abr-chip-dot.st-fraud,.abr-chip-dot.st-expired,.abr-chip-dot.st-terminated,.abr-chip-dot.st-lost{background:var(--abr-danger)}
.abr-chip-dot.st-pending,.abr-chip-dot.st-suspended,.abr-chip-dot.st-payment-pending,.abr-chip-dot.st-grace,.abr-chip-dot.st-redemption,.abr-chip-dot.st-pending-transfer,.abr-chip-dot.st-delivered{background:var(--abr-warning)}
@media (max-width:767px){
  .abr-filter{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;margin-inline:-12px;padding:4px 12px 10px;scrollbar-width:none}
  .abr-filter::-webkit-scrollbar{display:none}
  .abr-chip{scroll-snap-align:start;flex:0 0 auto}
}
/* the sidebar status filter is replaced by the chips above the list */
.page-clientareainvoices .sidebar .panel:has(.view-filter-btns),.page-clientareaproducts .sidebar .panel:has(.view-filter-btns),.page-clientareadomains .sidebar .panel:has(.view-filter-btns),.page-clientareaquotes .sidebar .panel:has(.view-filter-btns){display:none}

.abr-drawer-head,.abr-backdrop{display:none}
@media (max-width:991px){
  .abr-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:1;background:rgba(3,30,27,.55);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
  .abr-header .navbar-collapse,.abr-header .navbar-collapse.collapse{display:flex!important;flex-direction:column;position:fixed;inset-block:0;inset-inline:auto 0;width:min(88vw,380px);height:100vh!important;height:100dvh!important;max-height:none;margin:0;padding:0 14px 24px;background:#fff;border:0;border-radius:0;box-shadow:-20px 0 60px -20px rgba(3,30,27,.5);overflow-y:auto;overscroll-behavior:contain;z-index:2;visibility:hidden;transform:translateX(105%);transition:transform .28s ease,visibility 0s linear .28s}
  [dir=rtl] .abr-header .navbar-collapse,[dir=rtl] .abr-header .navbar-collapse.collapse{transform:translateX(-105%);box-shadow:20px 0 60px -20px rgba(3,30,27,.5)}
  .abr-nav-open .abr-header .navbar-collapse,.abr-nav-open .abr-header .navbar-collapse.collapse{visibility:visible;transform:none;transition:transform .28s ease}
  .abr-nav-open{overflow:hidden}
  .abr-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:2;background:#fff;margin:0 -14px 8px;padding:14px 16px;border-bottom:1px solid var(--abr-border-soft)}
  .abr-drawer-title{font-size:17px;font-weight:900;color:var(--abr-primary-dark)}
  .abr-drawer-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:14px;background:var(--abr-primary-soft);color:var(--abr-primary-dark);font-size:18px;cursor:pointer}
  .abr-header .navbar-collapse .navbar-nav{margin:0}
  .abr-header .navbar-nav>li>a{font-size:15px;min-height:50px;border-radius:14px}
  .abr-header .navbar-nav>li>a .caret{margin-inline-start:auto}
  .abr-header .navbar-nav .dropdown-menu{background:#f5faf8;border-radius:14px;margin:2px 0 8px;padding:6px}
  .abr-header .navbar-nav .dropdown-menu>li>a{min-height:46px;font-size:14.5px}
  .abr-header .navbar-right{margin-top:auto!important;padding-top:10px}
}
@media (max-width:991px){.abr-nav-open .abr-header .navbar-header{visibility:hidden}}
@media (max-width:991px){.abr-header .container{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,255,255,.97)}}
