/* DotMoose client-area skin for WHMCS Twenty-One.
 * Keep this as an overlay on the vendor template so WHMCS updates remain mergeable.
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --dm-night: #0b1739;
  --dm-water: #102653;
  --dm-ridge: #274468;
  --dm-muted: #667085;
  --dm-text: #475467;
  --dm-white: #ffffff;
  --dm-blue: #2563eb;
  --dm-blue-dark: #1d4ed8;
  --dm-green: #0f9f72;
  --dm-surface: #f6f8fc;
  --dm-surface-blue: #eef4ff;
  --dm-line: rgba(11, 23, 57, .14);
  --dm-line-soft: rgba(11, 23, 57, .08);
  --dm-shadow-sm: 0 8px 24px rgba(16, 38, 83, .07);
  --dm-shadow-md: 0 22px 60px rgba(16, 38, 83, .11);
  --primary: var(--dm-blue);
  --primary-lifted: var(--dm-blue-dark);
  --primary-accented: #173ea8;
}

html { font-size: 15px; background: var(--dm-surface); }
body.primary-bg-color {
  color: var(--dm-night);
  background: radial-gradient(circle at 82% 2%, rgba(37,99,235,.08), transparent 28rem), var(--dm-white) !important;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}
a { color: var(--dm-blue); }
a:hover { color: var(--dm-blue-dark); }
:focus-visible { outline: 3px solid rgba(37,99,235,.55) !important; outline-offset: 3px; }

.container { max-width: 1180px; }
.header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--dm-line-soft); box-shadow: none; }
.header .navbar { min-height: 76px; background: transparent !important; }
.header .navbar-brand {
  display: inline-flex; align-items: center; gap: .65rem; color: var(--dm-night) !important;
  font-size: 0; font-weight: 800; letter-spacing: -.05em;
}
.header .navbar-brand::before {
  content: ''; width: 38px; height: 38px; flex: 0 0 38px;
  background-repeat: no-repeat; background-size: contain; background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M29 27c-3-5-6-7-10-8h-5l-5-5V7m10 12-2-10m7 13-1-11m12 16c3-5 6-7 10-8h5l5-5V7M45 19l2-10m-7 13 1-11' fill='none' stroke='%230b1739' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M23 26h18l4 7v16c0 4.4-3.6 8-8 8H27c-4.4 0-8-3.6-8-8V33l4-7Z' fill='%230b1739'/%3E%3Cpath d='M25 36h14M25 43h14M25 50h14' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='39' cy='36' r='1.7' fill='%232563eb'/%3E%3Ccircle cx='39' cy='43' r='1.7' fill='%232563eb'/%3E%3Ccircle cx='39' cy='50' r='1.7' fill='%232563eb'/%3E%3C/svg%3E");
}
.header .navbar-brand::after { content: 'DotMoose'; font-size: 1.2rem; color: var(--dm-night); }
.header .navbar-brand .logo-img { display: none; }

.header .main-navbar-wrapper { min-height: 48px; border-top: 1px solid var(--dm-line-soft); background: var(--dm-white) !important; }
.header .main-navbar-wrapper .nav-link,
.header .navbar .nav-link { color: var(--dm-text) !important; font-weight: 650; }
.header .main-navbar-wrapper .nav-link:hover,
.header .main-navbar-wrapper .active > .nav-link { color: var(--dm-blue) !important; }
.header .toolbar .btn { border-radius: .7rem; }
.header .search .form-control { border-color: var(--dm-line); border-radius: 0 .7rem .7rem 0; }

.master-breadcrumb { background: var(--dm-surface) !important; border-bottom: 1px solid var(--dm-line-soft); }
.master-breadcrumb .breadcrumb { padding-top: .8rem; padding-bottom: .8rem; background: transparent; font-size: .78rem; }

#main-body { padding-top: 2.5rem; padding-bottom: 4rem; min-height: 56vh; }
h1, h2, h3, h4, h5, h6 { color: var(--dm-night); font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }

.card, .panel, .list-group, .domain-pricing, .client-home-panels .panel {
  border: 1px solid var(--dm-line) !important; border-radius: 1rem !important; box-shadow: var(--dm-shadow-sm); overflow: hidden;
}
.card-header, .panel-heading { color: var(--dm-night) !important; background: var(--dm-surface) !important; border-bottom: 1px solid var(--dm-line-soft) !important; font-weight: 750; }
.card-body, .panel-body { background: var(--dm-white); }

.btn { border-radius: .7rem; font-weight: 700; transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-success, .btn-info {
  color: white !important; background: var(--dm-blue) !important; border-color: var(--dm-blue) !important;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover { background: var(--dm-blue-dark) !important; border-color: var(--dm-blue-dark) !important; box-shadow: var(--dm-shadow-sm); }
.btn-outline-primary { color: var(--dm-blue) !important; border-color: rgba(37,99,235,.42) !important; }
.btn-outline-primary:hover { color: white !important; background: var(--dm-blue) !important; }

.form-control, .custom-select, select.form-control { min-height: 44px; border: 1px solid var(--dm-line); border-radius: .65rem; color: var(--dm-night); }
.form-control:focus, .custom-select:focus { border-color: var(--dm-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }

.home-domain-search { margin-top: -1rem; padding: clamp(2rem, 5vw, 4rem) 1.25rem !important; background: linear-gradient(135deg, var(--dm-night), var(--dm-water)) !important; }
.home-domain-search h2, .home-domain-search p { color: white !important; }
.home-domain-search textarea, .home-domain-search input { border: 0 !important; box-shadow: none !important; }
.home-domain-search .btn { min-height: 46px; }

.home.card-columns { column-gap: 1rem; }
.home.card-columns .card { margin-bottom: 1rem !important; }
.home.card-columns .card-title { color: var(--dm-night); }

.tiles .tile { border: 1px solid var(--dm-line); border-radius: 1rem; box-shadow: var(--dm-shadow-sm); }
.tiles .tile:hover { border-color: rgba(37,99,235,.42); box-shadow: var(--dm-shadow-md); }
.tiles .tile .icon { color: var(--dm-blue); }

.sidebar .card, .sidebar .panel { box-shadow: none; }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover { color: white; background: var(--dm-blue); border-color: var(--dm-blue); }
.list-group-item-action:hover { background: var(--dm-surface-blue); }

.alert { border-radius: .8rem; border-width: 1px; }
.alert-info { color: #17366d; background: var(--dm-surface-blue); border-color: rgba(37,99,235,.24); }
.badge-info, .badge-primary { background: var(--dm-blue); }

footer.footer { color: #c5d2eb !important; background: linear-gradient(135deg, var(--dm-night), #132c60) !important; border-top: 0 !important; }
footer.footer a { color: white; }
footer.footer .copyright { color: #a9b9d5; }

@media (max-width: 991.98px) {
  .header .navbar { min-height: 68px; }
  #main-body { padding-top: 1.5rem; }
  .home-domain-search { padding: 2rem 1rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Accessibility corrections for upstream Twenty-One markup. */
.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb-item.active { color: #475467 !important; }
.text-muted { color: #5b6576 !important; }

/* DotMoose 2036 redesign layer, staging template dotmoose2036 only.
   Visual layer only. Header logo branding above is unchanged.
   Wide, modern, blue. Clean light body, dark premium nav and hero areas. */
:root {
  --dm-2036-blue: #2563eb;
  --dm-2036-blue-dark: #1d4ed8;
  --dm-2036-blue-deep: #173ea8;
  --dm-2036-night: #0b1739;
  --dm-2036-water: #102653;
  --dm-2036-sky: #eef4ff;
  --dm-2036-radius: 1.1rem;
  --dm-2036-grad: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #173ea8 100%);
  --dm-2036-grad-dark: linear-gradient(120deg, #0b1739 0%, #102653 58%, #173ea8 130%);
}
.container { max-width: 1360px; padding-left: 1.25rem; padding-right: 1.25rem; }
body.primary-bg-color { background: radial-gradient(60rem 30rem at 85% -5%, rgba(37,99,235,.10), transparent 60%), radial-gradient(50rem 26rem at -10% 20%, rgba(37,99,235,.06), transparent 60%), #ffffff !important; }
.header { position: sticky; top: 0; z-index: 1030; backdrop-filter: saturate(1.4) blur(10px); background: rgba(255,255,255,.92); }
.header .topbar { background: var(--dm-2036-grad-dark); color: #dbe7ff; }
.header .topbar .btn { color: #dbe7ff !important; }
.header .topbar .btn:hover { color: #ffffff !important; }
.header .main-navbar-wrapper { background: var(--dm-2036-grad-dark) !important; border-top: 0; box-shadow: 0 12px 30px rgba(11,23,57,.18); }
.header .main-navbar-wrapper .nav-link { color: #dbe7ff !important; font-weight: 650; padding-top: .8rem; padding-bottom: .8rem; border-radius: .6rem; }
.header .main-navbar-wrapper .nav-link:hover, .header .main-navbar-wrapper .active > .nav-link, .header .main-navbar-wrapper .nav-link:focus { color: #ffffff !important; background: rgba(255,255,255,.10); }
.header .main-navbar-wrapper .dropdown-menu { border: 1px solid var(--dm-line-soft); border-radius: .9rem; box-shadow: var(--dm-shadow-md); }
.header .cart-btn { background: var(--dm-2036-sky); border: 1px solid rgba(37,99,235,.22); }
.header .cart-btn:hover { background: #dbe8ff; }
.badge-info, .badge-primary { border-radius: 999px; padding: .3em .6em; }
#main-body { padding-top: 3rem; padding-bottom: 5rem; }
.card, .panel, .list-group, .domain-pricing, .client-home-panels .panel { border-radius: var(--dm-2036-radius) !important; border-color: rgba(11,23,57,.10) !important; box-shadow: 0 10px 30px rgba(16,38,83,.06); }
.card:hover, .client-home-panels .panel:hover { box-shadow: 0 22px 50px rgba(16,38,83,.10); }
.card-header, .panel-heading { background: linear-gradient(180deg, #ffffff, #f6f8fc) !important; padding: 1rem 1.25rem; }
.btn { border-radius: .8rem; padding: .55rem 1.15rem; letter-spacing: .01em; }
.btn-primary, .btn-success, .btn-info { background: var(--dm-2036-grad) !important; border: 0 !important; box-shadow: 0 10px 22px rgba(37,99,235,.28); }
.btn-primary:hover, .btn-success:hover, .btn-info:hover { background: linear-gradient(135deg, #1d4ed8, #173ea8) !important; box-shadow: 0 14px 28px rgba(37,99,235,.34); }
.btn-default, .btn-light { background: #ffffff !important; border: 1px solid rgba(11,23,57,.16) !important; color: var(--dm-2036-night) !important; }
.btn-default:hover, .btn-light:hover { border-color: rgba(37,99,235,.5) !important; color: var(--dm-2036-blue-dark) !important; }
.btn-lg { border-radius: 1rem; padding: .8rem 1.6rem; font-size: 1.02rem; }
.form-control, .custom-select, select.form-control, textarea.form-control { border-radius: .75rem; background: #ffffff; }
.input-group .btn, .input-group-text { border-radius: .75rem; }
.nav-tabs { border-bottom: 1px solid var(--dm-line-soft); gap: .35rem; }
.nav-tabs .nav-link { border: 0 !important; border-radius: .8rem .8rem 0 0; color: var(--dm-text); font-weight: 700; }
.nav-tabs .nav-link.active { color: var(--dm-2036-blue-dark) !important; background: var(--dm-2036-sky) !important; }
.table { color: var(--dm-2036-night); }
.table thead th { border-top: 0; border-bottom: 2px solid rgba(37,99,235,.18); color: var(--dm-2036-water); font-weight: 800; }
.table td, .table th { padding: .9rem .75rem; vertical-align: middle; }
.table-hover tbody tr:hover { background: var(--dm-2036-sky); }
.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: .6rem !important; }
.pagination .page-link { border-radius: .6rem; margin: 0 .15rem; color: var(--dm-2036-blue-dark); }
.pagination .page-item.active .page-link { background: var(--dm-2036-blue); border-color: var(--dm-2036-blue); }
.alert { padding: 1rem 1.25rem; box-shadow: var(--dm-shadow-sm); }
.alert-success { color: #14532d; background: #ecfdf3; border-color: rgba(15,159,114,.30); }
.alert-warning { color: #713f12; background: #fffaeb; border-color: rgba(217,119,6,.30); }
.alert-danger { color: #7f1d1d; background: #fef2f2; border-color: rgba(220,38,38,.25); }
.home-domain-search { border-radius: 0 0 1.5rem 1.5rem; background: var(--dm-2036-grad-dark) !important; box-shadow: 0 30px 60px rgba(11,23,57,.22); }
.home-domain-search .domain-search-actions, .home-domain-search form { max-width: 860px; margin-left: auto; margin-right: auto; }
.tiles .tile { border-radius: var(--dm-2036-radius); padding: 1.25rem 1rem; background: #ffffff; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.tiles .tile:hover { transform: translateY(-3px); }
.tiles .tile .title { font-weight: 800; color: var(--dm-2036-night); }
.sidebar .card, .sidebar .panel { border-radius: var(--dm-2036-radius) !important; }
.sidebar .list-group-item { padding: .8rem 1rem; font-weight: 600; }
.store-order-container, .store-domain-tab-content { border-radius: var(--dm-2036-radius); }
.store-domain-tabs .nav-link { border-radius: .9rem !important; }
.panel-domain-pricing, .domain-pricing .tld-row, .domain-pricing .two-row-center { border-radius: .8rem; }
.logincontainer, .login-container, #login { max-width: 520px; margin-left: auto; margin-right: auto; }
footer.footer { background: var(--dm-2036-grad-dark) !important; padding-top: 3rem; padding-bottom: 2.5rem; }
footer.footer .nav-link { color: #c5d2eb !important; font-weight: 650; }
footer.footer .nav-link:hover { color: #ffffff !important; }
.modal-content { border: 0; border-radius: 1.1rem; box-shadow: var(--dm-shadow-md); overflow: hidden; }
.modal-header { background: #f6f8fc; border-bottom: 1px solid var(--dm-line-soft); }
@media (max-width: 1199.98px) { .container { max-width: 1140px; } }
@media (max-width: 991.98px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  #main-body { padding-top: 2rem; padding-bottom: 3.5rem; }
  .header .main-navbar-wrapper .nav-link { padding-top: .6rem; padding-bottom: .6rem; }
  .table-responsive { border-radius: .9rem; }
}
@media (max-width: 575.98px) {
  h1 { font-size: 1.9rem; } h2 { font-size: 1.55rem; }
  .btn { width: auto; } .btn-block { width: 100%; }
  .card-header, .panel-heading, .card-body, .panel-body { padding-left: 1rem; padding-right: 1rem; }
  .home-domain-search { border-radius: 0 0 1.1rem 1.1rem; }
}

/* DotMoose 2036 pass 2, readability and visibility, staging dotmoose2036 only.
   Fixes dark section text contrast and makes the new design unmistakable.
   CSS only. No structure, form or checkout change. */

/* Readable base size across the client area. */
html { font-size: 16px; }
body.primary-bg-color { color: #16233f; }
.text-muted { color: #4d5a70 !important; }
small, .small { font-size: .88rem; }

/* Primary nav: the menu anchors are plain links, not .nav-link.
   Theme link colour #336699 on the dark bar was unreadable. Fix the real selector. */
.header .main-navbar-wrapper .navbar-nav > li > a {
  color: #eaf2ff !important; font-weight: 700; font-size: 1rem;
  display: block; padding: 1rem .95rem; border-radius: .55rem; text-decoration: none;
}
.header .main-navbar-wrapper .navbar-nav > li > a:hover,
.header .main-navbar-wrapper .navbar-nav > li > a:focus {
  color: #ffffff !important; background: rgba(255,255,255,.13); text-decoration: none;
}
.header .main-navbar-wrapper .navbar-nav > li.active > a,
.header .main-navbar-wrapper .navbar-nav > li > a.active {
  color: #ffffff !important; background: rgba(37,99,235,.38);
  box-shadow: inset 0 -3px 0 #8dbcff;
}
.header .main-navbar-wrapper .navbar-nav .caret,
.header .main-navbar-wrapper .navbar-nav > li > a .caret { color: #cfe1ff !important; }
.header .main-navbar-wrapper .dropdown-menu { padding: .5rem; }
.header .main-navbar-wrapper .dropdown-menu > li > a,
.header .main-navbar-wrapper .dropdown-item {
  color: #26334d !important; font-weight: 600; font-size: .98rem;
  padding: .55rem .8rem; border-radius: .5rem;
}
.header .main-navbar-wrapper .dropdown-menu > li > a:hover,
.header .main-navbar-wrapper .dropdown-item:hover { color: #173ea8 !important; background: #eef4ff; }
/* Search form that lives inside the dark collapsed nav on smaller screens. */
.header .main-navbar-wrapper .search .form-control {
  background: #ffffff !important; color: #0b1739 !important; font-size: 1rem;
}
.header .main-navbar-wrapper .search .form-control::placeholder { color: #5b6576; opacity: 1; }

/* Logged in topbar: every inherited element gets a light colour on the dark bar. */
.header .topbar { color: #eaf2ff !important; font-size: .92rem; }
.header .topbar a, .header .topbar .btn { color: #cfe1ff !important; }
.header .topbar a:hover, .header .topbar .btn:hover { color: #ffffff !important; }
.header .topbar .text-muted, .header .topbar span { color: #c2d6f7 !important; }
.header .topbar .active-client .input-group-text { color: #dbe7ff !important; }
.header .topbar .active-client .btn.btn-active-client span { border-bottom-color: #cfe1ff !important; }

/* Domain search hero: bigger, brighter, and every text element readable on dark. */
.home-domain-search {
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem !important;
  background:
    radial-gradient(44rem 20rem at 85% 0%, rgba(96,165,250,.35), transparent 60%),
    radial-gradient(36rem 18rem at 8% 110%, rgba(37,99,235,.35), transparent 60%),
    linear-gradient(120deg, #0b1739 0%, #102653 58%, #173ea8 130%) !important;
}
.home-domain-search h2 {
  color: #ffffff !important; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.4rem;
}
.home-domain-search, .home-domain-search p, .home-domain-search label,
.home-domain-search small, .home-domain-search .text-muted { color: #dbe7ff !important; }
.home-domain-search a, .home-domain-search .btn-link {
  color: #a9c8ff !important; font-size: .95rem; font-weight: 700;
}
.home-domain-search a:hover, .home-domain-search .btn-link:hover { color: #ffffff !important; }
.home-domain-search textarea, .home-domain-search input[type="text"],
.home-domain-search select {
  background: #ffffff !important; color: #0b1739 !important; font-size: 1rem !important;
}
.home-domain-search textarea::placeholder, .home-domain-search input::placeholder { color: #667085; opacity: 1; }
.home-domain-search .multiselect.dropdown-toggle {
  background: #ffffff !important; color: #0b1739 !important; font-size: 1rem;
  border: 1px solid rgba(11,23,57,.25) !important;
}

/* Footer: the language and currency button was dark text on the dark footer. */
footer.footer .btn {
  color: #eaf2ff !important; background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.38) !important; font-size: .95rem; font-weight: 700;
}
footer.footer .btn:hover { color: #ffffff !important; border-color: rgba(255,255,255,.7) !important; }
footer.footer a, footer.footer .nav-link { color: #dbe7ff !important; font-size: 1rem; }
footer.footer a:hover, footer.footer .nav-link:hover { color: #ffffff !important; }
footer.footer .copyright { color: #c2d4f2 !important; font-size: .95rem; }

/* Breadcrumb was 0.78rem. Bring it to a readable size. */
.master-breadcrumb .breadcrumb { font-size: .92rem; padding-top: 1rem; padding-bottom: 1rem; }
.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb-item.active { color: #3c4a63 !important; font-weight: 600; }
.master-breadcrumb .breadcrumb-item a { color: #1d4ed8 !important; }

/* Unmistakable section headings and spacing rhythm on content pages. */
#main-body { padding-top: 3.5rem; padding-bottom: 5.5rem; }
h2.text-center { font-size: clamp(1.95rem, 3.4vw, 2.7rem); margin-top: 2.5rem; margin-bottom: 1.5rem; }
.header-lined h1, #main-body h1:first-of-type { padding-bottom: .4rem; }

/* Homepage product cards: strong blue top rule, lift, larger price type. */
.home.card-columns .card {
  border-top: 4px solid #2563eb !important;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}
.home.card-columns .card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(16,38,83,.13); }
.home.card-columns .pricing-card-title {
  font-size: 2.1rem; color: #173ea8; font-weight: 800; letter-spacing: -.03em;
}
.home.card-columns .card-body { font-size: 1rem; color: #33415c; }

/* Action icon cards: one blue accent family instead of the old mixed colours. */
.action-icon-btns a {
  border: 1px solid rgba(11,23,57,.12); border-top: 4px solid #2563eb !important;
  border-radius: 1rem; color: #26334d !important; font-weight: 700; font-size: 1rem;
  padding: 1.1rem 0 1.3rem; box-shadow: 0 10px 30px rgba(16,38,83,.06);
}
.action-icon-btns a:hover { color: #173ea8 !important; transform: translateY(-3px); box-shadow: 0 22px 50px rgba(16,38,83,.11); }
.action-icon-btns a .ico-container i { color: #2563eb !important; }
.card-accent-teal, .card-accent-green, .card-accent-pomegranate, .card-accent-sun-flower,
.card-accent-asbestos, .card-accent-midnight-blue, .card-accent-gold, .card-accent-red,
.card-accent-orange, .card-accent-purple, .card-accent-turquoise, .card-accent-emerald {
  border-top-color: #2563eb !important;
}

/* Tiles, tables, sidebar and forms at full readable sizes. */
.tiles .tile { padding: 1.6rem 1.15rem; }
.tiles .tile .title { font-size: 1.06rem; }
.tiles .tile .stat, .tiles .tile .number { color: #173ea8; }
.table { font-size: 1rem; }
.table thead th {
  background: #eef4ff; font-size: .93rem; letter-spacing: .04em; text-transform: uppercase;
}
.sidebar .list-group-item { font-size: 1rem; }
.alert { font-size: 1rem; }
.form-control, .custom-select, select.form-control, textarea.form-control { font-size: 1rem; }
label, .control-label { font-weight: 700; color: #26334d; }
.btn { font-size: 1rem; padding: .65rem 1.35rem; }
.btn-sm { font-size: .9rem; padding: .45rem .9rem; }
.modal-title { color: #0b1739; font-weight: 800; }
.modal-body { color: #26334d; font-size: 1rem; }

/* Login card: stronger presence, full size inputs. */
.logincontainer .card, .login-container .card {
  box-shadow: 0 30px 70px rgba(16,38,83,.16); border-top: 4px solid #2563eb !important;
}
.logincontainer .form-control, .login-container .form-control { font-size: 1rem; min-height: 50px; }

/* DotMoose 2036 pass 3, BIG AND BOLD brand rebuild, staging dotmoose2036 only.
   The header and footer markup now comes from header.tpl and footer.tpl
   (dm-sitebar, dm-clientbar, dm-quickbar, dm-footer). This layer gives the
   whole client area the main site's scale: display type, DotMoose blue as
   the unmistakable primary, site radius, border and shadow language.
   CSS only below this line. No logic, form or checkout change. */

/* Container: the main site runs wide at every desktop width. */
@media (min-width: 992px) { .container { max-width: 1360px; } }

/* Header shell is dark now; the light sticky bar from earlier passes is gone. */
.header {
  background: #081230; border-bottom: 0; box-shadow: 0 18px 40px rgba(8,18,48,.28);
  position: sticky; top: 0; z-index: 1030;
}
.header .topbar { background: #060f2a; border-bottom: 1px solid rgba(147,197,253,.14); }

/* Site bar: dark premium gradient, OG logo at full presence on a white plate. */
.dm-sitebar {
  background:
    radial-gradient(40rem 16rem at 88% -30%, rgba(96,165,250,.35), transparent 60%),
    linear-gradient(120deg, #0b1739 0%, #102653 58%, #173ea8 135%);
}
.dm-sitebar-inner {
  display: flex; align-items: center; gap: 2.2rem;
  min-height: 96px; padding-top: .85rem; padding-bottom: .85rem;
}
.header .navbar-brand.dm-brand {
  font-size: inherit; letter-spacing: normal; margin-right: 0; padding: 0; flex: 0 0 auto;
}
.header .navbar-brand.dm-brand::before,
.header .navbar-brand.dm-brand::after { content: none !important; display: none !important; }
.header .navbar-brand .logo-img,
.dm-footer-brand .logo-img {
  display: block !important; height: 58px; width: auto; max-width: none;
  background: #ffffff; border-radius: 1rem; padding: .5rem .85rem;
  box-shadow: 0 14px 30px rgba(3,10,30,.35);
}
.dm-sitenav { display: flex; align-items: center; gap: 1.7rem; margin-right: auto; }
.dm-sitenav a {
  color: #dbe7ff; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em;
  padding: .45rem 0; border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap;
}
.dm-sitenav a:hover, .dm-sitenav a:focus { color: #ffffff; border-bottom-color: #60a5fa; text-decoration: none; }
.dm-sitebar-actions { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.dm-phone { color: #cfe1ff; font-weight: 800; font-size: 1rem; white-space: nowrap; text-decoration: none; }
.dm-phone:hover { color: #ffffff; text-decoration: none; }
.dm-search .input-group { background: rgba(255,255,255,.10); border: 1px solid rgba(147,197,253,.30); border-radius: .85rem; overflow: hidden; }
.dm-search .form-control {
  background: transparent !important; border: 0 !important; color: #ffffff !important; min-height: 46px;
}
.dm-search .form-control::placeholder { color: #a9c8ff; opacity: 1; }
.dm-search .btn-default {
  background: transparent !important; border: 0 !important; color: #dbe7ff !important; box-shadow: none !important;
}
.dm-sitebar .toolbar { display: flex; align-items: center; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.dm-sitebar .toolbar .nav-item { margin: 0 !important; }
.header .cart-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #173ea8) !important;
  border: 0 !important; color: #ffffff !important; border-radius: .85rem;
  padding: .72rem 1.15rem !important; font-size: 1.05rem; box-shadow: 0 12px 26px rgba(37,99,235,.40);
}
.header .cart-btn:hover { color: #ffffff !important; filter: brightness(1.1); }
.header .cart-btn .badge {
  background: #ffffff !important; color: #173ea8 !important; font-weight: 800;
  border-radius: 999px; padding: .28em .6em; margin-left: .35rem;
}
.dm-menu-btn {
  background: rgba(255,255,255,.08) !important; border: 1px solid rgba(147,197,253,.40) !important;
  color: #ffffff !important; border-radius: .85rem; padding: .72rem 1rem !important; box-shadow: none !important;
}

/* Client bar: the WHMCS account navigation, in DotMoose deep water blue. */
.header .main-navbar-wrapper.dm-clientbar {
  background: #0d2150 !important; border-top: 1px solid rgba(147,197,253,.16);
  box-shadow: none; min-height: 0;
}
.dm-clientbar .navbar-nav > li > a { font-size: 1.02rem; padding: 1.05rem 1rem; border-radius: .7rem; }
.dm-clientbar .navbar-nav > li.active > a,
.dm-clientbar .navbar-nav > li > a.active {
  background: #2563eb !important; box-shadow: none; color: #ffffff !important;
}
.dm-clientbar .badge { background: #60a5fa; color: #081230; border-radius: 999px; font-weight: 800; }

/* Quickbar: the five things clients actually do, one click from every page. */
.dm-quickbar { background: #eef4ff; border-bottom: 1px solid rgba(11,23,57,.10); }
.dm-quickbar-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; padding-top: .7rem; padding-bottom: .7rem; }
.dm-quickbar-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .68rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: #2563eb; margin-right: .35rem;
}
.dm-quickbar a {
  background: #ffffff; border: 1px solid rgba(11,23,57,.16); border-radius: 999px;
  color: #0b1739; font-weight: 700; font-size: .96rem; padding: .52rem 1.05rem; text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.dm-quickbar a:hover { border-color: #2563eb; color: #1d4ed8; transform: translateY(-1px); text-decoration: none; }
.dm-quickbar a.dm-quickbar-cta {
  margin-left: auto; background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #173ea8);
  border: 0; color: #ffffff; box-shadow: 0 10px 22px rgba(37,99,235,.30); padding: .6rem 1.3rem;
}
.dm-quickbar a.dm-quickbar-cta:hover { color: #ffffff; filter: brightness(1.08); }

/* Display type at the main site's scale. */
h1 { font-size: clamp(2.5rem, 4.6vw, 3.7rem); letter-spacing: -.045em; line-height: 1.05; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.85rem); letter-spacing: -.04em; line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.03em; }
.header-lined { border-bottom: 3px solid #eef4ff; padding-bottom: .8rem; margin-bottom: 1.6rem; }
#main-body { padding-top: 3rem; }

/* Buttons at the site's signal-button size. */
.btn { min-height: 3rem; border-radius: .85rem; padding: .68rem 1.4rem; font-size: 1.02rem; }
.btn-sm { min-height: 0; }
.btn-lg { min-height: 3.5rem; border-radius: 1rem; padding: .85rem 1.8rem; font-size: 1.1rem; }
.btn-outline-primary { border-width: 2px; font-weight: 800; }

/* Cards and panels: site radius, border and shadow language. */
.card, .panel, .list-group, .domain-pricing, .client-home-panels .panel {
  border-radius: 1.25rem !important; border: 1px solid rgba(11,23,57,.12) !important;
  box-shadow: 0 8px 24px rgba(16,38,83,.07);
}
.card-header, .panel-heading {
  background: #ffffff !important; border-bottom: 1px solid rgba(11,23,57,.08) !important;
  font-size: 1.08rem; font-weight: 800; color: #0b1739 !important; padding: 1.15rem 1.4rem;
}
.card-body, .panel-body { padding: 1.4rem; }
.sidebar .panel-heading, .sidebar .card-header {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .76rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: #2563eb !important;
}

/* Client home: one obvious primary action per panel. */
.client-home-panels .panel .btn-primary,
.client-home-panels .panel .btn-success { width: 100%; margin-top: .6rem; }
.client-home-panels .list-group-item { padding: .95rem 1.1rem; font-size: 1rem; }

/* Homepage product cards: the browse button is the action, fill it. */
.home.card-columns .card .btn-outline-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #173ea8); border: 0; color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37,99,235,.28); min-height: 3.1rem; font-size: 1.02rem;
}
.home.card-columns .card .btn-outline-primary:hover { filter: brightness(1.08); color: #ffffff !important; }

/* Tiles: one blue family, stock colour bars gone, big readable stats. */
.tiles .tile .stat, .tiles .tile .number { font-size: 2.7rem; font-weight: 800; color: #173ea8; line-height: 1.1; }
.tiles .tile .highlight {
  background: linear-gradient(90deg, #2563eb, #60a5fa) !important; height: 5px !important; opacity: 1 !important;
}
.tiles .tile i, .tiles .tile .icon { color: #2563eb !important; }

/* Tables: dark DotMoose header row, no stock blue-grey. */
.table thead th {
  background: #0b1739 !important; color: #ffffff !important; border-bottom: 0;
  font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; padding: 1rem .9rem;
}
.table thead th a { color: #ffffff !important; }
.table tbody td { padding: 1rem .9rem; }
.table-responsive { border-radius: 1.1rem; overflow: hidden; border: 1px solid rgba(11,23,57,.10); }
div.dataTables_wrapper { font-size: 1rem; }

/* Status pills and labels: one system, brand colours. */
.badge, .label { border-radius: 999px; padding: .38em .75em; font-weight: 700; font-size: .85rem; }
.badge-info, .badge-primary, .label-info, .label-primary { background: #2563eb !important; color: #ffffff !important; }
.badge-success, .label-success { background: #0f9f72 !important; color: #ffffff !important; }
.badge-danger, .label-danger { background: #dc2626 !important; color: #ffffff !important; }
.badge-warning, .label-warning { background: #d97706 !important; color: #ffffff !important; }
.badge-default, .label-default, .badge-secondary { background: #475467 !important; color: #ffffff !important; }

/* Alerts get a strong brand edge. */
.alert-success { border-left: 5px solid #0f9f72; }
.alert-info { border-left: 5px solid #2563eb; }
.alert-warning { border-left: 5px solid #d97706; }
.alert-danger { border-left: 5px solid #dc2626; }

/* Login and register: calm, centred, unmistakable. */
.logincontainer .card, .login-container .card, .login-form .card {
  border-top: 5px solid #2563eb !important; border-radius: 1.25rem !important;
}
.login-form .card .h3, .logincontainer h3 { font-size: 1.95rem; font-weight: 800; letter-spacing: -.03em; color: #0b1739; }
.login-form .btn-primary, .logincontainer .btn-primary { width: 100%; min-height: 3.4rem; font-size: 1.08rem; }

/* Footer: the main site's footer, cloned. */
footer.footer.dm-footer {
  background: linear-gradient(160deg, #060f2a, #0b1739 55%, #102653) !important;
  color: #d3e2f8; padding: 4rem 0 2rem; border-top: 1px solid rgba(147,197,253,.18);
}
.dm-footer-lead { padding-bottom: 2.2rem; }
.dm-footer-brand .logo-img { height: 54px; }
.dm-footer-tagline { color: #c5d2eb; font-size: 1.05rem; margin: 1.1rem 0 .4rem; max-width: 30rem; }
.dm-footer-contact { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.dm-footer-contact a { color: #ffffff; font-weight: 700; font-size: 1rem; }
.dm-footer-contact a:hover { color: #93c5fd; }
.dm-footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding: 2.4rem 0; border-top: 1px solid rgba(147,197,253,.16); border-bottom: 1px solid rgba(147,197,253,.16);
}
.dm-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.dm-route-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: #93c5fd; margin: 0 0 1rem;
}
.dm-footer-grid a { color: #c5d2eb; font-size: .95rem; padding: .3rem 0; text-decoration: none; }
.dm-footer-grid a:hover { color: #ffffff; text-decoration: none; }
.dm-footer-util { padding-top: 1.6rem; }
.dm-footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; color: #8ea6cf;
}
.dm-footer-base a { color: #c5d2eb; }
.dm-footer-base a:hover { color: #ffffff; }

@media (max-width: 1199.98px) {
  .dm-phone { display: none; }
  .dm-sitenav { gap: 1.2rem; }
}
@media (max-width: 991.98px) {
  .dm-sitebar-inner { flex-wrap: wrap; gap: 1rem 1.4rem; min-height: 0; padding-top: 1rem; padding-bottom: 1rem; }
  .dm-sitenav { order: 3; width: 100%; overflow-x: auto; padding-bottom: .3rem; gap: 1.3rem; }
  .header .navbar-brand .logo-img { height: 46px; }
  .dm-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-quickbar a.dm-quickbar-cta { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .dm-footer-grid { grid-template-columns: 1fr; }
  .dm-footer-base { flex-direction: column; }
  h1 { font-size: 2.3rem; }
}

/* ============================================================
   PASS 4 (2026-11-21) GROUND-UP REBUILD LAYER
   Passes 1 to 3 tinted stock WHMCS markup and were rejected.
   This layer styles NEW template markup (dmx- classes) written
   into the .tpl files themselves. Stock panel boxes, tiles and
   list groups are no longer rendered by the rebuilt templates.
   ============================================================ */

/* ---------- shared primitives ---------- */
.dmx-wrap { max-width: 100%; }
.dmx-muted { color: var(--dm-muted); }
.dmx-ico { width: 22px; height: 22px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dmx-ico-sm { width: 17px; height: 17px; }
.dmx-ico-lg { width: 26px; height: 26px; }

.dmx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .65rem 1.4rem; border-radius: .85rem; border: 1px solid transparent; font-weight: 650; font-size: .98rem; line-height: 1.2; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-decoration: none !important; }
.dmx-btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #173ea8); color: #fff !important; box-shadow: 0 10px 24px rgba(37,99,235,.28); }
.dmx-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(37,99,235,.34); color: #fff !important; }
.dmx-btn-quiet { background: #fff; color: var(--dm-night) !important; border-color: var(--dm-line); }
.dmx-btn-quiet:hover { border-color: var(--dm-blue); color: var(--dm-blue-dark) !important; transform: translateY(-1px); }
.dmx-btn-danger { background: #fff; color: #b42318 !important; border-color: rgba(180,35,24,.35); }
.dmx-btn-danger:hover { background: #fef3f2; }
.dmx-btn-block { width: 100%; }
.dmx-btn-sm { min-height: 2.4rem; padding: .4rem .95rem; font-size: .9rem; border-radius: .7rem; }

/* forms inside rebuilt scopes */
.dmx-scope .form-control, .dmx-scope input.field, .dmx-scope select.field, .dmx-scope textarea.field {
  min-height: 3.1rem; border: 1px solid var(--dm-line); border-radius: .8rem; padding: .6rem 1rem;
  font-size: 1rem; color: var(--dm-night); background: #fff; box-shadow: none;
}
.dmx-scope textarea.form-control { min-height: auto; }
.dmx-scope .form-control:focus, .dmx-scope input.field:focus, .dmx-scope select.field:focus, .dmx-scope textarea.field:focus {
  border-color: var(--dm-blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); outline: none;
}
.dmx-scope label, .dmx-scope .form-control-label { font-weight: 650; color: var(--dm-night); margin-bottom: .4rem; font-size: .95rem; }
.dmx-scope .form-group { margin-bottom: 1.1rem; }
.dmx-scope .prepend-icon { position: relative; }
.dmx-scope .prepend-icon .field-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--dm-muted); display: inline-flex; pointer-events: none; z-index: 3; }
.dmx-scope .prepend-icon .field { padding-left: 2.7rem; }

/* alerts (includes/alert.tpl, flashmessage) */
.dmx-alert { display: flex; gap: .8rem; align-items: flex-start; border-radius: 1rem; padding: 1rem 1.2rem; margin-bottom: 1.1rem; border: 1px solid; font-size: .97rem; background: #fff; }
.dmx-alert .dmx-ico { margin-top: .1rem; }
.dmx-alert-info { border-color: rgba(37,99,235,.35); background: var(--dm-surface-blue); color: var(--dm-water); }
.dmx-alert-success { border-color: rgba(15,159,114,.4); background: #ecfdf5; color: #065f46; }
.dmx-alert-warning { border-color: rgba(217,119,6,.4); background: #fffbeb; color: #92400e; }
.dmx-alert-danger, .dmx-alert-error { border-color: rgba(180,35,24,.35); background: #fef3f2; color: #7a271a; }
.dmx-alert ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.dmx-alert h2 { font-size: 1.05rem; font-weight: 750; margin: 0 0 .25rem; }

/* ---------- page heading band ---------- */
.dmx-pagehead { margin: .4rem 0 1.6rem; }
.dmx-pagehead h1, .dmx-pagehead .dmx-h1 { font-size: 2.5rem; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--dm-night); margin: 0 0 .45rem; }
.dmx-pagehead p { color: var(--dm-muted); font-size: 1.05rem; margin: 0; max-width: 46rem; }
.dmx-eyebrow { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dm-blue); font-weight: 700; margin-bottom: .5rem; }

/* ---------- cards ---------- */
.dmx-card { background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; box-shadow: var(--dm-shadow-sm); margin-bottom: 1.4rem; overflow: hidden; }
.dmx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem .9rem; }
.dmx-card-head h2, .dmx-card-head h3 { font-size: 1.22rem; font-weight: 750; color: var(--dm-night); margin: 0; display: flex; align-items: center; gap: .6rem; }
.dmx-card-head .dmx-ico { color: var(--dm-blue); }
.dmx-card-body { padding: .4rem 1.5rem 1.5rem; }
.dmx-card-body.flush { padding: 0; }
.dmx-card-foot { padding: 1rem 1.5rem; border-top: 1px solid var(--dm-line-soft); background: var(--dm-surface); }
.dmx-badge { display: inline-flex; align-items: center; min-height: 1.6rem; padding: .1rem .6rem; border-radius: 999px; background: var(--dm-surface-blue); color: var(--dm-blue-dark); font-size: .8rem; font-weight: 700; }

/* list rows inside cards */
.dmx-rows { list-style: none; margin: 0; padding: 0; }
.dmx-rows > li, .dmx-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--dm-line-soft); }
.dmx-rows > li:first-child, .dmx-row:first-child { border-top: 0; }
a.dmx-row { color: inherit; text-decoration: none !important; transition: background .15s ease; }
a.dmx-row:hover { background: var(--dm-surface); }
.dmx-row-main { flex: 1 1 auto; min-width: 0; }
.dmx-row-title { font-weight: 700; color: var(--dm-night); display: block; }
.dmx-row-sub { color: var(--dm-muted); font-size: .92rem; display: block; }
.dmx-row-meta { text-align: right; flex: 0 0 auto; }
.dmx-row-arrow { color: var(--dm-muted); flex: 0 0 auto; }

/* status pills */
.dmx-pill { display: inline-flex; align-items: center; gap: .4rem; min-height: 1.7rem; padding: .12rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; line-height: 1.25; background: var(--dm-surface-blue); color: var(--dm-blue-dark); white-space: nowrap; }
.dmx-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; opacity: .75; }
.dmx-pill.status-active, .dmx-pill.status-paid, .dmx-pill.status-completed, .dmx-pill.status-answered { background: #ecfdf5; color: #047857; }
.dmx-pill.status-unpaid, .dmx-pill.status-pending, .dmx-pill.status-open, .dmx-pill.status-customer-reply { background: #fffbeb; color: #b45309; }
.dmx-pill.status-cancelled, .dmx-pill.status-terminated, .dmx-pill.status-closed, .dmx-pill.status-expired, .dmx-pill.status-fraud { background: #fef3f2; color: #b42318; }
.dmx-pill.status-suspended, .dmx-pill.status-draft { background: #f2f4f7; color: #475467; }

/* ---------- client home ---------- */
.dmx-welcome { position: relative; border-radius: 1.4rem; padding: 2.1rem 2.2rem; margin-bottom: 1.5rem; color: #fff; background: linear-gradient(120deg, #0b1739 0%, #102653 52%, #1d4ed8 130%); overflow: hidden; }
.dmx-welcome::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 20rem; height: 20rem; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 65%); }
.dmx-welcome h1 { color: #fff; font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .4rem; position: relative; z-index: 1; }
.dmx-welcome p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin: 0; max-width: 40rem; position: relative; z-index: 1; }
.dmx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-bottom: 1.5rem; }
@media (max-width: 991px) { .dmx-stats { grid-template-columns: repeat(2, 1fr); } }
.dmx-stat { display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; padding: 1.3rem 1.4rem; box-shadow: var(--dm-shadow-sm); color: inherit; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.dmx-stat:hover { transform: translateY(-2px); box-shadow: var(--dm-shadow-md); }
.dmx-stat-ico { width: 3rem; height: 3rem; border-radius: .9rem; background: var(--dm-surface-blue); color: var(--dm-blue); display: flex; align-items: center; justify-content: center; }
.dmx-stat-num { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--dm-night); }
.dmx-stat-label { color: var(--dm-muted); font-weight: 650; font-size: .95rem; }
.dmx-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; align-items: start; }
@media (max-width: 991px) { .dmx-home-grid { grid-template-columns: 1fr; } }
.dmx-home-wide { grid-column: 1 / -1; }

/* ---------- account sidebar nav ---------- */
.sidebar .dmx-acctnav, .dmx-acctnav { background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; box-shadow: var(--dm-shadow-sm); padding: 1.1rem; margin-bottom: 1.4rem; }
.dmx-acctnav-section + .dmx-acctnav-section { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--dm-line-soft); }
.dmx-acctnav-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; letter-spacing: .11em; text-transform: uppercase; color: var(--dm-blue); font-weight: 700; padding: 0 .55rem; margin-bottom: .55rem; }
.dmx-acctnav-body { padding: .2rem .55rem .6rem; color: var(--dm-text); font-size: .95rem; }
.dmx-acctnav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.dmx-acctnav-links a, .dmx-acctnav-links .dmx-acctnav-item { display: flex; align-items: center; gap: .6rem; padding: .62rem .7rem; border-radius: .75rem; color: var(--dm-night); font-weight: 600; font-size: .97rem; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.dmx-acctnav-links a:hover { background: var(--dm-surface-blue); color: var(--dm-blue-dark); }
.dmx-acctnav-links a.active { background: linear-gradient(135deg, #2563eb, #1d4ed8 60%, #173ea8); color: #fff !important; box-shadow: 0 8px 18px rgba(37,99,235,.25); }
.dmx-acctnav-links a.disabled { opacity: .5; pointer-events: none; }
.dmx-acctnav-links .dmx-badge { margin-left: auto; }
.dmx-acctnav-links a.active .dmx-badge { background: rgba(255,255,255,.22); color: #fff; }
.dmx-acctnav-foot { padding: .7rem .55rem 0; border-top: 1px solid var(--dm-line-soft); margin-top: .7rem; color: var(--dm-text); font-size: .94rem; }
.dmx-acctnav select.form-control { min-height: 3rem; border-radius: .8rem; border: 1px solid var(--dm-line); }

/* ---------- designed tables (DataTables kept) ---------- */
.dmx-tablecard { background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; box-shadow: var(--dm-shadow-sm); padding: .6rem 1.2rem 1.2rem; margin-bottom: 1.4rem; overflow: hidden; }
.dmx-tablecard .table-container { overflow-x: auto; }
table.dmx-table, .dmx-tablecard table.table-list { width: 100% !important; border-collapse: separate; border-spacing: 0; margin: 0 !important; background: transparent; }
.dmx-tablecard table.table-list thead th { border: 0 !important; border-bottom: 2px solid var(--dm-line) !important; background: transparent !important; color: var(--dm-muted); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; padding: 1rem .9rem .8rem; white-space: nowrap; }
.dmx-tablecard table.table-list tbody td { border: 0 !important; border-bottom: 1px solid var(--dm-line-soft) !important; background: transparent !important; padding: 1.05rem .9rem; vertical-align: middle; color: var(--dm-text); font-size: .99rem; }
.dmx-tablecard table.table-list tbody tr { transition: background .15s ease; }
.dmx-tablecard table.table-list tbody tr:hover td { background: var(--dm-surface) !important; }
.dmx-tablecard table.table-list tbody tr:last-child td { border-bottom: 0 !important; }
.dmx-tablecard .dataTables_wrapper .dataTables_length, .dmx-tablecard .dataTables_wrapper .dataTables_filter, .dmx-tablecard .dataTables_wrapper .dataTables_info, .dmx-tablecard .dataTables_wrapper .dataTables_paginate { padding: .7rem .4rem 0; color: var(--dm-muted); font-size: .92rem; }
.dmx-tablecard .dataTables_wrapper .dataTables_filter input, .dmx-tablecard .dataTables_wrapper .dataTables_length select { border: 1px solid var(--dm-line); border-radius: .65rem; min-height: 2.5rem; padding: .3rem .7rem; margin-left: .5rem; color: var(--dm-night); background: #fff; }
.dmx-tablecard .dataTables_wrapper .dataTables_paginate .paginate_button { border: 1px solid var(--dm-line-soft) !important; border-radius: .6rem !important; padding: .35rem .8rem !important; margin-left: .3rem; background: #fff !important; color: var(--dm-night) !important; }
.dmx-tablecard .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--dm-blue) !important; color: #fff !important; border-color: var(--dm-blue) !important; }
.dmx-cell-title { font-weight: 700; color: var(--dm-night); font-size: 1.02rem; }
.dmx-cell-sub { color: var(--dm-muted); font-size: .9rem; }
.dmx-tablecard .ssl-info img { border-radius: .35rem; }

/* filter chips above tables (sidebar view filters reuse) */
.view-filter-btns.dmx-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.view-filter-btns.dmx-filters a { border: 1px solid var(--dm-line); border-radius: 999px !important; padding: .42rem .95rem !important; background: #fff !important; color: var(--dm-night) !important; font-weight: 650; }
.view-filter-btns.dmx-filters a.active { background: var(--dm-blue) !important; color: #fff !important; border-color: var(--dm-blue); }

/* ---------- homepage storefront ---------- */
.dmx-section-title { text-align: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--dm-night); margin: 2.4rem 0 1.4rem; }
.dmx-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.dmx-price-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; box-shadow: var(--dm-shadow-sm); padding: 1.8rem 1.6rem; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.dmx-price-card:hover { transform: translateY(-3px); box-shadow: var(--dm-shadow-md); }
.dmx-price-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--dm-night); margin: 0 0 .5rem; }
.dmx-price-card p { color: var(--dm-muted); flex: 1 1 auto; margin: 0 0 1.3rem; }
.dmx-action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.1rem; margin-bottom: 1.6rem; }
.dmx-action { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; padding: 1.5rem 1rem 1.3rem; color: var(--dm-night) !important; font-weight: 700; text-decoration: none !important; box-shadow: var(--dm-shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.dmx-action:hover { transform: translateY(-2px); box-shadow: var(--dm-shadow-md); color: var(--dm-blue-dark) !important; }
.dmx-action-ico { width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--dm-surface-blue); color: var(--dm-blue); display: flex; align-items: center; justify-content: center; }

/* ---------- domain search hero + pricing ---------- */
.dmx-domain-hero { border-radius: 1.4rem; background: linear-gradient(120deg, #0b1739 0%, #102653 55%, #1d4ed8 135%); padding: 2.6rem 1.5rem 2.3rem; margin-bottom: 1.6rem; text-align: center; }
.dmx-domain-hero h2 { color: #fff; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.4rem; }
.dmx-domain-form { max-width: 46rem; margin: 0 auto; }
.dmx-domain-input { display: flex; gap: .6rem; background: #fff; border-radius: 1rem; padding: .45rem; box-shadow: 0 24px 50px rgba(3,10,35,.35); }
.dmx-domain-input input[type="text"], .dmx-domain-input textarea { flex: 1 1 auto; border: 0 !important; box-shadow: none !important; font-size: 1.1rem; min-height: 3.2rem; padding: .5rem .9rem; color: var(--dm-night); background: transparent; }
.dmx-domain-input .dmx-btn { flex: 0 0 auto; }
.dmx-domain-meta { margin-top: 1.1rem; color: rgba(255,255,255,.85); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.dmx-domain-meta .tld-logos { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.dmx-domain-meta .tld-logos li { display: flex; align-items: center; gap: .45rem; font-weight: 700; color: #fff; }
.dmx-domain-meta .tld-logos img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.dmx-domain-meta a { color: #fff; text-decoration: underline; }
.dmx-tld-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.dmx-tld-filters a { border: 1px solid var(--dm-line); border-radius: 999px; padding: .42rem .95rem; background: #fff; color: var(--dm-night) !important; font-weight: 650; font-size: .92rem; text-decoration: none !important; }
.dmx-tld-filters a.badge-success { background: var(--dm-blue) !important; color: #fff !important; border-color: var(--dm-blue); }
.dmx-tld-sale { display: inline-block; margin-left: .5rem; padding: .08rem .55rem; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.dmx-featured-tlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.dmx-featured-tld { background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.1rem; box-shadow: var(--dm-shadow-sm); padding: 1.1rem; text-align: center; }
.dmx-featured-tld img { max-height: 30px; width: auto; margin-bottom: .5rem; }
.dmx-featured-tld .price { font-weight: 800; color: var(--dm-night); font-size: 1.05rem; }

/* ---------- auth (login) ---------- */
.dmx-auth { max-width: 34rem; margin: 1.6rem auto 2rem; background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.4rem; box-shadow: var(--dm-shadow-md); overflow: hidden; }
.dmx-auth-body { padding: 2.2rem 2.2rem 1.6rem; }
.dmx-auth h1 { font-size: 1.9rem; font-weight: 800; color: var(--dm-night); margin: 0 0 .3rem; }
.dmx-auth .dmx-auth-sub { color: var(--dm-muted); margin-bottom: 1.4rem; }
.dmx-auth-foot { padding: 1.1rem 2.2rem; background: var(--dm-surface); border-top: 1px solid var(--dm-line-soft); display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.dmx-auth .dmx-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }

/* ---------- detail pages ---------- */
.dmx-hero-card { border-radius: 1.4rem; background: linear-gradient(120deg, #0b1739, #102653 60%, #1d4ed8 140%); color: #fff; padding: 2rem 2.2rem; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; }
.dmx-hero-card h1 { color: #fff; font-size: 2rem; font-weight: 800; margin: 0 0 .3rem; letter-spacing: -.02em; word-break: break-word; }
.dmx-hero-card .dmx-hero-sub { color: rgba(255,255,255,.82); font-size: 1.02rem; }
.dmx-hero-card .dmx-pill { background: rgba(255,255,255,.16); color: #fff; }
.dmx-hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.dmx-defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem 1.6rem; }
.dmx-def dt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dm-muted); font-weight: 700; margin-bottom: .3rem; }
.dmx-def dd { margin: 0; font-size: 1.05rem; font-weight: 650; color: var(--dm-night); word-break: break-word; }
.dmx-tabs { border: 0; gap: .35rem; margin-bottom: 0; }
.dmx-tabs .nav-link { border: 1px solid var(--dm-line-soft) !important; border-bottom: 0 !important; border-radius: .9rem .9rem 0 0 !important; background: var(--dm-surface); color: var(--dm-text) !important; font-weight: 650; padding: .7rem 1.15rem; }
.dmx-tabs .nav-link.active { background: #fff !important; color: var(--dm-night) !important; }
.dmx-tab-body { background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 0 1.25rem 1.25rem 1.25rem; box-shadow: var(--dm-shadow-sm); padding: 1.6rem; margin-bottom: 1.4rem; }
.dmx-kv-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .9rem 2rem; }
.dmx-kv { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--dm-line-soft); }
.dmx-kv strong { color: var(--dm-muted); font-weight: 650; }
.dmx-kv span { color: var(--dm-night); font-weight: 650; text-align: right; word-break: break-word; }

/* ---------- tickets ---------- */
.dmx-dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.dmx-dept { display: block; background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; box-shadow: var(--dm-shadow-sm); padding: 1.5rem; color: inherit; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.dmx-dept:hover { transform: translateY(-2px); box-shadow: var(--dm-shadow-md); }
.dmx-dept h3 { font-size: 1.15rem; font-weight: 750; color: var(--dm-night); margin: 0 0 .4rem; display: flex; align-items: center; gap: .6rem; }
.dmx-dept h3 .dmx-ico { color: var(--dm-blue); }
.dmx-dept p { color: var(--dm-muted); margin: 0; }
.dmx-thread { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.4rem; }
.dmx-msg { background: #fff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem; box-shadow: var(--dm-shadow-sm); padding: 1.4rem 1.6rem; }
.dmx-msg.staff { background: var(--dm-surface-blue); border-color: rgba(37,99,235,.25); }
.dmx-msg-head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .8rem; color: var(--dm-muted); font-size: .93rem; }
.dmx-msg-head .posted-by-name { font-weight: 750; color: var(--dm-night); font-size: 1rem; }
.dmx-msg .message { color: var(--dm-text); font-size: 1rem; line-height: 1.55; }
.dmx-msg .attachments { margin-top: 1rem; border-top: 1px solid var(--dm-line-soft); padding-top: .9rem; }
.dmx-msg .attachment-list { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.dmx-msg .attachment-list a, .dmx-msg .attachment-list span { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--dm-line); border-radius: .7rem; padding: .45rem .8rem; background: #fff; color: var(--dm-night); font-weight: 600; }
.dmx-msg .attachment-list figure { margin: 0; display: inline-flex; }
.dmx-msg .rating, .dmx-msg .rating-done { margin-top: .8rem; }

/* ticket list subject link */
.dmx-tablecard .ticket-number { color: var(--dm-muted); font-weight: 700; margin-right: .45rem; }
.dmx-tablecard .ticket-subject { font-weight: 700; color: var(--dm-night); }
.dmx-tablecard .ticket-subject.unread { color: var(--dm-blue-dark); }

/* service item rows used by home panel body html include */
.dmx-service-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--dm-line-soft); border-radius: 1.1rem; background: #fff; margin-bottom: .8rem; flex-wrap: wrap; }
.dmx-service-item .dmx-service-name { flex: 1 1 auto; min-width: 200px; }
.dmx-service-item .dmx-service-name .font-weight-bold { font-weight: 750; color: var(--dm-night); display: block; }
.dmx-service-item .text-domain { color: var(--dm-muted); }

/* misc stock cleanup inside rebuilt pages */
.dmx-scope .card { border: 0; box-shadow: none; background: transparent; }
.dmx-scope .card-body { padding: 0; }
.dmx-scope .card-header { background: transparent; border: 0; padding: 0; }

/* ============================================================
   PASS 4 FIXUPS (2026-11-21): small additions the rebuilt
   templates rely on. Appended to both template stylesheets.
   ============================================================ */

/* domain pricing filter chips: the stock JS toggles badge-success */
.dmx-chip.badge-success { background: var(--dm-blue, #2563eb); border-color: var(--dm-blue, #2563eb); color: #fff; }

/* domain details field labels and card titles */
.dmx-h5 { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dm-muted, #667085); font-weight: 700; margin-bottom: .3rem; }
.dmx-card-title-lg { font-size: 1.45rem; font-weight: 800; color: var(--dm-night, #0b1739); letter-spacing: -.01em; margin: 0 0 1.1rem; }
.dmx-status-line { text-align: center; font-size: 1.15rem; font-weight: 650; color: var(--dm-night, #0b1739); margin: 0 0 1.4rem; }
.dmx-addon-ico { width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--dm-surface-blue, #eef4ff); color: var(--dm-blue, #2563eb); display: flex; align-items: center; justify-content: center; }
.dmx-addon-ico .dmx-ico { width: 26px; height: 26px; }
.dmx-today-list { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.dmx-today-list a { font-weight: 650; color: var(--dm-blue-dark, #1d4ed8); }

/* product details definition rows inside tab panes */
.dmx-def-label { text-align: right; color: var(--dm-muted, #667085); font-weight: 650; padding-top: .35rem; padding-bottom: .35rem; }
.dmx-def-value { text-align: left; color: var(--dm-night, #0b1739); font-weight: 600; padding-top: .35rem; padding-bottom: .35rem; }
@media (max-width: 575px) { .dmx-def-label { text-align: left; padding-bottom: 0; } .dmx-def-value { padding-top: 0; } }

/* cart section headings + spinner */
.dmx-subhead { font-size: 1.3rem; font-weight: 750; color: var(--dm-night, #0b1739); margin: 1.7rem 0 .95rem; display: flex; align-items: center; gap: .8rem; }
.dmx-subhead::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--dm-line-soft, rgba(11,23,57,.08)); }
.dmx-subhead:first-child { margin-top: .4rem; }
.dmx-spin { animation: dmxspin 1s linear infinite; }
@keyframes dmxspin { to { transform: rotate(360deg); } }
#order-standard_cart .field-container, #order-standard_cart .product-configurable-options { background: #fff; border: 1px solid var(--dm-line-soft, rgba(11,23,57,.08)); border-radius: 1.25rem; box-shadow: 0 8px 24px rgba(16,38,83,.07); padding: 1.4rem 1.6rem; margin-bottom: 1.4rem; }

/* cart product grids keep the stock two-per-row split, restyled */
#order-standard_cart .products .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 0 0 1.2rem; }
#order-standard_cart .products .col-md-6 { max-width: none; flex: none; padding: 0; }
@media (max-width: 767px) { #order-standard_cart .products .row { grid-template-columns: 1fr; } }
#order-standard_cart .dmx-product { height: 100%; }
#order-standard_cart .dmx-product form { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; }
#order-standard_cart .dmx-product-desc { flex: 1 1 auto; }

/* domain checker search button inside the dark hero */
.dmx-domain-checker .domain-check-availability { background: linear-gradient(135deg, #2563eb, #1d4ed8 60%, #173ea8); border: 0; border-radius: .8rem; font-weight: 700; color: #fff; min-height: 3.2rem; padding: 0 1.6rem; }
.dmx-domain-checker .input-group-box { align-items: stretch; }
.dmx-suggest-head { font-size: 1.2rem; font-weight: 750; color: var(--dm-night, #0b1739); padding: 1rem 0 .6rem; }

/* view cart items header row fills its strip */
.dmx-cart-head .row { flex: 1 1 auto; width: 100%; }

/* ticket list unread subject */
.dmx-table .ticket-subject.unread { font-weight: 800; color: var(--dm-night, #0b1739); }
.dmx-table .ticket-number { color: var(--dm-muted, #667085); font-weight: 700; margin-right: .4rem; }

/* summary fragments (ordersummary.tpl) inside the dark card */
.dmx-summary .product-name { margin-top: .2rem; }
#orderSummary.dmx-summary { margin-bottom: 1.2rem; }





/* ============================================================
   PASS 5 (2026-11-21) VISUAL REBUILD LAYER, MAIN TEMPLATE
   Passes 3 and 4 failed the owner's glance test. This layer is
   written against the RENDERED staging pages (screenshot and
   computed style verified), matching the live dotmoose.com
   design: white header, navy strip under it, light footer,
   1360px container, site card geometry and type scale.
   It also defines the pass 4 classes that shipped with no CSS
   at all (dmx-store-grid, dmx-domain-searchbar, dmx-actions,
   dmx-btn-ghost, dmx-field, dmx-auth-head, dmx-chips,
   dmx-tablewrap, dmx-currency-form, dmx-hero-band).
   ============================================================ */

/* ---------- header: white site bar, like the live site ---------- */
.header {
  background: #ffffff; border-bottom: 1px solid var(--dm-line-soft);
  box-shadow: 0 10px 30px rgba(16,38,83,.06);
}
.header .topbar { background: var(--dm-surface); border-bottom: 1px solid var(--dm-line-soft); color: var(--dm-night); }
.header .topbar a, .header .topbar .btn, .header .topbar span { color: var(--dm-night) !important; }
.dm-sitebar { background: #ffffff; }
.dm-sitenav { gap: 1.35rem; }
.dm-sitenav a { font-size: .93rem; }
.dm-support { color: var(--dm-night); font-weight: 700; font-size: .96rem; white-space: nowrap; }
.dm-support:hover { color: var(--dm-blue); text-decoration: none; }
.dm-sitebar-inner { min-height: 78px; padding-top: .55rem; padding-bottom: .55rem; }
.header .navbar-brand .logo-img {
  background: transparent; box-shadow: none; border-radius: 0;
  padding: 0; height: 46px;
}
.dm-sitenav a { color: var(--dm-night); }
.dm-sitenav a:hover, .dm-sitenav a:focus { color: var(--dm-blue); border-bottom-color: var(--dm-blue); }
.dm-phone { color: var(--dm-night); }
.dm-phone:hover { color: var(--dm-blue); }
.dm-search .input-group { background: #ffffff; border: 1px solid var(--dm-line); }
.dm-search .form-control { color: var(--dm-night) !important; }
.dm-search .form-control::placeholder { color: var(--dm-muted); }
.dm-search .btn-default { color: var(--dm-muted) !important; }
.dm-menu-btn {
  background: #ffffff !important; border: 1px solid var(--dm-line) !important;
  color: var(--dm-night) !important;
}
/* the live header carries no search box (its KB search lives in the
   collapsed menu, which keeps its own form): hiding the sitebar
   search lets the full live nav set fit the 1360 bar on one line */
.dm-sitebar .dm-search { display: none; }
.dm-sitebar-inner { gap: 1.2rem; }
.dm-sitebar-actions { gap: .95rem; }
/* client bar stays navy: it reads as the site's navy strip under the header */
.header .main-navbar-wrapper.dm-clientbar { background: #0b1739 !important; border-top: 0; }

/* ---------- footer: dark navy, like the live site footer ----------
   The live footer is very dark navy with the light lockup, tagline
   right on the lead row, and contact links inside the DotMoose
   column (which the pass 3 markup already has). The lead contact
   row is therefore hidden, and the dark logo file is inverted
   (hue restored, blended to screen) so it reads as the live
   white lockup without redrawing or replacing the OG file. */
footer.footer.dm-footer {
  background: #050d24 !important;
  color: #d3e2f8; border-top: 1px solid rgba(147,197,253,.14);
}
.dm-footer-brand .logo-img {
  background: transparent; box-shadow: none; border-radius: 0; padding: 0; height: 44px;
  filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen;
}
.dm-footer-lead { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; }
.dm-footer-tagline { color: #c5d2eb; margin: 0 0 0 auto; text-align: right; }
.dm-footer-contact { display: none; }
.dm-footer-grid { border-top: 1px solid rgba(147,197,253,.16); border-bottom: 1px solid rgba(147,197,253,.16); }
.dm-footer-util .btn, .dm-footer-util button {
  color: #d3e2f8 !important; border: 1px solid rgba(147,197,253,.35) !important;
  background: transparent !important;
}

/* ---------- home: domain search hero (includes/domain-search.tpl) ---------- */
.dmx-domain-hero {
  border-radius: 0; margin: 0 0 2.4rem; padding: 3.1rem 1.25rem 2.7rem;
  background: linear-gradient(120deg, #0b1739 0%, #102653 55%, #1d4ed8 135%);
}
.dmx-domain-hero h2 { font-size: 2.6rem; margin-bottom: 1.6rem; }
.dmx-domain-searchbar {
  background: #ffffff; border-radius: 1rem; padding: 1rem;
  box-shadow: 0 24px 50px rgba(3,10,35,.35);
  display: flex; flex-wrap: wrap; gap: .7rem; align-items: center;
  max-width: 57rem; margin: 0 auto; text-align: left;
}
.dmx-domain-searchbar textarea {
  flex: 1 1 100%; border: 1px solid var(--dm-line); border-radius: .8rem;
  min-height: 3.4rem; padding: .8rem 1rem; font-size: 1.05rem;
  color: var(--dm-night); background: #ffffff; resize: vertical;
}
.dmx-domain-searchbar > input[type="text"] {
  flex: 1 1 auto; border: 1px solid var(--dm-line); border-radius: .8rem;
  min-height: 3.2rem; padding: .6rem 1rem; font-size: 1.1rem; color: var(--dm-night);
}
.dmx-domain-searchbar .btn-group { flex: 0 1 auto; }
.dmx-domain-searchbar .btn-group .btn,
.dmx-domain-searchbar .multiselect.btn {
  min-height: 3rem; border: 1px solid var(--dm-line); border-radius: .8rem !important;
  background: #ffffff; color: var(--dm-night); font-weight: 650; padding: .6rem 1rem;
  box-shadow: none !important;
}
.dmx-domain-safesearch {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--dm-night); font-weight: 600; margin: 0; padding: 0 .3rem; cursor: pointer;
}
.dmx-domain-actions { margin-left: auto; display: inline-flex; gap: .6rem; flex-wrap: wrap; }
.dmx-btn-ghost {
  background: #ffffff; color: var(--dm-blue-dark) !important;
  border: 1px solid rgba(37,99,235,.45);
}
.dmx-btn-ghost:hover { border-color: var(--dm-blue); color: var(--dm-blue-dark) !important; transform: translateY(-1px); }
.dmx-domain-hero .domainchecker-homepage-captcha { max-width: 46rem; margin: 1.5rem auto 0; }
.dmx-domain-hero .domainchecker-homepage-captcha p { color: rgba(255,255,255,.88) !important; }
.dmx-domain-hero .domainchecker-homepage-captcha .captchaimage img {
  background: #ffffff; border-radius: .45rem; padding: .25rem;
}
.dmx-domain-hero .domainchecker-homepage-captcha .form-control {
  min-height: 3rem; border-radius: .7rem; border: 0;
}
.dmx-domain-tlds {
  display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center;
  list-style: none; margin: 1.4rem 0 0; padding: 0; color: #ffffff; font-weight: 700;
}
.dmx-domain-tlds li { display: flex; align-items: center; gap: .55rem; }
.dmx-domain-tlds img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.dmx-domain-pricing-link {
  display: block; text-align: center; margin-top: 1.15rem;
  color: #bfdbfe !important; font-weight: 650; text-decoration: underline;
}

/* ---------- home: sections, store cards, action cards ---------- */
.dmx-hero-band { padding: 2.4rem 0 .4rem; }
.dmx-hero-band h1 { margin: .35rem 0 .55rem; }
.dmx-hero-band p { color: var(--dm-muted); font-size: 1.14rem; max-width: 44rem; margin: 0; }
.dmx-section-title { text-align: left; margin: 2.8rem 0 1.3rem; }
.dmx-store-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1rem;
}
@media (max-width: 1199px) { .dmx-store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .dmx-store-grid { grid-template-columns: 1fr; } }
.dmx-store-card {
  display: flex; flex-direction: column; background: #ffffff;
  border: 1px solid var(--dm-line-soft); border-radius: 1.25rem;
  box-shadow: var(--dm-shadow-sm); padding: 1.8rem 1.6rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dmx-store-card:hover { transform: translateY(-3px); box-shadow: var(--dm-shadow-md); }
.dmx-store-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--dm-night); margin: 0 0 .5rem; }
.dmx-store-card p { color: var(--dm-muted); margin: 0 0 1.4rem; flex: 1 1 auto; }
.dmx-store-card .dmx-btn { width: 100%; }
.dmx-actions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1.1rem; margin-bottom: 1.8rem;
}

/* ---------- auth: login card ---------- */
.dmx-auth { margin: 2.6rem auto 2.8rem; }
.dmx-auth-head {
  background: linear-gradient(120deg, #0b1739, #102653 60%, #1d4ed8 140%);
  padding: 1.7rem 2rem 1.5rem;
}
.dmx-auth-head h1 { color: #ffffff; font-size: 1.9rem; margin: 0 0 .25rem; }
.dmx-auth-head p { color: rgba(255,255,255,.85); margin: 0; }
.dmx-auth > .dmx-alert { margin: 1.2rem 2rem 0; }
.dmx-auth .form-group { padding: 0 2rem; margin-top: 1.15rem; margin-bottom: 0; }
.dmx-auth label { font-weight: 650; color: var(--dm-night); margin-bottom: .4rem; }
.dmx-field { position: relative; }
.dmx-field > .dmx-ico {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--dm-muted); pointer-events: none; z-index: 3;
}
.dmx-field .form-control {
  padding-left: 2.7rem; min-height: 3.1rem; border-radius: .8rem;
  border: 1px solid var(--dm-line); color: var(--dm-night); font-size: 1rem;
}
.dmx-field .btn-reveal-pw {
  position: absolute; right: .45rem; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; box-shadow: none; color: var(--dm-muted);
  padding: .4rem; z-index: 3; border-radius: .5rem;
}
.dmx-field .btn-reveal-pw .dmx-ico { position: static; transform: none; width: 20px; height: 20px; }
.dmx-auth-actions {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  padding: 1.35rem 2rem 1.5rem;
}
.dmx-auth-actions .dmx-btn { min-width: 10rem; }
.dmx-auth-remember {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--dm-text); margin: 0; cursor: pointer;
}
.dmx-auth-forgot { font-weight: 650; font-size: .93rem; }

/* ---------- register: field icons (theme ID rules beat pass 4) ---------- */
#frmCheckout .prepend-icon .field-icon,
.dmx-scope .form-group.prepend-icon > .field-icon {
  top: 50% !important; left: .85rem;
}
#frmCheckout .prepend-icon .field,
.dmx-scope .form-group.prepend-icon > .field { font-size: 1rem; }

/* ---------- domain pricing page ---------- */
.dmx-currency-form { max-width: 21rem; margin: 0 0 1.3rem; }
.dmx-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.15rem; }
.dmx-chip {
  display: inline-block; border: 1px solid var(--dm-line); border-radius: 999px;
  padding: .42rem .95rem; background: #ffffff; color: var(--dm-night) !important;
  font-weight: 650; font-size: .92rem; text-decoration: none !important;
}
.dmx-chip:hover { border-color: var(--dm-blue); color: var(--dm-blue-dark) !important; }
td .dmx-chip, .dmx-table .dmx-chip {
  padding: .08rem .55rem; font-size: .78rem; font-weight: 800;
  background: var(--dm-surface-blue); border-color: transparent; color: var(--dm-blue-dark) !important;
  text-transform: uppercase; letter-spacing: .05em; margin-left: .5rem;
}
.dmx-tablewrap {
  background: #ffffff; border: 1px solid var(--dm-line-soft); border-radius: 1.25rem;
  box-shadow: var(--dm-shadow-sm); padding: .6rem 1.2rem 1.2rem; margin-bottom: 1.6rem;
  overflow: hidden;
}
.dmx-tablewrap .dataTables_wrapper { padding-top: .4rem; }
.dmx-tablewrap table.dmx-table { width: 100% !important; border-collapse: separate; border-spacing: 0; margin: 0 !important; background: transparent; }
.dmx-tablewrap table.dmx-table thead th {
  border: 0 !important; border-bottom: 2px solid var(--dm-line) !important; background: transparent !important;
  color: var(--dm-muted); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 700; padding: 1rem .9rem .8rem; white-space: nowrap;
}
.dmx-tablewrap table.dmx-table tbody td {
  border: 0 !important; border-bottom: 1px solid var(--dm-line-soft) !important; background: transparent !important;
  padding: 1.05rem .9rem; vertical-align: middle; color: var(--dm-text); font-size: .99rem;
}
.dmx-tablewrap table.dmx-table tbody tr:hover td { background: var(--dm-surface) !important; }
.dmx-tablewrap table.dmx-table tbody tr:last-child td { border-bottom: 0 !important; }
.dmx-tablewrap .dataTables_length, .dmx-tablewrap .dataTables_filter,
.dmx-tablewrap .dataTables_info, .dmx-tablewrap .dataTables_paginate {
  padding: .7rem .4rem 0; color: var(--dm-muted); font-size: .92rem;
}
.dmx-tablewrap .dataTables_filter input, .dmx-tablewrap .dataTables_length select {
  border: 1px solid var(--dm-line); border-radius: .65rem; min-height: 2.5rem;
  padding: .3rem .7rem; margin-left: .5rem; color: var(--dm-night); background: #ffffff;
}
.dmx-tablewrap .dataTables_paginate .paginate_button {
  border: 1px solid var(--dm-line-soft) !important; border-radius: .6rem !important;
  padding: .35rem .8rem !important; margin-left: .3rem; background: #ffffff !important; color: var(--dm-night) !important;
}
.dmx-tablewrap .dataTables_paginate .paginate_button.current {
  background: var(--dm-blue) !important; color: #ffffff !important; border-color: var(--dm-blue) !important;
}

/* ---------- pass 5 round 2 (screenshot driven) ---------- */
/* the pricing page hero sits inside the content container, so it
   reads as a navy panel like the site's dark cards; the home hero
   is outside the container and stays full bleed */
.container .dmx-domain-hero { border-radius: 1.25rem; }
/* the active category filter chip carries Bootstrap badge-success
   (stock green); brand blue is the active state in this system */
.dmx-chip.badge-success {
  background: var(--dm-blue) !important; color: #ffffff !important;
  border-color: var(--dm-blue) !important;
}
/* centre the glyph inside prepend labels (the label box is taller
   than the glyph, which left icons riding high in the input) */
.prepend-icon > .field-icon {
  display: inline-flex !important; align-items: center; line-height: 0;
}
.prepend-icon > .field-icon svg, .prepend-icon > .field-icon i { display: block; }

/* ============================================================
   PASS 6 (2026-11-21) DEMO CHROME RE-AIM, MAIN TEMPLATE
   Pass 5 matched the header and footer to the storefront that
   was live at the time. That storefront has been replaced by
   the Spaces demo design (release 2036-storefront-4772e7bc).
   This layer re-aims the staging chrome at the demo chrome:
   the rotating offers bar in demo styling above a white header
   carrying the OG logo, the demo nav (Home, Hosting, Domains,
   Products, Compare, Company, Help) and a blue Client area
   button, and the demo dark navy footer (four columns plus the
   legal rows). Values are ported from the live site demo.css.
   ============================================================ */

/* ---------- offers bar (demo styling) ---------- */
.dm6-offer { position: relative; background: #071a3d; color: #eaf2ff; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.dm6-offer-inner { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px 14px; align-items: center; justify-content: center; padding-top: 5px; padding-bottom: 5px; text-align: center; }
.dm6-offer strong { color: #ffffff; }
.dm6-offer-slide { display: none; align-items: center; justify-content: center; gap: 6px 10px; flex-wrap: nowrap; min-width: 0; }
.dm6-offer-slide.active { display: flex; }
.dm6-code { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.55); border-radius: 8px; padding: 2px 3px 2px 9px; font-weight: 800; letter-spacing: .04em; font-size: 13px; color: #ffffff; white-space: nowrap; }
.dm6-code button { background: #ffffff; color: #071a3d; border: 0; border-radius: 6px; font-weight: 700; padding: 3px 9px; cursor: pointer; min-height: 26px; font-size: 12.5px; }
.dm6-code button.copied { background: #bfe3c8; color: #12351e; }
.dm6-offer-nav { display: flex; gap: 6px; align-items: center; justify-content: center; flex: none; }
.dm6-offer-nav button { width: 28px; height: 28px; min-height: 28px; padding: 0 0 2px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #ffffff; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; font-weight: 700; }
.dm6-offer-nav button:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); }
.dm6-offer-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.dm6-offer-progress span { display: block; height: 100%; width: 100%; background: #4d94ff; transform-origin: left; transform: scaleX(0); }
.dm6-offer-progress span.run { animation: dm6OfferProg 4s linear forwards; }
@keyframes dm6OfferProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .dm6-offer-progress span.run { animation: none; transform: scaleX(1); opacity: .4; } }
@media (max-width: 700px) { .dm6-offer { font-size: 12.5px; } .dm6-offer-slide { flex-wrap: wrap; } .dm6-offer-inner { flex-wrap: wrap; } }

/* ---------- header: demo white bar ---------- */
.dm6-sitebar { background: #ffffff; }
.dm6-nav { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.header .dm6-brand .logo-img { background: transparent; box-shadow: none; border-radius: 0; padding: 0; height: 38px; width: auto; }
.dm6-main { display: flex; gap: 2px; margin-left: auto; flex-wrap: nowrap; align-items: center; }
.dm6-main > a { text-decoration: none; color: #0d1f3c; font-weight: 600; font-size: 14px; padding: 10px 7px; border-radius: 9px; white-space: nowrap; }
.dm6-main > a:hover { background: #eaf2ff; color: #0b57d0; text-decoration: none; }
.dm6-group { position: relative; }
.dm6-group-btn { background: none; border: 0; font-weight: 600; font-size: 14px; padding: 10px 7px; cursor: pointer; color: #0d1f3c; display: inline-flex; gap: 5px; align-items: center; min-height: 44px; border-radius: 9px; white-space: nowrap; }
.dm6-group-btn:hover { background: #eaf2ff; color: #0b57d0; }
.dm6-group-btn .dm6-car { font-size: 11px; line-height: 1; }
.dm6-drop { position: absolute; top: 100%; left: 0; min-width: 238px; background: #ffffff; border: 1px solid #c3d4ef; border-radius: 14px; box-shadow: 0 18px 44px rgba(7,26,61,.13); padding: 8px; display: none; z-index: 60; }
.dm6-group.open .dm6-drop { display: block; }
.dm6-drop a { display: block; padding: 10px 12px; border-radius: 9px; white-space: nowrap; color: #0b57d0; font-weight: 600; font-size: 14px; text-decoration: none; }
.dm6-drop a:hover { background: #eaf2ff; text-decoration: none; }
.dm6-nav-actions { display: flex; gap: 8px; align-items: center; margin-left: 6px; }
.dm6-client-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #4d94ff, #1d6ff2 55%, #0b57d0); color: #ffffff !important; box-shadow: 0 10px 26px rgba(29,111,242,.38); font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 14px; min-height: 44px; text-decoration: none !important; white-space: nowrap; }
.dm6-client-btn:hover { background: #0b57d0; color: #ffffff !important; }
.dm6-toolbar { flex-direction: row; align-items: center; }
.dm6-toolbar .cart-btn { color: #0b1f3f !important; }
.dm6-toolbar .cart-btn .badge { background: #1d6ff2; }
/* the demo header has no search box; the KB search form stays in
   the markup (and in the collapsed client bar) but is not shown
   in the site bar, the same arrangement pass 5 used */
.dm6-sitebar .dm-search { display: none; }
.dm6-mobile-menu { display: none; border-top: 1px solid #c3d4ef; padding: 10px 0 16px; background: #ffffff; }
.dm6-mobile-menu.open { display: block; }
.dm6-mobile-menu a { display: block; padding: 12px 6px; text-decoration: none; color: #0d1f3c; font-weight: 600; border-bottom: 1px solid #c3d4ef; }
.dm6-mm-head { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #0b57d0; padding: 16px 6px 2px; margin: 0; }
@media (max-width: 1100px) { .dm6-main { display: none; } .dm6-nav-actions { margin-left: auto; } }

/* ---------- footer: demo dark navy ---------- */
footer.footer.dm-footer { background: #071a3d !important; color: #d3e2f8; padding: 52px 0 44px; font-size: 15.5px; border-top: 0; }
.dm6-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .dm6-foot-grid { grid-template-columns: 1fr 1fr; } }
.dm6-foot-h { color: #ffffff; margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.dm6-foot-grid a { color: #d3e2f8; text-decoration: none; display: block; padding: 5px 0; }
.dm6-foot-grid a:hover { color: #ffffff; }
.dm6-foot-blurb { margin: 0; max-width: 280px; color: #d3e2f8; }
.dm6-foot-contact { margin: 14px 0 0; color: #d3e2f8; }
.dm6-foot-contact a { display: inline; padding: 0; }
.dm6-foot-note { border-top: 1px solid rgba(255,255,255,.25); margin-top: 36px; padding-top: 20px; font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #d3e2f8; }
.dm6-foot-note a { color: #ffffff; text-decoration: underline; display: inline; padding: 0; }
.dm6-foot-legal { margin-top: 10px; }
.dm6-foot-legal a { color: #d3e2f8; text-decoration: none; }
.dm6-foot-legal a:hover { color: #ffffff; }
/* pass 5 footer pieces that no longer exist in the markup */
.dm-footer-grid { border: 0; }
.dm-footer-util { margin-top: 1.4rem; }
.dm-footer-util .btn, .dm-footer-util button { color: #d3e2f8 !important; border: 1px solid rgba(147,197,253,.35) !important; background: transparent !important; }

/* PASS 6 ROUND 2: at mobile widths the WHMCS cart and menu
   buttons sit beside the Client area button (the live site
   header carries one fewer button), so the bar wraps instead
   of overflowing the viewport. Desktop is unchanged. */
@media (max-width: 1100px) {
  .dm6-nav { flex-wrap: wrap; row-gap: 2px; }
  .dm6-nav-actions { margin-left: auto; }
}

/* ============================================================
   PASS 7 (2026-11-21) MOBILE MENU SCROLL FIX, MAIN TEMPLATE
   The WHMCS menu button opens two menus inside the sticky
   .header: the site mobile menu (.dm6-mobile-menu) and the
   client nav collapse (#mainNavbar). Neither had a height cap
   or a scroll region, so with both open the sticky header grew
   to about 2180px in a phone viewport and everything below the
   fold (the site menu's Client area link, and the whole client
   nav) could never be scrolled into view. Both menus are now
   scroll regions capped in dvh so their heights plus the fixed
   parts above them (offers bar, tallest slide measured 135px;
   wrapped site bar 108px; the client bar has no bar of its own
   at mobile widths) stay inside the viewport: 32dvh + 24dvh +
   243px fits 100dvh down to a 552px tall viewport, and the
   short-screen query covers smaller heights. Scoped below the
   xl breakpoint so the desktop client bar and its dropdowns
   are untouched. Composes with the pass 6 round 2 wrap rule,
   which it does not change.
   ============================================================ */
@media (max-width: 1199.98px) {
  .dm6-mobile-menu { max-height: 32vh; max-height: 32dvh; overflow-y: auto; overscroll-behavior: contain; }
  .dm-clientbar .navbar-collapse { max-height: 24vh; max-height: 24dvh; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 1199.98px) and (max-height: 560px) {
  .dm6-mobile-menu { max-height: 30dvh; }
  .dm-clientbar .navbar-collapse { max-height: 22dvh; }
}
