/*!
 * Maa Web Host — Client Area Redesign (v3)
 * Based on WHMCS "Twenty-One" (Bootstrap 4.5.3)
 * ------------------------------------------------------------
 * Palette (brand green, sampled from the logo icon):
 *   Primary Green   #05B32E
 *   Accent Green    #10B981
 *   Accent Orange   #FFBA00
 *   Success Green   #22C55E
 *   Dark Navy       #0B1D3A
 *   Light Bg        #F5F7FB
 *
 * It is auto-loaded by includes/head.tpl via
 * {assetExists file="custom.css"}, always AFTER theme.min.css,
 * so every rule here safely overrides the compiled Bootstrap
 * theme without touching that file's ~13k lines directly.
 * ------------------------------------------------------------
 */

:root {
  --bg:        #f5f7fb;
  --bg-2:      #ffffff;
  --bg-3:      #eef1f8;
  --bd:        #e2e6ef;
  --bd-h:      #cdd4e2;
  --tx-1:      #0b1d3a;
  --tx-2:      #6b7280;
  --tx-3:      #9aa2b1;
  --a:         #05b32e;
  --a-dark:    #037a1f;
  --a-light:   #cdf0d5;
  --a-glow:    rgba(5,179,46,.22);
  --a-accent:  #10b981;
  --a2:        #ffba00;
  --a2-dark:   #e0a300;
  --a2-light:  #fff6e0;
  --success:   #22c55e;
  --success-light: #e8fbf0;
  --r-sm:      8px;
  --r:         12px;
  --r-lg:      12px;
  --grad-primary: linear-gradient(135deg, var(--a) 0%, var(--a-accent) 100%);
  --grad-navy:    linear-gradient(120deg, var(--tx-1) 0%, var(--a-dark) 100%);
  --ease:      cubic-bezier(.22,1,.36,1);
  --shadow-sm: 0 2px 8px rgba(11,29,58,.05);
  --shadow:    0 4px 20px rgba(11,29,58,.05);
  --shadow-lg: 0 20px 48px rgba(11,29,58,.14), 0 6px 16px rgba(11,29,58,.06);
  --shadow-glow: 0 8px 24px rgba(5,179,46,.22);
}

/* ══════════════════════════════════════
   BASE / TYPOGRAPHY
══════════════════════════════════════ */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg) !important;
  color: var(--tx-2);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.card-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: var(--tx-1);
  letter-spacing: -.2px;
}

a {
  color: var(--a);
}
a:hover {
  color: var(--a-dark);
}

/* ══════════════════════════════════════
   HEADER / NAVBAR
══════════════════════════════════════ */
header.header {
  background-color: #fff;
  border-bottom: 1px solid var(--bd);
  box-shadow: 0 1px 0 rgba(11,29,58,.02), 0 2px 12px rgba(11,29,58,.04);
  position: sticky;
  top: 0;
  z-index: 900;
}
header.header .main-navbar-wrapper {
  padding: 0;
}
header.header .main-navbar-wrapper .container {
  min-height: 72px;
}
header.header .logo-img {
  max-height: 38px;
  width: auto;
  display: block;
}
header.header .navbar-brand {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--tx-1);
  padding: 0;
}
header.header .navbar a {
  color: var(--tx-2);
}
header.header .navbar-nav a {
  font-weight: 500;
  font-size: 14px;
}
header.header #nav.navbar-nav {
  height: 100%;
}
header.header #nav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
header.header .navbar-nav .nav-link {
  border-radius: 8px;
  padding: 8px 14px !important;
  transition: background-color .2s, color .2s;
}
header.header .navbar-nav .nav-link:hover {
  background-color: var(--bg-3);
  color: var(--tx-1);
}
header.header .navbar-nav > li.active > a,
header.header .navbar-nav > li > a.active {
  color: var(--a);
  font-weight: 600;
}
header.header #nav > li.active::after,
header.header #nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--a);
  border-radius: 2px 2px 0 0;
}

/* toolbar (right icon cluster) */
header.header .mwh-toolbar {
  gap: 4px;
  margin-left: auto;
}
header.header .mwh-toolbar .nav-item {
  position: relative;
}
header.header .mwh-toolbar .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  color: var(--tx-2);
  border-radius: 50%;
}
header.header .mwh-toolbar .nav-link:hover {
  background-color: var(--bg-3);
  color: var(--tx-1);
}
header.header .cart-btn {
  position: relative;
}
header.header .mwh-search-item {
  margin-right: 4px;
}
header.header .mwh-search-item .search {
  border: 1px solid var(--bd);
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-3);
  width: 190px;
  transition: width .2s;
}
header.header .mwh-search-item .search:focus-within {
  width: 240px;
  background-color: var(--bg-2);
  border-color: var(--bd-h);
}
header.header .mwh-search-item .search .btn {
  color: var(--tx-3);
  padding: 6px 10px;
}
header.header .mwh-search-item .search .form-control {
  background-color: transparent;
  padding: 6px 8px 6px 0;
  font-size: 13px;
  height: auto;
}
header.header .cart-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 50%;
  min-width: 15px;
}
header.header .mwh-bell-btn {
  position: relative;
}
header.header .mwh-bell-btn .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 50%;
}
header.header .mwh-account-item .dropdown-toggle::after {
  display: none;
}
header.header .mwh-account-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  border-radius: 30px;
  padding: 6px 12px 6px 6px !important;
}
header.header .mwh-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--a-light);
  color: var(--a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
header.header .mwh-account-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tx-1);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
header.header .mwh-account-caret {
  font-size: 9px;
  color: var(--tx-3);
}
header.header .mwh-nav-btn {
  border-radius: 10px;
  padding: 8px 18px !important;
  font-weight: 600;
  margin-left: 6px;
}
header.header .mwh-mobile-toggle {
  color: var(--tx-1);
  font-size: 18px;
  padding: 6px 8px !important;
}
@media (max-width: 1199.98px) {
  header.header .navbar-collapse {
    order: 10;
    width: 100%;
    padding: 12px 0;
  }
  header.header .mwh-toolbar {
    margin-left: auto;
  }
}

/* ══════════════════════════════════════
   BUTTONS — pill style
══════════════════════════════════════ */
.btn {
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .1px;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn-sm {
  border-radius: 8px;
}
.btn-primary {
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5,179,46,.34);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-default,
.btn-outline-secondary {
  border-radius: 12px;
  border-color: var(--bd);
  color: var(--tx-2);
}
.btn-default:hover {
  background-color: var(--bg-3);
  color: var(--tx-1);
}
.btn-link {
  font-weight: 600;
}

/* ══════════════════════════════════════
   CARDS / SURFACES
══════════════════════════════════════ */
.card, .mc-promo-manage, .mc-promo-login {
  background-color: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.primary-content .card:hover,
.client-home-cards .card:hover {
  box-shadow: var(--shadow);
  border-color: var(--bd-h);
}
.card-header {
  background-color: var(--bg-2);
  border-bottom: 1px solid var(--bd);
  border-radius: var(--r-lg) var(--r-lg) 0 0 !important;
}
.card-footer {
  background-color: var(--bg-3);
  border-top: 1px solid var(--bd);
  border-radius: 0 0 var(--r-lg) var(--r-lg) !important;
}
.card.card-sidebar {
  border-radius: var(--r);
}
.card.card-sidebar .card-header {
  border-radius: var(--r) var(--r) 0 0 !important;
}

/* account nav / sidebar list items */
.list-group-item {
  border-color: var(--bd);
}
.list-group-item-action {
  color: var(--tx-2);
  transition: background-color .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.list-group-item-action:hover,
.list-group-item-action:focus {
  background-color: var(--a-light);
  color: var(--a-dark);
  padding-left: 1.5rem;
}
.list-group-item-action.active {
  background: linear-gradient(90deg, var(--a-light) 0%, rgba(205,240,213,.3) 100%);
  color: var(--a-dark);
  border-color: var(--bd);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--a);
}

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-control {
  border-radius: var(--r-sm);
  border-color: var(--bd);
  background-color: var(--bg-2);
}
.form-control:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3px var(--a-glow);
}
.input-group-text {
  border-radius: var(--r-sm);
  border-color: var(--bd);
  background-color: var(--bg-3);
  color: var(--tx-2);
}
.input-group-merge .input-group-prepend .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--a);
  background-color: var(--a);
}

/* ══════════════════════════════════════
   TABLES / BADGES / ALERTS
══════════════════════════════════════ */
.table thead th {
  color: var(--tx-1);
  border-bottom-width: 1px;
  background-color: var(--bg-3);
}
.table td, .table th {
  border-color: var(--bd);
}
.badge {
  border-radius: 6px;
  font-weight: 600;
}
.alert {
  border-radius: var(--r);
  border-width: 1px;
}

/* ══════════════════════════════════════
   DROPDOWNS / PAGINATION / MODALS
══════════════════════════════════════ */
.dropdown-menu {
  border-radius: var(--r);
  border-color: var(--bd);
  box-shadow: var(--shadow);
  padding: 6px;
}
.dropdown-item {
  border-radius: 8px;
}
.page-link {
  border-radius: 8px !important;
  margin: 0 3px;
  border-color: var(--bd);
  color: var(--tx-2);
}
.page-item.active .page-link {
  background-color: var(--a);
  border-color: var(--a);
}
.modal-content {
  border-radius: var(--r-lg);
  border: 1px solid var(--bd);
}

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.master-breadcrumb {
  background-color: transparent;
  border-bottom: 1px solid var(--bd);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer.footer {
  background-color: var(--tx-1);
  padding: 56px 0 0;
}
footer.footer .nav-link,
footer.footer a {
  transition: color .2s;
}
.mwh-footer-brand {
  display: inline-flex;
  margin-bottom: 14px;
}
.mwh-footer-brand img {
  height: 34px;
  width: auto;
}
.mwh-footer-tagline {
  color: rgba(255,255,255,.55);
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 18px;
}
.mwh-footer-social {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.mwh-footer-social .list-inline-item {
  margin: 0;
}
footer.footer .mwh-footer-social .btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
}
footer.footer .mwh-footer-social .btn-icon:hover {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
}
.mwh-footer-h {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.mwh-footer-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mwh-footer-col li {
  margin-bottom: 11px;
}
.mwh-footer-col a {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
}
.mwh-footer-col a:hover {
  color: #fff;
}
.mwh-footer-contact li {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.mwh-footer-contact i {
  color: var(--a2);
  margin-top: 3px;
}
.mwh-footer-contact a {
  color: rgba(255,255,255,.65);
}
.mwh-footer-contact a:hover {
  color: #fff;
}
.mwh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mwh-footer-bottom .copyright {
  color: rgba(255,255,255,.4);
  font-size: 12.5px;
}
.mwh-footer-tos {
  color: rgba(255,255,255,.4);
  font-size: 12.5px;
}
.mwh-footer-tos:hover {
  color: #fff;
}
.mwh-footer-powered {
  color: rgba(255,255,255,.4);
  font-size: 12.5px;
}
.mwh-footer-powered strong {
  color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════
   DASHBOARD — WELCOME HERO
══════════════════════════════════════ */
.mwh-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--grad-navy);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.mwh-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.35) 0%, rgba(16,185,129,0) 70%);
  pointer-events: none;
}
.mwh-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,186,0,.12) 0%, rgba(255,186,0,0) 70%);
  pointer-events: none;
}
.mwh-hero-title {
  color: #fff;
  font-size: 1.95rem;
  margin-bottom: 6px;
  position: relative;
}
.mwh-wave {
  display: inline-block;
  animation: mwh-wave 1.6s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes mwh-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
}
.mwh-hero-sub {
  color: rgba(255,255,255,.75);
  margin-bottom: 22px;
}
.mwh-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mwh-hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 8px 16px 8px 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  transition: background .2s;
}
.mwh-hero-stat:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.mwh-hero-stat strong {
  font-size: 15px;
}
.mwh-hero-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.mwh-hero-art {
  flex-shrink: 0;
  display: none;
  position: relative;
  width: 160px;
  height: 120px;
  opacity: .18;
  font-size: 70px;
}
.mwh-hero-art i {
  position: absolute;
  color: #fff;
}
.mwh-hero-art .fa-cloud   { top: 0; left: 20px; font-size: 90px; }
.mwh-hero-art .fa-server  { top: 40px; left: 10px; font-size: 40px; }
.mwh-hero-art .fa-globe   { bottom: 0; right: 0; font-size: 50px; }
@media (min-width: 992px) {
  .mwh-hero-art { display: block; }
}

/* ══════════════════════════════════════
   DASHBOARD — STAT TILES
══════════════════════════════════════ */
.tiles .tile {
  display: block;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  margin: 8px;
  padding: 28px 16px 22px;
  color: var(--tx-2);
  transition: transform .2s, box-shadow .2s;
}
.tiles .tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--tx-2);
}
.tiles .tile i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--a-light);
  color: var(--a);
  font-size: 22px;
  margin-bottom: 14px;
}
.tiles .row > div:nth-child(1) .tile i {
  background: var(--bg-3);
  color: var(--tx-2);
}
.tiles .row > div:nth-child(2) .tile i {
  background: var(--a-light);
  color: var(--a);
}
.tiles .row > div:nth-child(3) .tile i {
  background: var(--a2-light);
  color: var(--a2-dark);
}
.tiles .row > div:nth-child(4) .tile i {
  background: var(--success-light);
  color: var(--success);
}
.tiles .tile .stat {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--tx-1);
}
.tiles .tile .title {
  font-size: 13px;
  color: var(--tx-2);
  margin-top: 2px;
}
.tiles .tile .highlight {
  display: none;
}

/* ══════════════════════════════════════
   REGISTER-A-DOMAIN WIDGET
══════════════════════════════════════ */
.home-domain-search {
  background-color: var(--bg-2) !important;
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
}
.home-domain-search h2 {
  font-size: 1.3rem;
  text-align: left !important;
}
.home-domain-search .input-group-wrapper .form-control {
  border-radius: 12px 0 0 12px;
}
.home-domain-search .input-group-wrapper .btn {
  border-radius: 0 12px 12px 0;
}
.home-domain-search .tld-logos li {
  border-radius: var(--r-sm);
  border: 1px solid var(--bd);
  background-color: var(--bg-3);
}

/* ══════════════════════════════════════
   GUEST HOMEPAGE (homepage.tpl)
══════════════════════════════════════ */
.mwh-guest-hero {
  background: var(--grad-navy);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.mwh-guest-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.3) 0%, rgba(16,185,129,0) 70%);
}
.mwh-guest-hero-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}
.mwh-guest-hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.mwh-section-head {
  text-align: center;
  margin: 0 0 28px;
}
.mwh-section-head h2 {
  font-size: 1.4rem;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.mwh-section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--a);
}
.mwh-pricing-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mwh-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(11,29,58,.14), 0 6px 16px rgba(11,29,58,.06);
  border-color: var(--bd-h);
}
.mwh-pricing-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--a-light);
  color: var(--a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.mwh-pricing-icon-accent {
  background: var(--a2-light);
  color: var(--a2-dark);
}
.mwh-pricing-icon-success {
  background: var(--success-light);
  color: var(--success);
}
.mwh-pricing-card .pricing-card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.mwh-pricing-card p {
  color: var(--tx-2);
  font-size: 13.5px;
}
.mwh-icon-grid .mwh-icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  color: var(--tx-1);
  font-weight: 600;
  font-size: 13.5px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  text-decoration: none;
  height: 100%;
}
.mwh-icon-grid .mwh-icon-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11,29,58,.07), 0 2px 6px rgba(11,29,58,.04);
  border-color: var(--bd-h);
  color: var(--tx-1);
  text-decoration: none;
}
.mwh-icon-tile-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ══════════════════════════════════════
   DASHBOARD — KNOWLEDGE BASE PANEL
══════════════════════════════════════ */
.mwh-kb-panel {
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
}
.mwh-kb-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.mwh-kb-panel-head h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.mwh-kb-panel-head p {
  color: var(--tx-2);
  font-size: 13.5px;
}
.mwh-kb-viewall {
  font-size: 13px;
  font-weight: 600;
  color: var(--a);
  white-space: nowrap;
}
.mwh-kb-viewall:hover {
  color: var(--a-dark);
}
.mwh-kb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 991px) {
  .mwh-kb-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .mwh-kb-grid { grid-template-columns: repeat(2, 1fr); }
}
.mwh-kb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 10px;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  color: var(--tx-2);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mwh-kb-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--bd-h);
  color: var(--tx-2);
}
.mwh-kb-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.mwh-kb-item strong {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13.5px;
  color: var(--tx-1);
}
.mwh-kb-item small {
  display: block;
  color: var(--tx-3);
  font-size: 11.5px;
  margin-top: 2px;
}

/* ══════════════════════════════════════
   DASHBOARD — HELP CTA BANNER
══════════════════════════════════════ */
.mwh-help-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--grad-navy);
  border-radius: var(--r-lg);
  padding: 30px 36px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.mwh-help-cta h3 {
  color: #fff;
  margin-bottom: 4px;
  font-size: 1.3rem;
}
.mwh-help-cta p {
  color: rgba(255,255,255,.8);
}
.mwh-help-cta .btn-light {
  background-color: #fff;
  color: var(--tx-1);
  border-color: #fff;
  font-weight: 700;
}
.mwh-help-cta .btn-light:hover {
  background-color: var(--a-light);
}

/* ══════════════════════════════════════
   MISC BRAND POLISH
══════════════════════════════════════ */
::-webkit-scrollbar-thumb {
  background-color: var(--a);
}
::selection {
  background: var(--a);
  color: #fff;
}
