/*
 * Hostech WHMCS Theme — Sprint 3.1 Production
 * Clean replacement for templates/hostech-six/css/custom.css
 * Scope: global branding, header, client-area components, domain homepage and final footer.
 */

:root {
  --hs-navy: #071628;
  --hs-navy-2: #0d2038;
  --hs-purple: #34399b;
  --hs-blue: #1570ef;
  --hs-ink: #101828;
  --hs-muted: #667085;
  --hs-line: #e4e7ec;
  --hs-soft: #f6f8fc;
}

html,
body {
  font-family: Inter, Arial, sans-serif !important;
  color: var(--hs-ink);
  background: #f7f9fc;
}

body {
  margin: 0;
  font-size: 14px;
}

.container {
  width: calc(100% - 40px);
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

a {
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

/* ---------- Header ---------- */
.hs-topbar {
  background: #04101f;
  color: #d9e8ff;
  font-size: 12px;
}

.hs-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hs-topbar-contact,
.hs-topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hs-topbar a {
  color: #d9e8ff;
}

.hs-topbar a:hover {
  color: #fff;
  text-decoration: none;
}

.hs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 26, 46, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 24px rgba(2, 12, 25, .16);
}

.hs-nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
}

.hs-brand {
  display: flex;
  align-items: center;
  margin-right: 28px;
}

.hs-brand img {
  display: block;
  width: 250px;
  max-height: 58px;
  object-fit: contain;
}

.hs-nav {
  flex: 1;
  padding: 0;
}

.hs-nav .navbar-nav > li > a {
  padding: 29px 13px;
  color: #e8eef8;
  font-weight: 600;
}

.hs-nav .navbar-nav > li > a:hover,
.hs-nav .navbar-nav > li.open > a {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.hs-client-btn {
  margin: 18px 0 0 8px;
  padding: 10px 17px !important;
  border-radius: 9px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--hs-purple), var(--hs-blue));
  box-shadow: 0 10px 24px rgba(52, 57, 155, .25);
}

.hs-dropdown {
  width: 300px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(7, 22, 40, .18);
}

.hs-dropdown > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
}

.hs-dropdown > li > a:hover {
  background: #f3f6ff;
}

.hs-dropdown i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--hs-purple);
  background: #eef2ff;
}

.hs-dropdown b,
.hs-dropdown small {
  display: block;
}

.hs-dropdown small {
  margin-top: 2px;
  color: var(--hs-muted);
}

.hs-alert-count {
  position: absolute;
  top: 19px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: #e5484d;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.hs-toggle {
  margin: 21px 0;
  border-color: rgba(255, 255, 255, .3);
}

.hs-toggle .icon-bar {
  background: #fff;
}

/* ---------- WHMCS global components ---------- */
#main-body {
  padding: 46px 0 65px;
  background: linear-gradient(180deg, #f7f9fc, #fff);
}

.main-content {
  padding: 28px;
  border: 1px solid var(--hs-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, .06);
}

.sidebar .panel,
.panel,
.card {
  border-color: var(--hs-line);
  border-radius: 14px;
}

.sidebar .panel {
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.panel-heading,
.card-header {
  font-weight: 700;
}

.panel-primary > .panel-heading {
  border-color: transparent;
  background: linear-gradient(135deg, var(--hs-purple), var(--hs-blue));
}

.btn-primary,
.btn-success {
  border: 0;
  background: linear-gradient(135deg, var(--hs-purple), var(--hs-blue));
  box-shadow: 0 8px 20px rgba(52, 57, 155, .18);
}

.btn-primary:hover,
.btn-success:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.form-control {
  border-color: #d7dce5;
  border-radius: 9px;
  box-shadow: none;
}

.form-control:focus {
  border-color: #7d95e8;
  box-shadow: 0 0 0 3px rgba(79, 107, 255, .12);
}

.table > thead > tr > th {
  border-bottom: 1px solid var(--hs-line);
  background: #f7f8fb;
}

.label-primary {
  background: var(--hs-purple);
}

.breadcrumb {
  padding-left: 0;
  background: transparent;
}

.page-header {
  border-bottom-color: var(--hs-line);
}

/* ---------- Sprint 3.1 domain homepage ---------- */
.hs31-domain-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 34%, rgba(75, 145, 255, .24), transparent 29%),
    linear-gradient(115deg, #081a31 0%, #12375f 57%, #245b99 100%);
}

.hs31-domain-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hs31-domain-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 52px;
  align-items: center;
}

.hs31-domain-copy {
  max-width: 650px;
}

.hs31-domain-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #eef4ff;
  background: rgba(255, 255, 255, .06);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hs31-domain-copy h1 {
  max-width: 590px;
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(42px, 4vw, 57px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hs31-domain-copy > p {
  max-width: 590px;
  margin: 0;
  color: #c7d7ea;
  font-size: 16px;
  line-height: 1.65;
}

.hs31-domain-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  color: #edf4ff;
  font-size: 12px;
  font-weight: 700;
}

.hs31-domain-trust i {
  margin-right: 5px;
  color: #75a8ff;
}

.hs31-domain-card {
  max-width: 640px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 20px;
  color: #142238;
  background: #fff;
  box-shadow: 0 24px 55px rgba(2, 18, 42, .22);
}

.hs31-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.hs31-card-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #4f6bff;
  background: #eef2ff;
  font-size: 17px;
}

.hs31-card-heading strong,
.hs31-card-heading small {
  display: block;
}

.hs31-card-heading strong {
  color: #13233c;
  font-size: 17px;
}

.hs31-card-heading small {
  margin-top: 3px;
  color: #667085;
  font-size: 11.5px;
}

.hs31-domain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 9px;
  align-items: stretch;
}

.hs31-domain-row input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d8e0ec;
  border-radius: 12px;
  color: #142238;
  background: #fff;
  font-size: 15px;
  box-shadow: none;
}

.hs31-domain-row input:focus {
  outline: 0;
  border-color: #4f6bff;
  box-shadow: 0 0 0 4px rgba(79, 107, 255, .10);
}

.hs31-search-button,
.hs31-transfer-button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: 800;
}

.hs31-search-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #34399b, #1570ef);
  box-shadow: 0 12px 24px rgba(52, 57, 155, .20);
}

.hs31-search-button:hover,
.hs31-search-button:focus {
  color: #fff;
  filter: brightness(1.06);
}

.hs31-transfer-button {
  border: 1px solid #d8e1f5;
  color: #314b9f;
  background: #f4f7ff;
}

.hs31-transfer-button:hover,
.hs31-transfer-button:focus {
  color: #24388f;
  background: #e8edff;
}

.hs31-tld-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.hs31-tld-row > span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.hs31-tld-row button {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  color: #344054;
  background: #f7f9fc;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.hs31-tld-row button:hover,
.hs31-tld-row button:focus {
  border-color: #829cf0;
  color: #3156d3;
  background: #eef2ff;
}

.hs31-domain-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e8edf5;
}

.hs31-domain-links a {
  color: #526079;
  font-size: 11.5px;
  font-weight: 700;
}

.hs31-domain-links a:hover {
  color: var(--hs-blue);
  text-decoration: none;
}

.hs31-domain-links i {
  margin-right: 5px;
  color: #4f6bff;
}

.hs31-domain-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hs31-domain-visual svg {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 12, 32, .25));
  animation: hs31Float 6.5s ease-in-out infinite;
}

@keyframes hs31Float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hide the normal empty Six content area on the custom homepage. */
body.template-homepage #main-body {
  display: none;
}

/* ---------- CTA ---------- */
.hs-cta {
  padding: 40px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--hs-purple), #225dcc);
}

.hs-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hs-cta span {
  color: #d6dcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hs-cta h2 {
  margin: 5px 0;
  font-size: 28px;
  font-weight: 800;
}

.hs-cta p {
  margin: 0;
  color: #dbe4ff;
}

.hs-light-btn {
  padding: 12px 20px;
  border-radius: 9px;
  color: var(--hs-purple);
  background: #fff;
  font-weight: 700;
}

/* ---------- Final production footer ---------- */
.hsf-footer {
  margin: 0;
  padding: 42px 0 0;
  color: #b9c9de;
  background: #061526;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hsf-shell {
  width: calc(100% - 40px);
  max-width: 1320px;
  margin: 0 auto;
}

.hsf-columns {
  display: grid;
  grid-template-columns: minmax(300px, 1.55fr) repeat(4, minmax(145px, 1fr));
  gap: 40px;
  align-items: start;
}

.hsf-brand,
.hsf-column {
  min-width: 0;
}

.hsf-brand img {
  display: block;
  width: 292px;
  max-width: 100%;
  height: auto;
  margin: 0 0 16px;
}

.hsf-brand p {
  max-width: 320px;
  margin: 0;
  color: #b8c8dc;
  font-size: 15px;
  line-height: 1.72;
}

.hsf-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hsf-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: #c9d8eb;
  background: rgba(255, 255, 255, .025);
}

.hsf-socials a:hover {
  color: #fff;
  border-color: #4f88ff;
  background: rgba(79, 136, 255, .14);
  box-shadow: 0 8px 22px rgba(39, 94, 206, .24);
  transform: translateY(-2px);
}

.hsf-column h4 {
  margin: 2px 0 15px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.hsf-column a {
  display: block;
  position: relative;
  padding: 6px 16px 6px 0;
  color: #b9c9de;
  font-size: 14px;
  line-height: 1.5;
}

.hsf-column a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
}

.hsf-payments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.hsf-payment-title {
  flex: 0 0 auto;
  min-width: 0;
}

.hsf-payment-title strong,
.hsf-payment-title small {
  display: block;
}

.hsf-payment-title strong {
  color: #fff;
  font-size: 15px;
}

.hsf-payment-title small {
  margin-top: 2px;
  color: #8fa5c0;
  font-size: 12px;
}

.hsf-payment-icon {
  display: none;
}

.hsf-payment-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  width: auto;
}

.hsf-pay {
  width: auto;
  min-width: 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  font-weight: 800;
}

.hsf-pay:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(106, 154, 255, .5);
  background: rgba(80, 125, 220, .12);
  transform: translateY(-2px);
}

.hsf-pay-symbol {
  flex: 0 0 auto;
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  margin: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hsf-pay > span:last-child {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  line-height: 1.2;
  white-space: nowrap;
}

.hsf-pay-jazzcash .hsf-pay-symbol {
  color: #6a3b00;
  background: #ffd400;
}

.hsf-pay-easypaisa .hsf-pay-symbol {
  background: #f02648;
}

.hsf-pay-upaisa .hsf-pay-symbol {
  background: #7a2dc7;
}

.hsf-pay-bop .hsf-pay-symbol {
  min-width: 45px;
  background: #07844d;
  font-size: 10px;
}

.hsf-bottom {
  min-height: 64px;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hsf-bottom p {
  margin: 0;
  color: #9fb2ca;
  font-size: 12.5px;
}

.hsf-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.hsf-legal a {
  color: #b9c9de;
  font-size: 12.5px;
}

.hsf-legal a:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hs31-domain-layout {
    grid-template-columns: 1fr;
  }

  .hs31-domain-copy,
  .hs31-domain-card {
    max-width: 760px;
  }

  .hs31-domain-visual {
    min-height: 300px;
  }

  .hsf-columns {
    grid-template-columns: minmax(280px, 1.45fr) repeat(2, minmax(155px, 1fr));
    gap: 30px;
  }

  .hsf-payments {
    align-items: flex-start;
    flex-direction: column;
  }

  .hsf-payment-list {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .hs-nav-wrap {
    display: block;
    min-height: 72px;
  }

  .hs-brand {
    float: left;
    height: 72px;
  }

  .hs-brand img {
    width: 210px;
  }

  .hs-toggle {
    display: block;
    float: right;
  }

  .hs-nav {
    clear: both;
    max-height: calc(100vh - 72px);
    overflow: auto;
    margin: 0 -15px !important;
    padding: 8px 20px 20px;
    background: #0b1c32;
  }

  .hs-nav .navbar-nav {
    margin: 0;
  }

  .hs-nav .navbar-nav > li > a {
    padding: 12px 5px;
  }

  .hs-client-btn {
    display: inline-block;
    margin: 8px 0 !important;
  }
}

@media (max-width: 700px) {
  .container,
  .hsf-shell {
    width: calc(100% - 28px);
  }

  .hs-topbar-contact > span,
  .hs-topbar-links {
    display: none;
  }

  .hs-topbar-contact {
    gap: 10px;
    flex-wrap: wrap;
    padding: 7px 0;
  }

  .hs-topbar-contact a {
    font-size: 11px;
  }

  .hs-brand img {
    width: 180px;
  }

  .main-content {
    padding: 20px;
    border-radius: 14px;
  }

  .hs31-domain-hero {
    padding: 44px 0 50px;
  }

  .hs31-domain-copy h1 {
    font-size: 38px;
  }

  .hs31-domain-row {
    grid-template-columns: 1fr 1fr;
  }

  .hs31-domain-row input {
    grid-column: 1 / -1;
  }

  .hs31-search-button,
  .hs31-transfer-button {
    width: 100%;
  }

  .hs31-domain-visual {
    min-height: 250px;
  }

  .hs31-domain-visual svg {
    animation: none;
  }

  .hs-cta-inner,
  .hsf-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .hsf-footer {
    padding-top: 36px;
  }

  .hsf-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hsf-brand img {
    width: 255px;
  }

  .hsf-payment-list {
    justify-content: flex-start;
  }

  .hsf-pay {
    min-height: 50px;
  }

  .hsf-pay-symbol,
  .hsf-pay > span:last-child {
    min-height: 36px;
    height: 36px;
  }

  .hsf-legal {
    justify-content: flex-start;
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs31-domain-visual svg {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}



/* =========================================================
   HOSTECH-SIX v3.1.1 FINAL PRODUCTION HARDENING
   Full-theme audit fixes for deterministic hero alignment.
   ========================================================= */

body.template-homepage .hs31-domain-hero,
body.template-homepage .hs31-domain-layout,
body.template-homepage .hs31-domain-copy,
body.template-homepage .hs31-domain-card,
body.template-homepage .hs31-domain-visual {
  direction: ltr !important;
}

body.template-homepage .hs31-domain-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .85fr) !important;
  grid-template-areas: "copy visual" !important;
  align-items: center !important;
  gap: 48px !important;
}

body.template-homepage .hs31-domain-copy {
  grid-area: copy !important;
  width: 100% !important;
  max-width: 660px !important;
  justify-self: start !important;
}

body.template-homepage .hs31-domain-visual {
  grid-area: visual !important;
  width: 100% !important;
  min-height: 410px !important;
  justify-self: end !important;
}

body.template-homepage .hs31-domain-visual svg {
  width: min(100%, 500px) !important;
}

body.template-homepage .hs31-domain-card {
  width: 100% !important;
  max-width: 650px !important;
}

body.template-homepage .hs31-domain-row {
  grid-template-columns: minmax(230px, 1fr) 132px 132px !important;
}

body.template-homepage .hs31-search-button,
body.template-homepage .hs31-transfer-button {
  width: 132px !important;
  padding-right: 12px !important;
  padding-left: 12px !important;
}

body.template-homepage .hs31-tld-row {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

body.template-homepage #main-body {
  display: none !important;
}

@media (max-width: 1100px) {
  body.template-homepage .hs31-domain-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "visual" !important;
  }

  body.template-homepage .hs31-domain-copy,
  body.template-homepage .hs31-domain-card {
    max-width: 760px !important;
  }

  body.template-homepage .hs31-domain-visual {
    min-height: 300px !important;
    justify-self: center !important;
  }
}

@media (max-width: 700px) {
  body.template-homepage .hs31-domain-row {
    grid-template-columns: 1fr 1fr !important;
  }

  body.template-homepage .hs31-domain-row input {
    grid-column: 1 / -1 !important;
  }

  body.template-homepage .hs31-search-button,
  body.template-homepage .hs31-transfer-button {
    width: 100% !important;
  }

  body.template-homepage .hs31-tld-row {
    flex-wrap: wrap !important;
    overflow-x: visible;
  }
}
/* HOSTECH-SIX v3.1.1 FINAL PRODUCTION HARDENING: END */



/* =========================================================
   HOSTECH-SIX v3.1.2 — COMPACT HERO FINAL ALIGNMENT
   ========================================================= */

body.template-homepage .hs31-domain-hero {
  padding: 38px 0 42px !important;
  min-height: 0 !important;
}

body.template-homepage .hs31-domain-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .78fr) !important;
  gap: 42px !important;
  align-items: center !important;
}

body.template-homepage .hs31-domain-copy {
  max-width: 620px !important;
}

body.template-homepage .hs31-domain-copy h1 {
  max-width: 560px !important;
  margin: 16px 0 12px !important;
  font-size: clamp(38px, 3.35vw, 50px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
}

body.template-homepage .hs31-domain-copy > p {
  max-width: 560px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body.template-homepage .hs31-domain-trust {
  margin-top: 16px !important;
  gap: 8px 16px !important;
}

body.template-homepage .hs31-domain-card {
  max-width: 620px !important;
  margin-top: 20px !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
}

body.template-homepage .hs31-card-heading {
  margin-bottom: 12px !important;
}

body.template-homepage .hs31-card-icon {
  width: 42px !important;
  height: 42px !important;
  flex-basis: 42px !important;
}

body.template-homepage .hs31-domain-row input,
body.template-homepage .hs31-search-button,
body.template-homepage .hs31-transfer-button {
  min-height: 50px !important;
}

body.template-homepage .hs31-domain-links {
  margin-top: 12px !important;
  padding-top: 12px !important;
}

body.template-homepage .hs31-domain-visual {
  min-height: 340px !important;
  align-self: center !important;
  transform: translateY(6px) !important;
}

body.template-homepage .hs31-domain-visual svg {
  width: min(100%, 440px) !important;
}

@media (max-width: 1100px) {
  body.template-homepage .hs31-domain-hero {
    padding: 42px 0 46px !important;
  }

  body.template-homepage .hs31-domain-visual {
    min-height: 260px !important;
    transform: none !important;
  }
}

@media (max-width: 700px) {
  body.template-homepage .hs31-domain-copy h1 {
    font-size: 36px !important;
  }

  body.template-homepage .hs31-domain-card {
    padding: 16px !important;
  }

  body.template-homepage .hs31-domain-visual {
    min-height: 220px !important;
  }
}
/* HOSTECH-SIX v3.1.2 — COMPACT HERO FINAL ALIGNMENT: END */



/* =========================================================
   HOSTECH-SIX v3.1.3 — CENTERED DOMAIN SEARCH FINAL
   Removes SVG illustration and centers the complete domain block.
   ========================================================= */

body.template-homepage .hs31-domain-hero {
  padding: 42px 0 46px !important;
}

body.template-homepage .hs31-domain-layout {
  display: block !important;
  max-width: 980px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.template-homepage .hs31-domain-copy {
  max-width: 920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

body.template-homepage .hs31-domain-kicker {
  margin-right: auto !important;
  margin-left: auto !important;
}

body.template-homepage .hs31-domain-copy h1 {
  max-width: 760px !important;
  margin: 16px auto 12px !important;
  font-size: clamp(38px, 3.2vw, 50px) !important;
  line-height: 1.06 !important;
}

body.template-homepage .hs31-domain-copy > p {
  max-width: 690px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.template-homepage .hs31-domain-trust {
  justify-content: center !important;
  margin-top: 16px !important;
}

body.template-homepage .hs31-domain-card {
  width: 100% !important;
  max-width: 760px !important;
  margin: 22px auto 0 !important;
  padding: 20px 22px !important;
  border-radius: 20px !important;
  text-align: left !important;
  box-shadow: 0 24px 60px rgba(2, 18, 42, .23) !important;
}

body.template-homepage .hs31-card-heading {
  justify-content: center !important;
  text-align: left !important;
}

body.template-homepage .hs31-domain-row {
  grid-template-columns: minmax(280px, 1fr) 138px 138px !important;
  gap: 10px !important;
}

body.template-homepage .hs31-domain-row input,
body.template-homepage .hs31-search-button,
body.template-homepage .hs31-transfer-button {
  min-height: 52px !important;
}

body.template-homepage .hs31-search-button,
body.template-homepage .hs31-transfer-button {
  width: 138px !important;
}

body.template-homepage .hs31-tld-row {
  justify-content: center !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
  margin-top: 14px !important;
}

body.template-homepage .hs31-domain-links {
  justify-content: center !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
}

body.template-homepage .hs31-domain-visual {
  display: none !important;
}

@media (max-width: 760px) {
  body.template-homepage .hs31-domain-hero {
    padding: 36px 0 40px !important;
  }

  body.template-homepage .hs31-domain-copy h1 {
    font-size: 36px !important;
  }

  body.template-homepage .hs31-domain-card {
    padding: 16px !important;
  }

  body.template-homepage .hs31-domain-row {
    grid-template-columns: 1fr 1fr !important;
  }

  body.template-homepage .hs31-domain-row input {
    grid-column: 1 / -1 !important;
  }

  body.template-homepage .hs31-search-button,
  body.template-homepage .hs31-transfer-button {
    width: 100% !important;
  }

  body.template-homepage .hs31-card-heading {
    justify-content: flex-start !important;
  }
}
/* HOSTECH-SIX v3.1.3 — CENTERED DOMAIN SEARCH FINAL: END */



/* =========================================================
   HOSTECH-SIX v3.1.4 — FINAL HERO POLISH
   ========================================================= */

body.template-homepage .hs31-domain-hero {
  padding: 34px 0 38px !important;
  min-height: auto !important;
}

body.template-homepage .hs31-domain-grid {
  animation: hs31GridMove 36s linear infinite;
}

body.template-homepage .hs31-domain-card {
  margin-top: 16px !important;
  animation: hs31CardFade .85s cubic-bezier(.22,.8,.26,1) both;
}

body.template-homepage .hs31-domain-copy h1 {
  animation: hs31HeadingFade .7s cubic-bezier(.22,.8,.26,1) both;
}

body.template-homepage .hs31-search-button {
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #356dff, #2356d9) !important;
  box-shadow: 0 12px 28px rgba(53, 109, 255, .30) !important;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease !important;
}

body.template-homepage .hs31-search-button:hover,
body.template-homepage .hs31-search-button:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #4d7fff, #2d63ea) !important;
  box-shadow: 0 18px 38px rgba(53, 109, 255, .38) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
}

@keyframes hs31GridMove {
  from { background-position: 0 0; }
  to { background-position: 84px 84px; }
}

@keyframes hs31HeadingFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hs31CardFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  body.template-homepage .hs31-domain-hero {
    padding: 30px 0 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.template-homepage .hs31-domain-grid,
  body.template-homepage .hs31-domain-card,
  body.template-homepage .hs31-domain-copy h1 {
    animation: none !important;
  }

  body.template-homepage .hs31-search-button:hover,
  body.template-homepage .hs31-search-button:focus {
    transform: none !important;
  }
}
/* HOSTECH-SIX v3.1.4 — FINAL HERO POLISH: END */



/* =========================================================
   HOSTECH-SIX v3.1.5 — SAME-PAGE AJAX DOMAIN SEARCH
   ========================================================= */

.hs31-ajax-results {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dfe6f1;
  border-radius: 14px;
  text-align: left;
  background: #f8faff;
}

.hs31-ajax-results.is-visible {
  display: flex;
}

.hs31-ajax-results.is-loading {
  justify-content: center;
  color: #526079;
}

.hs31-result-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.hs31-result-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
}

.hs31-result-copy {
  min-width: 0;
  flex: 1;
}

.hs31-result-copy strong,
.hs31-result-copy span {
  display: block;
}

.hs31-result-copy strong {
  color: #15233a;
  font-size: 14px;
}

.hs31-result-copy span {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
}

.hs31-ajax-results.is-available {
  border-color: #bfe8d5;
  background: #f2fcf7;
}

.hs31-ajax-results.is-available .hs31-result-icon {
  color: #087a4b;
  background: #daf6e9;
}

.hs31-ajax-results.is-unavailable {
  border-color: #f1d5d8;
  background: #fff7f8;
}

.hs31-ajax-results.is-unavailable .hs31-result-icon {
  color: #c4384b;
  background: #fde8eb;
}

.hs31-ajax-results.is-error {
  border-color: #f0dfb3;
  background: #fffaf0;
}

.hs31-ajax-results.is-error .hs31-result-icon {
  color: #ad7410;
  background: #fff0c7;
}

.hs31-result-action {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #34399b, #1570ef);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(52, 57, 155, .18);
}

.hs31-result-action:hover,
.hs31-result-action:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.hs31-result-action:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.hs31-search-button.is-loading {
  cursor: wait;
  opacity: .82;
}

@media (max-width: 700px) {
  .hs31-ajax-results.is-visible {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hs31-result-action {
    width: 100%;
    margin-left: 54px;
  }
}
/* HOSTECH-SIX v3.1.5 — SAME-PAGE AJAX DOMAIN SEARCH: END */



/* =========================================================
   HOSTECH v4.0 ENTERPRISE — SMART GLOBAL + PKNIC SEARCH
   ========================================================= */

.hs40-search-note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: #c9d9ee;
  font-size: 11px;
  font-weight: 700;
}

.hs40-search-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hs40-search-note i {
  color: #75a8ff;
}

.hs40-result-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.hs31-ajax-results.is-manual {
  border-color: #cbdcf8;
  background: #f4f8ff;
}

.hs31-ajax-results.is-manual .hs31-result-icon {
  color: #3156d3;
  background: #e4edff;
}

.hs31-result-secondary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid #ccd8ec;
  border-radius: 10px;
  color: #314b9f;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hs31-result-secondary:hover,
.hs31-result-secondary:focus {
  color: #24388f;
  border-color: #9eb6e5;
  background: #f6f8ff;
  text-decoration: none;
}

@media (max-width: 700px) {
  .hs40-search-note {
    justify-content: flex-start;
  }

  .hs40-result-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 54px;
  }

  .hs40-result-actions .hs31-result-action,
  .hs40-result-actions .hs31-result-secondary {
    width: 100%;
  }
}
/* HOSTECH v4.0 ENTERPRISE — SMART GLOBAL + PKNIC SEARCH: END */



/* =========================================================
   HOSTECH WHMCS — SPRINT 4.1 CLIENT DASHBOARD ENTERPRISE
   ========================================================= */

body.template-clientareahome #main-body {
  padding: 34px 0 62px;
  background:
    radial-gradient(circle at 8% 0%, rgba(79,107,255,.06), transparent 24%),
    linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
}

body.template-clientareahome .main-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hs41-dashboard {
  width: 100%;
}

.hs41-welcome {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 32px;
  padding: 34px 38px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(104,164,255,.38), transparent 30%),
    linear-gradient(125deg, #07182d 0%, #123a68 57%, #245fa5 100%);
  box-shadow: 0 24px 58px rgba(9,36,76,.18);
}

.hs41-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 38px 38px;
}

.hs41-welcome-copy,
.hs41-welcome-visual {
  position: relative;
  z-index: 1;
}

.hs41-eyebrow,
.hs41-card-kicker {
  display: inline-flex;
  color: #8fb4ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hs41-welcome h1 {
  margin: 11px 0 10px;
  color: #fff;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hs41-welcome p {
  max-width: 630px;
  margin: 0;
  color: #cad9eb;
  font-size: 15px;
  line-height: 1.65;
}

.hs41-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hs41-welcome-actions .btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.hs41-primary-action {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #4f6bff, #1570ef);
  box-shadow: 0 12px 28px rgba(21,112,239,.28);
}

.hs41-primary-action:hover,
.hs41-primary-action:focus {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.hs41-secondary-action {
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.07);
}

.hs41-secondary-action:hover,
.hs41-secondary-action:focus {
  color: #fff;
  background: rgba(255,255,255,.13);
}

.hs41-welcome-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
}

.hs41-welcome-icon {
  position: relative;
  z-index: 3;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  box-shadow: 0 20px 45px rgba(0,18,46,.24);
  backdrop-filter: blur(10px);
  font-size: 42px;
}

.hs41-welcome-ring {
  position: absolute;
  border: 1px solid rgba(133,177,255,.24);
  border-radius: 50%;
}

.hs41-ring-one {
  width: 175px;
  height: 175px;
}

.hs41-ring-two {
  width: 220px;
  height: 220px;
  border-style: dashed;
}

.hs41-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hs41-stat-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border: 1px solid #e0e7f1;
  border-radius: 18px;
  color: #17233a;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16,24,40,.06);
}

.hs41-stat-card:hover {
  color: #17233a;
  text-decoration: none;
  border-color: #9fb5ed;
  box-shadow: 0 20px 42px rgba(31,73,158,.12);
  transform: translateY(-4px);
}

.hs41-stat-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #4163df;
  background: #edf2ff;
  font-size: 20px;
}

.hs41-stat-domains .hs41-stat-icon {
  color: #0f8a65;
  background: #e8f8f2;
}

.hs41-stat-invoices .hs41-stat-icon {
  color: #c77612;
  background: #fff4df;
}

.hs41-stat-tickets .hs41-stat-icon {
  color: #b13c58;
  background: #fdecef;
}

.hs41-stat-content strong,
.hs41-stat-content small {
  display: block;
}

.hs41-stat-content strong {
  color: #10213a;
  font-size: 29px;
  line-height: 1;
}

.hs41-stat-content small {
  margin-top: 7px;
  color: #667085;
  font-size: 11.5px;
  font-weight: 700;
}

.hs41-stat-arrow {
  color: #9aa9bd;
  font-size: 12px;
}

.hs41-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.hs41-main-column,
.hs41-side-column {
  display: grid;
  gap: 18px;
}

.hs41-card {
  padding: 24px;
  border: 1px solid #e0e7f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,24,40,.055);
}

.hs41-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hs41-card-header h2 {
  margin: 5px 0 0;
  color: #11223b;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.hs41-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hs41-quick-grid a {
  min-height: 135px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px;
  border: 1px solid #e5eaf2;
  border-radius: 15px;
  color: #27364e;
  background: #fbfcff;
}

.hs41-quick-grid a:hover {
  color: #27364e;
  text-decoration: none;
  border-color: #9fb7ef;
  background: #f5f8ff;
  box-shadow: 0 14px 28px rgba(37,99,235,.09);
  transform: translateY(-4px);
}

.hs41-quick-grid a > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 12px;
  color: #4565e8;
  background: #edf2ff;
  font-size: 17px;
}

.hs41-quick-grid strong,
.hs41-quick-grid small {
  display: block;
}

.hs41-quick-grid strong {
  color: #18273f;
  font-size: 13px;
}

.hs41-quick-grid small {
  margin-top: 5px;
  color: #7a8799;
  font-size: 10.5px;
  line-height: 1.45;
}

.hs41-account-card {
  text-align: center;
}

.hs41-account-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #34399b, #1570ef);
  box-shadow: 0 14px 30px rgba(52,57,155,.22);
  font-size: 28px;
}

.hs41-account-card h3 {
  margin: 0;
  color: #16243a;
  font-size: 18px;
  font-weight: 800;
}

.hs41-account-card > p {
  margin: 6px 0 19px;
  color: #758197;
  font-size: 11px;
  word-break: break-word;
}

.hs41-account-links {
  border-top: 1px solid #edf0f5;
}

.hs41-account-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid #edf0f5;
  color: #40506a;
  font-size: 11.5px;
  font-weight: 700;
}

.hs41-account-links a:hover {
  color: #3156d3;
  text-decoration: none;
  padding-left: 5px;
}

.hs41-account-links span i {
  width: 20px;
  color: #5772df;
}

.hs41-kb-card {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(79,107,255,.09), transparent 42%),
    #fff;
}

.hs41-kb-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 17px;
  color: #c47c16;
  background: #fff3d8;
  font-size: 22px;
}

.hs41-kb-card h3 {
  margin: 0;
  color: #15243b;
  font-size: 17px;
  font-weight: 800;
}

.hs41-kb-card p {
  margin: 8px 0 16px;
  color: #748095;
  font-size: 11px;
  line-height: 1.55;
}

.hs41-kb-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
}

.hs41-kb-search input {
  min-height: 42px;
  border-radius: 10px 0 0 10px;
  font-size: 11px;
}

.hs41-kb-search button {
  border: 0;
  border-radius: 0 10px 10px 0;
  color: #fff;
  background: linear-gradient(135deg, #34399b, #1570ef);
}

.hs41-panels-card {
  overflow: hidden;
}

.hs41-client-panels .panel {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #e3e8f1;
  border-radius: 14px;
  box-shadow: none;
}

.hs41-client-panels .panel-heading {
  padding: 13px 15px;
  border-bottom: 1px solid #e6ebf2;
  background: #f8faff;
}

.hs41-client-panels .panel-title {
  color: #23334b;
  font-size: 12px;
  font-weight: 800;
}

.hs41-client-panels .panel-body {
  color: #5c687c;
  font-size: 12px;
}

.hs41-client-panels .list-group-item {
  padding: 11px 15px;
  border-color: #edf0f4;
  color: #4b5a70;
  font-size: 11.5px;
}

.hs41-client-panels .panel-footer:empty {
  display: none;
}

.hs41-addon-block {
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .hs41-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs41-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hs41-side-column {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.template-clientareahome #main-body {
    padding-top: 22px;
  }

  .hs41-welcome {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 26px 22px;
  }

  .hs41-welcome-visual {
    display: none;
  }

  .hs41-welcome h1 {
    font-size: 32px;
  }

  .hs41-stats,
  .hs41-side-column {
    grid-template-columns: 1fr;
  }

  .hs41-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hs41-quick-grid {
    grid-template-columns: 1fr;
  }

  .hs41-welcome-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* SPRINT 4.1 CLIENT DASHBOARD ENTERPRISE: END */



/* =========================================================
   HOSTECH WHMCS — SPRINT 4.2 MY SERVICES ENTERPRISE
   ========================================================= */

body.template-clientareaproducts #main-body,
body.template-clientareaproductdetails #main-body {
  padding: 34px 0 64px;
  background:
    radial-gradient(circle at 8% 0%, rgba(79,107,255,.06), transparent 24%),
    linear-gradient(180deg, #f5f8fd 0%, #fff 100%);
}

body.template-clientareaproducts .main-content,
body.template-clientareaproductdetails .main-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hs42-services-page,
.hs42-details-page {
  width: 100%;
}

.hs42-page-hero,
.hs42-details-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 25%, rgba(97,160,255,.35), transparent 30%),
    linear-gradient(125deg, #07182d 0%, #123a68 57%, #245fa5 100%);
  box-shadow: 0 22px 52px rgba(9,36,76,.17);
}

.hs42-eyebrow {
  color: #8fb4ff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hs42-page-hero h1,
.hs42-details-hero h1 {
  margin: 7px 0 7px;
  color: #fff;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hs42-page-hero p,
.hs42-details-hero p {
  margin: 0;
  color: #cad9eb;
  font-size: 13.5px;
  line-height: 1.6;
}

.hs42-order-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #4f6bff, #1570ef);
  box-shadow: 0 12px 28px rgba(21,112,239,.27);
  font-size: 12px;
  font-weight: 800;
}

.hs42-order-button:hover,
.hs42-order-button:focus {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.hs42-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #e0e7f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,24,40,.05);
}

.hs42-toolbar-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hs42-toolbar-copy strong {
  color: #15243a;
  font-size: 22px;
}

.hs42-toolbar-copy span {
  color: #78859a;
  font-size: 11.5px;
  font-weight: 700;
}

.hs42-service-filter {
  position: relative;
  width: min(100%, 330px);
}

.hs42-service-filter i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #8b99ad;
  transform: translateY(-50%);
}

.hs42-service-filter input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px 0 39px;
  border: 1px solid #dce3ed;
  border-radius: 10px;
  outline: 0;
  color: #1d2d45;
  background: #f9fbfe;
  font-size: 12px;
}

.hs42-service-filter input:focus {
  border-color: #708eeb;
  box-shadow: 0 0 0 4px rgba(79,107,255,.09);
}

.hs42-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hs42-service-card {
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #dfe6f0;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,24,40,.06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hs42-service-card:hover {
  border-color: #9fb5ed;
  box-shadow: 0 22px 48px rgba(31,73,158,.13);
  transform: translateY(-6px);
}

.hs42-service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs42-service-icon,
.hs42-details-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #4262df;
  background: #edf2ff;
  font-size: 19px;
}

.hs42-status {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #536176;
  background: #eef1f5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hs42-status-active {
  color: #087a4b;
  background: #dff6e9;
}

.hs42-status-pending {
  color: #a56c0d;
  background: #fff1cf;
}

.hs42-status-suspended,
.hs42-status-terminated,
.hs42-status-cancelled,
.hs42-status-fraud {
  color: #b4384d;
  background: #fde8eb;
}

.hs42-service-body {
  min-height: 122px;
  padding: 20px 0 17px;
}

.hs42-service-label {
  color: #8490a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hs42-service-body h2 {
  margin: 7px 0 10px;
  color: #15243b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.hs42-domain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: #4861bb;
  font-size: 11.5px;
  font-weight: 700;
  word-break: break-all;
}

.hs42-domain:hover {
  color: #2149c2;
  text-decoration: none;
}

.hs42-domain-empty {
  color: #8a96a8;
}

.hs42-service-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.hs42-service-meta div {
  min-width: 0;
}

.hs42-service-meta span,
.hs42-service-meta strong {
  display: block;
}

.hs42-service-meta span {
  color: #8a96a8;
  font-size: 9px;
  font-weight: 700;
}

.hs42-service-meta strong {
  overflow: hidden;
  margin-top: 4px;
  color: #2c3a50;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs42-service-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  margin-top: 15px;
}

.hs42-manage-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #34399b, #1570ef);
  font-size: 11px;
  font-weight: 800;
}

.hs42-manage-button:hover,
.hs42-manage-button:focus {
  color: #fff;
  filter: brightness(1.06);
}

.hs42-open-domain {
  display: grid;
  place-items: center;
  border: 1px solid #d9e2f3;
  border-radius: 10px;
  color: #4863c7;
  background: #f4f7ff;
}

.hs42-open-domain:hover {
  color: #2748bd;
  text-decoration: none;
  background: #e9efff;
}

.hs42-no-results,
.hs42-empty-state {
  display: none;
  padding: 54px 24px;
  border: 1px dashed #cfd9e8;
  border-radius: 18px;
  text-align: center;
  background: #fbfcff;
}

.hs42-no-results.is-visible,
.hs42-empty-state {
  display: block;
}

.hs42-no-results i,
.hs42-empty-state > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 17px;
  color: #4f69db;
  background: #edf2ff;
  font-size: 21px;
}

.hs42-no-results strong,
.hs42-no-results span,
.hs42-empty-state h2,
.hs42-empty-state p {
  display: block;
}

.hs42-no-results strong,
.hs42-empty-state h2 {
  margin: 0;
  color: #17253c;
  font-size: 18px;
  font-weight: 800;
}

.hs42-no-results span,
.hs42-empty-state p {
  margin: 6px 0 18px;
  color: #7c899b;
  font-size: 12px;
}

/* Service details */
.hs42-details-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hs42-details-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: #fff;
  background: rgba(255,255,255,.12);
}

.hs42-details-hero p i {
  margin-right: 5px;
  color: #8fb4ff;
}

.hs42-details-status {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

.hs42-details-status a {
  color: #d7e5f6;
  font-size: 11px;
  font-weight: 700;
}

.hs42-details-status a:hover {
  color: #fff;
  text-decoration: none;
}

.hs42-service-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  border: 1px solid #e0e7f1;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,24,40,.05);
}

.hs42-service-summary div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid #e8edf4;
}

.hs42-service-summary div:last-child {
  border-right: 0;
}

.hs42-service-summary span,
.hs42-service-summary strong {
  display: block;
}

.hs42-service-summary span {
  color: #8692a5;
  font-size: 10px;
  font-weight: 700;
}

.hs42-service-summary strong {
  overflow: hidden;
  margin-top: 5px;
  color: #213047;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs42-native-details {
  padding: 24px;
  border: 1px solid #e0e7f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,24,40,.055);
}

.hs42-native-details .product-details {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hs42-native-details .product-status {
  overflow: hidden;
  border-radius: 17px;
}

.hs42-native-details .product-actions-wrapper .btn {
  margin-top: 8px;
  border-radius: 9px;
}

.hs42-native-details .nav-tabs {
  border-bottom: 1px solid #dfe5ee;
}

.hs42-native-details .nav-tabs > li > a {
  border-radius: 10px 10px 0 0;
  color: #526079;
  font-size: 11px;
  font-weight: 700;
}

.hs42-native-details .nav-tabs > li.active > a {
  color: #3156d3;
  background: #f4f7ff;
}

.hs42-native-details .product-details-tab-container {
  padding: 22px;
  border: 1px solid #e2e7ef;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.hs42-native-details .panel {
  border-radius: 14px;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .hs42-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hs42-page-hero,
  .hs42-details-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 22px;
  }

  .hs42-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .hs42-service-filter {
    width: 100%;
  }

  .hs42-service-grid {
    grid-template-columns: 1fr;
  }

  .hs42-details-status {
    align-items: flex-start;
  }

  .hs42-service-summary {
    grid-template-columns: 1fr 1fr;
  }

  .hs42-service-summary div:nth-child(2) {
    border-right: 0;
  }

  .hs42-service-summary div:nth-child(-n+2) {
    border-bottom: 1px solid #e8edf4;
  }

  .hs42-native-details {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hs42-service-meta {
    grid-template-columns: 1fr;
  }

  .hs42-service-summary {
    grid-template-columns: 1fr;
  }

  .hs42-service-summary div {
    border-right: 0;
    border-bottom: 1px solid #e8edf4;
  }

  .hs42-service-summary div:last-child {
    border-bottom: 0;
  }
}
/* SPRINT 4.2 MY SERVICES ENTERPRISE: END */



/* =========================================================
   SPRINT 4.2.1 — SERVICES LIST VIEW TEMPLATE FIX
   ========================================================= */
.hs421-empty-state {
  padding: 54px 24px;
  text-align: center;
  background: #fbfcff;
}

.hs421-empty-state > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 17px;
  color: #4f69db;
  background: #edf2ff;
  font-size: 21px;
}

.hs421-empty-state h2 {
  margin: 0;
  color: #17253c;
  font-size: 18px;
  font-weight: 800;
}

.hs421-empty-state p {
  margin: 7px 0 18px;
  color: #7c899b;
  font-size: 12px;
}
/* SERVICES LIST VIEW TEMPLATE FIX: END */

