/* Local professional refresh for the active EternityV2 theme. */
:root {
  --pro-bg: #07111f;
  --pro-panel: #0d1b2d;
  --pro-card: #111f33;
  --pro-card-2: #14243a;
  --pro-line: rgba(148, 163, 184, .18);
  --pro-text: #f8fafc;
  --pro-muted: #9fb0c8;
  --pro-soft: #dbeafe;
  --pro-blue: #2f7df6;
  --pro-cyan: #22d3ee;
  --pro-green: #16a34a;
  --pro-yellow: #eab308;
  --pro-red: #ef4444;
  --pro-radius: 8px;
}

body.body {
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 211, 238, .14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(47, 125, 246, .18), transparent 30%),
    var(--pro-bg) !important;
}

.content, .public-main {
  padding: 22px !important;
}

.pro-sidebar-brand,
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pro-text) !important;
  text-decoration: none !important;
}

.pro-sidebar-brand {
  padding: 16px 16px 8px;
}

.pro-sidebar-brand small {
  display: block;
  color: var(--pro-muted);
  font-size: 11px;
  line-height: 1.1;
}

.pro-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pro-blue), var(--pro-cyan));
  box-shadow: 0 12px 30px rgba(47, 125, 246, .28);
  flex: 0 0 auto;
}

.sidebar-inner, .navbar, .table-container, .auth-card, .pro-card {
  border-radius: var(--pro-radius) !important;
  border: 1px solid var(--pro-line) !important;
  background: rgba(13, 27, 45, .88) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .28) !important;
}

.sidebar-profile {
  border-radius: var(--pro-radius) !important;
  background: rgba(20, 36, 58, .9) !important;
}

.sidebar-link {
  border-radius: var(--pro-radius) !important;
  color: var(--pro-muted) !important;
}

.sidebar-item.active .sidebar-link,
.sidebar-link:hover {
  background: rgba(47, 125, 246, .16) !important;
  color: var(--pro-text) !important;
}

.pro-page {
  max-width: 1480px;
  margin: 0 auto;
}

.pro-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.pro-eyebrow {
  color: var(--pro-cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
  margin-bottom: 6px;
}

.pro-title {
  font-size: 30px;
  line-height: 1.15;
  margin: 0;
  color: var(--pro-text);
  font-weight: 850;
}

.pro-subtitle {
  margin: 8px 0 0;
  color: var(--pro-muted);
  max-width: 720px;
}

.pro-grid {
  display: grid;
  gap: 14px;
}

.pro-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.pro-stat {
  padding: 16px;
  min-height: 104px;
}

.pro-stat span {
  color: var(--pro-muted);
  font-size: 13px;
}

.pro-stat strong {
  display: block;
  color: var(--pro-text);
  font-size: 22px;
  margin-top: 8px;
  word-break: break-word;
}

.pro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 16px;
  align-items: start;
}

.pro-card {
  padding: 18px;
}

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

.pro-card-header h2,
.pro-card-header h3 {
  margin: 0;
  color: var(--pro-text);
  font-size: 18px;
  font-weight: 800;
}

.pro-card-header p {
  margin: 4px 0 0;
  color: var(--pro-muted);
  font-size: 13px;
}

.form-control,
.input-group-text,
select.form-control,
textarea.form-control {
  border-radius: var(--pro-radius) !important;
  background: rgba(7, 17, 31, .86) !important;
  color: var(--pro-text) !important;
  border: 1px solid var(--pro-line) !important;
  min-height: 44px;
}

.form-control:focus {
  border-color: rgba(34, 211, 238, .55) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .12) !important;
}

label, .control-label {
  color: var(--pro-soft) !important;
  font-weight: 700 !important;
  margin-bottom: 7px;
}

.btn {
  border-radius: var(--pro-radius) !important;
  font-weight: 800 !important;
}

.btn-primary,
.btn-big-primary {
  background: linear-gradient(135deg, var(--pro-blue), #1558d6) !important;
  border: 0 !important;
  color: #fff !important;
}

.btn-secondary,
.btn-outline-secondary {
  background: rgba(148, 163, 184, .11) !important;
  color: var(--pro-text) !important;
  border: 1px solid var(--pro-line) !important;
}

.pro-help-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-help-list li {
  display: flex;
  gap: 10px;
  color: var(--pro-muted);
  padding: 10px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
}

.pro-help-list i {
  color: var(--pro-cyan);
  margin-top: 3px;
}

.pro-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, .5fr) minmax(260px, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.pro-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.platform-filter-btn,
.platform-btn {
  border-radius: var(--pro-radius) !important;
  border: 1px solid var(--pro-line) !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--pro-muted) !important;
  min-height: 42px;
  padding: 9px 12px;
}

.platform-filter-btn.active,
.platform-btn.is-active,
.platform-filter-btn:hover,
.platform-btn:hover {
  color: var(--pro-text) !important;
  border-color: rgba(34, 211, 238, .45) !important;
  background: rgba(34, 211, 238, .12) !important;
}

.table {
  color: var(--pro-text) !important;
  margin-bottom: 0;
}

.table thead th {
  color: var(--pro-muted) !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  border-bottom: 1px solid var(--pro-line) !important;
  background: rgba(7, 17, 31, .62);
}

.table td {
  border-top: 1px solid rgba(148, 163, 184, .1) !important;
  vertical-align: middle !important;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(47, 125, 246, .12) !important;
  color: var(--pro-text) !important;
}

.category-header img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
}

.service-name, .order-service-name {
  color: var(--pro-text);
  max-width: 520px;
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: var(--pro-radius);
  background: rgba(34, 211, 238, .12);
  color: #a5f3fc;
  font-weight: 800;
  font-size: 12px;
}

.status-completed, .status-complete { color: #86efac !important; }
.status-pending { color: #fde68a !important; }
.status-inprogress, .status-processing { color: #93c5fd !important; }
.status-canceled, .status-cancelled { color: #fca5a5 !important; }
.status-partial { color: #fdba74 !important; }

.stories-wrapper,
#stories-container-dynamic,
#story-modal,
#social-proof-popup,
#tour-overlay {
  display: none !important;
}

.pro-auth-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: 22px;
  align-items: center;
  min-height: calc(100vh - 120px);
  max-width: 1180px;
  margin: 0 auto;
}

.pro-public-hero {
  padding: 34px 0;
}

.pro-public-hero h1 {
  color: var(--pro-text);
  font-size: 50px;
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 16px;
}

.pro-public-hero p {
  color: var(--pro-muted);
  font-size: 17px;
  max-width: 640px;
}

.pro-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.pro-feature {
  padding: 14px;
  border-radius: var(--pro-radius);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--pro-line);
  color: var(--pro-muted);
}

.pro-feature i {
  color: var(--pro-cyan);
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 992px) {
  .content, .public-main { padding: 14px !important; }
  .pro-hero { display: block; }
  .pro-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-layout, .pro-auth-landing { grid-template-columns: 1fr; }
  .pro-toolbar { grid-template-columns: 1fr; }
  .pro-public-hero h1 { font-size: 34px; }
  .pro-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pro-stats { grid-template-columns: 1fr; }
  .pro-title { font-size: 24px; }
  .table-responsive { border: 1px solid var(--pro-line); border-radius: var(--pro-radius); }
}

/* Final layout corrections: keep pages full, readable, and mobile-safe. */
html,
body.body {
  min-height: 100%;
  overflow-x: hidden !important;
}

body.body-internal .wrapper {
  min-height: 100vh;
  align-items: stretch;
}

body.body-internal .main-content-wrapper,
html[dir="rtl"] body.body-internal .main-content-wrapper {
  margin-left: var(--sidebar-width) !important;
  margin-right: 0 !important;
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  display: flex !important;
  flex-direction: column !important;
}

body.body-internal .navbar.component-navbar {
  position: sticky !important;
  top: 0;
  min-height: 64px;
  height: 64px;
  z-index: 1020;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 28px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: rgba(5, 12, 25, .92) !important;
  backdrop-filter: blur(16px);
}

.navbar-left,
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title {
  margin: 0 !important;
  font-size: 16px !important;
  color: var(--pro-muted) !important;
  white-space: nowrap;
}

.balance-display,
.user-dropdown .nav-link {
  min-height: 42px;
  border-radius: var(--pro-radius) !important;
  background: rgba(255, 255, 255, .05) !important;
  border: 1px solid var(--pro-line);
  padding: 8px 14px !important;
}

body.body-internal .content {
  flex: 1 0 auto;
  width: 100%;
  padding: 28px 36px 18px !important;
}

.pro-page {
  width: 100%;
  min-height: calc(100vh - 150px);
}

.pro-hero {
  padding-top: 6px;
  margin-bottom: 16px;
}

.pro-stats {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

.pro-stat {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pro-stat strong {
  font-size: 21px;
  line-height: 1.25;
}

.pro-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .95fr);
}

.pro-card {
  overflow: visible;
}

.sidebar {
  padding: 16px !important;
  height: 100vh !important;
  overflow: hidden !important;
}

html[dir="rtl"] .sidebar,
.sidebar {
  left: 0 !important;
  right: auto !important;
}

.sidebar-inner {
  height: calc(100vh - 32px) !important;
  min-height: 0 !important;
}

.sidebar-block__left,
.component-sidebar {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.sidebar-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 4px 10px 16px !important;
}

.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .28);
  border-radius: 999px;
}

.sidebar-menu {
  display: grid !important;
  gap: 7px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar-link {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  padding: 8px 10px !important;
  gap: 10px;
}

.sidebar-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.sidebar-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--pro-muted);
  font-size: 13px;
  padding: 18px 20px 22px;
  margin-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.pro-footer-public {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.wrapper-content__footer,
.footer,
.component-footer {
  display: none !important;
}

.mobile-bottom-nav {
  display: none !important;
}

.neworder-page .form-group {
  margin-bottom: 18px;
}

.neworder-page #orderButton {
  min-height: 50px;
  margin-top: 10px;
}

.neworder-page .pro-help-list li {
  min-height: 46px;
  align-items: flex-start;
}

.public-navbar {
  min-height: 72px;
  padding: 12px 0 !important;
  background: rgba(5, 12, 25, .84) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pro-line) !important;
  border-radius: 0 !important;
}

.body-public .public-main {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
}

.pro-auth-landing {
  width: 100%;
  flex: 1 0 auto;
  padding: 30px 16px;
}

@media (min-width: 1400px) {
  .pro-page {
    max-width: 1560px;
  }
}

/* Final interaction polish: collapsible sidebar, quick search, footer and public landing. */
:root {
  --sidebar-width: 320px;
  --sidebar-collapsed-width: 92px;
}

.sidebar {
  min-width: var(--sidebar-width) !important;
  max-width: var(--sidebar-width) !important;
}

.sidebar-collapse-toggle {
  position: absolute;
  top: 96px;
  inset-inline-end: -15px;
  z-index: 4;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 199, 232, .28);
  border-radius: 8px;
  background: #101827;
  color: var(--pro-cyan);
  box-shadow: 0 12px 24px rgba(0,0,0,.24);
}

.sidebar-collapse-toggle:hover {
  background: #152235;
}

.sidebar-block__left {
  position: relative;
}

body.sidebar-collapsed {
  --sidebar-width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .sidebar {
  min-width: var(--sidebar-collapsed-width) !important;
  max-width: var(--sidebar-collapsed-width) !important;
}

body.sidebar-collapsed .pro-sidebar-brand {
  justify-content: center;
  padding-inline: 10px !important;
}

body.sidebar-collapsed .pro-sidebar-brand span:not(.pro-logo-mark),
body.sidebar-collapsed .sidebar-profile-name,
body.sidebar-collapsed .sidebar-profile-balance,
body.sidebar-collapsed .sidebar-text {
  display: none !important;
}

body.sidebar-collapsed .sidebar-profile {
  padding: 12px !important;
  margin: 14px 12px !important;
}

body.sidebar-collapsed .sidebar-profile-avatar {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 0 !important;
}

body.sidebar-collapsed .sidebar-content {
  padding-inline: 12px !important;
}

body.sidebar-collapsed .sidebar-link {
  grid-template-columns: 1fr !important;
  justify-items: center;
  padding-inline: 8px !important;
}

body.sidebar-collapsed .sidebar-collapse-toggle i {
  transform: rotate(180deg);
}

.search-dropdown {
  position: relative !important;
}

.search-dropdown .input-wrapper {
  position: relative !important;
}

.input-wrapper__prepend,
.input-wrapper__append {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pro-muted);
}

html[dir="rtl"] .input-wrapper__prepend,
body.body-rtl .input-wrapper__prepend {
  right: 4px;
  left: auto;
}

html[dir="rtl"] .input-wrapper__append,
body.body-rtl .input-wrapper__append {
  left: 4px;
  right: auto;
}

html:not([dir="rtl"]) .input-wrapper__prepend {
  left: 4px;
}

html:not([dir="rtl"]) .input-wrapper__append {
  right: 4px;
}

#unique-input {
  height: 50px !important;
  padding-inline: 46px !important;
  font-weight: 800;
}

#unique-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  max-height: 330px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(25, 199, 232, .22);
  background: #f8fafc;
  box-shadow: 0 24px 60px rgba(0,0,0,.36);
}

.quick-search-item {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #1f2937;
  text-align: start;
  font-weight: 800;
}

.quick-search-item:hover {
  background: linear-gradient(90deg, #5b18ff, #6f16f2);
  color: #fff;
}

.quick-search-id {
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(37, 99, 235, .12);
  color: #2563eb;
}

.quick-search-item:hover .quick-search-id {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.quick-search-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-search-empty {
  padding: 14px;
  color: #64748b;
  text-align: center;
  font-weight: 800;
}

.payment-instructions {
  padding: 18px !important;
}

.payment-instructions-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.payment-instructions-head i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--pro-cyan);
  background: rgba(25, 199, 232, .11);
}

.payment-instructions-head strong {
  margin: 0 0 4px !important;
}

.payment-instructions-head span {
  display: block;
  color: var(--pro-muted);
  font-size: 13px;
}

.payment-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 22px;
  color: var(--pro-soft);
  line-height: 1.75;
  font-weight: 700;
}

.payment-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .18);
  line-height: 1.75;
}

.pro-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.pro-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pro-auth-landing {
  min-height: auto !important;
  padding-top: clamp(34px, 6vw, 86px) !important;
  padding-bottom: clamp(34px, 6vw, 80px) !important;
}

.pro-public-sections {
  display: grid;
  gap: 0;
}

@media (max-width: 992px) {
  body.sidebar-collapsed {
    --sidebar-width: 286px;
  }

  .sidebar-collapse-toggle {
    display: none;
  }

  .pro-footer {
    grid-template-columns: 1fr;
  }

  .pro-footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .pro-auth-landing,
  .pro-public-sections {
    padding-inline: 14px !important;
  }

  .pro-public-hero h1 {
    font-size: 34px !important;
  }

  .payment-instructions-head {
    flex-direction: column;
  }
}

/* Red/black brand refresh: lightweight final layer, no heavy assets. */
:root {
  --pro-bg: #050608;
  --pro-panel: #0b0d12;
  --pro-card: #11141b;
  --pro-card-2: #171b24;
  --pro-line: rgba(255, 255, 255, .11);
  --pro-text: #fff7f7;
  --pro-muted: #a9b0bd;
  --pro-soft: #f4e7e7;
  --pro-blue: #e11d48;
  --pro-cyan: #ff3b30;
  --pro-magenta: #b91c1c;
  --pro-red: #ef233c;
  --pro-red-dark: #7f101c;
}

body.body {
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 35, 60, .16), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(127, 16, 28, .18), transparent 34%),
    #050608 !important;
}

.pro-logo-mark,
.btn-primary,
.btn-big-primary,
.pro-stat-icon,
.copy-payment-number,
.sidebar-link:hover .sidebar-icon,
.sidebar-item.active .sidebar-icon {
  background: linear-gradient(135deg, #ef233c, #9f1239) !important;
  box-shadow: 0 16px 34px rgba(239, 35, 60, .22) !important;
}

.navbar-brand strong,
.pro-eyebrow,
.mobile-nav-item.active,
.pro-footer a,
a.text-info,
.text-info {
  color: #ff3b30 !important;
}

.btn-secondary,
.btn-outline-secondary {
  background: rgba(255, 255, 255, .055) !important;
  border-color: rgba(255, 255, 255, .14) !important;
}

.public-navbar,
body.body-internal .navbar.component-navbar,
.sidebar,
.sidebar-inner {
  background: rgba(5, 6, 8, .98) !important;
}

body.body-internal .main-content-wrapper,
html[dir="rtl"] body.body-internal .main-content-wrapper {
  background:
    linear-gradient(180deg, rgba(127, 16, 28, .16) 0, rgba(5, 6, 8, .98) 310px),
    #050608 !important;
}

.pro-card,
.auth-card,
.table-container,
.sidebar-profile,
.pro-stage,
.pro-platform-card,
.pro-feature {
  background: linear-gradient(180deg, rgba(23, 27, 36, .96), rgba(13, 15, 21, .96)) !important;
  border-color: rgba(255, 255, 255, .11) !important;
}

.sidebar-item.active .sidebar-link {
  background: linear-gradient(135deg, rgba(239, 35, 60, .32), rgba(127, 16, 28, .32)) !important;
  box-shadow: inset 3px 0 0 #ff3b30 !important;
}

html[dir="rtl"] .sidebar-item.active .sidebar-link {
  box-shadow: inset -3px 0 0 #ff3b30 !important;
}

.form-control,
.input-group-text,
select.form-control,
textarea.form-control,
.pro-category-trigger,
.payment-copy-card,
.payment-instructions,
.category-selected-icon {
  background: #090b10 !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

.form-control:focus,
.pro-category-trigger:focus {
  border-color: rgba(239, 35, 60, .65) !important;
  box-shadow: 0 0 0 3px rgba(239, 35, 60, .15) !important;
}

.body-public .public-main {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, .65), #050608 72%),
    radial-gradient(circle at 35% 26%, rgba(239, 35, 60, .2), transparent 30%),
    #050608 !important;
}

.pro-auth-landing {
  max-width: 1240px !important;
  min-height: calc(100vh - 65px) !important;
  padding-top: clamp(42px, 8vh, 88px) !important;
  padding-bottom: clamp(42px, 8vh, 88px) !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr) !important;
  gap: clamp(28px, 6vw, 76px) !important;
  position: relative;
}

.pro-auth-landing::before {
  content: "";
  position: absolute;
  inset: 34px 20px auto auto;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 35, 60, .16), rgba(255, 255, 255, .025)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 18px);
  opacity: .42;
  pointer-events: none;
}

.pro-public-hero,
.auth-card {
  position: relative;
  z-index: 1;
}

.pro-public-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5.6vw, 82px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.pro-public-hero p {
  max-width: 760px;
  font-size: clamp(16px, 1.35vw, 20px) !important;
}

.pro-public-hero .btn-primary {
  min-width: 148px;
}

.pro-feature-grid {
  max-width: 760px;
  margin-top: 28px !important;
}

.pro-feature {
  min-height: 124px;
}

.auth-card.pro-card {
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

.pro-public-sections {
  max-width: 1240px !important;
  padding-bottom: 84px !important;
}

.pro-section {
  padding: clamp(42px, 7vw, 76px) 0 !important;
}

.pro-section h2,
.pro-contact-strip h2 {
  font-size: clamp(25px, 3vw, 40px) !important;
}

.pro-stage,
.pro-platform-card {
  min-height: 156px;
}

.pro-stage i,
.pro-platform-card i,
.pro-feature i,
.payment-instructions-head i {
  color: #ff6b6b !important;
  background: rgba(239, 35, 60, .12) !important;
}

.pro-contact-strip {
  background:
    linear-gradient(135deg, rgba(239, 35, 60, .16), rgba(17, 20, 27, .95)) !important;
  border-color: rgba(239, 35, 60, .24) !important;
}

.pro-footer {
  padding: 0 !important;
  margin-top: 60px !important;
  border-top: 1px solid rgba(239, 35, 60, .24) !important;
  background:
    linear-gradient(90deg, rgba(127, 16, 28, .16), rgba(5, 6, 8, .98) 45%),
    #050608 !important;
}

.pro-footer-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 110px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 26px 20px;
}

.pro-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pro-footer-brand strong {
  display: block;
  color: var(--pro-text);
  line-height: 1.2;
}

.pro-footer-brand span:not(.pro-logo-mark) {
  display: block;
  color: var(--pro-muted);
  font-size: 12px;
}

.pro-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pro-footer-nav a {
  color: var(--pro-muted) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 13px;
}

.pro-footer-nav a:hover {
  color: #ff3b30 !important;
}

.pro-footer-links {
  justify-content: flex-end;
  text-align: end;
}

.pro-footer-links span {
  color: var(--pro-muted);
}

@media (max-width: 1100px) {
  .pro-auth-landing {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .auth-card.pro-card {
    max-width: 620px;
    justify-self: stretch;
  }

  .pro-feature-grid,
  .pro-public-hero p {
    max-width: none;
  }

  .pro-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pro-footer-brand,
  .pro-footer-links {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .public-navbar .container {
    padding-inline: 14px;
  }

  .pro-auth-landing {
    padding-top: 28px !important;
    padding-inline: 14px !important;
  }

  .pro-public-hero h1 {
    font-size: 38px !important;
  }

  .pro-feature-grid,
  .pro-stage-grid,
  .pro-platform-card-grid {
    grid-template-columns: 1fr !important;
  }

  .pro-footer-inner {
    min-height: auto;
    padding: 24px 14px 96px;
  }
}

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

  .pro-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  body.body-internal .main-content-wrapper,
  html[dir="rtl"] body.body-internal .main-content-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
  }

  body.body-internal .navbar.component-navbar {
    position: sticky !important;
    height: auto;
    min-height: 62px;
    padding: 10px 14px !important;
  }

  body.body-internal .content {
    padding: 16px 14px 86px !important;
  }

  .sidebar {
    width: 286px !important;
    transform: translateX(-310px);
    transition: transform .25s ease;
    z-index: 1050;
  }

  html[dir="rtl"] .sidebar {
    transform: translateX(-310px);
  }

  .sidebar.show,
  html[dir="rtl"] .sidebar.show {
    transform: translateX(0) !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1035;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(5, 12, 25, .95);
    border: 1px solid var(--pro-line);
    box-shadow: 0 18px 42px rgba(0,0,0,.42);
  }

  .mobile-nav-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--pro-muted) !important;
    font-size: 10px;
    text-decoration: none !important;
  }

  .mobile-nav-item i {
    font-size: 15px;
  }

  .mobile-nav-item.active {
    color: var(--pro-cyan) !important;
  }

  .pro-footer {
    padding-bottom: 92px;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .navbar-right {
    gap: 6px;
  }

  .balance-label,
  .user-dropdown .d-sm-inline {
    display: none !important;
  }

  .balance-display,
  .user-dropdown .nav-link {
    padding: 8px 10px !important;
  }

  .pro-stats {
    grid-template-columns: 1fr;
  }

  .pro-card {
    padding: 14px;
  }

  .pro-public-hero h1 {
    font-size: 32px;
  }
}

/* Stronger product pass: sidebar, cards, landing, and payment states. */
.sidebar-inner {
  background:
    linear-gradient(180deg, rgba(11, 22, 41, .98), rgba(4, 9, 20, .98)) !important;
}

.pro-sidebar-brand {
  padding: 20px 16px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.sidebar-profile {
  margin: 16px 14px 14px !important;
  padding: 16px !important;
  border: 1px solid rgba(56, 189, 248, .2) !important;
  background:
    linear-gradient(135deg, rgba(47, 125, 246, .18), rgba(34, 211, 238, .08)),
    rgba(15, 28, 48, .92) !important;
}

.sidebar-profile-avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 32px rgba(47, 125, 246, .32);
}

.sidebar-profile-name,
.sidebar-profile-balance {
  color: var(--pro-text) !important;
}

.sidebar-item.active .sidebar-link {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(47, 125, 246, .34), rgba(217, 70, 239, .22)) !important;
  box-shadow: inset 3px 0 0 rgba(34, 211, 238, .9), 0 12px 26px rgba(0, 0, 0, .22);
}

html[dir="rtl"] .sidebar-item.active .sidebar-link {
  box-shadow: inset -3px 0 0 rgba(34, 211, 238, .9), 0 12px 26px rgba(0, 0, 0, .22);
}

.sidebar-link:hover .sidebar-icon,
.sidebar-item.active .sidebar-icon {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pro-blue), #d946ef) !important;
}

.pro-stats {
  gap: 16px;
}

.pro-stat {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden !important;
}

.pro-stat::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(34, 211, 238, .08);
}

.pro-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pro-blue), var(--pro-cyan));
  box-shadow: 0 16px 34px rgba(34, 211, 238, .18);
  position: relative;
  z-index: 1;
}

.pro-stat > div:last-child {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.category-icon-img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  vertical-align: middle;
  margin-inline-end: 8px;
}

.payment-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid transparent;
}

.payment-status-pending {
  color: #fde68a;
  background: rgba(234, 179, 8, .12);
  border-color: rgba(234, 179, 8, .24);
}

.payment-status-accepted {
  color: #86efac;
  background: rgba(22, 163, 74, .12);
  border-color: rgba(22, 163, 74, .24);
}

.payment-status-canceled {
  color: #fca5a5;
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .24);
}

.pro-footer {
  justify-content: space-between;
  background: rgba(5, 12, 25, .34);
}

.pro-footer-brand,
.pro-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pro-footer-brand strong {
  display: block;
  color: var(--pro-text);
  line-height: 1.2;
}

.pro-footer-brand span:not(.pro-logo-mark),
.pro-footer-links span {
  color: var(--pro-muted);
  font-size: 12px;
}

.pro-footer a {
  color: #a7f3d0 !important;
  text-decoration: none !important;
  font-weight: 900;
}

.pro-public-sections {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 42px;
}

.pro-section {
  padding: 34px 0;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.pro-section-head {
  max-width: 680px;
  margin-bottom: 18px;
}

.pro-section h2,
.pro-contact-strip h2 {
  margin: 0 0 8px;
  color: var(--pro-text);
  font-size: 30px;
  font-weight: 900;
}

.pro-section p,
.pro-stage span,
.pro-platform-card span,
.pro-contact-strip p {
  color: var(--pro-muted);
}

.pro-stage-grid,
.pro-platform-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pro-stage,
.pro-platform-card {
  padding: 18px;
  min-height: 150px;
  border-radius: 8px;
  border: 1px solid var(--pro-line);
  background: rgba(13, 27, 45, .72);
}

.pro-stage i,
.pro-platform-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(47, 125, 246, .24);
  margin-bottom: 14px;
}

.pro-stage strong,
.pro-platform-card strong {
  display: block;
  color: var(--pro-text);
  margin-bottom: 6px;
  font-size: 16px;
}

.pro-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, .2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47, 125, 246, .18), rgba(34, 211, 238, .08));
}

.pro-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .38s ease, transform .38s ease;
}

.pro-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .pro-stage-grid,
  .pro-platform-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-footer,
  .pro-footer-brand,
  .pro-footer-links,
  .pro-contact-strip {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .pro-stat {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .pro-stat-icon {
    width: 46px;
    height: 46px;
  }

  .pro-stage-grid,
  .pro-platform-card-grid {
    grid-template-columns: 1fr;
  }

  .pro-section h2,
  .pro-contact-strip h2 {
    font-size: 24px;
  }
}

/* Clean rebuild pass after visual QA. This intentionally overrides the older polish rules above. */
:root {
  --sidebar-width: 272px;
  --pro-bg: #090d14;
  --pro-panel: #0f1622;
  --pro-card: #121b29;
  --pro-card-2: #172233;
  --pro-line: rgba(194, 210, 235, .12);
  --pro-text: #f7fbff;
  --pro-muted: #9aa9bd;
  --pro-soft: #dbe7f6;
  --pro-blue: #2563eb;
  --pro-cyan: #19c7e8;
  --pro-magenta: #d946ef;
  --pro-radius: 8px;
}

html,
body.body {
  background: var(--pro-bg) !important;
  color: var(--pro-text);
}

.body-public .public-main {
  display: block !important;
  min-height: auto !important;
  padding: 0 !important;
}

.public-navbar {
  min-height: 64px !important;
  padding: 0 10px !important;
  background: rgba(9, 13, 20, .98) !important;
  border-bottom: 1px solid var(--pro-line) !important;
}

.public-navbar .container {
  max-width: 1180px;
}

.navbar-brand strong {
  color: #c55cff;
  letter-spacing: 0;
}

.pro-auth-landing {
  min-height: calc(100vh - 64px) !important;
  max-width: 1180px !important;
  padding: 70px 20px 46px !important;
  align-items: center !important;
}

.pro-public-hero {
  padding: 0 !important;
}

.pro-public-hero h1 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 66px) !important;
  line-height: 1.02 !important;
}

.pro-public-hero p {
  font-size: 18px !important;
  line-height: 1.9;
}

.auth-card.pro-card {
  max-width: 470px;
  margin-inline-start: auto;
  padding: 24px !important;
}

.pro-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.pro-public-sections {
  max-width: 1180px !important;
  padding: 0 20px 72px !important;
}

.pro-section {
  padding: 56px 0 !important;
}

.pro-stage,
.pro-platform-card,
.pro-feature {
  background: rgba(18, 27, 41, .86) !important;
  border: 1px solid var(--pro-line) !important;
  box-shadow: none !important;
}

.pro-contact-strip {
  background: rgba(18, 27, 41, .86) !important;
  border-color: rgba(25, 199, 232, .28) !important;
}

.sidebar {
  width: var(--sidebar-width) !important;
  padding: 0 !important;
  background: #070b12 !important;
  border-inline-end: 1px solid var(--pro-line);
}

.sidebar-inner {
  width: 100%;
  height: 100vh !important;
  min-height: 100vh !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #070b12 !important;
  box-shadow: none !important;
}

.pro-sidebar-brand {
  min-height: 72px;
  padding: 18px 22px !important;
  border-bottom: 1px solid var(--pro-line);
}

.sidebar-profile {
  margin: 18px 18px 16px !important;
  padding: 18px !important;
  background: #101827 !important;
  border: 1px solid rgba(25, 199, 232, .18) !important;
  box-shadow: none !important;
}

.sidebar-content {
  padding: 0 16px 18px !important;
}

.sidebar-menu {
  gap: 8px !important;
}

.sidebar-link {
  min-height: 50px !important;
  padding: 9px 12px !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  background: transparent !important;
}

.sidebar-icon {
  width: 38px !important;
  height: 38px !important;
  background: #111827 !important;
}

.sidebar-item.active .sidebar-link {
  background: linear-gradient(135deg, rgba(37, 99, 235, .34), rgba(217, 70, 239, .28)) !important;
  box-shadow: inset 3px 0 0 var(--pro-cyan) !important;
}

html[dir="rtl"] .sidebar-item.active .sidebar-link {
  box-shadow: inset -3px 0 0 var(--pro-cyan) !important;
}

body.body-internal .main-content-wrapper,
html[dir="rtl"] body.body-internal .main-content-wrapper {
  margin-left: var(--sidebar-width) !important;
  margin-right: 0 !important;
  width: calc(100% - var(--sidebar-width)) !important;
  background: linear-gradient(180deg, #0d1624 0, #08101b 260px, #090d14 100%) !important;
}

body.body-internal .navbar.component-navbar {
  height: 64px !important;
  min-height: 64px !important;
  background: rgba(9, 13, 20, .98) !important;
  border-bottom: 1px solid var(--pro-line) !important;
  box-shadow: none !important;
}

body.body-internal .content {
  padding: 34px 50px 0 !important;
}

.pro-page {
  max-width: 1560px !important;
}

.pro-card,
.table-container,
.auth-card {
  background: rgba(18, 27, 41, .92) !important;
  border: 1px solid var(--pro-line) !important;
  box-shadow: none !important;
}

.pro-stat {
  min-height: 118px !important;
  background: linear-gradient(180deg, rgba(23, 34, 51, .95), rgba(18, 27, 41, .95)) !important;
}

.pro-stat-icon {
  background: linear-gradient(135deg, var(--pro-blue), var(--pro-magenta)) !important;
}

.pro-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr) !important;
}

.payment-instructions {
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #0c1320;
  border: 1px solid rgba(25, 199, 232, .2);
}

.payment-instructions strong {
  display: block;
  color: var(--pro-text);
  margin-bottom: 8px;
}

.payment-instructions p {
  margin: 0;
  color: var(--pro-muted);
  line-height: 1.8;
}

.category-select-shell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.category-selected-icon {
  width: 52px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0c1320;
  border: 1px solid var(--pro-line);
  color: var(--pro-cyan);
  overflow: hidden;
}

.category-selected-icon img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.pro-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pro-category-picker {
  position: relative;
  z-index: 30;
}

.pro-category-trigger {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--pro-line);
  background: #0c1320;
  color: var(--pro-text);
  text-align: start;
  font-weight: 800;
}

.pro-category-trigger:focus {
  outline: none;
  border-color: rgba(25, 199, 232, .58);
  box-shadow: 0 0 0 3px rgba(25, 199, 232, .12);
}

.pro-category-trigger-icon,
.pro-category-option-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
  color: var(--pro-cyan);
}

.pro-category-trigger-icon img,
.pro-category-option-icon img {
  width: 25px !important;
  height: 25px !important;
  max-width: 25px !important;
  max-height: 25px !important;
  object-fit: contain;
  margin: 0 !important;
}

.pro-category-trigger-text,
.pro-category-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-category-chevron {
  color: var(--pro-muted);
  font-size: 12px;
  transition: transform .18s ease;
}

.pro-category-picker.is-open .pro-category-chevron {
  transform: rotate(180deg);
}

.pro-category-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: none;
  max-height: 290px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(25, 199, 232, .22);
  background: #f8fafc;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .36);
}

.pro-category-picker.is-open .pro-category-menu {
  display: grid;
  gap: 3px;
}

.pro-category-option {
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1f2937;
  text-align: start;
  font-weight: 700;
}

.pro-category-option .pro-category-option-icon {
  width: 24px;
  height: 24px;
  background: transparent;
}

.pro-category-option .pro-category-option-icon img {
  width: 22px !important;
  height: 22px !important;
}

.pro-category-option:hover,
.pro-category-option.is-selected {
  background: linear-gradient(90deg, #5b18ff, #6f16f2);
  color: #fff;
}

.pro-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 56px 0 0 !important;
  padding: 24px 50px !important;
  border-top: 1px solid var(--pro-line) !important;
  background: #070b12 !important;
  box-shadow: none !important;
  justify-content: space-between !important;
}

.pro-footer-public {
  margin-top: 0 !important;
  padding-inline: max(20px, calc((100vw - 1180px) / 2 + 20px)) !important;
}

.pro-footer-brand .pro-logo-mark {
  width: 34px;
  height: 34px;
}

.pro-footer-links {
  margin-inline-start: auto;
}

@media (max-width: 1200px) {
  body.body-internal .content {
    padding: 24px 24px 0 !important;
  }

  .pro-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    width: 286px !important;
  }

  html[dir="rtl"] .sidebar {
    transform: translateX(-100%);
  }

  body.body-internal .main-content-wrapper,
  html[dir="rtl"] body.body-internal .main-content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .pro-auth-landing {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding-top: 34px !important;
  }

  .auth-card.pro-card {
    max-width: none;
  }

  .pro-feature-grid,
  .pro-stage-grid,
  .pro-platform-card-grid {
    grid-template-columns: 1fr !important;
  }

  .pro-footer {
    padding: 22px 16px 92px !important;
    gap: 14px;
  }
}

/* Sidebar and manual payment cleanup. */
:root {
  --sidebar-width: 304px;
}

.sidebar,
.sidebar-inner {
  width: var(--sidebar-width) !important;
}

.pro-sidebar-brand {
  min-height: 84px !important;
  padding: 20px 24px !important;
}

.pro-sidebar-brand .pro-logo-mark {
  width: 42px;
  height: 42px;
}

.sidebar-profile {
  margin: 18px 20px !important;
  padding: 18px 16px !important;
}

.sidebar-profile-avatar {
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 10px !important;
}

.sidebar-content {
  padding: 4px 18px 22px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, .24) transparent;
}

.sidebar-content::-webkit-scrollbar {
  width: 4px !important;
}

.sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .24) !important;
  border-radius: 999px;
}

.sidebar-menu {
  gap: 9px !important;
}

.sidebar-link {
  min-height: 54px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 8px 14px !important;
}

.sidebar-icon {
  width: 42px !important;
  height: 42px !important;
  font-size: 18px;
}

.sidebar-text {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.35;
  font-size: 14px;
}

.sidebar-item.active .sidebar-link {
  background: linear-gradient(135deg, rgba(37, 99, 235, .34), rgba(217, 70, 239, .34)) !important;
}

body.body-internal .main-content-wrapper,
html[dir="rtl"] body.body-internal .main-content-wrapper {
  margin-left: var(--sidebar-width) !important;
  width: calc(100% - var(--sidebar-width)) !important;
}

.payment-copy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid rgba(25, 199, 232, .24);
  background: linear-gradient(135deg, rgba(25, 199, 232, .1), rgba(37, 99, 235, .08));
}

.payment-copy-card span {
  display: block;
  color: var(--pro-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.payment-copy-card strong {
  display: block;
  color: var(--pro-text);
  font-size: 20px;
  direction: ltr;
}

.copy-payment-number {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pro-blue), var(--pro-magenta));
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.copy-payment-number.copied {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.addfunds-page .form-group label,
.addfunds-page .control-label {
  font-size: 13px !important;
}

@media (max-width: 992px) {
  :root {
    --sidebar-width: 286px;
  }

  .sidebar,
  .sidebar-inner {
    width: var(--sidebar-width) !important;
  }

  .payment-copy-card {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-payment-number {
    justify-content: center;
    width: 100%;
  }
}

/* Absolute final brand lock: red on black wins over previous polish layers. */
:root {
  --pro-bg: #050608;
  --pro-panel: #0b0d12;
  --pro-card: #11141b;
  --pro-card-2: #171b24;
  --pro-line: rgba(255, 255, 255, .11);
  --pro-text: #fff7f7;
  --pro-muted: #a9b0bd;
  --pro-soft: #f4e7e7;
  --pro-blue: #e11d48;
  --pro-cyan: #ff3b30;
  --pro-magenta: #9f1239;
}

body.body {
  background:
    radial-gradient(circle at 18% 18%, rgba(225, 29, 72, .18), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(127, 16, 28, .22), transparent 34%),
    #050608 !important;
}

.pro-logo-mark,
.btn-primary,
.btn-big-primary,
.pro-stat-icon,
.copy-payment-number,
.sidebar-link:hover .sidebar-icon,
.sidebar-item.active .sidebar-icon {
  background: linear-gradient(135deg, #ef233c, #9f1239) !important;
  box-shadow: 0 16px 34px rgba(239, 35, 60, .22) !important;
}

.navbar-brand strong,
.pro-eyebrow,
.pro-footer a,
a.text-info,
.text-info {
  color: #ff3b30 !important;
}

.sidebar-item.active .sidebar-link {
  background: linear-gradient(135deg, rgba(239, 35, 60, .34), rgba(127, 16, 28, .34)) !important;
  box-shadow: inset 3px 0 0 #ff3b30 !important;
}

html[dir="rtl"] .sidebar-item.active .sidebar-link {
  box-shadow: inset -3px 0 0 #ff3b30 !important;
}

.form-control:focus,
.pro-category-trigger:focus {
  border-color: rgba(239, 35, 60, .65) !important;
  box-shadow: 0 0 0 3px rgba(239, 35, 60, .15) !important;
}

.pro-footer {
  border-top: 1px solid rgba(239, 35, 60, .24) !important;
  background:
    linear-gradient(90deg, rgba(127, 16, 28, .16), rgba(5, 6, 8, .98) 45%),
    #050608 !important;
}

.payment-copy-card {
  border-color: rgba(239, 35, 60, .24) !important;
  background: linear-gradient(135deg, rgba(239, 35, 60, .11), rgba(17, 20, 27, .98)) !important;
}
