/* Public-page readability fixes; keep account dashboards unchanged. */
body.synclab-v3 .header .navbar-nav .nav-item > a.main-btn,
body.synclab-v3 .header .navbar-nav .nav-item > a.main-btn:hover {
  color: #07131d !important;
  background: #45b9f4 !important;
}
body.page-home #home.hero-text-only .hero-actions .main-btn:not(.v3-hero-direct-cta) {
  background: #15212d !important;
  color: #f2f7fb !important;
  border-color: #52728b !important;
}
body.page-home #home.hero-text-only .hero-actions .main-btn:not(.v3-hero-direct-cta):hover {
  background: #26394b !important;
}
body.page-home .section-title h2 { direction: rtl; unicode-bidi: plaintext; line-height: 1.5 !important; }
body.page-purchase .v3-plan-description p { font-size: 16px !important; line-height: 1.9 !important; color: #b7c7d6 !important; }
body.page-terms .hero-section { padding-block: 130px 28px !important; }
body.page-terms .hero-section .section-title { padding: 24px !important; }
body.page-terms .hero-section > .container > .row {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: 16px !important;
}
body.page-terms .hero-section > .container > .row > div { padding: 0 !important; }
body.page-terms .hero-section .section-title {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  text-align: center !important; width: 100%;
}
body.page-terms .hero-section .section-title h1 { font-size: clamp(32px, 4vw, 48px) !important; line-height: 1.5; }
body.page-terms .terms-section { padding-top: 28px !important; }
@media (max-width: 767px) {
  body.page-home #home.hero-text-only { padding: 116px 0 40px !important; }
  body.page-home #features { padding-top: 32px !important; }
  body.page-home .v3-feature-showcase .single-feature,
  body.page-home .v3-feature-showcase > div:first-child .single-feature {
    min-height: 0 !important; height: auto !important; padding: 24px !important; margin-bottom: 12px !important;
  }
  body.page-home .v3-feature-showcase .single-feature .icon { margin-bottom: 16px !important; }
  body.page-home .about-section, body.page-home .feature-extended-section { padding-block: 48px !important; }
  body.page-terms .hero-section { padding-top: 110px !important; }
}

/*
 * SyncLab interface polish
 * Visual-only layer loaded last. It deliberately does not change markup,
 * interaction targets, billing routes, dashboards' data, or automation.
 */

:root {
  --sl-bg: #0a1016;
  --sl-surface: #111a24;
  --sl-surface-raised: #15212d;
  --sl-surface-soft: #0e161f;
  --sl-border: #26394b;
  --sl-border-soft: rgba(163, 193, 218, .14);
  --sl-text: #f2f7fb;
  --sl-muted: #99aaba;
  --sl-primary: #45b9f4;
  --sl-primary-strong: #249fdc;
  --sl-success: #55cb98;
  --sl-radius: 14px;
  --sl-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

html { background: var(--sl-bg); }
body.synclab-v3,
body.dashboard-v4,
body.reseller-shell {
  background: var(--sl-bg) !important;
  color: var(--sl-text) !important;
}

body.synclab-v3 {
  background-image:
    radial-gradient(760px 420px at 88% -12%, rgba(69, 185, 244, .085), transparent 68%),
    radial-gradient(680px 380px at 5% 18%, rgba(90, 104, 239, .055), transparent 70%) !important;
}

body.synclab-v3 * { -webkit-font-smoothing: antialiased; }
body.synclab-v3 p { color: var(--sl-muted); line-height: 1.9; }
body.synclab-v3 h1,
body.synclab-v3 h2,
body.synclab-v3 h3,
body.synclab-v3 h4 { letter-spacing: -.025em; }

/* Shared public navigation: one calm, reliable header on every public route. */
body.synclab-v3 .header .navbar-area {
  background: rgba(13, 21, 29, .90) !important;
  border-bottom: 1px solid var(--sl-border-soft) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px);
}
body.synclab-v3 .header .navbar {
  min-height: 74px;
}
body.synclab-v3 .header .navbar-brand img {
  border: 1px solid rgba(69, 185, 244, .48);
  border-radius: 10px;
  box-shadow: none !important;
}
body.synclab-v3 .v3-brand-name {
  color: var(--sl-text);
  font-size: 18px;
  letter-spacing: -.035em;
}
body.synclab-v3 .header .navbar-nav .nav-item > a,
body.synclab-v3 .header .purchase-menu-toggle {
  color: #c6d2dc !important;
  font-size: 14px;
  font-weight: 700;
}
body.synclab-v3 .header .navbar-nav .nav-item > a:hover,
body.synclab-v3 .header .navbar-nav .nav-item > a.active,
body.synclab-v3 .header .purchase-menu-toggle:hover { color: var(--sl-primary) !important; }
body.synclab-v3 .header .navbar-nav .nav-item > a.active::after { background: var(--sl-primary) !important; }
body.synclab-v3 .header .client-area-btn,
body.synclab-v3 .header .main-btn {
  border-radius: 9px !important;
  box-shadow: none !important;
}
body.synclab-v3 .purchase-menu-panel {
  background: #111b26 !important;
  border: 1px solid var(--sl-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--sl-shadow) !important;
}

@media (min-width: 992px) {
  body.synclab-v3 .header .navbar,
  body.synclab-v3 .header .navbar-nav { direction: ltr !important; }
  body.synclab-v3 .header .navbar-nav .nav-item > a,
  body.synclab-v3 .header .purchase-menu-toggle { direction: rtl; }
}

/* Buttons and controls use a single restrained system instead of neon glows. */
body.synclab-v3 .main-btn,
body.synclab-v3 .rp-btn-primary,
body.synclab-v3 .mt-card .main-btn {
  background: var(--sl-primary) !important;
  border: 1px solid var(--sl-primary) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: #07131d !important;
  font-weight: 800;
}
body.synclab-v3 .main-btn:hover,
body.synclab-v3 .rp-btn-primary:hover,
body.synclab-v3 .mt-card .main-btn:hover {
  background: var(--sl-primary-strong) !important;
  border-color: var(--sl-primary-strong) !important;
  box-shadow: 0 8px 20px rgba(36, 159, 220, .16) !important;
  transform: translateY(-1px);
}
body.synclab-v3 .main-btn.btn-hover::after { display: none !important; }

/* Homepage */
.page-home .hero-section {
  min-height: 650px;
  padding-bottom: 58px !important;
}
.page-home .v3-hero-shell { min-height: 455px; }
.page-home .hero-section .hero-content h1 {
  font-size: clamp(42px, 4.4vw, 62px) !important;
  letter-spacing: -.045em;
  max-width: 550px;
}
.page-home .hero-section .hero-content p { font-size: 17px; max-width: 550px; }
.v3-release-badge {
  background: rgba(69, 185, 244, .08);
  border-color: rgba(69, 185, 244, .30);
  box-shadow: none;
  color: #81d7ff;
  letter-spacing: .1em;
}
.v3-release-badge span { box-shadow: none; }
.page-home .v3-hero-visual {
  min-height: auto;
  padding: 0;
}
.page-home .v3-hero-visual img {
  border-color: var(--sl-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--sl-shadow) !important;
  margin-inline: 0;
  max-width: 100% !important;
  width: 100% !important;
}
.page-home .feature-section { padding-top: 28px !important; }
.page-home .v3-feature-showcase { gap: 14px; }
.page-home .v3-feature-showcase .single-feature,
.page-home .v3-feature-showcase > div:first-child .single-feature {
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-border-soft) !important;
  border-radius: var(--sl-radius) !important;
  box-shadow: none !important;
  min-height: 190px;
  padding: 29px 31px !important;
}
.page-home .v3-feature-showcase > div:first-child .single-feature {
  min-height: 394px;
}
.page-home .v3-feature-showcase .single-feature::after,
.page-home .v3-feature-showcase > div:first-child .single-feature::after { display: none; }
.page-home .v3-feature-showcase .single-feature .icon,
.page-home .v3-feature-showcase > div:first-child .single-feature .icon {
  color: var(--sl-primary) !important;
  margin-bottom: 18px !important;
}
.page-home .v3-feature-showcase .single-feature .icon i { font-size: 34px !important; }
.page-home .v3-feature-showcase .content h3,
.page-home .v3-feature-showcase > div:first-child .content h3 { color: var(--sl-text) !important; font-size: 22px !important; }
.page-home .v3-feature-showcase .content p,
.page-home .v3-feature-showcase > div:first-child .content p { color: var(--sl-muted) !important; opacity: 1; }
.page-home .feature-extended-wrapper,
.page-home .about-section .container > .row,
.page-home .faq-section .container > .row {
  border-radius: 16px;
}
.page-home .single-feature-extended,
.page-home .single-feature-extended .content {
  background: transparent !important;
}
.page-home .single-feature-extended .icon { color: var(--sl-primary) !important; }
.page-home .v3-story-layout,
.page-home .v3-community-card {
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-border-soft) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
.page-home .v3-story-layout { gap: 34px; padding: 34px !important; }
.page-home .v3-story-layout .about-img { background: var(--sl-surface-soft); border-color: var(--sl-border-soft); border-radius: 12px; padding: 14px; }
.page-home .v3-community-card { min-height: 350px; padding: 34px; }
.page-home .v3-community-card::after { display: none; }

/* Products and checkout landing */
.page-purchase .purchase-hero,
.page-mt-files .mt-hero {
  background: transparent !important;
  border-bottom: 1px solid var(--sl-border-soft);
}
.page-purchase .purchase-hero { padding-block: 150px 72px !important; }
.page-purchase .purchase-hero::before,
.page-purchase .purchase-hero::after { opacity: .28; }
.page-purchase .purchase-hero-card {
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--sl-shadow) !important;
  transform: none !important;
}
.page-purchase .purchase-hero-card img { border-radius: 9px; }
.page-purchase .product-card,
.page-purchase .v3-plan-card,
.page-mt-files .mt-card {
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-border-soft) !important;
  border-radius: var(--sl-radius) !important;
  box-shadow: none !important;
}
.page-purchase .product-card::before,
.page-mt-files .mt-card::before { background: var(--sl-primary) !important; height: 2px; }
.page-purchase .product-card:hover,
.page-mt-files .mt-card:hover { border-color: rgba(69, 185, 244, .48) !important; box-shadow: 0 12px 30px rgba(0,0,0,.14) !important; transform: translateY(-3px); }
.page-purchase .v3-plan-card { min-height: unset !important; }
.page-mt-files .mt-hero { padding-block: 150px 66px; }
.page-mt-files .mt-card { height: auto !important; padding: 27px; }
.page-mt-files .mt-phone-media { margin: -27px -27px 24px; min-height: 190px; }
.page-mt-files .mt-card p { min-height: 0; margin-bottom: 19px; }
.page-mt-files .mt-card .main-btn { min-height: 51px; }

/* Rules page and standard content modules. */
.page-terms .hero-section { min-height: auto !important; padding-block: 150px 70px !important; }
.page-terms .hero-section .section-title,
.page-terms .terms-section .single-service,
.page-terms .terms-content,
.page-terms .sidebar-widget {
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-border-soft) !important;
  border-radius: var(--sl-radius) !important;
  box-shadow: none !important;
}
.page-terms .hero-img img { border-radius: 12px; border: 1px solid var(--sl-border); }

/* Reseller programme */
.page-reseller-program { background: var(--sl-bg) !important; }
.page-reseller-program .rp-hero { min-height: 650px; padding-block: 154px 78px; }
.page-reseller-program .rp-hero::before,
.page-reseller-program .rp-hero::after { opacity: .22; }
.page-reseller-program .rp-dashboard-shell,
.page-reseller-program .rp-feature-card,
.page-reseller-program .rp-step,
.page-reseller-program .rp-strip-inner,
.page-reseller-program .rp-split-visual,
.page-reseller-program .rp-faq-card {
  background: var(--sl-surface) !important;
  border-color: var(--sl-border-soft) !important;
  box-shadow: none !important;
}
.page-reseller-program .rp-dashboard-shell { border-radius: 16px; transform: none; }
.page-reseller-program .rp-feature-card { border-radius: 13px; min-height: 0; padding: 25px; }
.page-reseller-program .rp-feature-card:hover { border-color: rgba(69,185,244,.45); transform: translateY(-3px); }
.page-reseller-program .rp-icon { background: rgba(69,185,244,.08); border-color: rgba(69,185,244,.22); border-radius: 10px; color: var(--sl-primary); }

/* Footer should read as part of the product, not as a separate template. */
body.synclab-v3 .footer {
  background: #0b1219 !important;
  border-top: 1px solid var(--sl-border-soft);
  padding-top: 68px !important;
}
body.synclab-v3 .footer .footer-widget h3 { color: var(--sl-text) !important; }
body.synclab-v3 .footer .footer-widget .links li a,
body.synclab-v3 .footer .footer-widget .desc { color: var(--sl-muted) !important; }

/* Customer/admin dashboards: remove decorative grids/glows and consolidate cards. */
.dashboard-v4 { --d4-bg: var(--sl-bg); --d4-panel: var(--sl-surface); --d4-panel-soft: var(--sl-surface-soft); --d4-field: #0c131b; --d4-line: var(--sl-border-soft); --d4-blue: var(--sl-primary); --d4-blue-strong: var(--sl-primary-strong); }
.dashboard-v4::before { display: none !important; }
.dashboard-v4 .sidebar,
.dashboard-v4 .dashboard-header,
.dashboard-v4 .v4-dashboard-hero,
.dashboard-v4 .stat-card,
.dashboard-v4 .subscription-card,
.dashboard-v4 .users-table,
.dashboard-v4 .subscriptions-table,
.dashboard-v4 .orders-table-wrapper,
.dashboard-v4 .product-list,
.dashboard-v4 .panel-card {
  background: var(--sl-surface) !important;
  border-color: var(--sl-border-soft) !important;
  box-shadow: none !important;
}
.dashboard-v4 .sidebar { border-radius: 12px !important; }
.dashboard-v4 .dashboard-header { border-radius: 12px !important; }
.dashboard-v4 .v4-dashboard-hero { background: var(--sl-surface) !important; border-radius: 14px; min-height: 180px; padding: 32px 36px; }
.dashboard-v4 .v4-dashboard-hero::before,
.dashboard-v4 .stat-card::before,
.dashboard-v4 .subscription-card::before { background: var(--sl-primary) !important; }
.dashboard-v4 .stat-card,
.dashboard-v4 .subscription-card { border-radius: 13px !important; }
.dashboard-v4 .btn-discord { background: #5365c9 !important; }
.dashboard-v4 .menu-item.active { background: rgba(69,185,244,.09) !important; border-color: rgba(69,185,244,.24) !important; box-shadow: inset 0 -2px 0 var(--sl-primary) !important; }

/* Reseller-owned panels use the reseller colour for small accents only. */
body.reseller-shell { background-image: none !important; }
body.reseller-shell .rs-nav,
body.reseller-shell .rs-hero,
body.reseller-shell .rs-card,
body.reseller-shell .rs-stat,
body.reseller-shell .rs-unavailable-panel {
  background: var(--rs-panel-solid) !important;
  border-color: var(--rs-line) !important;
  box-shadow: none !important;
}
body.reseller-shell .rs-nav { border-radius: 12px; }
body.reseller-shell .rs-hero,
body.reseller-shell .rs-card { border-radius: 15px; }
body.reseller-shell .rs-hero::after,
body.reseller-shell .rs-unavailable-panel::before { display: none; }
body.reseller-shell .rs-btn-primary { box-shadow: none; }

/* Login and individual plan pages retain their existing flow, with cleaner framing. */
.page-login .login-section { background: transparent !important; }
.page-login .v3-auth-shell,
.page-login .login-container {
  border: 1px solid var(--sl-border-soft) !important;
  border-radius: 16px !important;
  box-shadow: var(--sl-shadow) !important;
  overflow: hidden;
}
.page-login .login-form-side { background: var(--sl-surface) !important; }
.page-login .login-image-side { background: var(--sl-surface-raised) !important; }
.page-login .btn-discord,
.page-login .btn-login { border-radius: 9px !important; box-shadow: none !important; }
.plan-page { background: transparent !important; }
.plan-page .plan-panel {
  background: var(--sl-surface) !important;
  border-color: var(--sl-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--sl-shadow) !important;
}
.plan-page .plan-point { background: var(--sl-surface-soft) !important; border-color: var(--sl-border-soft) !important; border-radius: 10px; }

/* The owner-facing reseller centre matches the rest of the operational UI. */
.ra-shell { background: var(--sl-bg) !important; color: var(--sl-text) !important; }
.ra-shell .ra-nav,
.ra-shell .ra-hero,
.ra-shell .ra-card,
.ra-shell .ra-stat {
  background: var(--sl-surface) !important;
  border-color: var(--sl-border-soft) !important;
  box-shadow: none !important;
}
.ra-shell .ra-nav { border-radius: 12px !important; }
.ra-shell .ra-hero,
.ra-shell .ra-card { border-radius: 15px !important; }
.ra-shell .ra-hero::before,
.ra-shell .ra-hero::after { opacity: .15; }
.ra-shell .ra-btn-primary { box-shadow: none !important; }

/* Forms, tables and modals: comfortable rhythm across admin/client/reseller pages. */
.dashboard-v4 input,
.dashboard-v4 select,
.dashboard-v4 textarea,
body.reseller-shell input,
body.reseller-shell select,
body.reseller-shell textarea {
  border-radius: 9px !important;
}
.dashboard-v4 table tbody tr:hover { background: rgba(69,185,244,.035) !important; }

@media (max-width: 991px) {
  .page-home .hero-section { min-height: auto; }
  .page-home .v3-feature-showcase > div:first-child .single-feature { min-height: 280px; }
  .page-reseller-program .rp-hero { padding-top: 130px; }
}

@media (max-width: 576px) {
  body.synclab-v3 .header .navbar { min-height: 66px; }
  .page-home .hero-section .hero-content h1 { font-size: 39px !important; }
  .page-home .v3-feature-showcase .single-feature,
  .page-home .v3-feature-showcase > div:first-child .single-feature { min-height: 0; padding: 25px !important; }
  .page-purchase .purchase-hero,
  .page-mt-files .mt-hero,
  .page-terms .hero-section { padding-block: 124px 52px !important; }
}

/*
 * V1.1 — structural visual pass
 * This makes the hierarchy deliberately more editorial and noticeably less
 * template-like without changing markup, data, routes or interactions.
 */
:root {
  --sl-bg: #080d12;
  --sl-surface: #101820;
  --sl-surface-raised: #141f29;
  --sl-surface-soft: #0c131a;
  --sl-border: #243644;
  --sl-border-soft: rgba(154, 189, 214, .15);
  --sl-text: #f5f8fb;
  --sl-muted: #9caebc;
  --sl-primary: #39b8f1;
  --sl-primary-strong: #198fca;
  --sl-radius: 12px;
}

/* Public pages: content is primary; decoration stays in the background. */
body.synclab-v3 {
  background-image:
    linear-gradient(90deg, rgba(63, 91, 170, .09), transparent 35%),
    radial-gradient(640px 470px at 94% 5%, rgba(41, 174, 232, .10), transparent 70%) !important;
}
body.synclab-v3 .header .navbar-area {
  background: rgba(10, 16, 22, .94) !important;
  border-bottom-color: rgba(154, 189, 214, .16) !important;
}
body.synclab-v3 .header .navbar { min-height: 78px; }
body.synclab-v3 .header .navbar-nav .nav-item > a,
body.synclab-v3 .header .purchase-menu-toggle {
  letter-spacing: 0 !important;
  padding-inline: 15px !important;
}
body.synclab-v3 .header .client-area-btn {
  min-height: 43px;
  padding-inline: 21px !important;
}

/* The landing hero becomes a clear product introduction rather than a canvas. */
.page-home .hero-section {
  min-height: 690px;
  padding-top: 142px !important;
  padding-bottom: 72px !important;
}
.page-home .v3-hero-shell {
  min-height: 500px;
  align-items: center !important;
}
.page-home .hero-section .hero-content {
  position: relative;
  padding-inline-start: 26px;
}
.page-home .hero-section .hero-content::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  bottom: 9px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--sl-primary), rgba(57,184,241,0));
}
.page-home .hero-section .hero-content h1 {
  font-size: clamp(47px, 4.7vw, 68px) !important;
  line-height: 1.04 !important;
  margin-bottom: 24px !important;
}
.page-home .hero-section .hero-content p {
  max-width: 500px;
  font-size: 16px;
  line-height: 2 !important;
}
.page-home .v3-hero-visual {
  padding: 13px !important;
  border: 1px solid rgba(86, 146, 182, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21, 37, 50, .85), rgba(12, 19, 27, .7));
}
.page-home .v3-hero-visual img {
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 45px rgba(0,0,0,.26) !important;
}
.page-home .hero-btns { gap: 10px !important; }
.page-home .hero-btns .main-btn { min-height: 58px; padding-inline: 25px !important; }
.page-home .scroll-btn {
  width: 42px !important;
  height: 42px !important;
  background: var(--sl-surface) !important;
  border-color: var(--sl-border) !important;
}

/* Reusable panels get a quiet top rule and a predictable rhythm. */
.page-home .v3-feature-showcase .single-feature,
.page-home .v3-feature-showcase > div:first-child .single-feature,
.page-purchase .product-card,
.page-purchase .v3-plan-card,
.page-mt-files .mt-card,
.page-terms .terms-section .single-service,
.page-terms .terms-content,
.page-terms .sidebar-widget,
.page-reseller-program .rp-feature-card,
.page-reseller-program .rp-step,
.page-reseller-program .rp-faq-card {
  position: relative;
  overflow: hidden;
}
.page-home .v3-feature-showcase .single-feature::before,
.page-home .v3-feature-showcase > div:first-child .single-feature::before,
.page-purchase .product-card::before,
.page-purchase .v3-plan-card::before,
.page-mt-files .mt-card::before,
.page-reseller-program .rp-feature-card::before,
.page-reseller-program .rp-step::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, var(--sl-primary), transparent) !important;
}
.page-home .v3-feature-showcase .single-feature,
.page-home .v3-feature-showcase > div:first-child .single-feature {
  background: linear-gradient(145deg, #121d27, #0f171f) !important;
  padding: 31px !important;
}
.page-home .v3-feature-showcase > div:first-child .single-feature { min-height: 398px; }
.page-home .v3-feature-showcase .single-feature:hover,
.page-home .v3-feature-showcase > div:first-child .single-feature:hover {
  border-color: rgba(57,184,241,.42) !important;
  transform: translateY(-3px);
  transition: border-color .2s ease, transform .2s ease;
}

/* Purchase and MT cards are deliberately compact: no empty template space. */
.page-purchase .products-section,
.page-mt-files .mt-products-section { padding-block: 68px 88px !important; }
.page-purchase .product-card,
.page-purchase .v3-plan-card,
.page-mt-files .mt-card {
  background: linear-gradient(145deg, #121d27, #0e161e) !important;
  padding: 28px !important;
}
.page-purchase .product-card .main-btn,
.page-purchase .v3-plan-card .main-btn,
.page-mt-files .mt-card .main-btn {
  min-height: 52px;
  margin-top: 4px;
}
.page-purchase .section-title h2,
.page-mt-files .section-title h2,
.page-terms .section-title h2 {
  font-size: clamp(30px, 3vw, 43px) !important;
  line-height: 1.18 !important;
}

/* Long-form pages use reading-width panels rather than oversize empty blocks. */
.page-terms .terms-section { padding-block: 68px 88px !important; }
.page-terms .terms-content,
.page-terms .sidebar-widget { padding: 27px !important; }
.page-terms .terms-content h3 { margin-top: 0 !important; }
.page-reseller-program .rp-hero {
  min-height: 690px;
  padding-top: 152px;
}
.page-reseller-program .rp-hero-copy {
  position: relative;
  padding-inline-start: 25px;
}
.page-reseller-program .rp-hero-copy::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 3px;
  height: 92%;
  background: linear-gradient(var(--sl-primary), transparent);
  border-radius: 99px;
}

/* Operational screens become more legible at a glance. */
.dashboard-v4 .dashboard-header,
.dashboard-v4 .v4-dashboard-hero,
.dashboard-v4 .sidebar,
.dashboard-v4 .stat-card,
.dashboard-v4 .subscription-card {
  background: linear-gradient(145deg, #121d27, #0e161d) !important;
}
.dashboard-v4 .dashboard-header { padding-block: 18px !important; }
.dashboard-v4 .stat-card { min-height: 132px; }
.dashboard-v4 .subscription-card { overflow: hidden; }
.dashboard-v4 .sidebar .menu-item { border-radius: 8px !important; }
.dashboard-v4 .subscription-card:hover,
.dashboard-v4 .stat-card:hover { border-color: rgba(57,184,241,.34) !important; }

body.reseller-shell .rs-nav,
body.reseller-shell .rs-hero,
body.reseller-shell .rs-card,
body.reseller-shell .rs-stat,
body.reseller-shell .rs-unavailable-panel,
.ra-shell .ra-nav,
.ra-shell .ra-hero,
.ra-shell .ra-card,
.ra-shell .ra-stat {
  background: linear-gradient(145deg, var(--rs-panel-solid, #121d27), rgba(10,16,22,.95)) !important;
}

@media (max-width: 991px) {
  .page-home .hero-section { padding-top: 125px !important; }
  .page-home .hero-section .hero-content { padding-inline-start: 18px; }
  .page-reseller-program .rp-hero-copy { padding-inline-start: 18px; }
}
