/* Zarro Client Area dashboard v0.6 — Twenty-One child theme.
 * Keep brand tokens here. Locally hosted Poppins; no JavaScript or template overrides.
 * Initial styling draft; verify against your installed WHMCS 8.13.7.
 */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --zarro-header-gradient: linear-gradient(110deg, #50c5d5 0%, #4265e8 48%, #8300e9 100%);
  --zarro-purple: #8300e9;
  --zarro-purple-hover: #6900bb;
  --zarro-ink: #21172f;
  --zarro-muted: #665d72;
  --zarro-border: #e7e2ee;
  --zarro-surface: #fff;
  --zarro-bg: #f6f4f9;
  --zarro-radius: 12px;
  --zarro-shadow: 0 4px 18px rgba(33, 23, 47, .045);
}
body.primary-bg-color {
  background: var(--zarro-bg);
  color: var(--zarro-ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--zarro-purple-hover); }
a:hover { color: #51008f; }
button, input, select, textarea, .form-control, .btn { font-family: inherit; }
h1, h2, h3, h4 { font-family: "Poppins", system-ui, sans-serif; letter-spacing: -.025em; }
#header.header { background: var(--zarro-header-gradient); border-top: 0; }
#header .topbar { background: rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(255,255,255,.2); }
#header .topbar .btn,
#header .topbar .input-group-text { color: #f6f0fc; background: transparent; border-color: rgba(255,255,255,.35); }
#header .navbar-brand { color: #fff; font-weight: 700; letter-spacing: -.035em; }
#header .navbar-brand:hover { color: #fff; }
#header .navbar-light { background: transparent; padding-top: 20px; padding-bottom: 20px; }
#header .toolbar .nav-link { color: #fff; }
#header .main-navbar-wrapper { background: rgba(0, 0, 0, .16); border-top: 1px solid rgba(255,255,255,.2); }
#header .main-navbar-wrapper .navbar-nav > li > a { color: #fff; font-weight: 600; padding: 9px 10px; }
#header .main-navbar-wrapper .navbar-nav > li > a:hover,
#header .main-navbar-wrapper .navbar-nav > .active > a { background: rgba(255,255,255,.12); color: #fff; border-radius: 6px; }
#header .search .form-control { background: #fff; color: var(--zarro-ink); }
.dropdown-menu { border: 1px solid var(--zarro-border); border-radius: 10px; box-shadow: 0 12px 32px rgba(33,23,47,.12); }
.dropdown-item { padding-top: 9px; padding-bottom: 9px; }
.dropdown-item:hover, .dropdown-item:focus { background: #f3eafa; color: #51008f; }
.dropdown-item.active, .dropdown-item:active { background: var(--zarro-purple-hover); color: #fff; }
.master-breadcrumb { background: #fff; border-bottom: 1px solid var(--zarro-border); }
.master-breadcrumb .breadcrumb { background: transparent; padding-top: 14px; padding-bottom: 14px; }
#main-body { padding-top: 30px; padding-bottom: 44px; }
.primary-content h1 { font-weight: 700; }
.card { border-radius: var(--zarro-radius); box-shadow: var(--zarro-shadow); border-color: var(--zarro-border); }
.card-header { background: #fff; border-bottom-color: var(--zarro-border); padding: 18px 20px; }
.card-header:first-child { border-radius: 11px 11px 0 0; }
.card-title { font-weight: 600; }
.card-body { padding: 20px; }
.card-footer { background: #fcfbfd; border-top-color: var(--zarro-border); }
.card-footer:last-child { border-radius: 0 0 11px 11px; }
.sidebar .card { margin-bottom: 20px; }
.sidebar .list-group-item { border-color: var(--zarro-border); padding-top: 12px; padding-bottom: 12px; }
.list-group-item-action:hover { background: #f8f3fc; color: var(--zarro-ink); }
.list-group-item.active { background: #f0e4fb; border-color: #d5b8ee; color: #51008f; font-weight: 600; }
.tiles { background: transparent; border: 0; }
.tiles .tile { background: #fff; border: 1px solid var(--zarro-border); border-radius: var(--zarro-radius); margin: 6px; padding: 22px 18px; box-shadow: var(--zarro-shadow); color: var(--zarro-ink); }
.tiles .tile:hover { background: #fcf9ff; border-color: #c8a0e8; text-decoration: none; }
.tiles .tile .stat { color: var(--zarro-ink); font-size: 2rem; font-weight: 700; }
.tiles .tile .title { color: var(--zarro-muted); font-size: .92rem; }
.tiles .tile > i { color: var(--zarro-purple); opacity: 1; font-size: 1.7rem; }
.tiles .tile .highlight { border-radius: 0 0 11px 11px; }
.btn { border-radius: 8px; font-weight: 600; }
.btn-primary { background: var(--zarro-purple-hover); border-color: var(--zarro-purple-hover); color: #fff; }
.btn-primary:hover, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active { background: #51008f; border-color: #51008f; color: #fff; }
.btn-default { background: #fff; border-color: #d8cfe2; color: var(--zarro-ink); }
.btn-default:hover { background: #f5eefb; border-color: #b99ad2; color: var(--zarro-ink); }
.form-control { border-color: #cfc6d9; border-radius: 8px; color: var(--zarro-ink); }
.form-control:focus { border-color: var(--zarro-purple); box-shadow: 0 0 0 3px rgba(131,0,233,.13); }
.form-control::placeholder { color: #746a80; opacity: 1; }
.input-group-text { border-color: #cfc6d9; background: #f5f1f9; }
.table { color: var(--zarro-ink); }
.table thead th { background: #f7f4fb; border-color: var(--zarro-border); font-size: .86rem; font-weight: 600; }
.table td, .table th { border-color: var(--zarro-border); }
.table-hover tbody tr:hover { background: #faf7fd; }
.page-item.active .page-link { background: var(--zarro-purple-hover); border-color: var(--zarro-purple-hover); }
.page-link { color: var(--zarro-purple-hover); border-color: var(--zarro-border); }
.alert { border-radius: 10px; }
.modal-content { border-radius: 14px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 3px solid #8300e9; outline-offset: 3px; }
#footer { background: #fff; border-top: 1px solid var(--zarro-border); color: var(--zarro-muted); }
@media (max-width: 767.98px) {
  #main-body { padding-top: 20px; }
  #header .navbar-light { padding-top: 14px; padding-bottom: 14px; }
  .tiles .tile { padding: 18px 12px; margin: 4px; }
  .tiles .tile .stat { font-size: 1.65rem; }
  .card-body, .card-header { padding: 16px; }
}

/* Twenty-One uses direct li > a menu links, without Bootstrap nav-link classes. */
#header .main-navbar-wrapper .navbar-nav > li > a:focus,
#header .main-navbar-wrapper .navbar-nav > li.show > a { color: #fff; background: rgba(255,255,255,.12); border-radius: 6px; }
#header .dropdown-menu { background: #fff; }
#header .dropdown-menu a.dropdown-item { color: var(--zarro-ink); font-weight: 700; }
#header .dropdown-menu a.dropdown-item:hover,
#header .dropdown-menu a.dropdown-item:focus { color: #51008f; background: #f3eafa; }
#header .dropdown-menu .dropdown-item.active,
#header .dropdown-menu .dropdown-item:active { color: #fff; background: var(--zarro-purple-hover); }
#header .dropdown-menu .active > a.dropdown-item { color: #fff; background: transparent; }
/* One clean white search surface, with no outer border or corner seams. */
#header .search { border: 0; border-radius: 8px; background: #fff; }
#header .search .btn { background: #fff; border: 0; color: var(--zarro-muted); border-radius: 8px 0 0 8px; }
#header .search .form-control { border: 0; border-radius: 0 8px 8px 0; box-shadow: none; }
#header .search:focus-within { outline: 3px solid #21172f; outline-offset: 3px; }
#header .toolbar .nav-link:hover,
#header .toolbar .nav-link:focus { color: #fff; background: rgba(0,0,0,.15); }
/* Independent cart artwork avoids a missing regular Font Awesome cart glyph. */
#header .cart-btn > i { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: middle; background: currentColor; -webkit-mask: url("../img/cart.svg") center / contain no-repeat; mask: url("../img/cart.svg") center / contain no-repeat; }
#header .cart-btn > i::before { content: none; }
#footer.footer .nav-link, #footer.footer a { color: var(--zarro-purple-hover); }
#footer.footer .copyright, #footer.footer .notices { color: var(--zarro-muted); }
#footer.footer .btn { color: var(--zarro-ink); background: #f3eef8; border-color: var(--zarro-border); }
#footer.footer .btn:hover, #footer.footer .btn:focus { color: #51008f; background: #eaddf5; }
#footer.footer a:hover, #footer.footer a:focus { color: #51008f; }

/* Compact navigation; faint light hover instead of a dark block. */
#header .main-navbar-wrapper .navbar-collapse { padding: 4px 0; }
#header .main-navbar-wrapper .navbar-nav > li > a { display: block; font-size: 13px; line-height: 1.5; }
#header .main-navbar-wrapper .navbar-nav > li > a.pr-4 { padding-right: 12px !important; }
#header .main-navbar-wrapper .navbar-nav > li > a:hover,
#header .main-navbar-wrapper .navbar-nav > li > a:focus,
#header .main-navbar-wrapper .navbar-nav > li.show > a { background: rgba(255,255,255,.12); box-shadow: none; }
#header .dropdown-menu { padding: 6px; }
#header .dropdown-menu li.dropdown-item { padding: 5px 7px; border-radius: 6px; }
#header .dropdown-menu a.dropdown-item { font-size: 13px; }
/* A quieter breadcrumb strip and more distinct account workspace. */
.master-breadcrumb { background: var(--zarro-bg); border-bottom: 0; }
.master-breadcrumb .breadcrumb { font-size: .8rem; padding-top: 18px; padding-bottom: 0; }
.primary-content h1 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 24px; }
/* Dashboard summary cards gain intentional hierarchy and individual icon badges. */
.tiles .row { margin: -6px; }
.tiles .tile { position: relative; min-height: 140px; padding: 24px 20px; overflow: hidden; border-color: transparent; box-shadow: 0 3px 16px rgba(33,23,47,.06); }
.tiles .tile > i { display: flex; align-items: center; justify-content: center; position: absolute; top: 20px; right: 16px; width: 40px; height: 40px; border-radius: 12px; background: #f1e5fc; font-size: 18px; }
.tiles .tile .stat { font-size: 2.1rem; line-height: 1.2; margin-bottom: 8px; }
.tiles .tile .title { font-weight: 600; font-size: .82rem; }
.tiles .tile .highlight { height: 3px; opacity: .7; }
.tiles .tile:hover { background: #fff; border-color: #d9beed; box-shadow: 0 5px 20px rgba(105,0,187,.09); }
.client-home-cards .card { border-top-width: 3px; }
.client-home-cards .card-header { padding: 20px; }
.client-home-cards .card-title { font-size: 1rem; }
.client-home-cards .list-group .list-group-item { padding: 13px 20px; }
.sidebar .card-header { background: #f2edf8; }
.sidebar .card-title { font-size: .9rem; }
.sidebar .list-group-item { font-size: .88rem; }
#footer.footer { padding: 28px 0 32px; }
#footer.footer .copyright { margin: 18px 0 0; }
@media (max-width: 767.98px) {
  .tiles .tile { min-height: 132px; padding: 18px 12px; }
  .tiles .tile > i { width: 32px; height: 32px; right: 10px; top: 14px; font-size: 15px; }
  .tiles .tile .stat { font-size: 1.8rem; }
  #header .main-navbar-wrapper .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; }
}

/* Dashboard preview only: all selectors are scoped to the new dashboard sections. */
.zarro-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(115deg,#285868,#5240b4 65%,#7900cc); color: #fff; padding: 32px; border-radius: 18px; margin-bottom: 28px; overflow: hidden; }
.zarro-eyebrow { font-size: .7rem; letter-spacing: .14em; font-weight: 600; margin-bottom: 10px; }
.zarro-welcome h2 { font-size: clamp(1.45rem,3vw,2rem); font-weight: 700; color: #fff; margin-bottom: 10px; }
.zarro-welcome-copy > p:last-of-type { font-size: .88rem; color: #f0eefa; margin-bottom: 22px; }
.zarro-welcome-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.zarro-btn-light { color: #3a2070; background: #fff; border-color: #fff; padding: 10px 16px; font-size: .82rem; }
.zarro-btn-light:hover { color: #51008f; background: #f1e7fb; }
.zarro-welcome-link { color: #fff; font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.zarro-welcome-link:hover { color: #fff; text-decoration-thickness: 2px; }
.zarro-welcome-mark { flex-shrink: 0; font-size: 110px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.25); letter-spacing: -.09em; padding-right: 12px; }
.zarro-welcome-mark span { color: #84e5e0; }
.zarro-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.zarro-section-heading h2 { font-size: 1rem; font-weight: 600; margin: 0; }
.zarro-section-heading > span { color: var(--zarro-muted); font-size: .75rem; }
.zarro-quick-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 6px 0 30px; }
.zarro-quick-actions > a { display: flex; align-items: center; gap: 10px; padding: 16px 12px; background: #fff; border: 1px solid var(--zarro-border); border-radius: 12px; color: var(--zarro-ink); text-decoration: none; }
.zarro-quick-actions > a:hover { border-color: #b78dd8; background: #faf6fd; }
.zarro-action-symbol { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #f0e7f8; color: #6900bb; font-weight: 700; }
.zarro-quick-actions strong { display: block; font-size: .78rem; font-weight: 600; }
.zarro-quick-actions small { display: block; font-size: .67rem; color: var(--zarro-muted); margin-top: 3px; }
.zarro-quick-actions > a > span:last-child { margin-left: auto; }
.zarro-welcome a:focus-visible { outline-color: #fff; }
@media (max-width:1199.98px) { .zarro-quick-actions { grid-template-columns: 1fr; } }
@media (max-width:575.98px) { .zarro-welcome { padding: 24px 20px; } .zarro-welcome-mark { display: none; } }

/* Temporary portal redesign announcement. */
.zarro-announcement { background: #f3eafa; border: 1px solid #dbc5ed; border-left: 4px solid var(--zarro-purple); color: var(--zarro-ink); padding: 20px; margin-bottom: 28px; }
.zarro-announcement > strong { display: block; margin-bottom: 8px; }
.zarro-announcement p { margin-bottom: 14px; font-size: .88rem; }
.zarro-announcement p a { font-weight: 600; text-decoration: underline; }
