/* AdeptDEV FULL Admin UI v1.2.1
 * Global premium skin for OpenCart/ocStore 3.x admin.
 * Progressive enhancement only: no routes, forms or JS business logic changed.
 */
:root {
  --ad-bg: #07111f;
  --ad-bg-2: #081626;
  --ad-sidebar: #071321;
  --ad-sidebar-2: #091827;
  --ad-surface: #0c1b2d;
  --ad-surface-2: #10243a;
  --ad-surface-3: #132b45;
  --ad-elevated: #0f2238;
  --ad-input: #081625;
  --ad-border: rgba(117, 160, 216, .18);
  --ad-border-strong: rgba(72, 139, 255, .34);
  --ad-text: #f4f8ff;
  --ad-text-soft: #c4d2e7;
  --ad-muted: #8397b5;
  --ad-primary: #2788ff;
  --ad-primary-2: #5c3dff;
  --ad-cyan: #23c7ff;
  --ad-green: #27d69b;
  --ad-orange: #ff9d2e;
  --ad-red: #ff5f76;
  --ad-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  --ad-shadow-soft: 0 12px 32px rgba(0, 0, 0, .18);
  --ad-radius: 16px;
  --ad-radius-lg: 22px;
  --ad-sidebar-w: 272px;
  --ad-header-h: 92px;
}

html,
body {
  min-height: 100%;
  background: var(--ad-bg);
  color: var(--ad-text-soft);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.ad-admin-logged {
  background:
    radial-gradient(circle at 84% 4%, rgba(39,136,255,.13), transparent 25%),
    radial-gradient(circle at 70% 110%, rgba(92,61,255,.10), transparent 32%),
    var(--ad-bg);
}

body.ad-admin-guest {
  background:
    radial-gradient(circle at 15% 15%, rgba(39,136,255,.18), transparent 30%),
    radial-gradient(circle at 85% 85%, rgba(92,61,255,.14), transparent 34%),
    var(--ad-bg);
}

body.ad-admin-logged:before,
body.ad-admin-logged:after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .55;
}
body.ad-admin-logged:before { width: 360px; height: 360px; right: 4vw; top: 12vh; background: rgba(31,106,255,.08); }
body.ad-admin-logged:after  { width: 280px; height: 280px; right: 30vw; bottom: -100px; background: rgba(91,56,255,.07); }

body.ad-theme-light {
  --ad-bg: #eef4fb;
  --ad-bg-2: #f5f8fc;
  --ad-sidebar: #0b1727;
  --ad-sidebar-2: #0e1c2d;
  --ad-surface: #ffffff;
  --ad-surface-2: #f7f9fd;
  --ad-surface-3: #eef3fa;
  --ad-elevated: #ffffff;
  --ad-input: #ffffff;
  --ad-border: rgba(42, 77, 122, .14);
  --ad-border-strong: rgba(39,136,255,.28);
  --ad-text: #132238;
  --ad-text-soft: #40536f;
  --ad-muted: #74849b;
  --ad-shadow: 0 24px 60px rgba(23, 52, 91, .12);
  --ad-shadow-soft: 0 12px 32px rgba(23, 52, 91, .10);
}

body.ad-theme-light:before,
body.ad-theme-light:after { opacity: .18; }

#container {
  min-height: 100vh;
  overflow: visible;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* Runtime safety: generated ambient layers must never cover OpenCart content. */
body.ad-admin-logged { position: relative; isolation: isolate; }
body.ad-admin-logged:before,
body.ad-admin-logged:after { z-index: -1; }

/* HEADER */
#header {
  min-height: var(--ad-header-h);
  margin: 0;
  padding: 0;
  background: rgba(7,17,31,.88);
  border: 0;
  border-bottom: 1px solid var(--ad-border);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1006;
}
body.ad-theme-light #header { background: rgba(255,255,255,.86); }

body.ad-admin-logged #header .container-fluid {
  min-height: var(--ad-header-h);
  display: flex;
  align-items: center;
  padding: 0 30px;
}

#header .navbar-header { border: 0; }
body.ad-admin-logged #header-logo { display: none !important; }

#header .nav { margin: 0; }
#header .nav > li { display: inline-flex; align-items: center; }
#header .nav > li > a,
#button-menu {
  color: var(--ad-text-soft);
  border: 0;
  background: transparent;
  transition: .2s ease;
}
#header .nav > li > a:hover,
#header .nav > li > a:focus,
#button-menu:hover { color: var(--ad-text); background: rgba(255,255,255,.045); }
#header .navbar-right > li { border-left: 0; }
#header .navbar-right { margin-left: auto !important; }
#header #user-profile {
  width: 38px;
  height: 38px;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid rgba(72,139,255,.36);
  box-shadow: 0 0 0 5px rgba(39,136,255,.07);
}
#header .navbar-right > li > a { min-height: 48px; display: flex; align-items: center; gap: 6px; border-radius: 12px; }

#oc-search-div { width: min(460px, 36vw); padding-left: 14px; }
#oc-search-div .input-group,
#oc-search-div .form-control { height: 44px; }
#oc-search-div .form-control {
  background: rgba(255,255,255,.035);
  color: var(--ad-text);
  border-color: var(--ad-border);
  border-radius: 12px 0 0 12px;
  box-shadow: none;
}
#oc-search-div .input-group-btn .btn {
  min-height: 44px;
  border-radius: 0 12px 12px 0;
  border-color: var(--ad-border);
  background: rgba(255,255,255,.055);
  color: var(--ad-text-soft);
}

.ad-theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid !important;
  place-items: center;
  border: 1px solid var(--ad-border) !important;
  border-radius: 13px !important;
  margin: 0 8px;
  color: var(--ad-text-soft) !important;
  background: rgba(255,255,255,.035) !important;
}
.ad-theme-toggle:hover { border-color: var(--ad-border-strong) !important; color: var(--ad-text) !important; }
.ad-theme-toggle i { font-size: 17px; }

/* SIDEBAR */
#column-left {
  width: var(--ad-sidebar-w);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1010;
  padding-top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(12,30,52,.24), transparent 32%),
    linear-gradient(180deg, var(--ad-sidebar), var(--ad-sidebar-2));
  border-right: 1px solid var(--ad-border);
  box-shadow: 16px 0 48px rgba(0,0,0,.13);
}
#column-left::-webkit-scrollbar { width: 6px; }
#column-left::-webkit-scrollbar-thumb { background: rgba(108,151,210,.20); border-radius: 20px; }

.ad-sidebar-brand {
  height: var(--ad-header-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-bottom: 1px solid var(--ad-border);
}
.ad-sidebar-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  filter: drop-shadow(0 8px 18px rgba(39,136,255,.24));
}
.ad-sidebar-mark:before,
.ad-sidebar-mark:after {
  content: "";
  position: absolute;
  inset: 3px 5px;
  border: 4px solid var(--ad-primary);
  clip-path: polygon(50% 0, 100% 100%, 78% 100%, 50% 40%, 22% 100%, 0 100%);
}
.ad-sidebar-mark:after { inset: 11px 9px 5px; border-color: var(--ad-cyan); opacity: .85; }
.ad-sidebar-name { display: flex; flex-direction: column; min-width: 0; }
.ad-sidebar-name strong { color: #f7fbff; font-size: 19px; line-height: 1.05; letter-spacing: -.02em; }
.ad-sidebar-name strong span { color: #31a4ff; }
.ad-sidebar-name small { margin-top: 5px; color: #607994; font-size: 9px; letter-spacing: .18em; font-weight: 800; }

#navigation {
  margin: 18px 18px 7px;
  padding: 0 7px;
  background: transparent;
  color: #5f7794;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 800;
}
#navigation .fa { margin-right: 8px; }

#menu { margin: 0 12px 20px; }
#menu > li { border: 0; margin: 4px 0; }
#menu > li > a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 12px;
  color: #aebfd4;
  font-size: 13px;
  font-weight: 600;
  transition: .18s ease;
}
#menu > li > a > i { width: 22px; margin-right: 8px; color: #7892ad; font-size: 15px; text-align: center; }
#menu > li > a:hover { color: #fff; background: rgba(255,255,255,.05); }
#menu > li > a:hover > i { color: #4cb3ff; }
#menu > li.active > a,
#menu > li > a[aria-expanded="true"],
#menu > li > a:not(.collapsed).parent {
  color: #7bc4ff;
  background: linear-gradient(90deg, rgba(39,136,255,.16), rgba(39,136,255,.07));
  border: 1px solid rgba(39,136,255,.24);
  box-shadow: inset 3px 0 0 #2788ff, 0 10px 30px rgba(0,0,0,.10);
}
#menu > li.active > a > i,
#menu > li > a:not(.collapsed).parent > i { color: #32a7ff; }
#menu > li > ul { background: transparent; padding: 6px 0 6px 32px; }
#menu li li { border-left: 1px solid rgba(120,155,196,.13); }
#menu li li a {
  color: #758ca8;
  font-size: 12px;
  border: 0;
  padding: 9px 12px;
  border-radius: 9px;
  transition: .15s ease;
}
#menu li li a:before { display: none; }
#menu li li a:hover,
#menu li li.active > a { color: #cfe8ff; background: rgba(39,136,255,.08); }
#menu li a.parent:after { margin-left: auto; margin-right: 0; color: #637d99; }

#stats {
  margin: 14px 16px 24px;
  padding: 14px;
  border: 1px solid var(--ad-border);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
#stats ul { margin: 0; padding: 0; }
#stats li { color: #7890aa; font-size: 10px; margin: 8px 0; }
#stats .progress { height: 4px; background: rgba(255,255,255,.07); border-radius: 20px; box-shadow: none; margin: 6px 0 10px; }
#stats .progress-bar { border-radius: 20px; box-shadow: none; }

.ad-sidebar-version {
  margin: 0 16px 18px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ad-border);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  color: #7691ad;
  font-size: 10px;
}
.ad-sidebar-version i { color: #3da9ff; font-size: 18px; }
.ad-sidebar-version strong { display:block; color:#b9d0e6; font-size:11px; margin-bottom:2px; }

/* MAIN LAYOUT */
body.ad-admin-logged #content {
  min-height: calc(100vh - var(--ad-header-h));
  padding-top: var(--ad-header-h);
  padding-bottom: 70px;
  background: transparent;
}
body.ad-admin-logged #column-left + #content,
body.ad-admin-logged #column-left + #content + #footer {
  margin-left: var(--ad-sidebar-w);
  left: 0;
}

#content > .page-header {
  margin: 0;
  padding: 28px 0 18px;
  border: 0;
  background: transparent;
}
#content > .page-header .container-fluid { padding: 0 30px; }
.page-header h1 {
  margin: 0 0 4px;
  color: var(--ad-text);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.025em;
  text-shadow: none;
}
.breadcrumb { display: block; margin: 6px 0 0; padding: 0; }
.breadcrumb li a { color: var(--ad-muted); font-size: 12px; }
.breadcrumb li:last-child a { color: #42abff; }
.breadcrumb li + li:before { color: #506a87; }
#content > .container-fluid { padding: 0 30px; }

/* PANELS / CARDS */
.panel,
.well,
.thumbnail,
.list-group,
.modal-content,
.dropdown-menu,
.popover {
  color: var(--ad-text-soft);
  background: linear-gradient(180deg, rgba(15,34,56,.98), rgba(10,25,43,.98));
  border-color: var(--ad-border);
  border-radius: var(--ad-radius);
  box-shadow: var(--ad-shadow-soft);
}
body.ad-theme-light .panel,
body.ad-theme-light .well,
body.ad-theme-light .thumbnail,
body.ad-theme-light .list-group,
body.ad-theme-light .modal-content,
body.ad-theme-light .dropdown-menu,
body.ad-theme-light .popover { background: var(--ad-surface); }
.panel { overflow: visible; }
.panel-default > .panel-heading,
.panel-heading {
  min-height: 54px;
  display: block;
  padding: 17px 18px;
  color: var(--ad-text);
  background: rgba(255,255,255,.022);
  border-color: var(--ad-border);
}
.panel-title { color: var(--ad-text); font-size: 14px; font-weight: 700; }
.panel-title > i { color: #4aadff; margin-right: 7px; }
.panel-body { color: var(--ad-text-soft); background: transparent; }
.panel-footer { background: rgba(255,255,255,.02); border-color: var(--ad-border); }
.list-group-item { color: var(--ad-text-soft); background: transparent; border-color: var(--ad-border); }
.list-group-item:hover { background: rgba(255,255,255,.025); }

.tile {
  overflow: hidden;
  position: relative;
  min-height: 144px;
  margin-bottom: 20px;
  border: 1px solid var(--ad-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 15%, rgba(39,136,255,.18), transparent 34%),
    linear-gradient(145deg, rgba(14,35,59,.98), rgba(9,25,43,.98));
  box-shadow: var(--ad-shadow-soft);
}
.tile:after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:linear-gradient(90deg,#2788ff,transparent 68%); opacity:.7; }
.tile .tile-heading { padding: 17px 18px 0; color: #869bb7; background: transparent; font-size: 10px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.tile .tile-body { padding: 10px 18px 15px; color: #fff; background: transparent; }
.tile .tile-body i { color: #3baaff; opacity: .55; font-size: 42px; }
.tile .tile-body h2 { margin: 3px 0 0; color: #fff; font-size: 30px; font-weight: 550; letter-spacing: -.03em; }
.tile .tile-footer { padding: 0 18px 15px; background: transparent; }
.tile .tile-footer a { color: #79bfff; font-size: 11px; }
.tile-primary { background-color: transparent; }

/* TABLES */
.table { color: var(--ad-text-soft); background: transparent; }
.table > thead > tr > td,
.table > thead > tr > th {
  color: #8095b0;
  background: rgba(255,255,255,.025);
  border-color: var(--ad-border);
  font-size: 10px;
  letter-spacing: .05em;
  font-weight: 800;
  text-transform: uppercase;
}
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th { border-color: var(--ad-border); vertical-align: middle; }
.table-hover > tbody > tr:hover { background: rgba(39,136,255,.045); }
.table-striped > tbody > tr:nth-of-type(odd) { background: rgba(255,255,255,.012); }
.table-responsive { border: 0; }

/* FORMS */
.form-control,
select.form-control,
.input-group-addon,
.bootstrap-select > .dropdown-toggle {
  color: var(--ad-text);
  background: var(--ad-input);
  border-color: var(--ad-border);
  border-radius: 11px;
  box-shadow: none;
}
.form-control { min-height: 40px; }
textarea.form-control { min-height: 110px; }
.form-control:focus,
select.form-control:focus {
  border-color: rgba(39,136,255,.65);
  box-shadow: 0 0 0 3px rgba(39,136,255,.10);
}
.form-control::placeholder { color: #526c89; }
.input-group .form-control:first-child { border-radius: 11px 0 0 11px; }
.input-group-addon { color: #7892ae; background: rgba(255,255,255,.035); }
label,
.control-label { color: #aebfd4; font-weight: 650; }
.help-block,
.text-muted { color: var(--ad-muted) !important; }
.form-horizontal .form-group { border-color: var(--ad-border); }

/* BUTTONS */
.btn {
  min-height: 38px;
  border-radius: 10px;
  font-weight: 650;
  border-color: var(--ad-border);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
.btn-info {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ad-primary), var(--ad-primary-2));
  box-shadow: 0 8px 22px rgba(39,136,255,.18);
}
.btn-primary:hover,
.btn-info:hover,
.btn-primary:focus,
.btn-info:focus { color:#fff; border-color:transparent; background:linear-gradient(135deg,#3d97ff,#694dff); }
.btn-default { color: var(--ad-text-soft); background: rgba(255,255,255,.035); border-color: var(--ad-border); }
.btn-default:hover { color: var(--ad-text); background: rgba(255,255,255,.07); border-color: var(--ad-border-strong); }
.btn-success { background:#159c72; border-color:#159c72; }
.btn-warning { background:#d98625; border-color:#d98625; }
.btn-danger { background:#c94c60; border-color:#c94c60; }

/* NAVS / TABS */
.nav-tabs { border-color: var(--ad-border); }
.nav-tabs > li > a { color: var(--ad-muted); border-radius: 10px 10px 0 0; border-color: transparent; }
.nav-tabs > li > a:hover { color:var(--ad-text); background:rgba(255,255,255,.035); border-color:var(--ad-border); }
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus { color:#63b7ff; background:rgba(39,136,255,.09); border-color:var(--ad-border); border-bottom-color:transparent; }
.nav-pills > li > a { border-radius: 10px; color: var(--ad-muted); }
.nav-pills > li.active > a { background: rgba(39,136,255,.15); color:#68baff; }

/* DROPDOWNS */
.dropdown-menu { padding: 8px; }
.dropdown-menu > li > a { color: var(--ad-text-soft); border-radius: 8px; padding: 9px 11px; }
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus { color: var(--ad-text); background: rgba(39,136,255,.09); }
.dropdown-menu .divider { background: var(--ad-border); }
.dropdown-header { color: #6f86a3; }

/* MODALS */
.modal { background: rgba(2,7,14,.56); backdrop-filter: blur(9px); }
.modal-header,
.modal-footer { border-color: var(--ad-border); }
.modal-title { color: var(--ad-text); }
.close { color: #92a8c2; text-shadow: none; opacity: .8; }
.close:hover { color: #fff; opacity: 1; }

/* ALERTS */
.alert { border-radius: 12px; border-width: 1px; box-shadow: none; }
.alert-success { color:#baf4d8; background:rgba(39,214,155,.08); border-color:rgba(39,214,155,.24); }
.alert-danger { color:#ffc2cc; background:rgba(255,95,118,.08); border-color:rgba(255,95,118,.24); }
.alert-warning { color:#ffd7a2; background:rgba(255,157,46,.08); border-color:rgba(255,157,46,.24); }
.alert-info { color:#c2e6ff; background:rgba(39,136,255,.08); border-color:rgba(39,136,255,.24); }

/* PAGINATION */
.pagination > li > a,
.pagination > li > span { color: var(--ad-text-soft); background: var(--ad-surface); border-color: var(--ad-border); }
.pagination > li > a:hover { color:#fff; background:rgba(39,136,255,.10); border-color:var(--ad-border-strong); }
.pagination > .active > a,
.pagination > .active > span { color:#fff; background:var(--ad-primary); border-color:var(--ad-primary); }

/* LABELS / BADGES */
.label { border-radius: 999px; padding: 5px 9px; font-size: 10px; }
.label-default { background:rgba(255,255,255,.09); color:#b9c9db; }
.label-primary,.label-info { background:rgba(39,136,255,.16); color:#72bdff; }
.label-success { background:rgba(39,214,155,.14); color:#68e6b5; }
.label-warning { background:rgba(255,157,46,.14); color:#ffc16d; }
.label-danger { background:rgba(255,95,118,.14); color:#ff91a2; }

/* FILE MANAGER / LISTS / MISC */
pre, code { color:#b9dcff; background:#06111d; border-color:var(--ad-border); }
hr { border-color: var(--ad-border); }
a { color:#45aaff; }
a:hover, a:focus { color:#7cc4ff; }
legend { color:var(--ad-text); border-color:var(--ad-border); }
fieldset { border-color:var(--ad-border); }
.ui-autocomplete { background:var(--ad-surface)!important; border-color:var(--ad-border)!important; box-shadow:var(--ad-shadow)!important; }
.ui-autocomplete li a { color:var(--ad-text-soft)!important; }
.ui-autocomplete li a:hover { background:rgba(39,136,255,.08)!important; color:#fff!important; }

/* DASHBOARD */
body.ad-route-common-dashboard #content > .container-fluid > .row { margin-left:-10px; margin-right:-10px; }
body.ad-route-common-dashboard #content > .container-fluid > .row > [class*="col-"] { padding-left:10px; padding-right:10px; }
body.ad-route-common-dashboard .panel { min-height: 100%; }
#chart-sale canvas { border-radius: 12px; }
.jqvmap-zoomin, .jqvmap-zoomout { background:rgba(39,136,255,.85)!important; border-radius:7px!important; width:24px!important; height:24px!important; line-height:24px!important; }

/* LICENSE PAGE — ties into AdeptDEV FULL license layout */
body.ad-route-extension-module-adept_full .adlic-page { max-width: 1320px; margin: 8px auto 44px; }
body.ad-route-extension-module-adept_full .adlic-shell { box-shadow: var(--ad-shadow); }

/* LOGIN */
body.ad-admin-guest #header {
  margin: 0;
  min-height: 76px;
  background: transparent;
  border-bottom: 0;
}
body.ad-admin-guest #header .navbar-header { display: block !important; width: 100%; border: 0; }
body.ad-admin-guest #header .navbar-brand {
  height: 76px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
}
body.ad-admin-guest #header .navbar-brand img { display:none; }
body.ad-admin-guest #header .navbar-brand:before { content:"AdeptDEV"; color:#fff; font-size:20px; font-weight:800; }
body.ad-admin-guest #header .navbar-brand:after { content:"FULL ADMIN"; margin-left:10px; color:#3ca8ff; font-size:9px; letter-spacing:.15em; font-weight:800; }
body.ad-route-common-login #content,
body.ad-route-common-forgotten #content,
body.ad-route-common-reset #content {
  padding-top: 5vh;
  background: transparent;
}
body.ad-route-common-login #content .row > div,
body.ad-route-common-forgotten #content .row > div,
body.ad-route-common-reset #content .row > div { float:none; margin:0 auto; width:min(460px, calc(100% - 30px)); }
body.ad-route-common-login .panel,
body.ad-route-common-forgotten .panel,
body.ad-route-common-reset .panel { border-radius:22px; box-shadow:0 30px 90px rgba(0,0,0,.34); }
body.ad-route-common-login .panel-heading,
body.ad-route-common-forgotten .panel-heading,
body.ad-route-common-reset .panel-heading { min-height:68px; }
body.ad-route-common-login .panel-body,
body.ad-route-common-forgotten .panel-body,
body.ad-route-common-reset .panel-body { padding:24px; }

/* FOOTER */
#footer {
  color:#607895;
  background:transparent;
  border:0;
  padding:18px 30px 24px;
  font-size:11px;
  text-align:center;
}
#footer .ad-footer-brand { color:#8da5c0; }
#footer .ad-footer-brand strong { color:#4badff; }

/* tooltips / datepicker */
.tooltip-inner { background:#10243a; color:#fff; border:1px solid var(--ad-border); border-radius:8px; }
.datetimepicker { color:var(--ad-text-soft)!important; background:var(--ad-surface)!important; border-color:var(--ad-border)!important; }
.datetimepicker table tr td.active,
.datetimepicker table tr td.active:hover { background:var(--ad-primary)!important; }

/* MOBILE */
@media (min-width: 768px) {
  body.ad-admin-logged #header { position: fixed; top: 0; right: 0; left: var(--ad-sidebar-w); }
  body.ad-admin-logged #column-left { left: 0; }
}

@media (max-width: 1199px) {
  :root { --ad-sidebar-w: 240px; }
  #oc-search-div { width: 310px; }
}

@media (max-width: 767px) {
  :root { --ad-header-h: 62px; --ad-sidebar-w: 260px; }
  #header { min-height: var(--ad-header-h); }
  body.ad-admin-logged #header .container-fluid { min-height:var(--ad-header-h); padding:0 10px; }
  body.ad-admin-logged #header-logo { display:block!important; width:auto!important; }
  body.ad-admin-logged #header-logo .navbar-brand { height:var(--ad-header-h); display:flex; align-items:center; padding:0 10px; }
  body.ad-admin-logged #header-logo img { display:none; }
  body.ad-admin-logged #header-logo .navbar-brand:before { content:"AdeptDEV"; color:#fff; font-weight:800; }
  #oc-search-div { display:none; }
  #header .header-item { display:none; }
  #header .navbar-right > li > a { padding:0 8px; }
  #header #user-profile { width:30px; height:30px; margin-right:0; }
  .ad-theme-toggle { width:38px; height:38px; margin:0 3px; }
  #column-left { left:calc(-1 * var(--ad-sidebar-w)); box-shadow:22px 0 60px rgba(0,0,0,.35); }
  #column-left.active { left:0; }
  body.ad-admin-logged #column-left + #content,
  body.ad-admin-logged #column-left + #content + #footer { margin-left:0; }
  body.ad-admin-logged #content { padding-top:var(--ad-header-h); }
  #content > .page-header .container-fluid,
  #content > .container-fluid { padding-left:16px; padding-right:16px; }
  .page-header h1 { font-size:23px; }
  .panel-heading { padding:0 14px; }
  .table-responsive { border:1px solid var(--ad-border); border-radius:12px; }
}

/* brand markup */
.ad-mobile-brand{display:inline-flex!important;align-items:center!important;gap:8px!important}.ad-mobile-brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#2788ff,#6542ff);color:#fff;font-weight:900;font-size:15px}.ad-mobile-brand-text{color:#fff;font-weight:800;font-size:16px}.ad-mobile-brand-text span{color:#36a9ff}body.ad-admin-guest .ad-mobile-brand>span{display:none}
@media(max-width:767px){body.ad-admin-logged .ad-user-name{display:none}}


/* v1.2.1 — OpenCart runtime compatibility guard.
 * Never allow a cosmetic skin to hide a controller output after page scripts run.
 */
body.ad-admin-logged #content,
body.ad-admin-logged #content > .page-header,
body.ad-admin-logged #content > .container-fluid,
body.ad-admin-logged #content .panel,
body.ad-admin-logged #content .panel-body,
body.ad-admin-logged #content .table-responsive,
body.ad-admin-logged #content .tab-content {
  opacity: 1 !important;
  visibility: visible !important;
}
body.ad-admin-logged #content {
  position: relative;
  z-index: 2;
}
#header { z-index: 1030; }
#column-left { z-index: 1040; }
.dropdown-menu, .bootstrap-datetimepicker-widget, .ui-autocomplete { z-index: 2050 !important; }
.panel > .panel-heading + .panel-collapse > .panel-body,
.panel > .panel-heading + .panel-body { overflow: visible; }

/* v1.3.0 — AdeptDEV System Care */
.ad-system-care {
  position: relative;
  overflow: hidden !important;
  border: 1px solid rgba(56,138,255,.22) !important;
  background:
    radial-gradient(circle at 88% 5%, rgba(72,78,255,.16), transparent 30%),
    linear-gradient(150deg, rgba(12,31,53,.98), rgba(7,20,35,.98)) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.22) !important;
}
.ad-system-care:before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(47,143,255,.035),transparent 34%,rgba(107,70,255,.035));
}
.ad-system-care .ad-care-head,
.ad-system-care .ad-care-grid,
.ad-system-care .ad-care-action,
.ad-system-care .ad-care-diagnostics,
.ad-system-care .alert-body,
.ad-system-care .ad-care-progress { position:relative; z-index:1; }
.ad-care-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px 18px;
  border-bottom:1px solid var(--ad-border);
}
.ad-care-title-wrap { display:flex; align-items:center; gap:14px; min-width:0; }
.ad-care-icon {
  flex:0 0 46px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:#fff;
  font-size:18px;
  background:linear-gradient(135deg,#2788ff,#6844ff);
  box-shadow:0 12px 28px rgba(45,105,255,.28);
}
.ad-care-eyebrow { color:#5cb3ff; font-size:10px; font-weight:800; letter-spacing:.14em; margin-bottom:3px; }
.ad-care-title { margin:0; color:var(--ad-text); font-size:21px; font-weight:780; line-height:1.15; }
.ad-care-subtitle { margin:5px 0 0; color:var(--ad-muted); font-size:12px; line-height:1.45; }
.ad-care-settings {
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  color:#91a7c2;
  border:1px solid var(--ad-border);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
.ad-care-settings:hover { color:#fff; background:rgba(39,136,255,.09); border-color:rgba(54,154,255,.34); }
.ad-system-care .alert-body { padding:0 24px; }
.ad-system-care .alert-body .alert { margin:16px 0 0; }
.ad-care-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding:18px 24px 8px;
}
.ad-care-status {
  min-height:76px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px 14px;
  border:1px solid var(--ad-border);
  border-radius:14px;
  background:rgba(255,255,255,.024);
}
.ad-care-status-icon {
  flex:0 0 36px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#5db7ff;
  background:rgba(39,136,255,.11);
}
.ad-care-status > div { min-width:0; flex:1; }
.ad-care-status small { display:block; color:#7188a5; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ad-care-status strong { display:block; color:#dbe9f8; font-size:12px; margin-top:3px; }
.ad-care-dot { width:8px; height:8px; border-radius:50%; background:#60738b; box-shadow:0 0 0 4px rgba(96,115,139,.08); }
.ad-care-dot.is-ok { background:#29d59a; box-shadow:0 0 0 4px rgba(41,213,154,.08),0 0 16px rgba(41,213,154,.25); }
.ad-care-dot.is-warning { background:#ffad4d; box-shadow:0 0 0 4px rgba(255,173,77,.08); }
.ad-care-notice {
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:10px 24px 0;
  padding:11px 13px;
  border-radius:11px;
  font-size:11px;
  line-height:1.5;
}
.ad-care-notice.is-warning { color:#ffd9a8; background:rgba(255,166,54,.07); border:1px solid rgba(255,166,54,.17); }
.ad-care-notice.is-danger { color:#ffc3cb; background:rgba(255,95,118,.07); border:1px solid rgba(255,95,118,.17); }
.ad-care-action {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:12px 24px 18px;
  padding:17px 18px;
  border:1px solid rgba(55,147,255,.19);
  border-radius:15px;
  background:linear-gradient(120deg,rgba(39,136,255,.075),rgba(102,69,255,.045));
}
.ad-care-action h4 { margin:0 0 4px; color:#e8f3ff; font-size:14px; font-weight:760; }
.ad-care-action p { margin:0; color:#8198b3; font-size:11px; line-height:1.5; }
.ad-clear-all-cache {
  flex:0 0 auto;
  min-width:190px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:12px !important;
  white-space:nowrap;
}
.ad-clear-all-cache.is-loading i { animation:adCareSpin .8s linear infinite; }
@keyframes adCareSpin { to { transform:rotate(360deg); } }
.ad-care-progress {
  height:2px;
  margin:-8px 24px 14px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  opacity:0;
  transition:opacity .2s ease;
}
.ad-care-progress.is-active { opacity:1; }
.ad-care-progress span {
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#2997ff,#6f4dff,#27d69b);
  transition:width .32s ease;
}
.ad-care-diagnostics {
  margin:0 24px 20px;
  border-top:1px solid var(--ad-border);
  color:var(--ad-text-soft);
}
.ad-care-diagnostics > summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 2px 4px;
  color:#8ca4c0;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.ad-care-diagnostics > summary::-webkit-details-marker { display:none; }
.ad-care-diagnostics > summary span { display:flex; align-items:center; gap:8px; }
.ad-care-diagnostics[open] > summary > .fa-angle-down { transform:rotate(180deg); }
.ad-care-diagnostics-body { padding:12px 0 4px; }
.ad-care-meta-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.ad-care-meta-grid > div {
  padding:11px 12px;
  border:1px solid var(--ad-border);
  border-radius:11px;
  background:rgba(255,255,255,.02);
}
.ad-care-meta-grid small { display:block; color:#6d84a0; font-size:9px; text-transform:uppercase; letter-spacing:.05em; }
.ad-care-meta-grid strong { display:block; margin-top:4px; color:#bcd0e6; font-size:11px; font-weight:650; overflow-wrap:anywhere; }
.ad-care-folder-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:9px; }
.ad-care-folder {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
  padding:11px 12px;
  border:1px solid var(--ad-border);
  border-radius:11px;
  background:rgba(255,255,255,.018);
}
.ad-care-folder span { color:#95abc4; font-size:10px; }
.ad-care-folder small { color:#657b95 !important; font-size:10px; white-space:normal; }
.ad-care-tech-details { margin:10px 0; padding:10px 12px; border:1px solid var(--ad-border); border-radius:11px; background:rgba(255,255,255,.018); }
.ad-care-tech-details > summary { cursor:pointer; color:#768da8; font-size:10px; }
.ad-care-tech-copy { padding-top:9px; color:#657b95; font-size:10px; line-height:1.6; overflow-wrap:anywhere; }
.ad-care-tech-copy p { margin:0 0 6px; }
.ad-care-tech-copy strong { color:#8ea4bd; }

/* light mode */
body.ad-theme-light .ad-system-care {
  background:linear-gradient(150deg,#ffffff,#f5f9ff) !important;
  border-color:rgba(37,112,220,.16)!important;
}
body.ad-theme-light .ad-care-title,
body.ad-theme-light .ad-care-action h4 { color:#13243a; }
body.ad-theme-light .ad-care-status strong { color:#23384f; }
body.ad-theme-light .ad-care-status,
body.ad-theme-light .ad-care-meta-grid > div,
body.ad-theme-light .ad-care-folder,
body.ad-theme-light .ad-care-tech-details { background:rgba(28,82,145,.025); }

@media (max-width: 1199px) {
  .ad-care-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ad-care-meta-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .ad-care-head { padding:18px 16px 14px; }
  .ad-care-icon { width:40px; height:40px; flex-basis:40px; }
  .ad-care-title { font-size:18px; }
  .ad-care-grid { grid-template-columns:1fr; padding:14px 16px 6px; }
  .ad-care-notice { margin-left:16px; margin-right:16px; }
  .ad-care-action { margin:10px 16px 14px; align-items:stretch; flex-direction:column; }
  .ad-clear-all-cache { width:100%; min-width:0; }
  .ad-care-progress { margin-left:16px; margin-right:16px; }
  .ad-care-diagnostics { margin-left:16px; margin-right:16px; }
  .ad-care-meta-grid, .ad-care-folder-grid { grid-template-columns:1fr; }
}

/* v1.3.0 — per-user RU / RO / EN admin language */
#ad-header-language-placeholder { display:none; }
.ad-admin-language > .ad-language-toggle {
  min-width:72px;
  height:46px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:7px 3px;
  padding:0 11px !important;
  border:1px solid var(--ad-border);
  border-radius:12px;
  color:#a9bed5 !important;
  background:rgba(255,255,255,.025) !important;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
.ad-admin-language.open > .ad-language-toggle,
.ad-admin-language > .ad-language-toggle:hover {
  color:#fff !important;
  border-color:rgba(55,153,255,.34);
  background:rgba(39,136,255,.085) !important;
}
.ad-language-toggle > .fa-globe { color:#48a9ff; font-size:15px; }
.ad-language-toggle > .fa-angle-down { color:#647e9b; font-size:11px; }
.ad-language-current { font-size:11px; font-weight:850; letter-spacing:.06em; }
.ad-language-menu {
  width:220px;
  padding:8px !important;
  border-radius:14px !important;
}
.ad-language-menu .dropdown-header {
  padding:7px 10px 9px;
  color:#667f9b !important;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.ad-language-menu > li > a.ad-language-option {
  min-height:42px;
  display:flex !important;
  align-items:center;
  gap:10px;
  margin:2px 0;
  padding:7px 9px !important;
  border-radius:10px;
  color:#a9bdd2 !important;
}
.ad-language-menu > li > a.ad-language-option:hover,
.ad-language-menu > li.active > a.ad-language-option {
  color:#fff !important;
  background:rgba(39,136,255,.1) !important;
}
.ad-language-menu > li.active > a.ad-language-option { box-shadow:inset 0 0 0 1px rgba(60,154,255,.16); }
.ad-language-badge {
  flex:0 0 35px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#70bcff;
  background:rgba(39,136,255,.11);
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
}
.ad-language-name { flex:1; font-size:11px; font-weight:650; }
.ad-language-option > .fa-check { color:#2bd39a; font-size:11px; }
.ad-language-option.is-loading { opacity:.55; pointer-events:none; }
body.ad-theme-light .ad-admin-language > .ad-language-toggle { color:#4a617b !important; background:rgba(24,83,151,.035) !important; }
body.ad-theme-light .ad-language-menu > li > a.ad-language-option { color:#41566e !important; }
body.ad-theme-light .ad-language-menu > li.active > a.ad-language-option,
body.ad-theme-light .ad-language-menu > li > a.ad-language-option:hover { color:#172c43 !important; }
@media(max-width:767px){
  .ad-admin-language > .ad-language-toggle { min-width:58px; height:42px; margin-top:9px; padding:0 8px !important; }
  .ad-language-toggle > .fa-globe { display:none; }
  .ad-language-menu { width:200px; }
}
