/* ==========================================================================
   Lagom-style skin for the WHMCS "Six" theme  (WHMCS 8.13, Bootstrap 3)
   Loaded after all.min.css and before custom.css. Put personal tweaks and
   brand colour changes in custom.css, or override the variables below.
   ========================================================================== */

:root {
  --lg-primary: #3e63f5;
  --lg-primary-dark: #2f4fd6;
  --lg-primary-soft: #eef1ff;
  --lg-text: #1d2b44;
  --lg-muted: #6c7a93;
  --lg-bg: #f3f6fb;
  --lg-surface: #ffffff;
  --lg-border: #e3e9f3;
  --lg-success: #1db985;
  --lg-warning: #f4a62a;
  --lg-danger: #ec5b5b;
  --lg-info: #2ea8ef;
  --lg-radius: 10px;
  --lg-radius-sm: 7px;
  --lg-shadow: 0 1px 2px rgba(29, 43, 68, .04), 0 4px 16px rgba(29, 43, 68, .06);
  --lg-shadow-lg: 0 10px 40px rgba(29, 43, 68, .14);
  --lg-header-h: 68px;
  --lg-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body.lg-theme {
  font-family: var(--lg-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--lg-text);
  background: var(--lg-bg);
  -webkit-font-smoothing: antialiased;
}
body.lg-theme input, body.lg-theme button, body.lg-theme select, body.lg-theme textarea {
  font-family: var(--lg-font);
  color: var(--lg-text);
}
body.lg-theme h1, body.lg-theme h2, body.lg-theme h3, body.lg-theme h4, body.lg-theme h5, body.lg-theme h6 {
  font-family: var(--lg-font);
  font-weight: 650;
  color: var(--lg-text);
  letter-spacing: -.01em;
}
body.lg-theme a { color: var(--lg-primary); }
body.lg-theme a:hover, body.lg-theme a:focus { color: var(--lg-primary-dark); text-decoration: none; }
body.lg-theme img { max-width: 100%; height: auto; }
body.lg-theme :focus-visible { outline: 3px solid rgba(62, 99, 245, .35); outline-offset: 2px; }
body.lg-theme .container { width: 100%; max-width: 1200px; }
body.lg-theme.lg-nav-open { overflow: hidden; }
.lg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

/* ---------- Header ---------- */
#lg-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--lg-surface);
  border-bottom: 1px solid var(--lg-border);
  transition: box-shadow .2s ease;
}
#lg-header.is-scrolled { box-shadow: 0 6px 24px rgba(29, 43, 68, .08); }
.lg-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--lg-header-h); }
.lg-logo { display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0; padding: 0; }
.lg-logo img { max-height: 38px; width: auto; }
.lg-logo.logo-text { font-size: 22px; font-weight: 750; color: var(--lg-text); letter-spacing: -.02em; }
.lg-burger, .lg-close {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--lg-radius-sm);
  background: transparent; color: var(--lg-text); font-size: 20px; cursor: pointer;
}
.lg-burger:hover, .lg-close:hover { background: var(--lg-bg); }
.lg-drawer-head { display: none; }

/* desktop nav */
.lg-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; min-width: 0; }
.lg-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.lg-menu > li { position: relative; }
.lg-menu > li > a {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: var(--lg-radius-sm);
  color: var(--lg-text); font-weight: 550; font-size: 14.5px; white-space: nowrap;
}
.lg-menu > li > a i { color: var(--lg-muted); font-size: 14px; }
.lg-menu > li > a:hover, .lg-menu > li.open > a, .lg-menu > li > a:focus { background: var(--lg-primary-soft); color: var(--lg-primary); }
.lg-menu > li > a:hover i, .lg-menu > li.open > a i { color: var(--lg-primary); }
.lg-menu .caret { margin-left: 2px; border-top-width: 4px; border-left-width: 4px; border-right-width: 4px; opacity: .55; }
.lg-menu .badge { background: var(--lg-primary); border-radius: 20px; font-weight: 600; }
.lg-menu .dropdown-menu {
  margin-top: 8px; padding: 8px; min-width: 220px;
  border: 1px solid var(--lg-border); border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow-lg);
}
.lg-menu-secondary .dropdown-menu { right: 0; left: auto; }
.lg-menu .dropdown-menu > li > a {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 6px;
  color: var(--lg-text); font-weight: 500; white-space: normal;
}
.lg-menu .dropdown-menu > li > a:hover, .lg-menu .dropdown-menu > li > a:focus { background: var(--lg-primary-soft); color: var(--lg-primary); }
.lg-menu .dropdown-menu .divider { background: var(--lg-border); margin: 6px 0; }

/* header tools */
.lg-tools { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.lg-tools > li { position: relative; }
.lg-tool {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 8px 12px; border-radius: var(--lg-radius-sm);
  color: var(--lg-muted); font-weight: 550;
}
.lg-tool:hover, .lg-tool:focus { background: var(--lg-bg); color: var(--lg-text); }
.lg-tool i { font-size: 16px; }
.lg-tool-label { display: none; }
.lg-dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--lg-danger); box-shadow: 0 0 0 2px #fff; }
.lg-tools .lg-cart-btn, .lg-tools .primary-action .btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  background: var(--lg-primary); color: #fff; border: 0; border-radius: var(--lg-radius-sm); font-weight: 600;
}
.lg-tools .lg-cart-btn:hover { background: var(--lg-primary-dark); color: #fff; }
.lg-tools .btn-logged-in-admin { background: var(--lg-warning); color: #fff; border-radius: var(--lg-radius-sm); min-height: 40px; }
@media (min-width: 1200px) { .lg-tool-label { display: inline; } }

/* popovers (language + notifications) */
.popover { border: 1px solid var(--lg-border); border-radius: var(--lg-radius); box-shadow: var(--lg-shadow-lg); font-family: var(--lg-font); }
.popover .popover-content ul { list-style: none; margin: 0; padding: 0; }
.popover .popover-content li a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--lg-text); }
.popover .popover-content li a:hover { background: var(--lg-primary-soft); }
.popover .client-alerts li a { display: flex; gap: 10px; align-items: flex-start; }
.popover .client-alerts li.none { padding: 8px 10px; color: var(--lg-muted); }

/* ---------- Mobile / tablet navigation (off-canvas drawer) ---------- */
.lg-backdrop { display: none; }
@media (max-width: 991px) {
  :root { --lg-header-h: 60px; }
  .lg-header-inner { gap: 8px; }
  .lg-burger { display: inline-flex; margin-left: -10px; }
  .lg-logo { margin-right: auto; }
  .lg-backdrop { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(15, 23, 42, .5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
  body.lg-nav-open .lg-backdrop { opacity: 1; visibility: visible; }
  .lg-nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 2;
    width: min(86vw, 340px); flex-direction: column; align-items: stretch; justify-content: flex-start;
    background: var(--lg-surface); padding: 0 0 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(-102%); visibility: hidden;
    transition: transform .28s cubic-bezier(.3, .8, .3, 1), visibility 0s linear .28s;
    box-shadow: var(--lg-shadow-lg);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  body.lg-nav-open .lg-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .lg-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; min-height: var(--lg-header-h); border-bottom: 1px solid var(--lg-border); }
  .lg-close { display: inline-flex; }
  .lg-menu { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; }
  .lg-menu-secondary { border-top: 1px solid var(--lg-border); margin-top: 4px; }
  .lg-menu > li > a { padding: 13px 14px; font-size: 15.5px; min-height: 48px; }
  .lg-menu .dropdown-menu {
    position: static; float: none; width: auto; margin: 2px 0 6px 14px; padding: 4px 0 4px 10px;
    border: 0; border-left: 2px solid var(--lg-border); border-radius: 0; box-shadow: none; background: transparent;
  }
  .lg-menu .dropdown-menu > li > a { padding: 11px 12px; min-height: 44px; }
  .lg-menu .caret { margin-left: auto; }
  .lg-tool-label { display: none !important; }
  .lg-hide-xs { display: none; }
  .lg-tools { gap: 2px; }
  .lg-tools .lg-cart-btn { padding: 8px 12px; }
}

/* ---------- Home banner + shortcuts ---------- */
body.lg-theme section#home-banner {
  margin: 0; padding: 72px 0 96px; text-align: center; color: #fff;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(135deg, #2f4fd6 0%, #5b6df8 55%, #7a63f6 100%);
}
body.lg-theme section#home-banner h2 { color: #fff; font-size: 38px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 28px; }
body.lg-theme section#home-banner .input-group { box-shadow: var(--lg-shadow-lg); border-radius: var(--lg-radius); }
body.lg-theme section#home-banner .form-control { height: 58px; border: 0; border-radius: var(--lg-radius) 0 0 var(--lg-radius); padding: 0 22px; font-size: 16px; box-shadow: none; }
body.lg-theme section#home-banner .input-group-btn .btn { height: 58px; border: 0; padding: 0 26px; font-weight: 650; font-size: 15px; }
body.lg-theme section#home-banner .input-group-btn .btn.search { background: var(--lg-success); color: #fff; }
body.lg-theme section#home-banner .input-group-btn .btn.transfer { background: #1b2b55; color: #fff; border-radius: 0 var(--lg-radius) var(--lg-radius) 0; }
body.lg-theme section#home-banner .input-group-btn .btn.search:last-child { border-radius: 0 var(--lg-radius) var(--lg-radius) 0; }

body.lg-theme .home-shortcuts { background: transparent; border: 0; margin-top: -48px; padding: 0 0 8px; position: relative; z-index: 2; }
body.lg-theme .home-shortcuts .lead { color: var(--lg-text); font-weight: 600; line-height: 1.3; margin: 0; padding-top: 34px; }
body.lg-theme .home-shortcuts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.lg-theme .home-shortcuts li { float: none; width: auto; padding: 0; border: 0; }
body.lg-theme .home-shortcuts li a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  height: 100%; padding: 26px 14px; background: var(--lg-surface); border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius); box-shadow: var(--lg-shadow); color: var(--lg-text); font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
body.lg-theme .home-shortcuts li a:hover { transform: translateY(-2px); box-shadow: var(--lg-shadow-lg); }
body.lg-theme .home-shortcuts li a i { font-size: 26px; color: var(--lg-primary); margin-bottom: 10px; background: var(--lg-primary-soft); width: 56px; height: 56px; line-height: 56px; border-radius: 14px; }
body.lg-theme .home-shortcuts li a p { margin: 0; font-size: 14px; }
body.lg-theme .home-shortcuts li a p span { display: none; }
@media (max-width: 991px) {
  body.lg-theme section#home-banner { padding: 44px 0 72px; }
  body.lg-theme section#home-banner h2 { font-size: 27px; }
  body.lg-theme .home-shortcuts ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  body.lg-theme section#home-banner .input-group { display: block; box-shadow: none; }
  body.lg-theme section#home-banner .input-group > * { display: block; width: 100%; }
  body.lg-theme section#home-banner .form-control { border-radius: var(--lg-radius); margin-bottom: 10px; box-shadow: var(--lg-shadow-lg); }
  body.lg-theme section#home-banner .input-group-btn { display: flex; gap: 10px; width: 100%; }
  body.lg-theme section#home-banner .input-group-btn .btn { flex: 1; border-radius: var(--lg-radius) !important; }
  body.lg-theme .home-shortcuts li a { padding: 18px 8px; }
}

/* ---------- Main body + page header ---------- */
body.lg-theme section#main-body { background: transparent; min-height: 60vh; padding: 32px 0 56px; }
body.lg-theme .header-lined { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; border: 0; margin: 0 0 24px; padding: 0; }
body.lg-theme .header-lined h1 { margin: 0; font-size: 26px; font-weight: 700; color: var(--lg-text); }
body.lg-theme .header-lined h1 small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--lg-muted); }
body.lg-theme .header-lined .breadcrumb { margin: 0; padding: 0; background: transparent; font-size: 13px; }
body.lg-theme .breadcrumb > li + li:before { content: "/"; color: #b4bed0; padding: 0 6px; }
body.lg-theme .breadcrumb > .active { color: var(--lg-muted); }

/* ---------- Panels / cards ---------- */
body.lg-theme .panel, body.lg-theme .well {
  background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow); margin-bottom: 22px; overflow: hidden;
}
body.lg-theme .well { padding: 20px; }
body.lg-theme .panel-heading, body.lg-theme .panel-default > .panel-heading, body.lg-theme .panel-primary > .panel-heading,
body.lg-theme .panel-info > .panel-heading, body.lg-theme .panel-success > .panel-heading,
body.lg-theme .panel-warning > .panel-heading, body.lg-theme .panel-danger > .panel-heading {
  background: var(--lg-surface); color: var(--lg-text); border: 0; border-bottom: 1px solid var(--lg-border); padding: 16px 20px;
}
body.lg-theme .panel-title { font-size: 15.5px; font-weight: 650; }
body.lg-theme .panel-body { padding: 20px; }
body.lg-theme .panel-footer { background: #fafbfe; border-top: 1px solid var(--lg-border); padding: 14px 20px; }
body.lg-theme .panel-primary > .panel-heading { border-top: 3px solid var(--lg-primary); }
body.lg-theme .panel-success > .panel-heading { border-top: 3px solid var(--lg-success); }
body.lg-theme .panel-warning > .panel-heading { border-top: 3px solid var(--lg-warning); }
body.lg-theme .panel-danger > .panel-heading { border-top: 3px solid var(--lg-danger); }
body.lg-theme .panel-info > .panel-heading { border-top: 3px solid var(--lg-info); }

/* sidebar */
body.lg-theme .sidebar .panel-sidebar .panel-heading { padding: 14px 18px; }
body.lg-theme .sidebar .panel-title { font-size: 13.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
body.lg-theme .sidebar .panel-title .panel-minimise { margin-left: auto; font-size: 11px; color: var(--lg-muted); cursor: pointer; padding: 6px; }
body.lg-theme .sidebar .list-group { margin: 0; padding: 8px; }
body.lg-theme .sidebar .list-group-item {
  border: 0; border-radius: var(--lg-radius-sm); margin: 0 0 2px; padding: 10px 12px; color: var(--lg-text); font-weight: 500; background: transparent;
}
body.lg-theme .sidebar a.list-group-item:hover, body.lg-theme .sidebar a.list-group-item:focus { background: var(--lg-bg); color: var(--lg-primary); }
body.lg-theme .sidebar a.list-group-item.active, body.lg-theme .sidebar a.list-group-item.active:hover {
  background: var(--lg-primary-soft); color: var(--lg-primary); font-weight: 650; border: 0;
}
body.lg-theme .sidebar .list-group-item .badge { float: right; background: var(--lg-primary); border-radius: 20px; }
body.lg-theme .sidebar .list-group-item .sidebar-menu-item-icon { width: 20px; text-align: center; margin-right: 6px; color: var(--lg-muted); }
body.lg-theme .sidebar .panel-body { padding: 16px 18px; }
@media (min-width: 992px) { body.lg-theme .sidebar { position: sticky; top: calc(var(--lg-header-h) + 20px); align-self: flex-start; } }

/* list groups elsewhere */
body.lg-theme .list-group { margin-bottom: 0; }
body.lg-theme .list-group-item { border-color: var(--lg-border); }
body.lg-theme a.list-group-item.active, body.lg-theme .list-group-item.active { background: var(--lg-primary); border-color: var(--lg-primary); }

/* tiles on client home */
body.lg-theme .tiles { margin-bottom: 8px; }
body.lg-theme .tiles .row { display: flex; flex-wrap: wrap; }
body.lg-theme .tiles .tile { display: flex; margin-bottom: 20px; }
body.lg-theme .tiles .tile > a {
  position: relative; display: block; width: 100%; padding: 20px 20px 20px 84px; min-height: 96px;
  background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); box-shadow: var(--lg-shadow);
  color: var(--lg-text); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
body.lg-theme .tiles .tile > a:hover { transform: translateY(-2px); box-shadow: var(--lg-shadow-lg); }
body.lg-theme .tiles .tile .icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; line-height: 48px; text-align: center;
  border-radius: 13px; font-size: 20px; color: var(--lg-primary); background: var(--lg-primary-soft); opacity: 1;
}
body.lg-theme .tiles .tile .stat { font-size: 28px; font-weight: 750; line-height: 1.1; color: var(--lg-text); }
body.lg-theme .tiles .tile .title { margin-top: 4px; color: var(--lg-muted); font-size: 13px; font-weight: 500; text-transform: none; }
body.lg-theme .tiles .tile .highlight { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; height: auto; border-radius: 0; }
body.lg-theme .tiles .bg-color-blue { background: var(--lg-primary); }
body.lg-theme .tiles .bg-color-green { background: var(--lg-success); }
body.lg-theme .tiles .bg-color-red { background: var(--lg-danger); }
body.lg-theme .tiles .bg-color-gold { background: var(--lg-warning); }
@media (max-width: 575px) { body.lg-theme .tiles .tile { padding-left: 7px; padding-right: 7px; } body.lg-theme .tiles .tile > a { padding: 16px 12px 16px 70px; } body.lg-theme .tiles .tile .icon { left: 14px; width: 42px; height: 42px; line-height: 42px; } body.lg-theme .tiles .row { margin-left: -7px; margin-right: -7px; } }

/* ---------- Buttons ---------- */
body.lg-theme .btn {
  border-radius: var(--lg-radius-sm); font-weight: 600; padding: 9px 18px; border-width: 1px;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.lg-theme .btn-lg { padding: 13px 24px; font-size: 16px; border-radius: var(--lg-radius); }
body.lg-theme .btn-sm, body.lg-theme .btn-xs { border-radius: 6px; }
body.lg-theme .btn-primary, body.lg-theme .btn-info { background: var(--lg-primary); border-color: var(--lg-primary); color: #fff; }
body.lg-theme .btn-primary:hover, body.lg-theme .btn-primary:focus, body.lg-theme .btn-primary:active,
body.lg-theme .btn-info:hover, body.lg-theme .btn-info:focus { background: var(--lg-primary-dark); border-color: var(--lg-primary-dark); color: #fff; }
body.lg-theme .btn-default { background: #fff; border-color: var(--lg-border); color: var(--lg-text); }
body.lg-theme .btn-default:hover, body.lg-theme .btn-default:focus { background: var(--lg-bg); border-color: #cfd8e8; color: var(--lg-text); }
body.lg-theme .btn-success { background: var(--lg-success); border-color: var(--lg-success); }
body.lg-theme .btn-success:hover { background: #17a374; border-color: #17a374; }
body.lg-theme .btn-warning { background: var(--lg-warning); border-color: var(--lg-warning); }
body.lg-theme .btn-danger { background: var(--lg-danger); border-color: var(--lg-danger); }
body.lg-theme .btn-link { color: var(--lg-primary); }
body.lg-theme .btn-default.disabled, body.lg-theme .btn[disabled] { opacity: .55; }

/* ---------- Forms ---------- */
body.lg-theme label { font-weight: 600; font-size: 13.5px; color: var(--lg-text); margin-bottom: 6px; }
body.lg-theme .form-control {
  height: 44px; padding: 10px 14px; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-sm);
  background: #fff; box-shadow: none; font-size: 14.5px; color: var(--lg-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.lg-theme textarea.form-control { height: auto; min-height: 110px; }
body.lg-theme select.form-control { padding-right: 30px; }
body.lg-theme .form-control:focus { border-color: var(--lg-primary); box-shadow: 0 0 0 4px rgba(62, 99, 245, .14); }
body.lg-theme .form-control::placeholder { color: #9aa6bb; }
body.lg-theme .input-group-addon { border: 1px solid var(--lg-border); background: var(--lg-bg); color: var(--lg-muted); border-radius: var(--lg-radius-sm); }
body.lg-theme .input-group .form-control:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.lg-theme .input-group .form-control:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }
body.lg-theme .has-error .form-control { border-color: var(--lg-danger); }
body.lg-theme .has-success .form-control { border-color: var(--lg-success); }
body.lg-theme .help-block { color: var(--lg-muted); font-size: 12.5px; }
body.lg-theme .form-group { margin-bottom: 18px; }
body.lg-theme .checkbox label, body.lg-theme .radio label { font-weight: 500; }
body.lg-theme .bootstrap-switch, body.lg-theme .iradio_square-blue, body.lg-theme .icheckbox_square-blue { vertical-align: middle; }

/* ---------- Tables ---------- */
body.lg-theme .table-container, body.lg-theme .dataTables_wrapper { background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); box-shadow: var(--lg-shadow); padding: 4px 0 0; overflow: hidden; }
body.lg-theme .dataTables_wrapper .dataTables_filter, body.lg-theme .dataTables_wrapper .dataTables_length { padding: 14px 18px 4px; }
body.lg-theme .dataTables_wrapper .dataTables_info, body.lg-theme .dataTables_wrapper .dataTables_paginate { padding: 12px 18px; }
body.lg-theme .table { margin-bottom: 0; background: transparent; }
body.lg-theme .table > thead > tr > th {
  background: #f8fafd; color: var(--lg-muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid var(--lg-border); border-top: 0; padding: 12px 18px;
}
body.lg-theme .table > tbody > tr > td, body.lg-theme .table > tbody > tr > th, body.lg-theme .table > tfoot > tr > td {
  padding: 14px 18px; border-top: 1px solid var(--lg-border); vertical-align: middle;
}
body.lg-theme .table-striped > tbody > tr:nth-of-type(odd) { background: transparent; }
body.lg-theme .table-hover > tbody > tr:hover, body.lg-theme .table-list > tbody > tr:hover { background: #f8faff; }
body.lg-theme table.table-list > tbody > tr { cursor: pointer; }
body.lg-theme .table-responsive { border: 0; margin-bottom: 0; }
body.lg-theme .pagination > li > a, body.lg-theme .pagination > li > span { border: 1px solid var(--lg-border); margin: 0 2px; border-radius: 6px !important; color: var(--lg-text); }
body.lg-theme .pagination > .active > a, body.lg-theme .pagination > .active > span { background: var(--lg-primary); border-color: var(--lg-primary); }
@media (max-width: 767px) {
  body.lg-theme .table > thead > tr > th, body.lg-theme .table > tbody > tr > td { padding: 12px 14px; }
  body.lg-theme .table-container, body.lg-theme .dataTables_wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.lg-theme .dataTables_wrapper .dataTables_filter, body.lg-theme .dataTables_wrapper .dataTables_length { float: none; text-align: left; }
  body.lg-theme .dataTables_wrapper .dataTables_filter input { width: 100%; margin: 6px 0 0; display: block; }
}

/* ---------- Labels, badges, alerts, tabs, modals ---------- */
body.lg-theme .label { display: inline-block; padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
body.lg-theme .label-default, body.lg-theme .label.status-pending, body.lg-theme .label.status-draft { background: #eef1f6; color: var(--lg-muted); }
body.lg-theme .label-success, body.lg-theme .label.status-active, body.lg-theme .label.status-paid, body.lg-theme .label.status-open { background: #def7ee; color: #0f8c61; }
body.lg-theme .label-warning, body.lg-theme .label.status-suspended, body.lg-theme .label.status-unpaid { background: #fff1d9; color: #b87708; }
body.lg-theme .label-danger, body.lg-theme .label.status-terminated, body.lg-theme .label.status-cancelled, body.lg-theme .label.status-overdue, body.lg-theme .label.status-fraud, body.lg-theme .label.status-closed { background: #fde5e5; color: #c63a3a; }
body.lg-theme .label-info, body.lg-theme .label-primary { background: var(--lg-primary-soft); color: var(--lg-primary); }
body.lg-theme .badge { border-radius: 20px; font-weight: 600; }
body.lg-theme .alert { border: 0; border-left: 4px solid; border-radius: var(--lg-radius-sm); padding: 14px 18px; }
body.lg-theme .alert-success { background: #e6f8f1; border-color: var(--lg-success); color: #0b6a49; }
body.lg-theme .alert-info { background: #e8f4fd; border-color: var(--lg-info); color: #195e8d; }
body.lg-theme .alert-warning { background: #fff6e5; border-color: var(--lg-warning); color: #8a5a07; }
body.lg-theme .alert-danger { background: #fdeaea; border-color: var(--lg-danger); color: #9b2b2b; }
body.lg-theme .nav-tabs { border-bottom: 1px solid var(--lg-border); display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.lg-theme .nav-tabs > li { float: none; flex: 0 0 auto; margin-bottom: -1px; }
body.lg-theme .nav-tabs > li > a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--lg-muted); font-weight: 600; padding: 12px 18px; margin: 0; white-space: nowrap; }
body.lg-theme .nav-tabs > li.active > a, body.lg-theme .nav-tabs > li.active > a:hover, body.lg-theme .nav-tabs > li > a:hover { background: transparent; border: 0; border-bottom: 2px solid var(--lg-primary); color: var(--lg-primary); }
body.lg-theme .nav-pills > li.active > a, body.lg-theme .nav-pills > li.active > a:hover { background: var(--lg-primary); }
body.lg-theme .modal-content { border: 0; border-radius: 14px; box-shadow: var(--lg-shadow-lg); overflow: hidden; }
body.lg-theme .modal-header { border-bottom: 1px solid var(--lg-border); padding: 18px 22px; }
body.lg-theme .modal-footer { border-top: 1px solid var(--lg-border); }
body.lg-theme .modal-header.panel-heading { background: #fff; color: var(--lg-text); border-top: 3px solid var(--lg-primary); }
body.lg-theme .progress { border-radius: 20px; box-shadow: none; background: #e9eef7; height: 10px; }
body.lg-theme .progress-bar { background: var(--lg-primary); }
@media (max-width: 575px) { body.lg-theme .modal-dialog { margin: 10px; } }

/* ---------- Login / register / password reset ---------- */
body.lg-theme .logincontainer { max-width: 480px; margin: 20px auto 0; background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: 14px; box-shadow: var(--lg-shadow-lg); padding: 34px 34px 30px; }
body.lg-theme .logincontainer.with-social { max-width: 880px; }
body.lg-theme .logincontainer .header-lined { display: block; text-align: center; margin-bottom: 22px; }
body.lg-theme .logincontainer .header-lined .breadcrumb { display: none; }
body.lg-theme .logincontainer .btn { min-width: 120px; }
@media (max-width: 575px) {
  body.lg-theme .logincontainer { padding: 24px 18px; margin-top: 4px; border-radius: 12px; box-shadow: var(--lg-shadow); }
  body.lg-theme .logincontainer .btn { display: block; width: 100%; margin: 0 0 10px; }
}
body.lg-theme .sub-heading, body.lg-theme .sub-heading-borderless { border-bottom: 1px solid var(--lg-border); margin: 26px 0 18px; text-align: left; height: auto; }
body.lg-theme .sub-heading span, body.lg-theme .sub-heading-borderless span { background: transparent; color: var(--lg-text); font-weight: 650; font-size: 16px; padding: 0 0 10px; position: static; display: inline-block; }

/* ---------- Footer ---------- */
body.lg-theme #footer.lg-footer { background: var(--lg-surface); border-top: 1px solid var(--lg-border); padding: 22px 0; margin: 0; }
.lg-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.lg-theme #footer .lg-copy { margin: 0; color: var(--lg-muted); font-size: 13px; }
body.lg-theme #footer .back-to-top { position: static; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lg-primary-soft); color: var(--lg-primary); }
body.lg-theme #footer .back-to-top:hover { background: var(--lg-primary); color: #fff; }
body.lg-theme #footer .back-to-top i { position: static; margin: 0; }

/* ==========================================================================
   ORDER FORM  (WHMCS "standard_cart" restyled to match the Lagom order flow)
   ========================================================================== */
body.lg-cart section#main-body { padding-top: 28px; }
body.lg-cart #order-standard_cart { font-family: var(--lg-font); color: var(--lg-text); }
body.lg-cart #order-standard_cart .header-lined { margin-bottom: 22px; }
body.lg-cart #order-standard_cart .header-lined h1 { font-size: 28px; font-weight: 700; }
body.lg-cart #order-standard_cart .cart-sidebar { position: sticky; top: calc(var(--lg-header-h) + 20px); padding-right: 6px; }
body.lg-cart #order-standard_cart .cart-sidebar .panel, body.lg-cart #order-standard_cart .cart-body .panel { border-radius: var(--lg-radius); }
body.lg-cart #order-standard_cart .cart-sidebar .list-group-item { border: 0; border-radius: var(--lg-radius-sm); margin: 0 0 2px; padding: 11px 14px; font-weight: 500; color: var(--lg-text); }
body.lg-cart #order-standard_cart .cart-sidebar .list-group-item:hover { background: var(--lg-bg); color: var(--lg-primary); }
body.lg-cart #order-standard_cart .cart-sidebar .list-group-item.active, body.lg-cart #order-standard_cart .cart-sidebar .list-group-item.active:hover { background: var(--lg-primary-soft); color: var(--lg-primary); font-weight: 650; }
body.lg-cart #order-standard_cart .cart-body { padding-left: 6px; }
body.lg-cart #order-standard_cart .cart-body .header-lined { border: 0; }

/* product cards */
body.lg-cart #order-standard_cart .products .product {
  position: relative; background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow); padding: 24px; margin: 0 0 18px; transition: box-shadow .15s ease, border-color .15s ease;
}
body.lg-cart #order-standard_cart .products .product:hover { box-shadow: var(--lg-shadow-lg); border-color: #cdd8f7; }
body.lg-cart #order-standard_cart .products .product header { background: transparent; border: 0; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--lg-border); }
body.lg-cart #order-standard_cart .products .product header span, body.lg-cart #order-standard_cart .products .product header .qty { font-size: 19px; font-weight: 700; color: var(--lg-text); }
body.lg-cart #order-standard_cart .products .product div.product-desc { font-size: 14px; color: var(--lg-muted); float: none; width: auto; padding: 0; }
body.lg-cart #order-standard_cart .products .product div.product-desc ul { padding-left: 0; list-style: none; }
body.lg-cart #order-standard_cart .products .product div.product-desc ul li { padding: 5px 0 5px 24px; position: relative; }
body.lg-cart #order-standard_cart .products .product div.product-desc ul li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; color: var(--lg-success); font-size: 12px; top: 8px; }
body.lg-cart #order-standard_cart .products .product div.product-pricing { float: none; width: auto; text-align: left; margin: 16px 0 0; padding: 0; }
body.lg-cart #order-standard_cart .products .product div.product-pricing span.price { font-size: 30px; font-weight: 750; color: var(--lg-text); letter-spacing: -.02em; }
body.lg-cart #order-standard_cart .products .product div.product-pricing br { display: none; }
body.lg-cart #order-standard_cart .products .product footer { margin: 18px 0 0; padding: 0; background: transparent; border: 0; }
body.lg-cart #order-standard_cart .products .product .btn-order-now, body.lg-cart #order-standard_cart .btn-order-now { background: var(--lg-primary); border-color: var(--lg-primary); color: #fff; padding: 11px 26px; border-radius: var(--lg-radius-sm); font-weight: 650; }
body.lg-cart #order-standard_cart .products .product .btn-order-now:hover { background: var(--lg-primary-dark); }
body.lg-cart #order-standard_cart .products .product span.feature-value { color: var(--lg-text); font-weight: 650; }
body.lg-cart #order-standard_cart .product-status-text, body.lg-cart #order-standard_cart .product-group-name { color: var(--lg-text); }
@media (min-width: 768px) { body.lg-cart #order-standard_cart .products .product { display: flex; flex-wrap: wrap; align-items: stretch; } }

/* domain search + selection */
body.lg-cart #order-standard_cart .domain-checker-container, body.lg-cart #order-standard_cart .domain-checker-bg { background: linear-gradient(135deg, #2f4fd6, #6b66f7); border: 0; border-radius: var(--lg-radius); padding: 32px 24px; }
body.lg-cart #order-standard_cart .domain-checker-container .input-group-box, body.lg-cart #order-standard_cart .domain-checker-bg .input-group-box { border-radius: var(--lg-radius); }
body.lg-cart #order-standard_cart .domain-checker-container .form-control, body.lg-cart #order-standard_cart .domain-checker-bg .form-control { height: 54px; border: 0; }
body.lg-cart #order-standard_cart .domain-checker-container .btn, body.lg-cart #order-standard_cart .domain-checker-bg .btn { height: 54px; border: 0; font-weight: 650; }
body.lg-cart #order-standard_cart .domain-selection-options .option {
  background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); padding: 16px 18px; margin: 0 0 12px; transition: border-color .15s ease, background .15s ease;
}
body.lg-cart #order-standard_cart .domain-selection-options .option.option-selected { border-color: var(--lg-primary); background: var(--lg-primary-soft); }
body.lg-cart #order-standard_cart .spotlight-tlds { border-radius: var(--lg-radius); }
body.lg-cart #order-standard_cart .spotlight-tld-container .spotlight-tld { background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); box-shadow: var(--lg-shadow); }
body.lg-cart #order-standard_cart .domain-pricing .tld-pricing-header { background: #f8fafd; }

/* configure + cart items */
body.lg-cart #order-standard_cart .view-cart-items-header { background: #f8fafd; color: var(--lg-muted); border: 1px solid var(--lg-border); border-radius: var(--lg-radius) var(--lg-radius) 0 0; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; padding: 12px 18px; }
body.lg-cart #order-standard_cart .view-cart-items { background: var(--lg-surface); border: 1px solid var(--lg-border); border-top: 0; border-radius: 0 0 var(--lg-radius) var(--lg-radius); box-shadow: var(--lg-shadow); margin-bottom: 20px; }
body.lg-cart #order-standard_cart .view-cart-items .item { padding: 18px; border-bottom: 1px solid var(--lg-border); }
body.lg-cart #order-standard_cart .view-cart-items .item:last-child { border-bottom: 0; }
body.lg-cart #order-standard_cart .view-cart-items .item-title { font-weight: 650; font-size: 15.5px; }
body.lg-cart #order-standard_cart .view-cart-items .item-group, body.lg-cart #order-standard_cart .view-cart-items .item-domain { color: var(--lg-muted); font-size: 13px; }
body.lg-cart #order-standard_cart .view-cart-items .item-price span { font-weight: 700; font-size: 16px; }
body.lg-cart #order-standard_cart .view-cart-items .btn-link, body.lg-cart #order-standard_cart .btn-remove-from-cart { color: var(--lg-danger); }
body.lg-cart #order-standard_cart .view-cart-promotion-code, body.lg-cart #order-standard_cart .view-cart-tabs .tab-content, body.lg-cart #order-standard_cart .view-cart-tabs .nav-tabs { border-radius: var(--lg-radius); }
body.lg-cart #order-standard_cart .view-cart-tabs .tab-content { background: var(--lg-surface); border: 1px solid var(--lg-border); border-top: 0; padding: 20px; }
body.lg-cart #order-standard_cart .view-cart-tabs .nav-tabs > li > a { background: transparent; }

/* order summary */
body.lg-cart #order-standard_cart .secondary-cart-sidebar, body.lg-cart #order-standard_cart .summary-container { position: static; }
@media (min-width: 992px) { body.lg-cart #order-standard_cart .secondary-cart-sidebar { position: sticky; top: calc(var(--lg-header-h) + 20px); } }
body.lg-cart #order-standard_cart .order-summary, body.lg-cart #order-standard_cart .summary-container {
  background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); box-shadow: var(--lg-shadow); overflow: hidden; padding: 0;
}
body.lg-cart #order-standard_cart .order-summary h2, body.lg-cart #order-standard_cart .summary-container .order-summary-title { background: transparent; color: var(--lg-text); text-align: left; font-size: 17px; font-weight: 700; margin: 0; padding: 18px 20px; border-bottom: 1px solid var(--lg-border); }
body.lg-cart #order-standard_cart .order-summary .summary-container { border: 0; box-shadow: none; padding: 16px 20px; background: transparent; }
body.lg-cart #order-standard_cart .order-summary .product-name { font-weight: 650; }
body.lg-cart #order-standard_cart .order-summary .product-group, body.lg-cart #order-standard_cart .order-summary .summary-totals { color: var(--lg-muted); }
body.lg-cart #order-standard_cart .order-summary .total-due-today { background: #f8fafd; border-top: 1px solid var(--lg-border); padding: 16px 20px; margin: 0; }
body.lg-cart #order-standard_cart .order-summary .total-due-today .amt { font-size: 28px; font-weight: 750; color: var(--lg-text); letter-spacing: -.02em; }
body.lg-cart #order-standard_cart .order-summary .loader { display: none; }
body.lg-cart #order-standard_cart .order-summary .text-right, body.lg-cart #order-standard_cart .order-summary .btn-checkout, body.lg-cart #order-standard_cart .btn-checkout { display: block; }
body.lg-cart #order-standard_cart .btn-checkout, body.lg-cart #order-standard_cart #btnCompleteOrder, body.lg-cart #order-standard_cart .btn-lg.btn-primary {
  background: var(--lg-success); border-color: var(--lg-success); color: #fff; width: 100%; padding: 15px 22px; font-size: 16px; font-weight: 700; border-radius: var(--lg-radius-sm);
}
body.lg-cart #order-standard_cart .btn-checkout:hover, body.lg-cart #order-standard_cart #btnCompleteOrder:hover { background: #17a374; border-color: #17a374; }
body.lg-cart #order-standard_cart .btn-continue-shopping { display: block; text-align: center; color: var(--lg-muted); padding: 10px; font-weight: 500; }
body.lg-cart #order-standard_cart .empty-cart .btn { width: auto; }

/* checkout */
body.lg-cart #order-standard_cart #frmCheckout .field-container, body.lg-cart #order-standard_cart .signup-frm { margin-bottom: 4px; }
body.lg-cart #order-standard_cart .sub-heading, body.lg-cart #order-standard_cart .sub-heading-borderless { margin-top: 28px; }
body.lg-cart #order-standard_cart .sub-heading span { font-size: 17px; }
body.lg-cart #order-standard_cart .field, body.lg-cart #order-standard_cart .form-control { height: 46px; border-radius: var(--lg-radius-sm); border: 1px solid var(--lg-border); box-shadow: none; }
body.lg-cart #order-standard_cart textarea.field, body.lg-cart #order-standard_cart textarea.form-control { height: auto; }
body.lg-cart #order-standard_cart .field:focus, body.lg-cart #order-standard_cart .form-control:focus { border-color: var(--lg-primary); box-shadow: 0 0 0 4px rgba(62, 99, 245, .14); }
body.lg-cart #order-standard_cart .payment-methods label, body.lg-cart #order-standard_cart label.radio-inline { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 11px 16px; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-sm); background: var(--lg-surface); font-weight: 600; cursor: pointer; }
body.lg-cart #order-standard_cart .existing-card, body.lg-cart #order-standard_cart .new-card-container { background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); padding: 16px; }
body.lg-cart #order-standard_cart .already-registered, body.lg-cart #order-standard_cart .account-select-container { background: var(--lg-primary-soft); border-radius: var(--lg-radius); padding: 14px 18px; }
body.lg-cart #order-standard_cart .panel-addon { background: var(--lg-surface); border: 1px solid var(--lg-border); border-radius: var(--lg-radius); box-shadow: var(--lg-shadow); overflow: hidden; }
body.lg-cart #order-standard_cart .panel-addon .panel-add { background: var(--lg-bg); border-top: 1px solid var(--lg-border); font-weight: 650; color: var(--lg-primary); }
body.lg-cart #order-standard_cart .panel-addon-selected { border-color: var(--lg-primary); }
body.lg-cart #order-standard_cart .alert { margin-bottom: 18px; }
body.lg-cart #order-standard_cart .cart-body > .alert { border-radius: var(--lg-radius-sm); }

/* ---------- Order form on tablet / phone ---------- */
@media (max-width: 991px) {
  body.lg-cart #order-standard_cart .cart-sidebar, body.lg-cart #order-standard_cart .secondary-cart-sidebar { position: static; padding: 0; margin-bottom: 18px; }
  body.lg-cart #order-standard_cart .cart-body { padding-left: 0; }
}
@media (max-width: 767px) {
  body.lg-cart #order-standard_cart .header-lined h1 { font-size: 23px; }
  body.lg-cart #order-standard_cart .products .product { padding: 18px; }
  body.lg-cart #order-standard_cart .products .product div.product-pricing span.price { font-size: 26px; }
  body.lg-cart #order-standard_cart .products .product .btn-order-now, body.lg-cart #order-standard_cart .products .product footer .btn { display: block; width: 100%; padding: 14px 18px; }
  body.lg-cart #order-standard_cart .view-cart-items-header .col-xs-3, body.lg-cart #order-standard_cart .view-cart-items-header .hidden-xs { display: none; }
  body.lg-cart #order-standard_cart .view-cart-items .item { padding: 16px 14px; }
  body.lg-cart #order-standard_cart .view-cart-items .item .row > div { margin-bottom: 8px; }
  body.lg-cart #order-standard_cart .view-cart-items .item-price { text-align: left; }
  body.lg-cart #order-standard_cart .domain-checker-container, body.lg-cart #order-standard_cart .domain-checker-bg { padding: 20px 14px; }
  body.lg-cart #order-standard_cart .domain-checker-container .input-group, body.lg-cart #order-standard_cart .domain-checker-bg .input-group { display: block; }
  body.lg-cart #order-standard_cart .domain-checker-container .input-group > *, body.lg-cart #order-standard_cart .domain-checker-bg .input-group > * { display: block; width: 100%; }
  body.lg-cart #order-standard_cart .domain-checker-container .btn, body.lg-cart #order-standard_cart .domain-checker-bg .btn { width: 100%; margin-top: 8px; border-radius: var(--lg-radius-sm); }
  body.lg-cart #order-standard_cart .payment-methods label, body.lg-cart #order-standard_cart label.radio-inline { display: flex; width: 100%; margin-right: 0; }
  body.lg-cart #order-standard_cart .row > [class*="col-"].form-group, body.lg-cart #order-standard_cart .signup-frm [class*="col-"] { margin-bottom: 4px; }
  /* sticky checkout bar so the primary action is always reachable */
  body.lg-cart #btnCompleteOrder, body.lg-cart .btn-checkout.sticky-mobile { position: sticky; bottom: 10px; z-index: 5; box-shadow: 0 8px 24px rgba(29, 43, 68, .25); }
}

/* ---------- Global small-screen polish ---------- */
@media (max-width: 767px) {
  body.lg-theme { font-size: 15px; }
  body.lg-theme section#main-body { padding: 20px 0 40px; }
  body.lg-theme .container { padding-left: 16px; padding-right: 16px; }
  body.lg-theme .header-lined { margin-bottom: 18px; }
  body.lg-theme .header-lined h1 { font-size: 22px; }
  body.lg-theme .panel-body, body.lg-theme .panel-heading, body.lg-theme .panel-footer { padding-left: 16px; padding-right: 16px; }
  /* 16px inputs stop iOS Safari zooming on focus; 44px tap targets */
  body.lg-theme .form-control, body.lg-theme input, body.lg-theme select, body.lg-theme textarea { font-size: 16px; }
  body.lg-theme .btn { min-height: 44px; }
  body.lg-theme .btn-sm { min-height: 38px; }
  body.lg-theme .form-horizontal .control-label { text-align: left; }
  body.lg-theme .sidebar { margin-bottom: 8px; }
  body.lg-theme .main-content { margin-top: 4px; }
  body.lg-theme pre, body.lg-theme code { white-space: pre-wrap; word-break: break-word; }
}
body.lg-theme .main-content, body.lg-theme .cart-body { min-width: 0; }
body.lg-theme .main-content iframe, body.lg-theme .main-content video { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { #lg-header, #footer, .sidebar, .lg-backdrop { display: none !important; } body.lg-theme { background: #fff; } }

/* ==========================================================================
   Overrides for legacy Six rules that would otherwise leak through
   ========================================================================== */
.lg-header-inner:before, .lg-header-inner:after, .lg-footer-inner:before, .lg-footer-inner:after { display: none; content: none; }
body.lg-theme .header-lined h1, body.lg-theme .header-lined h1 small { border: 0; padding: 0; }
body.lg-theme .header-lined h1 small { display: block; }

/* tables inside cards: no double borders, left-aligned headers, calm rows */
body.lg-theme .panel > .table-container, body.lg-theme .panel > .dataTables_wrapper, body.lg-theme .panel .table-container.clearfix { border: 0; border-radius: 0; box-shadow: none; }
body.lg-theme .table > thead > tr > th { text-align: left; }
body.lg-theme .table-list > thead > tr > th.text-center, body.lg-theme .table > thead > tr > th.text-center { text-align: center; }
body.lg-theme .table-striped > tbody > tr:nth-of-type(odd), body.lg-theme .table-list > tbody > tr:nth-of-type(odd) { background: transparent; }
body.lg-theme .table > tbody > tr > td { color: var(--lg-text); }
body.lg-theme .label.status, body.lg-theme .label { border: 0; box-shadow: none; text-shadow: none; }
body.lg-theme table.dataTable thead .sorting:after, body.lg-theme table.dataTable thead .sorting_asc:after, body.lg-theme table.dataTable thead .sorting_desc:after { opacity: .35; }

/* client-area tiles: remove legacy dividers and grey strip */
body.lg-theme .tiles, body.lg-theme .tiles .row { background: transparent; border: 0; box-shadow: none; }
body.lg-theme .tiles .tile, body.lg-theme .tiles .tile:hover { background: transparent; border: 0; box-shadow: none; padding-left: 10px; padding-right: 10px; }
body.lg-theme .tiles .tile a:hover { text-decoration: none; }
body.lg-theme .tiles .tile .stat { font-family: var(--lg-font); }
body.lg-theme .tiles .row { margin-left: -10px; margin-right: -10px; }
body.lg-theme .sidebar .list-group-item .badge { margin-top: 2px; font-size: 11px; padding: 3px 8px; }

/* product cards: header on top, description left, price + button right */
@media (min-width: 768px) {
  body.lg-cart #order-standard_cart .products .product { display: grid; grid-template-columns: 1fr 250px; column-gap: 32px; align-items: start; }
  body.lg-cart #order-standard_cart .products .product > header { grid-column: 1 / -1; float: none; width: 100%; }
  body.lg-cart #order-standard_cart .products .product > .product-desc { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
  body.lg-cart #order-standard_cart .products .product > .product-pricing { grid-column: 2; grid-row: 2; margin: 0; }
  body.lg-cart #order-standard_cart .products .product > footer { grid-column: 2; grid-row: 3; float: none; width: 100%; margin: 14px 0 0; }
  body.lg-cart #order-standard_cart .products .product > footer .btn { width: 100%; }
}
@media (max-width: 767px) {
  body.lg-cart #order-standard_cart .products .product > header, body.lg-cart #order-standard_cart .products .product > footer, body.lg-cart #order-standard_cart .products .product > .product-desc, body.lg-cart #order-standard_cart .products .product > .product-pricing { float: none; width: 100%; }
}

/* tiles: neutralise legacy margins/padding/borders */
body.lg-theme .tiles { margin: 0 0 6px; }
body.lg-theme .tiles .tile, body.lg-theme .tiles .tile:nth-child(n) { padding: 0 10px; margin-bottom: 20px; border: 0; background: transparent; }
body.lg-theme .tiles .tile .stat { margin-top: 0; }
body.lg-theme .tiles .tile .icon { right: auto; }
body.lg-theme .tiles .tile .title { font-weight: 500; }
@media (max-width: 575px) { body.lg-theme .tiles .tile, body.lg-theme .tiles .tile:nth-child(n) { padding: 0 7px; margin-bottom: 14px; } }
