/**
 * HosterPlan WHMCS (elitehost) brand styling.
 *
 * Header, footer, buttons and pricing are transplanted from the main site's
 * own stylesheet (assets/css/style.css) using its real values and CSS
 * variables. WHMCS-specific additions (cart pill, account buttons, client
 * area pages) are layered on top.
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

:root {
  /* Main site tokens (style.css :root) */
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --color-white: #fff;
  --color-primary: #0099ff;
  --color-secondary: #001233;
  --color-third: #ffc107;
  --btc: #4c5671;
  --body-bg: #fff;
  --body-bg-2: #fff5ef;
  --size-default: 16px;
  --semibold: 600;
  --bold: 700;
  --regular: 400;
  --transition: all 0.4s ease;
  --footer-style-one: linear-gradient(0deg, #dfeaff 0%, rgba(246, 249, 255, 0) 82.55%);

  /* WHMCS helpers */
  --hp-primary-soft: rgba(0, 153, 255, 0.12);
  --hp-body-bg: #f6f9ff;
  --hp-border: #e6eef7;
  --hp-radius: 12px;
  --hp-shadow: 0 4px 16px rgba(0, 18, 51, 0.06);
}

/* ---------- Base / text sizes ---------- */
html, body, label, input, select, textarea, button, .form-control, .btn {
  font-family: var(--font-secondary);
}
body.primary-bg-color {
  background: var(--hp-body-bg) !important;
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--color-secondary);
  font-weight: var(--bold);
  line-height: 1.3;
  margin: 0 0 .5rem;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary); }
.text-secondary { color: var(--btc) !important; }
.container { max-width: 1240px; }
.card-body, .panel-body, .primary-content .card, .primary-content p { font-size: 15.5px; }

#main-body { padding: 44px 0 70px; }
#main-body .container > .row { align-items: flex-start; }
.primary-content { min-width: 0; }

/* ---------- Buttons (real main-site values: radius 6px, solid #0099ff, navy hover) ---------- */
.btn, button.btn { border-radius: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.btn-primary, .btn-success, .btn-info, .modal-submit, .btn-order-now, .btn-checkout, .primary__btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  vertical-align: middle;
  text-align: center;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover, .modal-submit:hover, .btn-order-now:hover, .btn-checkout:hover {
  background: var(--color-secondary);
  border-color: transparent;
  color: var(--color-white);
}
.btn-default { background: #fff; border: 1px solid var(--hp-border); border-radius: 6px; color: var(--color-secondary); padding: 12px 24px; font-weight: 500; }
.btn-default:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-return-to-admin { background: #001233; color: #fff; }

/* ============================================================
   FORM UI/UX  (best-practice: clear labels above inputs, 48px
   touch targets, brand focus ring, custom select chevrons,
   responsive stacking on mobile)
   ============================================================ */

/* Labels: left-aligned above the field, readable, never tiny */
label, .control-label {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Standard field sizing */
.form-control,
select.form-control,
input.form-control,
textarea.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-secondary);
  font-size: 16px; /* >=16px avoids iOS auto-zoom on focus */
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-secondary);
  background-color: #fff;
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control::placeholder {
  color: #9aa5b8;
  opacity: 1;
}
.form-control:focus {
  border-color: var(--color-primary);
  outline: 0;
  box-shadow: 0 0 0 3px var(--hp-primary-soft);
}

/* Native select ("dropdown"): same height as inputs + custom chevron */
select.form-control {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path fill='%234c5671' d='M1 1l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 8px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}
select.form-control option {
  color: var(--color-secondary);
  background: #fff;
}

/* Textareas: taller, comfortable padding, vertical resize only */
textarea.form-control {
  height: auto;
  min-height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

/* Disabled / readonly states */
.form-control:disabled,
.form-control[readonly] {
  background-color: #f4f7fb;
  color: var(--btc);
  cursor: not-allowed;
  opacity: .9;
}

/* Form group rhythm */
.form-group { margin-bottom: 22px; }
.form-row > [class*="col-"] { margin-bottom: 18px; }

/* Checkboxes / radios: bigger target, brand check */
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.form-check { padding-left: 26px; }
.form-check-input { margin-left: -26px; margin-top: .3rem; }
.form-check-label { font-size: 15px; cursor: pointer; }

/* Inline help and validation text placement */
.help-block,
.field-hint,
small.text-muted,
.help-text {
  display: block;
  margin-top: 6px;
  color: var(--btc);
  font-size: 13px;
  line-height: 1.45;
}
.field-error-msg,
.error-msg,
.parsley-error-list li {
  display: block;
  margin-top: 6px;
  color: #d93025;
  font-size: 13px;
  line-height: 1.4;
}
.has-error .form-control,
.form-control.has-error {
  border-color: #eb4242;
}
.has-error .form-control:focus {
  border-color: #eb4242;
  box-shadow: 0 0 0 3px rgba(235, 66, 66, .12);
}

/* Input groups: unified heights, no doubled borders */
.input-group { align-items: stretch; }
.input-group > .form-control { position: relative; flex: 1 1 auto; min-width: 0; }
.input-group-text {
  height: 48px;
  background: #f4f7fb;
  border: 1px solid var(--hp-border);
  color: var(--btc);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
}
.input-group-append .btn,
.input-group-prepend .btn,
.input-group .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Buttons share the field height so they sit flush beside inputs */
.btn:not(.btn-link):not(.btn-sm):not(.btn-xs) { min-height: 48px; }
.btn-sm, .btn-xs { min-height: 32px; padding-top: 6px; padding-bottom: 6px; }
.btn-link { min-height: auto; padding: 0; }

/* ---------- Mobile responsive ---------- */
@media (max-width: 575px) {
  .form-group { margin-bottom: 18px; }
  .form-row > [class*="col-"] { margin-bottom: 16px; }
  label, .control-label { font-size: 14px; }
  .form-control,
  select.form-control,
  input.form-control { height: 46px; font-size: 16px; }
  textarea.form-control { min-height: 110px; }
  input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; }
  .field-error-msg, .error-msg { font-size: 12.5px; }
  .input-group-text { height: 46px; }
  .input-group-append .btn,
  .input-group-prepend .btn,
  .input-group .btn { min-height: 46px; }
  .btn:not(.btn-link):not(.btn-sm):not(.btn-xs) { min-height: 46px; }
}

/* ============================================================
   HEADER  (transplanted from main site style.css)
   ============================================================ */
.rts-header { background: var(--color-white); position: relative; z-index: 99; }
.rts-header__wrapper { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; gap: 18px; }
.header-wrapper-left { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
/* Logo: main site shows the light logo on the white header */
.rts-header__logo .site-logo .logo-white { display: block; }
.rts-header__logo .site-logo .logo-dark { display: none; }
.rts-header__logo img { display: block; max-height: 44px; width: auto; }

/* Top promo bar */
.rts-ht__bg { background: var(--color-primary); backdrop-filter: blur(50px); }
.rts-ht__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 8px 10px;
  color: var(--body-bg);
  font-size: 14px;
  font-family: var(--font-secondary);
  line-height: 1;
}
.rts-ht__email a, .rts-ht__links a { color: #fff; display: inline-flex; align-items: center; line-height: 1; }
.rts-ht__email a:hover, .rts-ht__links a:hover { color: #fff; opacity: .85; text-decoration: none; }
.rts-ht__email img, .rts-ht__links img, .rts-ht__promo img { margin-right: 6px; height: 14px; width: 14px; }
.rts-ht__promo p { margin: 0; }
.rts-ht__promo p strong {
  color: var(--color-secondary);
  background: #fff;
  padding: 3px 5px;
  border-radius: 5px;
  line-height: 1;
  font-weight: 700;
}
.rts-ht__links { display: flex; gap: 20px; }
@media (max-width: 768px) {
  .rts-ht__email { display: none; }
  .rts-ht__wrapper { justify-content: center; text-align: center; }
  .rts-ht__promo { font-size: 12.5px; line-height: 1.4; }
}

/* Main menu + dropdowns (real main-site elitehost styles) */
.rts-header__menu .elitehost-menu .elitehost-desktop-menu {
  display: flex;
  justify-content: center;
  flex-direction: row;
  max-height: 100%;
  overflow: visible;
  margin: 0 0 0 30px;
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .menu-item {
  margin: 0;
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-transform: capitalize;
  padding: 0 15px;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .menu-item .elitehost-dropdown-main-element {
  padding: 27px 0;
  position: relative;
  display: block;
  color: var(--color-secondary);
}
/* Underline sweep */
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .menu-item .elitehost-dropdown-main-element::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 28px;
  background: var(--color-secondary);
  transition: all 0.3s ease-in-out;
}
/* Dropdown chevron: inline SVG in the markup, colored via currentColor
   (matches the main site's 12px navy chevron; no icon-font dependency) */
.hp-nav-chevron {
  width: 11px;
  height: 11px;
  margin-left: 8px;
  vertical-align: -1px;
  color: var(--color-secondary);
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .menu-item:hover .elitehost-dropdown-main-element { color: var(--color-primary); }
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .menu-item:hover .elitehost-dropdown-main-element::after { width: 100%; }
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .menu-item:hover .hp-nav-chevron,
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-has-dropdown:hover .hp-nav-chevron { color: var(--color-primary); }
/* Submenu */
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-submenu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  opacity: 0;
  width: 200px;
  visibility: hidden;
  overflow: visible;
  transform: translateY(15px);
  transition: all 0.3s ease-in-out;
  padding: 15px 0;
  background: var(--color-white);
  box-shadow: 9px 9px 22px -1px rgba(0, 0, 0, 0.12);
  z-index: 10;
  border-radius: 10px;
  margin: 0;
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-has-dropdown:hover .elitehost-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-submenu .nav-item { list-style: none; position: relative; transition: all 0.3s ease-in-out; }
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-submenu .nav-item a.nav-link {
  display: block;
  text-transform: capitalize;
  color: var(--btc);
  text-decoration: none;
  padding: 10px 20px;
  padding-right: 15px;
  transition: all 0.3s ease-in-out;
  position: relative;
  font-weight: 400;
  font-size: 15px;
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-submenu .nav-item a.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: var(--btc);
  transition: all 0.3s ease-in-out;
}
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-submenu .nav-item:hover a.nav-link { padding-left: 35px; }
.rts-header__menu .elitehost-menu .elitehost-desktop-menu .elitehost-submenu .nav-item:hover a.nav-link::after { width: 12px; }

/* Header right: login / account / cart / hamburger */
.rts-header__right { display: flex; align-items: center; gap: 12px; }
.login__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 48px;
  transition: var(--transition);
}
.login__btn:hover { background: var(--color-secondary); color: var(--color-white); text-decoration: none; }
.login__btn--logout {
  background: transparent;
  color: var(--btc);
  border: 0;
  padding: 6px 10px;
  min-height: auto;
  font-size: 14px;
  font-weight: 500;
}
.login__btn--logout i { margin-right: 6px; font-size: 13px; }
.login__btn--logout:hover { background: transparent; color: var(--color-primary); border: 0; }
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hp-primary-soft);
  color: var(--color-primary);
  font-size: 17px;
  transition: var(--transition);
}
.header-cart:hover { background: var(--color-primary); color: #fff; }
.header-cart__count {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 20px;
  background: #ff4757;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}
.menu-btn { display: none; background: transparent; border: 0; color: var(--color-secondary); font-size: 22px; cursor: pointer; }
@media (max-width: 1199px) {
  .rts-header__menu { display: none; }
  .menu-btn { display: inline-flex; }
}
/* Mobile header: let the brand and the action row breathe, keep buttons tappable */
@media (max-width: 767px) {
  .rts-header__wrapper { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .header-wrapper-left { gap: 14px; }
  .rts-header__logo img { max-height: 34px; }
  .rts-header__right { gap: 8px; flex-wrap: wrap; }
  .rts-header__right a, .rts-header__right button { flex-shrink: 0; }
  .login__btn { padding: 9px 18px; font-size: 13.5px; white-space: nowrap; min-height: 40px; }
  .login__btn--logout { padding: 9px 14px; }
  .header-cart { width: 40px; height: 40px; font-size: 15px; }
  .menu-btn { font-size: 20px; width: 40px; height: 40px; justify-content: center; }
}
@media (max-width: 480px) {
  .login__btn { padding: 8px 14px; font-size: 12.5px; }
  .login__btn--logout { display: none; }
  .header-cart { width: 38px; height: 38px; }
  .rts-header__logo img { max-height: 30px; }
}

/* ---------- Mobile sidebar (off-canvas) ---------- */
.side-bar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 30px rgba(0, 18, 51, .10);
  z-index: 1000;
  transform: translateX(105%);
  transition: transform .35s ease;
  overflow-y: auto;
  padding: 24px 20px;
}
.side-bar.show { transform: translateX(0); }
.side-bar .close-icon-menu { background: none; border: 0; font-size: 24px; color: var(--color-secondary); float: right; cursor: pointer; }
.side-bar .mainmenu { list-style: none; margin: 40px 0 0; padding: 0; }
.side-bar .mainmenu > li.has-droupdown { border-bottom: 1px solid var(--hp-border); }
.side-bar .mainmenu .main { display: block; color: var(--color-secondary); font-weight: 600; font-size: 16px; padding: 14px 0; }
.side-bar .mainmenu .main:hover { color: var(--color-primary); text-decoration: none; }
.side-bar .mainmenu .submenu { display: none; list-style: none; margin: 0 0 10px; padding: 0 0 0 16px; }
.side-bar .mainmenu .mobile-menu-link { display: block; color: var(--btc); font-size: 14.5px; padding: 8px 0; }
.side-bar .mainmenu .mobile-menu-link:hover { color: var(--color-primary); text-decoration: none; }
.side-bar .social-area-one { list-style: none; display: flex; gap: 14px; margin: 40px 0 0; padding: 0; }
.side-bar .social-area-one a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--hp-primary-soft); color: var(--color-primary); font-size: 17px;
}
.side-bar .social-area-one a:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
#anywhere-home {
  position: fixed; inset: 0;
  background: rgba(0, 18, 51, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 999;
}
#anywhere-home.bgshow { opacity: 1; visibility: visible; }

/* ---------- Floating Telegram button (main-site style, right side) ---------- */
.tg-float {
  position: fixed;
  right: 22px;
  bottom: 86px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2fa5e8 0%, #229ed9 60%, #1b8ec7 100%);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 26px;
  z-index: 998;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tg-float i { line-height: 1; }
.tg-float:hover { border-color: rgba(255, 255, 255, 0.85); color: var(--color-white) !important; transform: scale(1.07) translateY(-2px); text-decoration: none; }
@media (max-width: 600px) { .tg-float { right: 16px; bottom: 76px; width: 46px; height: 46px; font-size: 23px; } }

/* ---------- Back to top ---------- */
.progress-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 14px rgba(0, 18, 51, .12);
}
.progress-wrap .progress-circle path { stroke: var(--color-primary); stroke-width: 4; fill: none; }
@media (max-width: 600px) { .progress-wrap { right: 16px; bottom: 16px; } }

/* ============================================================
   FOOTER  (transplanted from main site style.css)
   ============================================================ */
.rts-footer {
  padding-top: 100px;
  padding-bottom: 60px;
  background: #fff; /* matches the rendered main-site footer (white) */
  border-top: 1px solid #eaf1ff;
}
.rts-footer__widget { font-family: var(--font-secondary); }
.rts-footer__widget--column { margin-bottom: 50px; }
.rts-footer__widget.extra-padding { margin-left: 30px; }
@media (max-width: 1200px) { .rts-footer__widget.extra-padding { margin-left: 0; } }
.rts-footer__widget.extra-padding:not(:last-child) { margin-bottom: 28px; }
.rts-footer__widget a.footer__logo { margin-bottom: 40px; display: inline-block; }
.footer__logo img { display: block; max-width: 190px; height: auto; }
.rts-footer__widget .brand-desc {
  font-family: var(--font-secondary);
  font-weight: var(--regular);
  color: var(--btc);
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 0;
}
.rts-footer__widget .separator.site-default-border { border-color: #d9e2ff; border-top-width: 1px; margin-bottom: 22px; }
.rts-footer__widget h5.widget-title {
  color: var(--color-secondary);
  font-weight: var(--semibold);
  font-family: var(--font-secondary);
  font-size: 20px;
  display: inline-block;
  text-transform: capitalize;
  margin-bottom: 30px;
}
.rts-footer__widget--menu ul { padding: 0; margin: 0; list-style: none; }
.rts-footer__widget--menu ul li:not(:last-child) { margin-bottom: 12px; }
.rts-footer__widget--menu ul li a { display: block; text-transform: capitalize; color: var(--btc); font-size: 16px; transition: var(--transition); }
.rts-footer__widget--menu ul li a:hover { color: var(--color-primary); text-decoration: none; padding-left: 3px; }

/* Crypto payments (4-across grid like the main site) */
.payment__method, .payment__method .mt--10 { font-family: var(--font-secondary); }
.payment__method ul { padding: 0; margin: 0 0 14px; list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.payment__method ul li { flex: 0 0 23%; width: 23%; }
.payment__method ul li img { width: 100%; object-fit: cover; border-radius: 4px; display: block; }
.payment__method .mt--10 { font-size: 12.5px; color: var(--btc); opacity: .85; }

/* AI summary quick links */
.footer__ai-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; }
.footer__ai-summary--label { font-size: 13px; color: var(--btc); }
.footer__ai-link { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--btc); opacity: .7; transition: all .2s ease; }
.footer__ai-link:hover { opacity: 1; color: var(--color-primary); }
.footer__ai-link svg { width: 100%; height: 100%; display: block; }

/* Credit band: statically positioned so it never floats */
.rts__footer__copyright.is__common {
  position: static !important;
  width: 100%;
  padding: 25px 0;
  border-top: 1px solid var(--hp-border);
  background: var(--color-white);
}
.footer__copy__wrapper { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; }
.footer__copy__wrapper p { margin: 0; text-align: center; font-size: 16px; color: var(--btc); }

/* ============================================================
   WHMCS client-area pages
   ============================================================ */
.page-header, .header-lined h1, h1.font-size-36 { color: var(--color-secondary); }
.card { border: 1px solid var(--hp-border); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); }
.card-header { background: #fbfdff; border-bottom: 1px solid var(--hp-border); font-weight: 600; color: var(--color-secondary); }
.table thead th { color: var(--color-secondary); border-color: var(--hp-border); }
.table td, .table th { border-color: var(--hp-border); }
.pagination .page-link { color: var(--color-secondary); border-color: var(--hp-border); }
.pagination .page-item.active .page-link { background: var(--color-primary); border-color: var(--color-primary); }
.list-group-item { border-color: var(--hp-border); }
.list-group-item.active { background: var(--color-primary); border-color: var(--color-primary); }
.alert { border-radius: var(--hp-radius); }
.badge-primary, .badge-info { background: var(--color-primary) !important; }
.sidebar .panel, .sidebar .card, .sidebar .list-group-item { border-color: var(--hp-border); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); }
.sidebar .list-group-item a { color: var(--color-secondary); }
.sidebar .list-group-item:hover a, .sidebar .list-group-item a:hover { color: var(--color-primary); }
.login-info-container, .registration-container { background: #fff; border: 1px solid var(--hp-border); border-radius: 16px; box-shadow: var(--hp-shadow); padding: 24px; }

/* ============================================================
   LOGGED-IN CLIENT AREA  (clean, standard spacing, no clutter)
   Uses the main-site look with calm padding/margins.
   ============================================================ */

/* Panels / cards: even rhythm and roomy padding */
#main-body .panel,
#main-body .card {
  margin-bottom: 24px;
  border: 1px solid var(--hp-border);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 18, 51, 0.05);
}
.client-home-panels .panel-heading,
.panel-heading,
.card-header {
  padding: 15px 24px;
  background: #fbfdff;
  border-bottom: 1px solid var(--hp-border);
  border-radius: 10px 10px 0 0;
}
.client-home-panels .panel-heading .panel-title,
.panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0;
  text-transform: none;
}
.client-home-panels .panel-body,
.panel-body {
  padding: 24px;
}
.card-body { padding: 24px 28px; }

/* Dashboard panels open as links like the main-site cards */
.client-home-panels a { text-decoration: none; }
.client-home-panels .list-group { margin-bottom: 0; }
.client-home-panels .list-group-item {
  padding: 12px 20px;
  border: 0;
  border-top: 1px solid var(--hp-border);
  color: var(--color-secondary);
  font-size: 15px;
}
.client-home-panels .list-group-item:first-child { border-top: 0; }
.client-home-panels .list-group-item .badge { float: right; }
.client-home-panels .list-group-item:hover { background: #f8fafd; color: var(--color-primary); }

/* Tables: airy cells, calm borders */
#main-body .table { margin: 0; }
#main-body .table thead th {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  background: #fbfdff;
  border-bottom: 1px solid var(--hp-border);
  white-space: nowrap;
}
#main-body .table td {
  padding: 12px 16px;
  font-size: 15px;
  border-top: 1px solid var(--hp-border);
  vertical-align: middle;
}
#main-body .table tbody tr:hover { background: #f8fafd; }
#main-body .table-responsive { border: 0; }

/* Page headings */
.header-lined { margin-bottom: 26px; }
.header-lined h1 { font-size: 28px; margin: 0 0 4px; }
.header-lined .small, .header-lined p { color: var(--btc); font-size: 15px; }

/* Sidebar: clean, airy */
.sidebar .panel .panel-heading { padding: 13px 20px; }
.sidebar .panel .panel-body { padding: 14px 20px; }
.sidebar .list-group-item { padding: 10px 16px; border-color: var(--hp-border); font-size: 15px; }
.sidebar .list-group-item + .list-group-item { border-top: 1px solid var(--hp-border); }

/* Alerts and messages keep standard rhythm */
#main-body .alert { margin-bottom: 20px; padding: 14px 20px; font-size: 15px; }

/* Inline action buttons in lists/tables: small and quiet */
.btn-sm, .btn-xs { padding: 7px 14px; font-size: 13px; min-height: 32px; border-radius: 6px; }

/* Client area lists (services, invoices, tickets) */
.client-home-panels .panel .row { margin: 0 -12px; }
#main-body .list-group { border-radius: var(--hp-radius); overflow: hidden; }
#main-body .list-group-item { border-color: var(--hp-border); }

/* Responsive: tighten on mobile without crowding */
@media (max-width: 767px) {
  #main-body .panel-body, .card-body { padding: 18px 20px; }
  .client-home-panels .panel-heading, .panel-heading, .card-header { padding: 13px 18px; }
  #main-body .table td, #main-body .table thead th { padding: 10px 12px; }
  .header-lined h1 { font-size: 24px; }
}