/* ============================================================
   Arbiship UI 2026 (v5) - navy rail shell + white workspace, polished
   ------------------------------------------------------------
   Pairs with resources/views/common/header.blade.php (the v4 shell).
   Loads after admin-all-demo.css and style.css; page content markup is unchanged.
   Sidebar: 72px icon rail, expands to 264px on hover / focus, or stays open when pinned (html.ab-pinned).
   Scale: body 14px, labels 14px/500, table body 13.5px, table head 11.5px caps,
          controls 40px, small controls 32px, cards 14px radius, 24px card padding.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* navy scale */
  --ab-navy-950: #081327;
  --ab-navy-900: #0c1b36;
  --ab-navy-800: #112648;
  --ab-navy-700: #16315e;
  --ab-navy-600: #1d4280;
  --ab-navy-500: #2457a8;   /* primary */
  --ab-navy-400: #3b74d1;
  --ab-blue-300: #6ea0f0;   /* accent on navy */
  --ab-blue-100: #e3edfb;
  /* workspace */
  --ab-canvas: #f4f6fa;
  --ab-surface: #ffffff;
  --ab-surface-2: #f8f9fc;
  --ab-ink: #14213a;
  --ab-text: #334155;
  --ab-muted: #64748b;
  --ab-faint: #94a3b8;
  --ab-border: #e5e9f1;
  --ab-border-strong: #cfd7e3;
  /* status */
  --ab-success: #1f9d63;
  --ab-warning: #e0921c;
  --ab-danger: #dc4b3d;
  --ab-info: #2f7fe0;
  /* shape */
  --ab-r-lg: 14px;
  --ab-r: 10px;
  --ab-r-sm: 8px;
  --ab-shadow-xs: 0 1px 2px rgba(20, 33, 58, .05);
  --ab-shadow: 0 1px 2px rgba(20, 33, 58, .04), 0 12px 32px -20px rgba(20, 33, 58, .25);
  --ab-shadow-lg: 0 2px 6px rgba(20, 33, 58, .06), 0 30px 70px -30px rgba(12, 27, 54, .5);
  --ab-ring: 0 0 0 4px rgba(36, 87, 168, .16);
  --ab-font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ab-font-display: "Plus Jakarta Sans", "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --ab-rail-w: 72px;
  --ab-sidebar-w: 264px;
  --ab-topbar-h: 64px;
  --ab-ctl-h: 40px;
  --ab-ctl-sm-h: 32px;
}

/* =========================== base =========================== */
html { background: var(--ab-canvas); }
body { font-family: var(--ab-font-body); color: var(--ab-text); background: var(--ab-canvas); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, .title-hero, #page-title h2, .modal-title { font-family: var(--ab-font-display); color: var(--ab-ink); letter-spacing: -.015em; text-wrap: balance; }
a { color: var(--ab-navy-500); transition: color .15s; }
a:hover, a:focus { color: var(--ab-navy-400); text-decoration: none; }
body ::selection { background: rgba(36, 87, 168, .18); }
body :focus-visible { outline: 2px solid var(--ab-navy-400); outline-offset: 2px; }
body hr { border-color: var(--ab-border); margin: 18px 0; }
body small, body .small { font-size: 85%; }
/* the old template scales some pages by 0.96 on wide screens; keep everything at 1:1 */
body .panel, body .panel-box, body .panel-heading, body .panel-footer, body .popover, body .table-bordered { zoom: 1 !important; transform: none !important; }

/* =========================== app shell =========================== */
body .ab-app { display: flex; min-height: 100vh; background: var(--ab-canvas); }
body .ab-app #page-wrapper { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; float: none; margin: 0; padding: 0; width: auto; background: var(--ab-canvas); }
body .ab-app #page-content-wrapper { float: none; width: auto; position: static; z-index: auto; flex: 1 1 auto; }
body .ab-app #page-content { margin: 0; padding: 26px 32px 64px; max-width: 1280px; width: 100%; box-sizing: border-box; }
body .ab-app #page-content::after { content: ""; display: table; clear: both; }
body .ab-app #page-content > .container { width: auto; max-width: none; padding: 0; margin: 0; }

/* ---- sidebar: rail that expands ---- */
body .ab-sidebar { flex: 0 0 var(--ab-rail-w); width: var(--ab-rail-w); position: relative; z-index: 70; transition: flex-basis .2s ease, width .2s ease; }
html.ab-pinned body .ab-sidebar { flex-basis: var(--ab-sidebar-w); width: var(--ab-sidebar-w); }
body .ab-sidebar-panel { position: fixed; top: 0; left: 0; bottom: 0; width: var(--ab-rail-w); background: linear-gradient(180deg, var(--ab-navy-900) 0%, var(--ab-navy-950) 100%); color: #dbe4f3; display: flex; flex-direction: column; overflow: hidden; transition: width .2s ease, box-shadow .2s ease; }
body .ab-sidebar:hover .ab-sidebar-panel, body .ab-sidebar:focus-within .ab-sidebar-panel, html.ab-pinned body .ab-sidebar-panel { width: var(--ab-sidebar-w); }
body .ab-sidebar:hover .ab-sidebar-panel, body .ab-sidebar:focus-within .ab-sidebar-panel { box-shadow: 24px 0 60px -30px rgba(8, 19, 39, .55); }
html.ab-pinned body .ab-sidebar .ab-sidebar-panel { box-shadow: none; }

body .ab-brand { height: var(--ab-topbar-h); display: flex; align-items: center; padding: 0 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); flex: 0 0 auto; position: relative; }
body .ab-brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
body .ab-brand-mark { width: 44px; height: 44px; object-fit: contain; flex: 0 0 44px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
body .ab-brand-name { font-family: var(--ab-font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #fff; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease; }
body .ab-brand-name b { font-weight: 500; color: var(--ab-blue-300); }
body .ab-pin { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); color: #9fb3d1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .18s, background .15s, color .15s; }
body .ab-pin:hover { background: rgba(255, 255, 255, .14); color: #fff; }
body .ab-pin .ab-pin-ico-closed { display: none; }
html.ab-pinned body .ab-pin .ab-pin-ico-open { display: none; }
html.ab-pinned body .ab-pin .ab-pin-ico-closed { display: block; }
html.ab-pinned body .ab-pin { color: var(--ab-blue-300); }
body .ab-sidebar-close { display: none; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .08); border: 0; border-radius: 8px; width: 34px; height: 34px; color: #cfd9ea; cursor: pointer; align-items: center; justify-content: center; }

body .ab-nav { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 10px 12px 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
body .ab-nav-group { padding: 4px 0 8px; }
body .ab-nav-group + .ab-nav-group { margin-top: 6px; padding-top: 12px; position: relative; }
body .ab-nav-group + .ab-nav-group::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: rgba(255, 255, 255, .08); }
body .ab-nav-label { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6f85a8; padding: 6px 12px 8px; white-space: nowrap; opacity: 0; transition: opacity .18s ease; height: 30px; box-sizing: border-box; }
body .ab-nav-item { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 0 0 14px; margin: 2px 0; border-radius: 10px; color: #c3d0e4; font-weight: 500; font-size: 14px; text-decoration: none; position: relative; white-space: nowrap; transition: background .15s, color .15s; }
body .ab-nav-item svg { width: 20px; height: 20px; flex: 0 0 20px; color: #8ea3c4; transition: color .15s; }
body .ab-nav-item span { opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease; }
body .ab-nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
body .ab-nav-item:hover svg { color: #fff; }
body .ab-nav-item.is-active { background: rgba(110, 160, 240, .16); color: #fff; font-weight: 600; }
body .ab-nav-item.is-active::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ab-blue-300); }
body .ab-nav-item.is-active svg { color: var(--ab-blue-300); }
body .ab-sidebar-foot { border-top: 1px solid rgba(255, 255, 255, .08); padding: 8px 12px 12px; flex: 0 0 auto; }
body .ab-nav-item-alt { color: #9fb3d1; }
body .ab-nav-item-alt:hover { background: rgba(220, 75, 61, .14); color: #ffb3aa; }
body .ab-nav-item-alt:hover svg { color: #ffb3aa; }
body .ab-sidebar:hover .ab-nav-item span, body .ab-sidebar:focus-within .ab-nav-item span, html.ab-pinned body .ab-nav-item span,
body .ab-sidebar:hover .ab-nav-label, body .ab-sidebar:focus-within .ab-nav-label, html.ab-pinned body .ab-nav-label,
body .ab-sidebar:hover .ab-brand-name, body .ab-sidebar:focus-within .ab-brand-name, html.ab-pinned body .ab-brand-name { opacity: 1; transform: none; }
body .ab-sidebar:hover .ab-pin, body .ab-sidebar:focus-within .ab-pin, html.ab-pinned body .ab-pin { opacity: 1; }

/* ---- top bar ---- */
body .ab-topbar { position: sticky; top: 0; z-index: 50; height: var(--ab-topbar-h); display: flex; align-items: center; gap: 14px; padding: 0 32px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ab-border); }
body .ab-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ab-ink); cursor: pointer; align-items: center; justify-content: center; margin-left: -8px; }
body #nav-toggle.ab-burger { width: 40px !important; height: 40px !important; padding: 0 !important; position: static; }
body .ab-burger svg { width: 24px !important; height: 24px !important; min-width: 24px; display: block; }
body .ab-burger:hover { background: var(--ab-canvas); }
body .ab-topbar-brand { display: none; align-items: center; }
body .ab-topbar-brand img { height: 36px; width: auto; max-width: none; }
body .ab-topbar-status { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
body .ab-topbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
body .ab-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; text-decoration: none; line-height: 1; }
body .ab-chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 8px; }
body .ab-chip-on { background: rgba(31, 157, 99, .1); color: #147a4b; border-color: rgba(31, 157, 99, .18); }
body .ab-chip-off { background: rgba(224, 146, 28, .1); color: #8a5306; border-color: rgba(224, 146, 28, .2); }
body .ab-chip-off:hover { background: rgba(224, 146, 28, .18); color: #8a5306; }
body .ab-chip-off i { box-shadow: 0 0 0 3px rgba(224, 146, 28, .16); }
body .ab-chip-info { background: var(--ab-blue-100); color: var(--ab-navy-600); border-color: rgba(36, 87, 168, .15); }
body .ab-chip-neutral { background: var(--ab-canvas); color: var(--ab-text); border-color: var(--ab-border); }
body .ab-chip-more { color: inherit; opacity: .8; }
body .ab-subscription-msg { font-size: 12px; color: var(--ab-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .ab-subscription-msg a { color: var(--ab-navy-500); font-weight: 600; }
body .ab-credits { display: inline-flex; align-items: baseline; gap: 5px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ab-surface); border: 1px solid var(--ab-border); color: var(--ab-muted); text-decoration: none; box-shadow: var(--ab-shadow-xs); line-height: 34px; transition: border-color .15s, box-shadow .15s; }
body .ab-credits:hover { border-color: var(--ab-border-strong); box-shadow: var(--ab-shadow); color: var(--ab-muted); }
body .ab-credits #credit { display: inline; font-family: var(--ab-font-display); font-weight: 800; font-size: 15px; color: var(--ab-navy-600); font-variant-numeric: tabular-nums; }
body .ab-credits-label { font-size: 12px; font-weight: 500; }
body .ab-credits.is-low #credit { color: var(--ab-warning); }
body .ab-credits.is-low { border-color: rgba(224, 146, 28, .4); }
body .ab-credits.is-empty #credit { color: var(--ab-danger); }
body .ab-credits.is-empty { border-color: rgba(220, 75, 61, .4); }
body .ab-user { position: relative; }
body .ab-user-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 4px; border: 1px solid transparent; border-radius: 999px; background: transparent; cursor: pointer; font: inherit; color: var(--ab-ink); transition: background .15s, border-color .15s; }
body .ab-user-btn:hover, body .ab-user-btn[aria-expanded="true"] { background: var(--ab-surface); border-color: var(--ab-border); }
body .ab-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--ab-navy-600), var(--ab-navy-400)); color: #fff; font-family: var(--ab-font-display); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; }
body .ab-user-name { font-weight: 600; font-size: 14px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .ab-user-caret { color: var(--ab-faint); }
body .ab-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: 12px; box-shadow: var(--ab-shadow-lg); padding: 6px; display: none; z-index: 80; }
body .ab-menu.is-open { display: block; }
body .ab-menu-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--ab-border); margin-bottom: 6px; }
body .ab-menu-name { font-weight: 700; font-family: var(--ab-font-display); color: var(--ab-ink); }
body .ab-menu-email { font-size: 12px; color: var(--ab-muted); overflow: hidden; text-overflow: ellipsis; }
body .ab-menu-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ab-faint); padding: 8px 10px 4px; font-weight: 600; }
body .ab-menu-row { display: flex; align-items: center; }
body .ab-menu-row .ab-menu-item { flex: 1 1 auto; }
body .ab-menu-item { display: block; padding: 9px 10px; border-radius: 8px; color: var(--ab-text); font-weight: 500; text-decoration: none; }
body .ab-menu-item:hover { background: var(--ab-canvas); color: var(--ab-ink); }
body .ab-menu-item-danger { color: var(--ab-danger); }
body .ab-menu-item-danger:hover { background: rgba(220, 75, 61, .08); color: var(--ab-danger); }
body .ab-menu-remove { border: 0; background: transparent; color: var(--ab-faint); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; }
body .ab-menu-remove:hover { background: rgba(220, 75, 61, .1); color: var(--ab-danger); }
body .ab-backdrop { display: none; position: fixed; inset: 0; background: rgba(8, 19, 39, .5); z-index: 65; }

/* =========================== page title =========================== */
body .ab-app #page-title { padding: 0 0 18px; border: 0; margin: 0; background: transparent; text-align: left; }
body .ab-app #page-title h2 { font-size: 24px; font-weight: 700; text-transform: none; letter-spacing: -.02em; margin: 0; line-height: 1.25; text-align: left; }
body .ab-app #page-title p { color: var(--ab-muted); margin: 6px 0 0; font-size: 14px; opacity: 1; }

/* =========================== surfaces =========================== */
body .panel, body .content-box, body .example-box, body .well { background: var(--ab-surface); border: 1px solid var(--ab-border); border-radius: var(--ab-r-lg); box-shadow: var(--ab-shadow); margin-bottom: 20px; }
body .panel-body { padding: 24px; }
body .panel-heading, body .content-box-header { background: var(--ab-surface-2) !important; border-bottom: 1px solid var(--ab-border); border-radius: var(--ab-r-lg) var(--ab-r-lg) 0 0; padding: 12px 20px; color: var(--ab-ink); }
body .panel-title { font-family: var(--ab-font-body); font-size: 12.5px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ab-muted); margin: 0; line-height: 1.4; }
body .panel-title .glyph-icon { color: var(--ab-faint); margin-right: 6px; }
body .ab-app .panel .panel { box-shadow: none; border-radius: 12px; width: 100% !important; margin: 0 0 16px !important; }
body .ab-app .panel .panel:last-child { margin-bottom: 0 !important; }
body .ab-app .panel .panel .panel-body { padding: 20px; }
body .panel .title-hero { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ab-muted); margin: 0 0 16px; }
body .example-box-wrapper { padding: 0; border: 0; background: transparent; }
body .content-box-wrapper { background: transparent; }
body .content-box.pad25A { padding: 24px !important; }

/* =========================== dashboard tiles =========================== */
body .ab-app .example-box-wrapper > .row:has(> .col-md-2 > .tile-box) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; }
body .ab-app .example-box-wrapper > .row > .col-md-2:has(> .tile-box) { float: none; width: auto; padding: 0; min-width: 0; }
/* bootstrap's clearfix pseudo-elements would otherwise become grid items */
body .ab-app .example-box-wrapper > .row:has(> .col-md-2 > .tile-box)::before, body .ab-app .example-box-wrapper > .row:has(> .col-md-2 > .tile-box)::after { display: none; content: none; }
@media (max-width: 1359px) { body .ab-app .example-box-wrapper > .row:has(> .col-md-2 > .tile-box) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { body .ab-app .example-box-wrapper > .row:has(> .col-md-2 > .tile-box) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body .ab-app .example-box-wrapper > .row:has(> .col-md-2 > .tile-box) { grid-template-columns: minmax(0, 1fr); } }
body .tile-box.btn { background: var(--ab-surface) !important; border: 1px solid var(--ab-border) !important; border-radius: 12px; box-shadow: var(--ab-shadow-xs); padding: 0; text-align: left; color: var(--ab-ink) !important; overflow: hidden; margin: 0; position: relative; display: block; white-space: normal; height: auto; line-height: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
body .tile-box.btn:hover { transform: translateY(-2px); box-shadow: var(--ab-shadow); border-color: var(--ab-border-strong) !important; }
body .tile-box .tile-header { background: transparent; border: 0; color: var(--ab-muted); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 16px 16px 0; text-align: left; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; line-height: 1.3; }
body .tile-box .tile-header::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tile, var(--ab-navy-500)); flex: 0 0 7px; }
body .tile-box .tile-header span { font-size: 11px !important; color: var(--ab-faint); font-weight: 500; letter-spacing: 0; text-transform: none; margin: 0 !important; }
body .tile-box .tile-content-wrapper { padding: 10px 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body .tile-box .tile-content-wrapper .glyph-icon { position: static; font-size: 14px; width: 36px; height: 36px; line-height: 36px; text-align: center; border-radius: 10px; color: var(--tile, var(--ab-navy-500)); background: color-mix(in srgb, var(--tile, var(--ab-navy-500)) 11%, white); opacity: 1; margin: 0; flex: 0 0 auto; }
body .tile-box .tile-content { font-family: var(--ab-font-display); font-size: 26px; font-weight: 800; color: var(--ab-ink); text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; padding: 0; }
body .tile-box.btn-success { --tile: var(--ab-success); }
body .tile-box.btn-warning { --tile: var(--ab-warning); }
body .tile-box.btn-danger { --tile: var(--ab-danger); }
body .tile-box.btn-info { --tile: var(--ab-info); }
body .tile-box.btn-primary { --tile: var(--ab-navy-500); }
body .tile-box.btn-default { --tile: var(--ab-muted); }

/* =========================== buttons =========================== */
body .btn { display: inline-block; height: 38px; line-height: 36px; padding: 0 14px; font-size: 13.5px; font-weight: 600; font-family: var(--ab-font-body); border-radius: 9px; border: 1px solid transparent; vertical-align: middle; white-space: nowrap; text-shadow: none; box-shadow: none; transition: background .15s, box-shadow .15s, transform .05s, border-color .15s, color .15s; }
body .btn:active { transform: translateY(1px); }
body .btn:focus, body .btn:focus-visible { outline: 0; box-shadow: var(--ab-ring); }
body .btn .caret { margin-left: 4px; border-top-color: currentColor; }
body .btn-sm, body .btn-group-sm > .btn { height: var(--ab-ctl-sm-h); line-height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
body .btn-xs, body .btn-group-xs > .btn { height: 30px; line-height: 28px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
body .btn-lg { height: 44px; line-height: 42px; padding: 0 20px; font-size: 14.5px; border-radius: 10px; }
body .btn-block { display: block; width: 100%; }
body .btn-primary, body .btn-success, body .btn-info, body .btn-alt { background: var(--ab-navy-500); border-color: var(--ab-navy-500); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 14px -8px rgba(36, 87, 168, .6); }
body .btn-primary:hover, body .btn-success:hover, body .btn-info:hover, body .btn-primary:focus, body .btn-success:focus, body .btn-info:focus, body .btn-primary:active, body .btn-success:active { background: var(--ab-navy-600); border-color: var(--ab-navy-600); color: #fff; }
body .btn-default, body .btn-secondary, body .btn.btn-border, body .btn.bg-google,
body .add-record .text-right > a.btn-primary, body .record-delete .btn-primary, body .form-horizontal .bg-default a.btn-primary, body .form-horizontal .text-center a.btn-primary { background: var(--ab-surface); border-color: var(--ab-border-strong); color: var(--ab-text); box-shadow: var(--ab-shadow-xs); }
body .btn-default:hover, body .btn-secondary:hover, body .btn.btn-border:hover, body .btn.bg-google:hover,
body .add-record .text-right > a.btn-primary:hover, body .record-delete .btn-primary:hover, body .form-horizontal .bg-default a.btn-primary:hover, body .form-horizontal .text-center a.btn-primary:hover { background: var(--ab-canvas); border-color: #b7c3d3; color: var(--ab-ink); }
body .btn-danger { background: var(--ab-danger); border-color: var(--ab-danger); color: #fff; }
body .btn-danger:hover, body .btn-danger:focus { background: #c33f32; border-color: #c33f32; color: #fff; }
body .record-delete .btn-danger { background: var(--ab-surface); color: var(--ab-danger); border-color: rgba(220, 75, 61, .45); }
body .record-delete .btn-danger:hover { background: rgba(220, 75, 61, .08); color: #b8392c; }
body .btn-warning, body .btn-yellow { background: var(--ab-warning); border-color: var(--ab-warning); color: #fff; }
body .btn-link { color: var(--ab-navy-500); box-shadow: none; background: transparent; border-color: transparent; }
body .btn > .icon-separator { background: rgba(255, 255, 255, .14); border-right: 1px solid rgba(255, 255, 255, .18); width: 34px; display: flex; align-items: center; justify-content: center; }
body .btn > .icon-separator img { max-height: 18px; }
body .btn > .icon-separator + .button-content { margin-left: 30px; }
body .btn-hover span { padding: 0; left: 0; }
body .btn-hover .glyph-icon { display: none; }
body .btn.btn-border .glyph-icon.btn-danger { display: inline; background: transparent; border: 0; color: var(--ab-danger); padding: 0; margin-right: 6px; height: auto; line-height: inherit; font-size: 13px; }
body .btn.btn-border span { font-size: 13px !important; }
body .button-pane { background: transparent; border-top: 1px solid var(--ab-border); padding: 16px 24px; }
body .btn-group > .btn { margin: 0; }
body .btn-group > .btn:not(:first-child) { margin-left: -1px; }
body .btn-group > .btn:not(:last-child):not(.dropdown-toggle) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body .btn-group > .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* =========================== dropdown menus =========================== */
body .dropdown-menu { border: 1px solid var(--ab-border); border-radius: 10px; box-shadow: var(--ab-shadow-lg); padding: 6px; margin-top: 6px; min-width: 180px; font-size: 13.5px; }
body .dropdown-menu > li > a { padding: 8px 10px; border-radius: 7px; color: var(--ab-text); font-weight: 500; }
body .dropdown-menu > li > a:hover, body .dropdown-menu > li > a:focus { background: var(--ab-canvas); color: var(--ab-ink); }
body .dropdown-menu .divider { background: var(--ab-border); margin: 6px 0; }

/* =========================== forms =========================== */
body label, body .form-group > label, body .control-label { font-weight: 500; color: var(--ab-ink); font-size: 14px; margin-bottom: 6px; }
body .form-control { height: var(--ab-ctl-h); border: 1px solid var(--ab-border-strong); border-radius: 8px; box-shadow: none; padding: 8px 12px; color: var(--ab-ink); background: var(--ab-surface); font-size: 14px; line-height: 22px; transition: border-color .15s, box-shadow .15s; }
body .form-control::placeholder { color: var(--ab-faint); }
body .form-control:hover { border-color: #b7c3d3; }
body .form-control:focus { border-color: var(--ab-navy-400); box-shadow: var(--ab-ring); }
body .form-control[disabled], body .form-control[readonly] { background: var(--ab-surface-2); color: var(--ab-muted); }
body select.form-control { width: 100% !important; padding-right: 32px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
body textarea.form-control { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.5; }
body .input-group .form-control { height: var(--ab-ctl-h); z-index: 1; }
body .input-group .form-control:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
body .input-group-btn > .btn, body .input-group-btn > .btn-group > .btn { height: var(--ab-ctl-h); line-height: 38px; }
body .input-group-btn:last-child > .btn { border-top-right-radius: 8px; border-bottom-right-radius: 8px; margin-left: -1px; }
body .input-group-btn:first-child > .btn { border-top-left-radius: 8px; border-bottom-left-radius: 8px; margin-right: -1px; }
body .input-group:not(:has(.form-control)) .input-group-btn > .btn { border-radius: 8px !important; }
body .input-group-lg > .form-control { height: 48px; font-size: 15px; }
body .input-group .addon-inside { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: auto; height: auto; background: transparent !important; border: 0 !important; border-radius: 0; padding: 0; color: var(--ab-faint); z-index: 3; line-height: 1; }
body .input-group .addon-inside .glyph-icon { font-size: 15px; }
body .input-group:focus-within .addon-inside { color: var(--ab-navy-400); }
body .input-group .addon-inside + .form-control { border-radius: 8px; padding-left: 42px; }
body .input-group .input-group-addon:not(.addon-inside) { background: var(--ab-surface-2); border: 1px solid var(--ab-border-strong); color: var(--ab-muted); border-radius: 8px 0 0 8px; }
body .checkbox label, body .radio label { font-weight: 500; color: var(--ab-text); }
body input[type="checkbox"], body input[type="radio"] { accent-color: var(--ab-navy-500); width: 16px; height: 16px; vertical-align: middle; margin: 0; }
body .help-block, body .form-text, body .text-muted { color: var(--ab-muted); }
body label.error { display: block; color: var(--ab-danger); font-weight: 500; font-size: 12px; margin: 6px 0 0; line-height: 1.4; }
body label.error:empty { display: none; }
body .has-error .form-control { border-color: var(--ab-danger); }
body .selectboxit-container .selectboxit, body .chosen-container-single .chosen-single, body .bootstrap-select .btn { border-radius: 8px; border: 1px solid var(--ab-border-strong); background: var(--ab-surface); box-shadow: none; height: var(--ab-ctl-h); line-height: 38px; }

/* ---- horizontal settings forms: fixed label column, aligned controls, help column ---- */
body .form-horizontal > .col-sm-12 { float: none; width: 100%; padding: 0; }
body .form-horizontal .form-group:has(> label.control-label) { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 14px; padding: 0; border: 0; }
body .form-horizontal .form-group.hideCard { display: none !important; }
body .form-horizontal .form-group > label.control-label { float: none; width: auto; flex: 0 0 220px; min-height: var(--ab-ctl-h); display: flex; align-items: center; padding: 0 8px 0 0; margin: 0; text-align: left; font-size: 14px; font-weight: 500; color: var(--ab-text); line-height: 1.35; }
body .form-horizontal .control-label .error, body .form-horizontal .control-label i.error { color: var(--ab-danger); font-style: normal; margin-left: 2px; }
body .form-horizontal .form-group > div[class*="col-sm-"]:not(.col-sm-3) { float: none; width: auto; flex: 1 1 320px; max-width: 480px; padding: 0; min-width: 0; }
body .form-horizontal .form-group > .col-sm-3:not(label), body .form-horizontal .form-group > .tooltip-button, body .form-horizontal .form-group > .col-sm-4:not(label):has(.tooltip-button) { float: none; width: auto; flex: 0 1 auto; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: var(--ab-ctl-h); color: var(--ab-muted); font-size: 12.5px; line-height: 1.4; }
body .form-horizontal .tooltip-button { color: var(--ab-faint); cursor: help; }
body .form-horizontal .tooltip-button .glyph-icon, body .form-horizontal .tooltip-button i { color: var(--ab-faint) !important; font-size: 14px; line-height: 1; }
body .form-horizontal .tooltip-button:hover .glyph-icon { color: var(--ab-navy-400) !important; }
body .form-horizontal .tooltip-button > .col-sm-3, body .form-horizontal .tooltip-button > div { display: none; }
body .form-horizontal .form-group > div > input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; margin: 9px 0; border-radius: 999px; background: #cbd5e1; border: 0; position: relative; cursor: pointer; vertical-align: middle; transition: background .15s; flex: 0 0 auto; }
body .form-horizontal .form-group > div > input[type="checkbox"]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
body .form-horizontal .form-group > div > input[type="checkbox"]:checked { background: var(--ab-navy-500); }
body .form-horizontal .form-group > div > input[type="checkbox"]:checked::after { transform: translateX(18px); }
body .form-horizontal .form-group > div > input[type="checkbox"]:focus-visible { outline: 0; box-shadow: var(--ab-ring); }
body .form-horizontal .form-group > div > input[type="checkbox"] + label.error { display: inline-block; margin: 0 0 0 10px; vertical-align: middle; }
body .form-horizontal .bg-default.text-center, body .form-horizontal .text-center.pad10A { background: transparent !important; border: 0; border-top: 1px solid var(--ab-border); padding: 18px 0 0 !important; margin: 10px 0 0 !important; text-align: right !important; display: flex; justify-content: flex-end; gap: 10px; clear: both; }
body .form-horizontal .bg-default.text-center .btn, body .form-horizontal .text-center.pad10A .btn { margin: 0; }
body .form-horizontal .add-record { margin-bottom: 8px; }
body .ab-app .panel-body > .example-box-wrapper > .add-record + form .col-sm-12 > p, body .ab-app .example-box-wrapper p.text-center { color: var(--ab-muted); font-size: 13px; font-style: normal; margin: 0 0 18px; }

/* nested-form rows that carry inline width/margin (Amazon settings) */
body .ab-app .panel .panel .form-group:has(> label.control-label) { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
/* centred italic intro lines above the eBay form */
body .ab-app .form-horizontal center { color: var(--ab-muted); font-size: 13px; margin: 0 0 4px; }
body .ab-app .form-horizontal center i { font-style: normal; }
body .ab-app .form-horizontal center span { font-size: 13px !important; }
body .ab-app .form-horizontal center + br { display: none; }
body .ab-app .form-horizontal center + center { margin-bottom: 18px; }
/* icon separators on light buttons */
body .btn.bg-google > .icon-separator, body .btn-default > .icon-separator { background: var(--ab-surface-2); border-right-color: var(--ab-border); }
body .btn.bg-google, body .btn.bg-google .button-content, body .btn.bg-google span { color: var(--ab-text) !important; }
body .btn.bg-google:hover, body .btn.bg-google:hover .button-content { color: var(--ab-ink) !important; }
body .btn.bg-google a, body .btn.bg-google a:hover { color: var(--ab-text) !important; text-decoration: none; }
body .btn.bg-google .icon-google, body .btn.bg-google .icon-separator i { color: #c5221f !important; font-size: 14px; }

/* =========================== toolbars (records, sales, log, settings headers) =========================== */
body .add-record .text-right, body .ab-app .add-record .col-xs-12 { text-align: right !important; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 14px; }
body .add-record .text-right .btn, body .add-record .text-right .btn-group, body .add-record .text-right form { margin: 0 !important; }
body .add-record .text-right .btn-xs { height: var(--ab-ctl-sm-h); line-height: 30px; }
body .add-record label.error { width: 100%; margin: 0; }
body .ab-app .record-delete.text-right { text-align: right !important; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
body .ab-app .record-delete .btn { margin: 0 !important; }
body .ab-app .panel-body > .row.mrg10B, body .ab-app .example-box-wrapper > .row.mrg10B { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; margin: 0 0 14px !important; }
body .ab-app .panel-body > .row.mrg10B > [class*="col-"], body .ab-app .example-box-wrapper > .row.mrg10B > [class*="col-"] { float: none; width: auto; padding: 0; margin: 0; }
body .ab-app .row.mrg10B > [class*="col-lg-7"] { flex: 1 1 460px; display: block !important; min-width: 0; }
body .ab-app .row.mrg10B > [class*="col-lg-5"], body .ab-app .row.mrg10B > [class*="pull-right"] { flex: 0 1 380px; margin-left: auto !important; }
body .ab-app .row.mrg10B > .btn-group { flex: 0 0 auto; margin: 0 !important; }
body .filter-sales { margin: 0; }
body #salesFilter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body #salesFilter .btn-group { margin: 0; }
body #salesFilter .btn-group .filter-btn { margin: 0; height: var(--ab-ctl-sm-h); line-height: 30px; }
body #salesFilter .filter-btn dt { font-weight: 600; }
body #salesFilter .filter-btn dt a { color: inherit; }
body #salesFilter .text-right { text-align: left !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body .bs-label.label-default.laptop { display: inline-flex; align-items: center; gap: 5px; height: var(--ab-ctl-sm-h); padding: 0 10px; border-radius: 8px; background: var(--ab-surface-2); border: 1px solid var(--ab-border); color: var(--ab-muted); font-size: 12.5px !important; text-transform: none; letter-spacing: 0; font-weight: 500; line-height: 1; }
body .bs-label.label-default.laptop strong { color: var(--ab-ink); font-weight: 700; }
body .btn.btn-hover.laptop { height: var(--ab-ctl-sm-h); line-height: 30px; padding: 0 12px !important; font-size: 12.5px !important; }
body .input-group.mrg15B { margin: 0 0 14px !important; display: inline-block; width: auto; vertical-align: top; }
body .ab-app .page .dropdown > .dropdown-toggle, body .ab-app .per_page > .dropdown-toggle, body .ab-app #paginationLink > .dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; height: var(--ab-ctl-sm-h); padding: 0 12px; border: 1px solid var(--ab-border-strong); border-radius: 8px; background: var(--ab-surface); font-size: 13px; font-weight: 500; color: var(--ab-text); cursor: pointer; }
body .ab-app .row.text-center.mrg10B { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 0 !important; }
body .ab-app .row.text-center.mrg10B > [class*="col-"] { float: none; width: auto; padding: 0; margin: 0 !important; }
body .ab-app .row.text-center.mrg10B > .page { order: 1; }
body .ab-app .row.text-center.mrg10B > #searchResult, body .ab-app .row.text-center.mrg10B > .search-result { order: 2; flex: 1 1 100%; width: 100%; min-width: 0; max-width: 100%; }
body .ab-app .row.text-center.mrg10B > #searchResult .table-responsive, body .ab-app #searchResult .table-responsive { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }

/* =========================== tabs =========================== */
body .ab-app .nav-tabs { border: 0; border-bottom: 1px solid var(--ab-border); margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
body .ab-app .nav-tabs > li { float: none; margin: 0 0 -1px; }
body .ab-app .nav-tabs > li > a, body .ab-app .nav-tabs > li.active > a, body .ab-app .nav-tabs > li.active > a:hover, body .ab-app .nav-tabs > li.active > a:focus { border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; padding: 10px 14px; margin: 0; color: var(--ab-muted); font-weight: 600; font-size: 13.5px; }
body .ab-app .nav-tabs > li > a:hover { color: var(--ab-ink); border-bottom-color: var(--ab-border-strong) !important; }
body .ab-app .nav-tabs > li.active > a, body .ab-app .nav-tabs > li.active > a:hover, body .ab-app .nav-tabs > li.active > a:focus { color: var(--ab-navy-600); border-bottom-color: var(--ab-navy-500) !important; }
body .ab-app .tab-content { padding: 0; }

/* =========================== tables =========================== */
body .table { border-collapse: separate; border-spacing: 0; margin: 0; font-size: 13.5px; }
body .table > thead > tr > th { background: var(--ab-surface-2); color: var(--ab-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--ab-border); border-top: 0; padding: 11px 14px; white-space: nowrap; vertical-align: middle; }
body .table > thead > tr > th:first-child { border-radius: 8px 0 0 0; padding-left: 16px; }
body .table > thead > tr > th:last-child { border-radius: 0 8px 0 0; }
body .table > thead > tr > th small { font-size: 10px; letter-spacing: .04em; color: var(--ab-faint); }
body .table > tbody > tr > td { padding: 12px 14px; border-top: 1px solid var(--ab-border); color: var(--ab-text); vertical-align: middle; font-variant-numeric: tabular-nums; line-height: 1.45; }
body .table > tbody > tr > td:first-child { padding-left: 16px; }
body .table > tbody > tr:first-child > td { border-top: 0; }
body .table > tbody > tr:hover > td { background: #f7f9fc; }
body .table-striped > tbody > tr:nth-of-type(odd) { background: transparent; }
body .table-bordered, body .table-bordered > thead > tr > th, body .table-bordered > tbody > tr > td { border-color: var(--ab-border); }
body .table .btn-xs, body .table .btn-sm { height: 28px; line-height: 26px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
body .table-responsive { border: 0; margin-bottom: 0; }
body .dataTables_wrapper .dataTables_filter input, body .dataTables_wrapper .dataTables_length select { border: 1px solid var(--ab-border-strong); border-radius: 8px; height: 36px; padding: 6px 10px; }
body .pagination > li > a, body .pagination > li > span { border: 1px solid var(--ab-border); color: var(--ab-text); margin: 0 2px; border-radius: 8px !important; min-width: 34px; text-align: center; padding: 6px 10px; }
body .pagination > li > a:hover { background: var(--ab-canvas); color: var(--ab-navy-500); }
body .pagination > .active > a, body .pagination > .active > span { background: var(--ab-navy-500); border-color: var(--ab-navy-500); color: #fff; }

/* =========================== badges and alerts =========================== */
body .label, body .badge { border-radius: 999px; font-weight: 600; padding: 4px 10px; font-size: 11px; letter-spacing: .02em; text-shadow: none; border: 0; }
body .label-success, body .badge-success, body .bg-green { background: rgba(31, 157, 99, .12); color: #147a4b; }
body .label-warning, body .badge-warning { background: rgba(224, 146, 28, .16); color: #8a5306; }
body .label-danger, body .badge-danger { background: rgba(220, 75, 61, .12); color: #a33a2a; }
body .label-info, body .badge-info { background: var(--ab-blue-100); color: var(--ab-navy-600); }
body .label-default, body .badge-default { background: var(--ab-canvas); color: var(--ab-muted); }
body .alert { border-radius: 10px; border: 1px solid transparent; padding: 12px 16px; margin: 0 0 16px; }
body .alert .alert-title { font-size: 13.5px; font-weight: 600; text-transform: none; margin: 0; letter-spacing: 0; line-height: 1.4; }
body .alert .alert-close-btn { opacity: .55; }
body .alert-success { background: #eaf8f1; border-color: #bfe8d3; color: #147a4b; }
body .alert-danger { background: #fdf0ee; border-color: #f6c9c2; color: #a33a2a; }
body .alert-info { background: var(--ab-blue-100); border-color: #c5d8f5; color: var(--ab-navy-600); }
body .alert-warning { background: #fff5e8; border-color: #f9d9ad; color: #8a5306; }

/* =========================== modals, popovers =========================== */
body .modal-content { border-radius: var(--ab-r-lg); border: 1px solid var(--ab-border); box-shadow: var(--ab-shadow-lg); }
body .modal-header { border-bottom: 1px solid var(--ab-border); padding: 18px 22px; }
body .modal-title { font-size: 17px; font-weight: 700; }
body .modal-body { padding: 22px; }
body .modal-footer { border-top: 1px solid var(--ab-border); padding: 14px 22px; }
body .popover { border-radius: 10px; border: 1px solid var(--ab-border); box-shadow: var(--ab-shadow-lg); font-family: var(--ab-font-body); }
body .tooltip-inner { border-radius: 8px; padding: 6px 10px; }

/* =========================== credit purchase (pricing) =========================== */
body .ab-app .pricing-table { display: flex; align-items: stretch; gap: 18px; margin: 10px 0 0 !important; padding: 10px 0 0; }
body .ab-app .pricing-table .pricing-box { float: none; width: auto; flex: 1 1 0; margin: 0 !important; padding: 0; border: 1px solid var(--ab-border); border-radius: 14px; overflow: hidden; background: var(--ab-surface); box-shadow: var(--ab-shadow-xs); position: relative; display: flex; flex-direction: column; }
body .ab-app .pricing-table .pricing-best { box-shadow: var(--ab-shadow-lg); border-color: rgba(36, 87, 168, .35); transform: translateY(-8px); z-index: 2; }
body .ab-app .pricing-table .pricing-best .bg-primary { padding-top: 44px !important; }
body .ab-app .content-box.pad25A > br { display: none; }
body .ab-app .pricing-table .pricing-best::before { content: "Best value"; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--ab-navy-600); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; z-index: 3; }
body .ab-app .pricing-box .bg-primary { background: linear-gradient(135deg, var(--ab-navy-700), var(--ab-navy-500)) !important; color: #fff; padding: 24px 16px 20px !important; opacity: 1 !important; margin: 0 !important; border: 0 !important; }
body .ab-app .pricing-box .pricing-title { font-family: var(--ab-font-display); font-size: 36px !important; font-weight: 800; line-height: 1 !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; color: #fff; letter-spacing: -.02em; }
body .ab-app .pricing-box .bg-primary span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin: 8px 0 0 !important; font-weight: 600; }
body .ab-app .pricing-box .pricing-specs { padding: 22px 16px 8px !important; border: 0 !important; margin: 0 !important; background: transparent; }
body .ab-app .pricing-box .pricing-specs span { font-family: var(--ab-font-display); font-size: 34px; font-weight: 800; color: var(--ab-ink); letter-spacing: -.02em; line-height: 1; display: inline-block; }
body .ab-app .pricing-box .pricing-specs span sup { font-size: 16px; margin: 0 2px 0 0; top: -.9em; font-weight: 700; color: var(--ab-muted); padding: 0; }
body .ab-app .pricing-box .pricing-specs i { display: block; font-style: normal; color: var(--ab-muted); font-size: 13px; margin-top: 8px; }
body .ab-app .pricing-box .pad25A { padding: 12px 16px 22px !important; margin-top: auto; }
body .ab-app .pricing-box .pad25A .btn { width: 100%; height: 42px; line-height: 40px; font-size: 14px !important; border-radius: 10px; }
body .ab-app .topcorner { top: 16px !important; right: 20px !important; font-size: 13px; }
body .ab-app .pay-cards { font-size: 34px; color: #cbd5e1; margin-top: 12px; }
body .ab-app .pay-cards .glyph-icon { margin: 0 4px; }
body .ab-app .content-box.pad25A p.text-center, body .ab-app .content-box.pad25A font { color: var(--ab-muted) !important; font-size: 12.5px; }

/* =========================== login / register =========================== */
body .bg-gradient-9 { background: linear-gradient(135deg, var(--ab-navy-900) 0%, var(--ab-navy-700) 55%, var(--ab-navy-500) 100%) !important; }
body .center-vertical.bg-gradient-9 { min-height: 100vh; position: relative; overflow: hidden; }
body .center-vertical.bg-gradient-9::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 420px at 12% 8%, rgba(110, 160, 240, .28), transparent 62%), radial-gradient(560px 380px at 92% 92%, rgba(110, 160, 240, .18), transparent 60%), radial-gradient(420px 300px at 80% 10%, rgba(255, 255, 255, .08), transparent 60%); pointer-events: none; }
body .regularlogin { position: relative; }
body .regularlogin h3 { margin: 0 0 22px; }
body .regularlogin h3 img { filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); max-width: 240px; }
body .regularlogin .content-box { border-radius: 20px; border: 0; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); overflow: hidden; }
body .regularlogin .content-box-wrapper { padding: 30px 30px 8px; }
body .regularlogin .form-group > label { font-size: 13px; font-weight: 600; }
body .regularlogin .button-pane { border: 0; padding: 6px 30px 18px; }
body .regularlogin .button-pane .btn { height: 48px; line-height: 46px; font-size: 15px; border-radius: 12px; }
body .regularlogin .or-separetor p { color: var(--ab-faint); font-size: 11px; letter-spacing: .14em; }
body .regularlogin .or-separetor p:before, body .regularlogin .or-separetor p:after { border-top-color: var(--ab-border); }
body .regularlogin .mb-2 { padding: 0 30px 26px; }
body .regularlogin p { color: var(--ab-text); }
body .regularlogin .checkbox label { font-weight: 500; }
body .movelogoR { margin-left: 0 !important; }
body .regularlogin .test123 { display: none !important; }

/* =========================== misc =========================== */
body #loading { background: rgba(244, 246, 250, .85); }
body .spinner > div { background-color: var(--ab-navy-500); }
body .bs-callout, body .infobox { border-radius: var(--ab-r); border-color: var(--ab-border); }
body .ui-datepicker { border-radius: var(--ab-r); border: 1px solid var(--ab-border); box-shadow: var(--ab-shadow); }
body center img#loader { margin: 10px auto; }

/* =========================== responsive =========================== */
@media (max-width: 1100px) {
  body .ab-chip-more { display: none; }
  body .ab-subscription-msg { display: none; }
}
@media (max-width: 991px) {
  body .ab-sidebar, html.ab-pinned body .ab-sidebar { flex-basis: 0; width: 0; }
  body .ab-sidebar-panel, html.ab-pinned body .ab-sidebar-panel, body .ab-sidebar:hover .ab-sidebar-panel, body .ab-sidebar:focus-within .ab-sidebar-panel { width: var(--ab-sidebar-w); transform: translateX(-104%); transition: transform .22s ease; box-shadow: none; }
  body.ab-nav-open .ab-sidebar-panel { transform: none; box-shadow: var(--ab-shadow-lg); }
  body.ab-nav-open .ab-backdrop { display: block; }
  body.ab-nav-open { overflow: hidden; }
  body .ab-nav-item span, body .ab-nav-label, body .ab-brand-name { opacity: 1; transform: none; }
  body .ab-pin { display: none; }
  body .ab-sidebar-close { display: inline-flex; }
  body .ab-burger { display: inline-flex; }
  body .ab-topbar-brand { display: inline-flex; }
  body .ab-topbar { padding: 0 16px; gap: 10px; }
  body .ab-user-name, body .ab-user-caret { display: none; }
  body .ab-user-btn { padding: 0 4px; }
  body .ab-app #page-content { padding: 18px 16px 48px; }
  body .ab-app #page-title h2 { font-size: 22px; }
  body .panel-body { padding: 18px; }
  body .tile-box .tile-content { font-size: 24px; }
  body .ab-app .pricing-table { flex-direction: column; }
  body .ab-app .pricing-table .pricing-best { transform: none; }
  body .regularlogin .content-box-wrapper { padding: 22px 18px 4px; }
  body .regularlogin .button-pane, body .regularlogin .mb-2 { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 767px) {
  body .form-horizontal .form-group:has(> label.control-label) { flex-wrap: wrap; gap: 6px 16px; }
  body .form-horizontal .form-group > label.control-label { flex-basis: 100%; min-height: 0; padding: 0; }
  body .form-horizontal .form-group > div[class*="col-sm-"]:not(.col-sm-3) { flex-basis: 100%; max-width: none; }
  body .add-record .text-right, body .ab-app .add-record .col-xs-12, body .ab-app .record-delete.text-right { justify-content: stretch; }
  body .add-record .text-right > .btn, body .add-record .text-right > .btn-group, body .ab-app .record-delete.text-right > .btn { flex: 1 1 calc(50% - 4px); text-align: center; }
  body .add-record .text-right > .btn-group > .btn { width: 100%; }
  body .form-horizontal .form-group > .tooltip-button, body .form-horizontal .form-group > .col-sm-3:not(label) { min-height: 0; margin-top: -2px; }
}
@media (max-width: 640px) {
  body .ab-topbar-status .ab-chip { max-width: 44vw; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 30px; padding-left: 10px; }
  body .ab-topbar-status .ab-chip i { display: none; }
  body .ab-credits { padding: 0 10px; height: 34px; line-height: 32px; }
  body .ab-credits-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body .btn, body .tile-box.btn, body .ab-nav-item, body a, body .form-control, body .ab-sidebar, body .ab-sidebar-panel, body .ab-nav-item span, body .ab-nav-label, body .ab-brand-name, body .ab-pin { transition: none; }
}
