@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Geist+Mono:ital,wght@0,100..900;1,100..900&family=Geist:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap");
:root {
  --brand: #6060ab;
  --brand-dark: #41436e;
  --brand-light: #9da8dc;
  --sidebar-bg: #11102d;
  --page-bg: #f3f3f3;
  --text-dark: #202020;
  --text-muted: #2b2b22;
  --white: #ffffff;
  --gradient-brand: linear-gradient(
    151deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
  --text-grad: linear-gradient(
    131deg,
    #4b4c88 8.2%,
    #6b6dc0 53.43%,
    #6060ab 99.2%
  );
  --primary-btn-bg: url("../images/primary-btn-bg.svg");
  --white-btn-bg: url("../images/white-btn-bg.svg");
  --logout-btn-bg: url("../images/logout-btn-bg.png");
  --gradient-welcome: linear-gradient(154deg, #0e0d28 32.29%, #1d2047 72.2%);
  --shadow-sm: 4px 4px 12px rgba(0, 0, 0, 0.08);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-body: "Geist", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-detail: "Outfit", system-ui, sans-serif;

  /* Semantic theme tokens (light defaults) */
  --surface: #ffffff;
  --surface-muted: #f3f3f3;
  --border: #e8e8e3;
  --border-strong: #dedeff;
  --text-primary: #202020;
  --text-secondary: #2b2b22;
  --header-bg: #f3f3f3;
  --header-btn-bg: #ffffff;
  --header-btn-border: transparent;
  --header-chip-text: #6060ab;
  --card-bg: #ffffff;
  --card-border: rgba(96, 96, 171, 0.2);
  --card-header-bg: #f3f3f3;
  --card-header-image: none;
  --input-bg: #f3f3f3;
  --input-border: #e8e8e3;
  --input-text: #2b2b22;
  --table-border: #e8e8e3;
  --table-header-bg: #f2f2f2;
  --table-row-bg: #ffffff;
  --table-text: #202020;
  --charge-bg: rgba(152, 161, 216, 0.12);
  --charge-border: #6060ab;
  --platform-chip-bg: #ffffff;
  --platform-chip-border: rgba(96, 96, 171, 0.2);
  --notice-bg: #d1d2e9;
  --dropdown-bg: #ffffff;
  --scrollbar-size: 6px;
  --scrollbar-track: transparent;
  --scrollbar-thumb: rgba(96, 96, 171, 0.4);
  --scrollbar-thumb-hover: rgba(96, 96, 171, 0.65);
}

[data-theme="dark"] {
  --page-bg: #0c0b21;
  --header-bg: #0c0b21;
  --text-dark: #ffffff;
  --text-muted: #dddddd;
  --text-primary: #ffffff;
  --text-secondary: #dddddd;
  --surface: rgba(45, 45, 45, 0.43);
  --surface-muted: rgba(250, 250, 250, 0.1);
  --border: rgba(204, 204, 204, 0.16);
  --border-strong: #6060ab;
  --header-btn-bg: transparent;
  --header-btn-border: #6060ab;
  --header-chip-text: #dddddd;
  --card-bg: rgba(45, 45, 45, 0.43);
  --dark-sec-bg: rgba(45, 45, 45, 0.43);
  --card-border: rgba(96, 96, 171, 0.2);
  --card-header-bg: #1e1e3f;
  --card-header-image: url("../images/dash-card-header-bg.png");
  --input-bg: rgba(250, 250, 250, 0.1);
  --dash-dark-input: rgba(250, 250, 250, 0.1);
  --input-border: rgba(204, 204, 204, 0.16);
  --input-text: #dddddd;
  --table-border: rgba(96, 96, 171, 0.25);
  --table-header-bg: rgba(250, 250, 250, 0.08);
  --table-row-bg: rgba(45, 45, 45, 0.43);
  --table-text: #dddddd;
  --charge-bg: rgba(152, 161, 216, 0.18);
  --charge-border: #6060ab;
  --platform-chip-bg: rgba(250, 250, 250, 0.1);
  --platform-chip-border: rgba(96, 96, 171, 0.35);
  --notice-bg: rgba(45, 45, 45, 0.55);
  --dropdown-bg: #16152a;
  --shadow-sm: 4px 4px 12px rgba(0, 0, 0, 0.35);
  --scrollbar-track: #0c0b21;
  --scrollbar-thumb: #3a3958;
  --scrollbar-thumb-hover: #52517a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.dashboard-body {
  font-family: var(--font-body);
  background: var(--sidebar-bg);
  color: var(--text-dark);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Shell */
.dashboard-shell {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding: 44px 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  transition:
    transform 0.3s ease,
    width 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.dashboard-sidebar.is-collapsed {
  width: 100px;
  padding: 24px 0 24px;
  gap: 16px;
  overflow: visible;
}

.dashboard-sidebar.is-collapsed .sidebar-logo-text,
.dashboard-sidebar.is-collapsed .sidebar-rank,
.dashboard-sidebar.is-collapsed .sidebar-balance-row,
.dashboard-sidebar.is-collapsed .nav-group-title span,
.dashboard-sidebar.is-collapsed .nav-group-header .nav-group-chevron,
.dashboard-sidebar.is-collapsed .nav-item-left > span:not(.nav-item-icon),
.dashboard-sidebar.is-collapsed .nav-item .nav-chevron-wrap,
.dashboard-sidebar.is-collapsed .nav-tree,
.dashboard-sidebar.is-collapsed
  .sidebar-logout
  > span:not(.sidebar-logout-icon) {
  display: none !important;
}

.dashboard-sidebar.is-collapsed .sidebar-logo-row {
  position: relative;
  justify-content: center;
  padding: 0 12px;
  width: 100%;
}

.dashboard-sidebar.is-collapsed .sidebar-logo {
  width: 28px;
  justify-content: center;
}

.dashboard-sidebar.is-collapsed .sidebar-collapse-btn {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: 28px;
  height: 28px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dashboard-sidebar.is-collapsed .sidebar-collapse-btn img {
  width: 16px;
  height: 16px;
}

.dashboard-sidebar.is-collapsed .sidebar-inner {
  padding: 0 10px;
  gap: 14px;
  align-items: center;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.dashboard-sidebar.is-collapsed .sidebar-user-card {
  width: 80px;
  height: auto;
  min-height: 96px;
  padding: 12px 8px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.dashboard-sidebar.is-collapsed .sidebar-user-row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dashboard-sidebar.is-collapsed .sidebar-user-left {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dashboard-sidebar.is-collapsed .sidebar-avatar {
  width: 48px;
  height: 48px;
}

.dashboard-sidebar.is-collapsed .sidebar-user-info {
  display: block;
  width: 100%;
  text-align: center;
}

.dashboard-sidebar.is-collapsed .sidebar-user-name {
  margin: 0;
  max-width: 72px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-sidebar.is-collapsed .sidebar-music {
  width: 80px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 16px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-thumb {
  width: 44px;
  height: 44px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-controls {
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-btns {
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.dashboard-sidebar.is-collapsed
  .sidebar-music-btns
  button:not(.sidebar-music-play):not(.sidebar-music-stop) {
  width: 18px;
  height: 18px;
}

.dashboard-sidebar.is-collapsed
  .sidebar-music-btns
  button:not(.sidebar-music-play):not(.sidebar-music-stop)
  img {
  width: 18px;
  height: 18px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-prev,
.dashboard-sidebar.is-collapsed .sidebar-music-next {
  width: 18px;
  height: 18px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-prev img,
.dashboard-sidebar.is-collapsed .sidebar-music-next img {
  width: 18px;
  height: 18px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-btns .sidebar-music-play {
  width: 22px;
  height: 22px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-play-icon,
.dashboard-sidebar.is-collapsed .sidebar-music-pause-icon {
  width: 14px;
  height: 14px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-btns .sidebar-music-stop {
  width: 12px;
  height: 12px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-volume {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 4px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-vol-icon {
  width: 12px;
  height: 12px;
}

.dashboard-sidebar.is-collapsed .sidebar-music-vol-slider {
  width: 48px;
  max-width: 48px;
  height: 4px;
}

.dashboard-sidebar.is-collapsed .sidebar-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dashboard-sidebar.is-collapsed .nav-group {
  width: 100%;
  gap: 4px;
}

.dashboard-sidebar.is-collapsed .nav-group-header {
  display: none;
}

.dashboard-sidebar.is-collapsed .nav-group:not(.is-open) .nav-group-body,
.dashboard-sidebar.is-collapsed .nav-group-body {
  display: block !important;
  max-height: none !important;
  overflow: visible;
  width: 100%;
  margin: 0;
}

.dashboard-sidebar.is-collapsed .nav-group-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  width: 100%;
}

.dashboard-sidebar.is-collapsed .nav-group-items::before {
  display: none;
}

.dashboard-sidebar.is-collapsed .nav-item-row {
  width: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.dashboard-sidebar.is-collapsed .nav-item {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 12px;
}

.dashboard-sidebar.is-collapsed .nav-item-left {
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: none;
  flex: none;
}

.dashboard-sidebar.is-collapsed .nav-item-icon {
  width: 16px;
  height: 16px;
  margin: 0;
}

.dashboard-sidebar.is-collapsed .sidebar-logout-card {
  width: 80px;
  padding: 8px;
  display: flex;
  justify-content: center;
}

.dashboard-sidebar.is-collapsed .sidebar-logout {
  width: 48px;
  min-height: 48px;
  height: 48px;
  padding: 0;
  gap: 0;
  background-size: cover;
}

.dashboard-sidebar.is-collapsed .sidebar-logout-icon {
  width: 32px;
  height: 32px;
}

.dashboard-sidebar.is-collapsed .sidebar-logout-icon::before {
  width: 26px;
  height: 26px;
}

.dashboard-sidebar.is-collapsed .sidebar-logout-icon img {
  width: 16px;
  height: 16px;
}

.dashboard-main {
  flex: 1;
  margin: 20px 20px 20px 300px;
  min-width: 0;
  min-height: calc(100vh - 40px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  border-radius: 48px;
  overflow-x: hidden;
  overflow-y: auto;
  transition: margin-left 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.dashboard-shell,
.dashboard-sidebar,
.dashboard-sidebar.is-collapsed .sidebar-inner,
.dashboard-main {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.dashboard-shell::-webkit-scrollbar,
.dashboard-sidebar::-webkit-scrollbar,
.dashboard-sidebar.is-collapsed .sidebar-inner::-webkit-scrollbar,
.dashboard-main::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

.dashboard-shell::-webkit-scrollbar-track,
.dashboard-sidebar::-webkit-scrollbar-track,
.dashboard-sidebar.is-collapsed .sidebar-inner::-webkit-scrollbar-track,
.dashboard-main::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

.dashboard-shell::-webkit-scrollbar-thumb,
.dashboard-sidebar::-webkit-scrollbar-thumb,
.dashboard-sidebar.is-collapsed .sidebar-inner::-webkit-scrollbar-thumb,
.dashboard-main::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

.dashboard-shell::-webkit-scrollbar-thumb:hover,
.dashboard-sidebar::-webkit-scrollbar-thumb:hover,
.dashboard-sidebar.is-collapsed .sidebar-inner::-webkit-scrollbar-thumb:hover,
.dashboard-main::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.dashboard-shell::-webkit-scrollbar-corner,
.dashboard-sidebar::-webkit-scrollbar-corner,
.dashboard-sidebar.is-collapsed .sidebar-inner::-webkit-scrollbar-corner,
.dashboard-main::-webkit-scrollbar-corner {
  background: transparent;
}

.dashboard-sidebar.is-collapsed + .dashboard-main,
body.sidebar-collapsed .dashboard-main {
  margin-left: 114px;
}

/* Sidebar logo */
.sidebar-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  padding: 0 16px 0 32px;
  width: 100%;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  height: 28px;
  width: 193px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.sidebar-logo-text {
  height: 18px;
  width: auto;
  margin-left: 8px;
  flex-shrink: 0;
}

.sidebar-collapse-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: url("https://my-smmgrower-com.ahmad-iftekhar2004.workers.dev/sidebar-closed-bg.svg")
    center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.sidebar-collapse-btn img {
  width: 24px;
  height: 24px;
}

/* Sidebar inner */
.sidebar-inner {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: center;
}

/* User card — Figma: 268×100, avatar-bgg.png full bleed */
.sidebar-user-card {
  width: 268px;
  height: 100px;
  margin: 0;
  background-color: rgba(65, 67, 110, 0.2);
  background-image: var(--theme-avatar-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: none;
  border-radius: 12px;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.sidebar-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}

.sidebar-user-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sidebar-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0.5px solid var(--brand);
  background: var(--gradient-brand);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sidebar-user-info {
  min-width: 0;
}

.sidebar-user-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 5px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 96px;
}

.sidebar-balance-row {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 130px;
}

.sidebar-balance-pill {
  background: var(--gradient-brand);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  padding: 2px 10px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  display: inline-block;
}

.sidebar-add-fund {
  width: 22px;
  height: 22px;
  border: 0.5px solid var(--brand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-add-fund img {
  width: 12px;
  height: 12px;
}

.sidebar-rank {
  width: 64px;
  height: 48px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-rank img {
  width: 320px;
  height: 160px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  margin-left: -248px;
}

/* Music widget */
.sidebar-music {
  width: 268px;
  margin: 0;
  background: linear-gradient(180deg, #41436e 0%, #34355b 100%);
  border: none;
  border-top: 1px solid var(--brand);
  border-radius: 12px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-music-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.132px solid var(--brand);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-music-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.sidebar-music-thumb img.is-rotating {
  animation: sidebar-music-spin 8s linear infinite;
}

@keyframes sidebar-music-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sidebar-music-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.sidebar-music-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-music-btns button {
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
}

.sidebar-music-prev,
.sidebar-music-next {
  width: 24px;
  height: 24px;
}

.sidebar-music-prev img,
.sidebar-music-next img {
  width: 24px;
  height: 24px;
  display: block;
}

.sidebar-music-btns .sidebar-music-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(103.88deg, #a081ff 0%, #5e91ff 100%);
  transition: transform 0.2s ease;
}

.sidebar-music-play-icon,
.sidebar-music-pause-icon {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

.sidebar-music-play-icon {
  margin-left: 1px;
}

.sidebar-music-pause-icon {
  display: none;
}

.sidebar-music-play.is-playing .sidebar-music-play-icon {
  display: none;
}

.sidebar-music-play.is-playing .sidebar-music-pause-icon {
  display: block;
}

.sidebar-music-btns .sidebar-music-stop {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(160, 129, 255, 0.55);
  background: transparent;
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.sidebar-music-btns .sidebar-music-stop.is-autoplay-on {
  border-color: transparent;
  background: linear-gradient(103.88deg, #a081ff 0%, #5e91ff 100%);
  opacity: 1;
}

.sidebar-music-autoplay-icon {
  width: 10px;
  height: 10px;
  display: block;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sidebar-music-stop.is-autoplay-on .sidebar-music-autoplay-icon {
  opacity: 1;
}

.sidebar-music-volume {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-music-vol-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sidebar-music-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 96px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #9da8dc 40%,
    rgba(255, 255, 255, 0.28) 40%
  );
  outline: none;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  max-width: 120px;
}

.sidebar-music-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.sidebar-music-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.sidebar-music-vol-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

/* Nav — Figma node 6011:17140 */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 268px;
  margin: 0;
}

.nav-group {
  width: 268px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.primary-btn-bg,
.nav-group-header {
  background: var(--primary-btn-bg) no-repeat center / 100% 100%;
  border: none;
}

.logout-btn-bg,
.sidebar-logout {
  background-color: transparent;
  background-image: var(--logout-btn-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: none;
}

.white-btn-bg,
.nav-item.is-active {
  background-color: rgba(255, 255, 255, 0.1);
  background-image: var(--white-btn-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: none;
}

.nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 268px;
  height: 48px;
  min-height: 48px;
  padding: 11px 10px 12px 15px;
  border-radius: 10px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.nav-group-title img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.nav-group-title span {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.nav-group-header .nav-group-chevron {
  width: 11px;
  height: 20px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

/* Group headers use primary gradient — show white (active) chevron */
.nav-group-header .nav-chevron--idle {
  display: none;
}

.nav-group-header .nav-chevron--active {
  display: block;
}

.nav-group.is-open .nav-group-chevron {
  transform: rotate(90deg);
}

.nav-group:not(.is-open) .nav-group-chevron {
  transform: none;
}

.nav-group:not(.is-open) .nav-group-body {
  display: none;
}

.nav-group-body {
  display: block;
  position: relative;
  width: 240px;
  margin-top: 0;
}

.nav-group-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 28px;
  margin-left: 1px;
  position: relative;
  width: 240px;
}

.nav-group-items::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  bottom: 26px;
  width: 2px;
  background: #dddddd;
  border-radius: 1px;
  pointer-events: none;
}

.nav-item-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 48px;
}

.nav-tree {
  width: 18px;
  min-height: 48px;
  flex-shrink: 0;
  position: relative;
  align-self: stretch;
}

.nav-tree::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 18px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg width='18' height='22' viewBox='0 0 20 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 13C1 18.5228 5.47715 23 11 23H19' stroke='%23DDDDDD' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center / 18px 22px;
  pointer-events: none;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 222px;
  height: 48px;
  padding: 8px 5px 8px 12px;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.2s,
    border-color 0.2s;
  flex-shrink: 0;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.nav-item:hover,
.nav-item:focus,
.nav-item:active,
.nav-item:visited {
  text-decoration: none !important;
  color: var(--white);
}

.nav-item:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.1);
  color: #f0f0ff;
}

.nav-item.is-active:hover {
  background: var(--white-btn-bg) no-repeat center / 100% 100%;
  color: var(--white);
}

.nav-item-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  max-width: 205px;
}

.nav-item-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-item-left span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.nav-chevron-wrap {
  width: 11px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: rotate(180deg);
}

.nav-chevron {
  width: 6px;
  height: 11px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.nav-chevron--active {
  display: none;
}

.nav-item.is-active .nav-chevron--idle {
  display: none;
}

.nav-item.is-active .nav-chevron--active {
  display: block;
}

/* Logout card */
.sidebar-logout-card {
  width: 268px;
  padding: 16px;
  margin-top: 0;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 57px;
  height: 57px;
  padding: 8px 20px;
  color: #da1e4e;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.2s;
}

.sidebar-logout:hover {
  opacity: 0.92;
  color: #da1e4e;
  text-decoration: none;
}

.sidebar-logout-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1.5px solid #da1e4e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sidebar-logout-icon::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: #da1e4e;
  border-radius: 50%;
}

.sidebar-logout-icon img {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  display: block;
}

/* Header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  background: var(--header-bg);
  border-bottom: 0.5px solid var(--border-strong);
  border-radius: 48px 48px 0 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 70;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-page-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0.21px solid rgba(100, 100, 205, 0.12);
  border-bottom-width: 1.575px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35)
    ),
    #d6d6ff;
  box-sizing: border-box;
  position: relative;
}

.dashboard-page-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  /* white/nav glyphs → brand #6060ab */
  filter: brightness(0) saturate(100%) invert(42%) sepia(18%) saturate(1234%)
    hue-rotate(209deg) brightness(92%) contrast(87%);
}

/* Legacy mask support (same-origin --page-icon only) */
.dashboard-page-icon::after {
  content: none;
}

.dashboard-page-icon--addfund::after {
  content: none;
}

img.dashboard-page-icon {
  width: 42px;
  height: 42px;
  padding: 11px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(42%) sepia(18%) saturate(1234%)
    hue-rotate(209deg) brightness(92%) contrast(87%);
}

.dashboard-page-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--header-chip-text);
  margin: 0;
}

.dashboard-date {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--header-chip-text);
}

.dashboard-date-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-btn {
  background: var(--header-btn-bg);
  border: 0.8px solid var(--header-btn-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 0;
}

.header-btn img {
  width: 20px;
  height: 20px;
}

.header-pill {
  background: var(--header-btn-bg);
  border-radius: 20px;
  height: 40px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 0.8px solid var(--header-btn-border);
  font-family: inherit;
  box-sizing: border-box;
}

.header-pill--balance {
  padding-right: 10px;
}

.header-pill--profile {
  min-width: 56px;
  padding-right: 8px;
}

.header-pill-wallet-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-pill-wallet-icon img {
  width: 14px;
  height: 14px;
}

.header-pill-text {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--header-chip-text);
  padding: 0 4px;
  white-space: nowrap;
}

.header-pill-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.header-pill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-pill-chevron {
  width: 12px;
  height: 7px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin: 0 2px;
  transition: transform 0.2s ease;
}

.dropdown-currencies,
.dropdown-profile {
  position: relative;
}

.dropdown-currencies.is-open .header-pill-chevron,
.dropdown-profile.is-open .header-pill-chevron {
  transform: rotate(180deg);
}

.header-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  border: 0.5px solid #e8e8e3;
  background: #f3f3f3;
  box-shadow: 0 12px 28px rgba(65, 67, 110, 0.14);
  overflow: hidden;
}

.dropdown-currencies.is-open .header-dropdown-menu,
.dropdown-profile.is-open .header-dropdown-menu {
  display: block;
}

.header-currency-menu {
  min-width: 180px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
}

.header-currency-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #202020;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.header-currency-menu li a:hover {
  background: rgba(96, 96, 171, 0.1);
  text-decoration: none;
  color: #202020;
}

.header-currency-menu li.active a {
  color: var(--brand);
  font-weight: 600;
  background: rgba(96, 96, 171, 0.12);
}

.header-currency-flag {
  display: inline-flex;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}

.header-currency-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-currency-code {
  min-width: 36px;
}

.header-currency-symbol {
  color: #4a4a4a;
}

.header-currency-empty {
  padding: 16px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
}

.header-dropdown-menu.header-profile-menu {
  min-width: 180px;
  padding: 0;
  border: none;
  background: #f3f3f3;
  box-shadow: 0 10px 28px rgba(32, 32, 32, 0.14);
}

.header-profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #202020;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  border: none;
  border-bottom: 0.5px solid #e8e8e3;
  background: #f3f3f3;
  outline: none;
  box-shadow: none;
}

.header-profile-item:last-child {
  border-bottom: none;
}

.header-profile-item:hover {
  background: rgba(96, 96, 171, 0.1);
  text-decoration: none;
  color: #202020;
}

.header-profile-item img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* White nav SVGs → dark so they’re visible on the light menu */
.header-profile-item:not(.header-profile-item--logout) img {
  filter: brightness(0) saturate(100%);
  opacity: 0.78;
}

.header-profile-item--logout {
  background: var(--brand);
  color: #fff;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 0 0 16px 16px;
}

.header-profile-item--logout:hover {
  background: var(--brand-dark);
  color: #fff;
}

.header-profile-item--logout img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Content */
.dashboard-content {
  flex: 1;
  padding: 26px;
  overflow-x: hidden;
  background: var(--page-bg);
  border-radius: 0 0 48px 48px;
}

/* New Order Page */
.no-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero row */
.no-hero-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  overflow: visible;
}

.no-welcome-card {
  position: relative;
  flex: 866 1 0;
  min-width: 0;
  height: 200px;
  border-radius: 24px;
  background: url("https://my-smmgrower-com.ahmad-iftekhar2004.workers.dev/text-banner.png")
    center / cover no-repeat;
  overflow: hidden;
  padding: 44px 30px;
  z-index: 1;
}

.no-welcome-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.84) 1.56%,
    #fff 23.75%,
    #fff 50.16%,
    rgba(255, 255, 255, 0.75) 97.71%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0 0 12px;
  text-transform: capitalize;
}

.no-welcome-sub {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.no-welcome-sub + .no-welcome-sub {
  margin-top: 4px;
  opacity: 0.9;
}

.no-welcome-trophy {
  position: absolute;
  left: auto;
  right: 41px;
  top: 50%;
  transform: translateY(-50%);
  width: 249px;
  height: 140px;
  object-fit: contain;
  pointer-events: none;
}

.no-promo-card {
  position: relative;
  display: block;
  height: 200px;
  border-radius: 0;
  background: url("https://my-smmgrower-com.ahmad-iftekhar2004.workers.dev/promo-card-subtract.svg")
    center / 100% 100% no-repeat;
  overflow: hidden;
  padding: 54px 28px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.no-promo-card:hover,
a.no-promo-card:focus,
a.no-promo-card:active {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.no-promo-slider-wrap {
  position: relative;
  flex: 650 1 0;
  min-width: 0;
  width: auto;
  max-width: 650px;
  height: 200px;
  z-index: 1;
  overflow: visible;
}

.no-promo-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  cursor: grab;
  --swiper-pagination-bottom: 0;
}

.no-promo-slider:active {
  cursor: grabbing;
}

.no-promo-slider .swiper-wrapper {
  height: 100%;
  width: 100%;
}

.no-promo-slider .swiper-slide {
  width: 100%;
  height: 200px;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

.no-promo-slider:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  width: 100%;
}

.no-promo-slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.no-promo-slider .no-promo-card {
  width: 100%;
  max-width: none;
  height: 100%;
}

.no-promo-card::before {
  content: none;
}

.no-promo-content {
  position: relative;
  z-index: 1;
  max-width: 416px;
  width: 100%;
}

.no-promo-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 12px;
  text-transform: capitalize;
  letter-spacing: -0.56px;
  line-height: 1.4;
}

.no-promo-text {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

.no-promo-icon {
  position: absolute;
  left: auto;
  right: 29px;
  top: 47px;
  transform: none;
  width: 106px;
  height: 100px;
  background: rgba(255, 255, 255, 0.91);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-sizing: border-box;
  padding: 16px 20px;
}

.no-promo-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.no-promo-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1;
}

.no-promo-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.no-promo-dots span:first-child {
  background: var(--surface);
}

.no-promo-pagination,
.no-promo-slider-wrap
  > .swiper-pagination.no-promo-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  /* Figma: dots sit in the Subtract notch — keep full circles unclipped */
  bottom: 4px !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  z-index: 6;
  width: auto !important;
  min-width: 32px;
  height: auto !important;
  min-height: 14px;
  margin: 0 !important;
  padding: 2px 4px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: none;
  overflow: visible !important;
}

/* Curb is built into promo-card-subtract.svg — no CSS fillets */
.no-promo-pagination::before,
.no-promo-pagination::after {
  content: none;
}

.no-promo-pagination .swiper-pagination-bullet {
  flex-shrink: 0;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  background: #6060ab !important;
  opacity: 0.5 !important;
  border-radius: 50%;
  box-shadow: none;
  outline: 2px solid rgba(96, 96, 171, 0.24);
  outline-offset: 1px;
  transition:
    opacity 0.2s ease,
    outline-color 0.2s ease;
}

.no-promo-pagination .swiper-pagination-bullet-active {
  background: #6060ab !important;
  opacity: 1 !important;
  outline-color: rgba(96, 96, 171, 0.4);
}

/* Stats */
.no-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 16px;
}

.no-stat-card {
  --stat-transition: 0.35s ease;
  position: relative;
  width: 100%;
  height: 232px;
  padding: 38px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  overflow: visible;
  color: var(--text-dark);
  background: none;
  border: none;
  box-shadow: none;
}

.no-stat-card-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity var(--stat-transition);
}

/* Extra layers only when dark body is shown — light card-bg.svg already has tabs baked in */
.no-stat-card:hover .no-stat-card-layers,
.no-stat-card.is-hovered .no-stat-card-layers {
  opacity: 1;
}

.no-stat-card-layer {
  position: absolute;
  max-width: none;
  width: 68%;
  height: auto;
}

.no-stat-card-layer--1 {
  top: -8.4%;
  left: 31%;
  width: 57.4%;
  transform: rotate(5.44deg);
}

.no-stat-card-layer--2 {
  top: -9.3%;
  left: 35%;
  width: 60.6%;
  transform: rotate(14.11deg);
}

.no-stat-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity var(--stat-transition);
}

.no-stat-card-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: fill;
}

.no-stat-card-bg--light {
  opacity: 1;
}

.no-stat-card-bg--dark {
  top: 7px;
  height: calc(100% - 7px);
  bottom: auto;
  opacity: 0;
}

.no-stat-card:hover .no-stat-card-bg--light,
.no-stat-card.is-hovered .no-stat-card-bg--light {
  opacity: 0;
}

.no-stat-card:hover .no-stat-card-bg--dark,
.no-stat-card.is-hovered .no-stat-card-bg--dark {
  opacity: 1;
}

.no-stat-card > :not(.no-stat-card-layers):not(.no-stat-card-bg) {
  position: relative;
  z-index: 2;
}

.no-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(204, 204, 204, 0.32);
  border: 0.5px solid rgba(204, 204, 204, 0.16);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition:
    background-color var(--stat-transition),
    border-color var(--stat-transition);
}

.no-stat-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.no-stat-card:hover .no-stat-icon,
.no-stat-card.is-hovered .no-stat-icon {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.no-stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.1;
  letter-spacing: -0.48px;
  text-transform: capitalize;
  color: var(--text-dark);
  transition: color var(--stat-transition);
}

.no-stat-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 18px;
  transition: color var(--stat-transition);
}

.no-stat-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand);
  margin-top: auto;
  transition: color var(--stat-transition);
}

.no-stat-card:hover .no-stat-value,
.no-stat-card:hover .no-stat-label,
.no-stat-card:hover .no-stat-link,
.no-stat-card.is-hovered .no-stat-value,
.no-stat-card.is-hovered .no-stat-label,
.no-stat-card.is-hovered .no-stat-link {
  color: var(--white);
}

/* My Balance default hover look (light mode only) — clears when another card is hovered */
html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-card-layers {
  opacity: 1;
}

html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-card-bg--light {
  opacity: 0;
}

html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-card-bg--dark {
  opacity: 1;
}

html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-icon {
  background: var(--table-header-bg);
  border-color: rgba(255, 255, 255, 0.16);
}

html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-value,
html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-label,
html:not([data-theme="dark"])
  .no-stats-row:not(:has(.no-stat-card:not(.is-hover):hover))
  .no-stat-card.is-hover
  .no-stat-link {
  color: var(--white);
}

/* Notice */
.no-notice {
  background: var(--notice-bg);
  color: var(--text-primary);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}

.no-notice a {
  color: var(--brand);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: underline;
}

/* Platform filters */
.no-platforms {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.no-platforms-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.no-platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 16px 32px;
  border-radius: 16px;
  border: 1px solid var(--platform-chip-border);
  background: var(--platform-chip-bg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.no-platform-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}

.no-platform-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
}

.no-platform-label {
  font-family: var(--font-display);
  white-space: nowrap;
  line-height: 1.5;
}

.no-platform-btn.is-active,
.no-platform-btn:hover {
  background: linear-gradient(
    141deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
  border: none;
  color: var(--white);
}

/* Platform filter toast */
.no-filter-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: min(380px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.no-filter-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.no-filter-toast-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(151deg, #41436e 0%, #6060ab 55%, #9da8dc 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(14, 13, 40, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.no-filter-toast-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.no-filter-toast-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.no-filter-toast-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Order columns */
.no-order-row {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 24px;
  align-items: start;
}

.no-order-row > .no-card {
  min-width: 0;
  width: 100%;
}

.no-order-row > .no-card--details {
  max-width: none;
}

.no-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 34px;
}

.no-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--card-header-bg);
  background-image: var(--card-header-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 8px 8px 8px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-height: 72px;
  box-sizing: border-box;
}

.no-card-header:has(.no-details-tabs) {
  justify-content: flex-start;
  padding: 12px 8px 12px 16px;
}

.no-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.no-card-tabs {
  display: flex;
  gap: 8px;
  background: var(--surface-muted);
  border: 0.4px solid rgba(96, 96, 171, 0.5);
  border-radius: 12px;
  padding: 8px;
}

.no-card-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-dark);
}

.no-card-tab.is-active {
  background: var(--surface-muted);
}

.no-card-tab--gradient.is-active {
  background: var(--gradient-brand);
  color: var(--white);
}

.no-add-fund-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.no-add-fund-link:hover,
.no-add-fund-link:focus {
  text-decoration: none;
  color: var(--text-dark);
}

.no-add-fund-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0);
}

/* Form */
.no-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-search-wrap {
  position: relative;
}

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

.no-search-wrap .input-wrapper {
  position: relative;
}

.no-search-wrap .input-wrapper button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 18px !important;
  right: auto !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: var(--brand) !important;
  z-index: 2 !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.no-search-wrap .input-wrapper button img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

.no-field-input,
.no-form .form-control {
  width: 100%;
  background: var(--input-bg) !important;
  border: 0.5px solid var(--input-border) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--input-text) !important;
  height: auto !important;
  min-height: 56px;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

/* Search keeps extra left space for the icon */
.no-search-wrap #template-input,
.no-search-wrap .input-wrapper > input.form-control,
.no-search-wrap .input-wrapper > input.select2-selection,
.no-search-wrap
  .search-dropdown.select2-container--default
  .input-wrapper
  input.select2-selection,
.no-search-wrap .search-dropdown .input-wrapper input {
  padding: 16px 18px 16px 56px !important;
}

.no-form #fields .form-control,
.no-form #order_link .form-control,
.no-form #order_quantity .form-control,
.no-form #dripfeed .form-control,
.no-form .form-group .form-control {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.no-search-wrap #template-input::placeholder {
  color: var(--input-text);
  opacity: 1;
}

.no-form select.form-control {
  padding-left: 18px !important;
  cursor: pointer;
}

.no-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-field-label,
.no-form .control-label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.no-field-input-wrap {
  position: relative;
}

.no-field-input-wrap .form-control {
  padding-right: 48px !important;
}

.no-field-input-wrap--select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  background: url("https://my-smmgrower-com.ahmad-iftekhar2004.workers.dev/black-down-chevron.svg")
    center / contain no-repeat;
  border: none;
  pointer-events: none;
}

.no-field-input-wrap input::after {
  display: none;
}

.no-field-input-wrap input.form-control::after,
.no-field-input-wrap input[type="text"]:not([readonly])::after {
  content: none;
}

.no-field-input-wrap input[readonly] {
  cursor: default;
}

.no-field-input-wrap.no-no-chevron::after {
  display: none;
}

.no-charge-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  min-height: 64px;
  padding: 18px;
  box-sizing: border-box;
  background: var(--charge-bg);
  border: 0.5px solid var(--charge-border);
  border-radius: 16px;
}

.no-charge-label {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0;
  flex-shrink: 0;
}

.no-charge-box .no-charge-value,
.no-form .no-charge-box .no-charge-value {
  font-family: var(--font-ui);
  font-size: 20px !important;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--text-secondary) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  max-width: 100%;
  flex: 1 1 auto;
  text-align: right;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: default;
}

.no-submit-btn,
.no-form .btn-primary {
  width: 100%;
  padding: 8px 24px;
  border: none;
  border-bottom: 1.6px solid var(--brand);
  border-radius: 12px;
  background: linear-gradient(
    173.3deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  ) !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 1.35px 4.05px rgba(14, 35, 22, 0.2);
  cursor: pointer;
  min-height: 58px;
  transition: opacity 0.2s;
  box-shadow: none !important;
}

.no-submit-btn:hover,
.no-form .btn-primary:hover {
  opacity: 0.92;
}

.no-form #fields .form-group {
  margin-bottom: 0;
}

.no-form #fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.no-form .terms {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.no-form .terms a {
  color: var(--brand);
  text-decoration: underline;
}

/* Service details panel */
.no-details-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.no-details-tabs {
  display: inline-flex;
  gap: 12px;
  background: var(--surface);
  border: 0.4px solid rgba(96, 96, 171, 0.5);
  border-radius: 12px;
  padding: 8px;
  width: fit-content;
}

.no-details-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-dark);
}

.no-details-tab.is-active {
  background: var(--gradient-brand);
  color: var(--white);
}

.no-instruction {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.no-instruction-box,
.no-instruction-note {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.no-instruction-note {
  gap: 0;
}

.no-instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.no-instruction-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  object-fit: contain;
}

.no-instruction-item p,
.no-instruction-note p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}

.no-instruction-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.no-instruction-note p {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.5;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.no-details-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.no-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.no-detail-readonly {
  background: var(--input-bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 56px;
  font-family: var(--font-detail);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.no-detail-readonly--lg {
  min-height: 64px;
}

.no-details-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.no-description-box {
  background: var(--input-bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 160px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-muted);
}

.no-form #service_description {
  display: none !important;
}

/* Alerts */
.no-alert {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  position: relative;
}

.no-alert--danger {
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
}

.no-alert--success {
  background: #def7ec;
  color: #03543f;
  border: 1px solid #84e1bc;
}

.no-alert .close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.6;
}

.no-page-text {
  background: var(--surface);
  border: 1px solid rgba(96, 96, 171, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

/* Hide default bootstrap chrome */
.dashboard-body .navbar,
.dashboard-body .container > .row > .well {
  all: unset;
}

.dashboard-body .well {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Select2 / custom select overrides (category/service only — not search input) */
.no-form
  .no-field-input-wrap--select
  .select2-container--default
  .select2-selection--single,
.no-form
  .no-field-input-wrap--select
  .select2-container--default
  .select2-selection--single.form-control {
  background: var(--input-bg) !important;
  border: 0.5px solid var(--border) !important;
  border-radius: 12px !important;
  min-height: 64px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 12px 48px 12px 18px !important;
}

.no-form
  .no-field-input-wrap--select
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 1.4 !important;
  font-size: 16px !important;
  color: var(--text-muted) !important;
  padding: 0 !important;
  margin: 0 !important;
  left: 0 !important;
  position: relative !important;
}

.no-form
  .no-field-input-wrap--select
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow,
.no-form
  .no-field-input-wrap--select
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none !important;
}

.no-form .select2-container {
  width: 100% !important;
}

/* Native selects for addfunds / customer care pages */
.af-page .select2-container,
.cc-page .select2-container,
.af-page .bootstrap-select,
.cc-page .bootstrap-select {
  display: none !important;
}

.af-page select.af-select,
.af-page select.form-control,
.cc-page select.af-select,
.cc-page select.form-control,
.cc-page #ticket-fields select,
.cc-page #ticket-subcategory-fields select {
  display: block !important;
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 16px 44px 16px 18px !important;
  border-radius: 12px !important;
  border: 0.5px solid var(--border) !important;
  background-color: var(--surface-muted) !important;
  background-image: url('https://my-smmgrower-com.ahmad-iftekhar2004.workers.dev/black-down-chevron.svg') !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 7px !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
}

/* Category wrap already has a chevron img — hide CSS duplicate */
.cc-page .af-select-wrap select.af-select,
.cc-page .af-select-wrap select.form-control {
  background-image: none !important;
}

.cc-page #ticket-fields input.form-control,
.cc-page #ticket-fields input[type="text"],
.cc-page #ticket-subcategory-fields input.form-control,
.cc-page #ticket-subcategory-fields input[type="text"] {
  display: block !important;
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 16px 18px !important;
  border-radius: 12px !important;
  border: 0.5px solid var(--border) !important;
  background: var(--surface-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.cc-page #ticket-fields .form-group,
.cc-page #ticket-subcategory-fields .form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
}

.cc-page #ticket-fields .form-group > label,
.cc-page #ticket-subcategory-fields .form-group > label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.af-page .af-select-wrap .af-select-leading + select.af-select,
.af-page .af-select-wrap .af-select-leading + select.form-control {
  padding-left: 50px !important;
}

/* Select2 + search dropdown list items */
.select2-container--open .select2-dropdown.select2-dropdown--below,
.select2-container--open .select2-dropdown.dropdown-menu {
  border: 0.5px solid var(--border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(14, 13, 40, 0.12) !important;
}

#select2-orderform-service-results {
  max-height: 350px !important;
}

.select2-container--default .select2-results__option,
.select2-dropdown .select2-results__option,
.select2-results__options > li,
#select2-orderform-category-results > li,
#select2-orderform-service-results > li,
.no-search-wrap .search-dropdown .dropdown-menu > li,
.no-search-wrap .search-dropdown ul > li,
.search-dropdown .dropdown-menu > li {
  border-bottom: 1px dotted var(--border) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.select2-container--default .select2-results__option:last-child,
.select2-dropdown .select2-results__option:last-child,
.select2-results__options > li:last-child,
#select2-orderform-category-results > li:last-child,
#select2-orderform-service-results > li:last-child,
.no-search-wrap .search-dropdown .dropdown-menu > li:last-child,
.no-search-wrap .search-dropdown ul > li:last-child,
.search-dropdown .dropdown-menu > li:last-child {
  border-bottom: none !important;
}

.select2-container--default .select2-results__option a,
.select2-dropdown .select2-results__option a,
.select2-results__options > li > a,
#select2-orderform-category-results > li > a,
#select2-orderform-service-results > li > a,
.no-search-wrap .search-dropdown .dropdown-menu > li > a,
.no-search-wrap .search-dropdown ul > li > a,
.search-dropdown .dropdown-menu > li > a {
  display: block !important;
  padding: 10px 16px !important;
  border-bottom: 1px dotted var(--border) !important;
  color: var(--text-dark, #080808) !important;
  text-decoration: none !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

.select2-container--default .select2-results__option:last-child a,
.select2-dropdown .select2-results__option:last-child a,
.select2-results__options > li:last-child > a,
#select2-orderform-category-results > li:last-child > a,
#select2-orderform-service-results > li:last-child > a,
.no-search-wrap .search-dropdown .dropdown-menu > li:last-child > a,
.no-search-wrap .search-dropdown ul > li:last-child > a,
.search-dropdown .dropdown-menu > li:last-child > a {
  border-bottom: none !important;
}

.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted a,
.select2-results__options > li:hover > a,
#select2-orderform-category-results > li:hover > a,
#select2-orderform-service-results > li:hover > a,
.no-search-wrap .search-dropdown .dropdown-menu > li:hover > a,
.search-dropdown .dropdown-menu > li:hover > a {
  background: rgba(96, 96, 171, 0.08) !important;
  color: var(--brand, #6060ab) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
.select2-container--default .select2-results__option[aria-selected="true"] a,
.select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted a,
.select2-results__options > li.active,
.select2-results__options > li.active > a,
.select2-results__options.dropdown-menu > .active > a,
.select2-results__options.dropdown-menu > .active > a:hover,
.select2-results__options.dropdown-menu > .active > a:focus,
.select2-dropdown .dropdown-menu > .active > a,
.select2-dropdown.dropdown-menu > .active > a,
#select2-orderform-category-results > li[aria-selected="true"],
#select2-orderform-category-results > li[aria-selected="true"] > a,
#select2-orderform-category-results > li.active > a,
#select2-orderform-service-results > li[aria-selected="true"],
#select2-orderform-service-results > li[aria-selected="true"] > a,
#select2-orderform-service-results > li.active > a,
.no-search-wrap .search-dropdown .dropdown-menu > li.active > a,
.search-dropdown .dropdown-menu > li.active > a {
  background: var(--brand, #6060ab) !important;
  background-color: var(--brand, #6060ab) !important;
  color: #ffffff !important;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: var(--gradient-brand);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-btn img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

/* Add Funds page */
.af-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.af-welcome-card .af-welcome-icon {
  width: 249px;
  height: 140px;
  right: 41px;
}

.af-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.af-form-card,
.af-side-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.af-form-card .no-card-header {
  margin-bottom: 24px;
}

.af-side-card {
  gap: 30px;
  padding-bottom: 24px;
}

.af-side-card > .af-side-tabs-wrap {
  margin: 0;
}

.af-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.no-card-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.af-form-card .no-card-tab img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0);
}

.af-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.af-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-dark);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.af-method-card.is-active,
.af-method-card.is-active:hover,
.af-method-card.is-active:focus,
button.af-method-card.is-active {
  background: var(--gradient-brand);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--white);
}

.af-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.af-method-icon img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

.af-method-label {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.af-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.af-field-label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.af-quick-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.af-amount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 64px;
  height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--page-bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.af-amount-chip.is-active,
.af-amount-chip.is-active:hover,
.af-amount-chip.is-active:focus,
button.af-amount-chip.is-active {
  background: var(--gradient-brand);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--white);
}

.af-select-wrap,
.af-input-wrap {
  position: relative;
  width: 100%;
}

.af-select-wrap .af-select,
.af-input-wrap .form-control,
.af-select-wrap .form-control {
  width: 100%;
  height: 64px;
  padding: 16px 44px 16px 50px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
}

.af-input-wrap .form-control {
  padding-left: 18px;
  padding-right: 18px;
}

.af-select-leading {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.af-select-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.af-instruction-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--page-bg);
}

.af-instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.af-instruction-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.af-instruction-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}

.af-instruction-item strong {
  font-weight: 600;
}

.af-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 18px 30px;
  border-radius: 16px;
  border: 0.5px solid var(--brand);
  background: rgba(152, 161, 216, 0.18);
}

.af-total-label,
.af-total-value {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.af-total-label {
  font-size: 18px;
}

.af-total-value {
  font-size: 20px;
  letter-spacing: 0.2px;
}

.af-side-tabs-wrap {
  width: 100%;
  min-height: 80px;
  padding: 12px 8px 12px 16px;
  border-radius: 14px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Add Funds page only — Figma Das.Header bg */
.af-page:not(.cc-page):not(.ms-page):not(.cp-page):not(.ac-page)
  .af-side-tabs-wrap {
  background-color: var(--card-header-bg);
  background-image: var(--card-header-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.af-side-tabs {
  width: auto;
}

.af-faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.af-faq {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.af-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.af-faq summary::-webkit-details-marker {
  display: none;
}

.af-faq summary img {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.af-faq[open] summary img {
  transform: rotate(180deg);
}

.af-faq-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.af-faq-body > p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--text-muted);
}

.af-support-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--page-bg);
}

.af-support-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.af-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 8px 12px 8px 6px;
  border-radius: 8px;
  background: #58c841;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.af-support-btn:hover,
.af-support-btn:focus,
.af-support-btn:active {
  color: var(--white);
  text-decoration: none;
  background: #58c841;
}

.af-support-wa-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.af-support-wa-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.af-history-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
}

.af-history-empty p {
  margin: 0;
}

.af-history-table-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.af-history-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.af-history-table thead th {
  padding: 16px 20px;
  background: #6d6eaf;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  border: 0;
  white-space: nowrap;
}

.af-history-table thead th:first-child {
  border-radius: 16px 0 0 0;
}

.af-history-table thead th:last-child {
  border-radius: 0 16px 0 0;
}

.af-history-table tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  border: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #202020;
  background-clip: padding-box;
}

.af-history-table tbody tr:nth-child(odd) td {
  background-color: #fff;
}

.af-history-table tbody tr:nth-child(even) td {
  background-color: #f3f3f3;
}

.af-history-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 16px;
}

.af-history-table tbody tr:last-child td:last-child {
  border-radius: 0 0 16px 0;
}

.af-history-datetime {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.af-history-date,
.af-history-time {
  display: block;
}

.af-history-amount span,
.af-history-amount a {
  display: block;
}

.af-history-invoice {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.af-history-invoice:hover {
  text-decoration: underline;
}

.af-form-card .no-card-tab--gradient.is-active img {
  filter: brightness(0) invert(1);
}

.af-instruction-content {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.af-instruction-content p:last-child {
  margin-bottom: 0;
}

/* My Orders page */
.mo-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 100%;
}

.mo-search-card,
.mo-filters-card,
.mo-table-card {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.mo-search-card {
  padding: 24px 28px;
}

.mo-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
  backdrop-filter: blur(40px);
}

.mo-search-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mo-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}

.mo-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.mo-filters-card {
  padding: 24px 28px;
}

.mo-filters-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
  scrollbar-width: thin;
  padding: 2px;
}

.mo-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  min-width: 0;
  flex: 1 1 0;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--surface-muted);
  color: var(--text-dark);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mo-filter:hover,
.mo-filter:focus,
.mo-filter:active,
.mo-filter:focus-visible {
  text-decoration: none;
}

.mo-filter span {
  flex-shrink: 0;
  white-space: nowrap;
}

.df-page .mo-filter {
  width: fit-content;
  flex: 0 0 auto;
  min-width: fit-content;
}

.mo-filter img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  transition: filter 0.2s ease;
}

.mo-filter:not(.is-active) img {
  filter: brightness(0);
}

.mo-filter:hover {
  background: linear-gradient(
    142deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(96, 96, 171, 0.28);
}

.mo-filter:hover img {
  filter: brightness(0) invert(1);
}

.mo-filter.is-active {
  background: linear-gradient(
    142deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
  border: none;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(96, 96, 171, 0.28);
}

.mo-filter.is-active:hover,
.mo-filter.is-active:focus,
.mo-filter.is-active:focus-visible {
  border: none;
  outline: none;
}

.mo-filter.is-active img {
  filter: brightness(0) invert(1);
}

.mo-table-card {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.mo-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mo-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  table-layout: fixed;
}

.mo-table th,
.mo-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
  box-sizing: border-box;
}

.mo-table thead th {
  height: 70px;
  padding-top: 0;
  padding-bottom: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  background: var(--brand);
  white-space: nowrap;
  border-bottom: none;
}

.mo-table thead th:first-child {
  border-top-left-radius: 12px;
  padding-left: 32px;
}

.mo-table thead th:last-child {
  border-top-right-radius: 12px;
}

.mo-table tbody td {
  height: 74px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--table-text);
  background: var(--table-row-bg);
  border-bottom: none;
}

.mo-table tbody td:first-child {
  padding-left: 32px;
}

.mo-table tbody tr:nth-child(odd) td {
  background: rgba(96, 96, 171, 0.08);
}

.mo-table tbody tr:nth-child(even) td {
  background: rgba(96, 96, 171, 0.04);
}

.mo-table tbody tr:hover td {
  background: var(--surface-muted);
}

.mo-col-id {
  width: 10%;
}

.mo-col-date {
  width: 8%;
}

.mo-col-link {
  width: 15%;
}

.mo-col-num {
  width: 7%;
}

.mo-col-service {
  width: 22%;
  min-width: 180px;
}

.mo-col-status,
.mo-col-action {
  width: 8%;
}

/* Drip Feed: tighter ID, roomy Service */
.df-page .mo-table {
  min-width: 1100px;
}

.df-page .mo-col-id {
  width: 96px;
  max-width: 96px;
  padding-left: 12px;
  padding-right: 8px;
}

.df-page .mo-col-date {
  width: 10%;
}

.df-page .mo-col-link {
  width: 14%;
}

.df-page .mo-col-num {
  width: 7%;
}

.df-page .mo-col-service {
  width: 22%;
  min-width: 180px;
  max-width: none;
}

.df-page .mo-col-status {
  width: 9%;
}

.df-page .mo-service-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-page .mo-th-id,
.df-page .mo-id-cell {
  gap: 6px;
  max-width: 100%;
}

.mo-th-id,
.mo-id-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mo-check-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.mo-check-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.mo-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid #202020;
  background: transparent;
  flex-shrink: 0;
  box-sizing: border-box;
  pointer-events: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mo-table thead .mo-check {
  border-color: rgba(255, 255, 255, 0.85);
}

.mo-check-input:checked + .mo-check {
  background: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.mo-table thead .mo-check-input:checked + .mo-check {
  background-color: var(--white);
  border-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236060ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l3 3 6-6'/%3E%3C/svg%3E");
}

.mo-check-input:indeterminate + .mo-check {
  background: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' d='M4 8h8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.mo-table thead .mo-check-input:indeterminate + .mo-check {
  background-color: var(--white);
  border-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236060ab' stroke-width='2' stroke-linecap='round' d='M4 8h8'/%3E%3C/svg%3E");
}

.mo-copy {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15 20H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1v1a2 2 0 0 1-2 2m1-4h1V8H8v1h6a2 2 0 0 1 2 2zm-2 2V11H7v7z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15 20H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1v1a2 2 0 0 1-2 2m1-4h1V8H8v1h6a2 2 0 0 1 2 2zm-2 2V11H7v7z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.mo-copy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--surface);
  color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}

.mo-copy-btn .mo-copy {
  width: 12px;
  height: 12px;
}

.mo-table thead .mo-copy-btn {
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  color: var(--white);
}

.mo-table thead .mo-copy {
  background-color: var(--white);
}

.mo-table thead .mo-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mo-copy-btn.is-copied::after,
.mo-copy-tooltip {
  content: "Copied";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: #202020;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
}

.mo-id-text {
  font-weight: 500;
  color: var(--text-dark);
}

.mo-date {
  display: block;
  line-height: 1.35;
  white-space: normal;
}

.mo-link-text,
.mo-service-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  word-break: break-word;
}

.mo-link-text {
  -webkit-line-clamp: 2;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.mo-link-text:hover,
.mo-link-text:focus,
.mo-link-text:active,
.mo-link-text:visited {
  color: var(--brand);
  text-decoration: none;
}

.mo-service-text {
  -webkit-line-clamp: 3;
  white-space: normal;
}

.mo-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 97px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--surface-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand);
  box-sizing: border-box;
  white-space: nowrap;
}

.mo-status--completed,
.mo-status--pending,
.mo-status--inprogress,
.mo-status--processing,
.mo-status--partial,
.mo-status--canceled,
.mo-status--cancelledled {
  background: var(--surface-muted);
  border-color: var(--brand);
  color: var(--brand);
}


.db-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.db-bottom-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.db-profile-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 500px;
  max-width: 500px;
  min-width: 0;
}

.db-meta-wrap {
  width: 100%;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(96, 96, 171, 0.2);
  background: var(--surface);
  box-sizing: border-box;
}

.db-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.db-meta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 86px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.db-meta-label {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.db-meta-value {
  margin: 0;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

.db-status-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(96, 96, 171, 0.2);
  background: var(--surface);
  box-sizing: border-box;
  overflow: visible;
}

.db-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  overflow: visible;
}

.db-status-user {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  overflow: visible;
}

.db-status-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--surface-muted);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.db-status-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
}

.db-status-user-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.db-status-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

.db-status-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.db-status-name-row .mo-copy-btn {
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0;
  border-radius: 4px;
  border: 0.5px solid var(--brand);
  background: var(--surface-muted);
}

.db-status-name-row .mo-copy-icon {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.db-status-spent {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.db-status-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
}

.db-status-rank-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: #d9d9d9;
}

.db-status-rank-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.48px;
  text-transform: capitalize;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.db-tier-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  border: none;
  border-radius: 14px;
  overflow: visible;
}

.db-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #6060ab 0%, #262640 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  box-sizing: border-box;
}

.db-tier-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.db-tier-header span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
}

.db-tier-header-status {
  width: 140px;
}

.db-tier-header-discount {
  width: 110px;
}

.db-tier-header-support {
  width: 100px;
}

.db-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: transparent;
  position: relative;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}

.db-tier-row:hover {
  background: rgba(96, 96, 171, 0.08);
}

.db-tier-row.is-active {
  background: rgba(96, 96, 171, 0.25);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.db-tier-row.is-active::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 30px;
  border-radius: 50px;
  background: var(--brand);
}

.db-tier-row-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.db-tier-name {
  width: 140px;
  padding: 6px 10px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  box-sizing: border-box;
}

.db-tier-discount {
  width: 110px;
  padding: 6px 10px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  box-sizing: border-box;
}

.db-tier-support {
  display: inline-flex;
  align-items: center;
  width: 100px;
  padding: 6px 10px;
  box-sizing: border-box;
}

.db-levels-card {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.db-levels-scroll {
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow-x: hidden;
}

.db-levels-table {
  width: 100%;
  min-width: 0;
  min-height: 500px;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.db-levels-table th,
.db-levels-table td {
  padding: 16px 20px;
  text-align: center;
  vertical-align: middle;
  border: none;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  box-sizing: border-box;
}

.db-levels-table tbody td {
  height: calc((500px - 100px) / 6);
}

.db-levels-table tbody tr:nth-child(odd) td {
  background: rgba(96, 96, 171, 0.06);
}

.db-levels-table tbody tr:nth-child(even) td {
  background: rgba(96, 96, 171, 0.12);
}

.db-levels-table tbody td:not(:first-child) {
  text-align: center;
}

.db-levels-table tbody td:not(:first-child) img {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.db-levels-table th:first-child,
.db-levels-table td:first-child {
  text-align: left;
  padding-left: 24px;
  padding-right: 24px;
  width: 22%;
  min-width: 0;
  border-right: 0.5px solid var(--border);
}

.db-levels-table thead th:not(:first-child) {
  text-align: center;
  width: auto;
  border-right: 0.5px solid rgba(255, 255, 255, 0.12);
}

.db-levels-table thead th:last-child {
  border-right: none;
}

.db-levels-table thead th {
  height: 100px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  border-color: transparent;
}

.db-levels-table thead th:first-child {
  font-size: 16px;
  font-weight: 600;
}

.db-levels-table tbody tr:last-child td {
  border-bottom: none;
}

.db-level-head {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.db-level-head > span:not(.db-level-badge) {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.db-level-badge {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: #ffffff;
  border: none;
  flex-shrink: 0;
}

.up-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.up-page .mo-table-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.up-table {
  min-width: 0;
  width: 100%;
}

.up-table .mo-col-id {
  width: 180px;
}

.up-table .mo-col-service {
  min-width: 280px;
  width: auto;
}

.up-table .mo-col-date {
  width: 160px;
}

.up-table .mo-col-status {
  width: 180px;
}

.up-table thead th:first-child {
  padding-left: 32px;
}

.up-table tbody td:first-child {
  padding-left: 32px;
}

.up-table tbody tr:nth-child(odd) td {
  background: rgba(96, 96, 171, 0.08);
  border-bottom: none;
}

.up-table tbody tr:nth-child(even) td {
  background: rgba(96, 96, 171, 0.04);
  border-bottom: none;
}

.up-table .up-status,
.up-table .mo-status.up-status {
  display: inline;
  align-items: unset;
  justify-content: unset;
  min-width: 0;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
}

.up-empty {
  padding: 28px 20px !important;
  text-align: center;
  color: var(--text-muted);
}

/* Account page */
.ac-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.ac-tabs-bar {
  width: 100%;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-sizing: border-box;
}

.ac-tabs-bar .no-card-tabs {
  width: fit-content;
}

.ac-tabs-bar .no-card-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
}

.ac-tabs-bar .no-card-tab.is-active {
  color: var(--white);
}

.ac-tabs-bar .no-card-tab img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0);
}

.ac-tabs-bar .no-card-tab.is-active img,
.ac-tabs-bar .no-card-tab--gradient.is-active img {
  filter: brightness(0) invert(1);
}

.ac-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.ac-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(96, 96, 171, 0.2);
  background: var(--surface);
  box-sizing: border-box;
  min-width: 0;
}

.ac-card--full {
  width: 100%;
}

.ac-card .no-card-header {
  margin-bottom: 0;
  min-height: 80px;
  height: 80px;
  box-sizing: border-box;
}

.ac-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  flex: 1;
}

.ac-card-body .no-submit-btn,
.ac-card-body .btn-primary {
  margin-top: auto;
}

.ac-password-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.ac-input-wrap .form-control {
  padding-left: 48px;
}

.ac-input-wrap--plain .form-control {
  padding-left: 18px;
  padding-right: 18px;
}

.ac-input-wrap--password .form-control {
  padding-left: 18px;
  padding-right: 48px;
}

.ac-page .af-select-wrap .form-control {
  padding-left: 18px;
  padding-right: 44px;
}

.ac-input-leading {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 1;
}

.ac-input-leading img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.ac-password-toggle {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}

.ac-password-toggle img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.ac-info-box {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 0.5px solid var(--brand);
  background: rgba(152, 161, 216, 0.18);
  box-sizing: border-box;
}

.ac-info-box p,
.ac-2fa-sent {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}

.ac-2fa-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

#2fa-approve-form.ac-2fa-form,
#2fa-generate-form.ac-2fa-form {
  flex-direction: column !important;
  gap: 20px !important;
}

#2fa-approve-form.ac-2fa-form[style*="display: block"],
#2fa-approve-form.ac-2fa-form[style*="display:block"],
#2fa-approve-form.ac-2fa-form[style*="display: flex"],
#2fa-approve-form.ac-2fa-form[style*="display:flex"],
#2fa-generate-form.ac-2fa-form[style*="display: block"],
#2fa-generate-form.ac-2fa-form[style*="display:block"],
#2fa-generate-form.ac-2fa-form[style*="display: flex"],
#2fa-generate-form.ac-2fa-form[style*="display:flex"] {
  display: flex !important;
}

#2fa-approve-form.ac-2fa-form[style*="display: none"],
#2fa-approve-form.ac-2fa-form[style*="display:none"],
#2fa-generate-form.ac-2fa-form[style*="display: none"],
#2fa-generate-form.ac-2fa-form[style*="display:none"] {
  display: none !important;
}

.ac-2fa-form > .ac-2fa-sent,
.ac-2fa-form > .ac-info-box {
  margin-bottom: 0;
}

.ac-2fa-form > .af-field-group {
  margin-top: 0;
  margin-bottom: 0;
}

.ac-2fa-form .no-submit-btn {
  margin-top: auto;
}

.ac-2fa-enabled {
  font-weight: 500;
  color: var(--brand);
}

.ac-help {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.ac-textarea {
  width: 100%;
  min-height: 160px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  resize: vertical;
  box-shadow: none;
}

.ac-textarea:focus {
  outline: none;
  border-color: rgba(96, 96, 171, 0.5);
}

.ac-readonly-span {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  box-sizing: border-box;
}

/* Change Email modal — project theme */
#changeEmailModal.ac-email-modal .modal-dialog,
.ac-email-modal .modal-dialog {
  width: calc(100% - 32px) !important;
  max-width: 560px !important;
  margin: 48px auto !important;
}

#changeEmailModal .modal-content,
.ac-email-modal-content {
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(96, 96, 171, 0.2) !important;
  border-radius: 28px !important;
  background: var(--white) !important;
  box-shadow: 0 24px 48px rgba(65, 67, 110, 0.16) !important;
  overflow: hidden !important;
}

#changeEmailModal .modal-header,
.ac-email-modal-header {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 20px 28px !important;
  border: none !important;
  border-bottom: none !important;
  background: #f3f3f3 !important;
  text-align: left !important;
}

#changeEmailModal .modal-header::before,
#changeEmailModal .modal-header::after,
.ac-email-modal-header::before,
.ac-email-modal-header::after {
  display: none !important;
  content: none !important;
}

#changeEmailModal .modal-title,
.ac-email-modal-title {
  float: none !important;
  order: 1 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  margin-right: auto !important;
  padding: 0 !important;
  text-align: left !important;
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #202020 !important;
}

#changeEmailModal .ac-email-modal-close,
.ac-email-modal-close {
  float: none !important;
  order: 2 !important;
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #41436e !important;
  font-size: 28px !important;
  line-height: 1 !important;
  opacity: 0.7 !important;
  cursor: pointer !important;
  text-shadow: none !important;
}

.ac-email-modal-close:hover {
  opacity: 1 !important;
  background: rgba(96, 96, 171, 0.1) !important;
}

#changeEmailModal .modal-body,
.ac-email-modal-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding: 28px !important;
}

.ac-email-modal-body .af-field-group {
  width: 100%;
  margin: 0 !important;
}

.ac-email-modal-body .af-field-label {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.ac-email-modal-body .af-input-wrap,
.ac-email-modal-body .ac-readonly-span {
  width: 100%;
}

#changeEmailModal .modal-footer,
.ac-email-modal-footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 28px 28px !important;
  border: none !important;
  border-top: none !important;
  background: transparent !important;
  text-align: left !important;
}

#changeEmailModal .modal-footer::before,
#changeEmailModal .modal-footer::after,
.ac-email-modal-footer::before,
.ac-email-modal-footer::after {
  display: none !important;
  content: none !important;
}

#changeEmailModal .modal-footer .ac-email-modal-btn,
.ac-email-modal-footer .ac-email-modal-btn {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 8px 20px !important;
  border-radius: 12px !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease;
}

.ac-email-modal-btn--ghost {
  border: 0.5px solid rgba(96, 96, 171, 0.35) !important;
  background: #f3f3f3 !important;
  color: #41436e !important;
}

.ac-email-modal-btn--ghost:hover {
  opacity: 0.92;
}

.ac-email-modal-btn--primary {
  border: none !important;
  border-bottom: 1.6px solid var(--brand) !important;
  background: linear-gradient(
    173.3deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  ) !important;
  color: #fff !important;
}

.ac-email-modal-btn--primary:hover {
  opacity: 0.92;
}

@media (max-width: 560px) {
  #changeEmailModal .modal-footer,
  .ac-email-modal-footer {
    flex-direction: column !important;
  }

  #changeEmailModal .modal-footer .ac-email-modal-btn,
  .ac-email-modal-footer .ac-email-modal-btn {
    width: 100% !important;
  }
}

@media (max-width: 1100px) {
  .ac-grid {
    grid-template-columns: 1fr;
  }

  .ac-password-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ac-tabs-bar {
    padding: 16px;
  }

  .ac-tabs-bar .no-card-tabs {
    width: 100%;
    flex-wrap: wrap;
  }

  .ac-card {
    padding: 20px;
    border-radius: 20px;
    gap: 16px;
  }

  .ac-card .no-card-header {
    min-height: 64px;
    height: auto;
  }
}

/* Notifications page */
.nt-page .nt-grid {
  align-items: start;
}

.nt-telegram-card {
  height: auto;
  align-self: start;
}

.nt-pref-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.nt-pref-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 61px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 0.5px solid var(--brand);
  background: rgba(152, 161, 216, 0.18);
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
}

.nt-pref-head > span:first-child,
.nt-pref-name {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 45%;
}

.nt-pref-head > span:not(:first-child) {
  flex: 0 0 70px;
  width: 70px;
  text-align: center;
}

.nt-pref-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  border: 0.5px dashed var(--brand);
  background: var(--surface-muted);
  box-sizing: border-box;
  width: 100%;
}

.nt-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nt-pref-row > :not(:first-child) {
  flex: 0 0 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nt-pref-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 40px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}

.nt-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.nt-switch-ui {
  position: relative;
  display: block;
  width: 40px;
  height: 24px;
  border-radius: 100px;
  background: #d9d9d9;
  transition: background 0.2s;
  box-sizing: border-box;
  padding: 3px;
}

.nt-switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.nt-switch input:checked + .nt-switch-ui {
  background: linear-gradient(
    118.73deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
}

.nt-switch input:checked + .nt-switch-ui::after {
  transform: translateX(16px);
}

.nt-switch input:disabled + .nt-switch-ui {
  opacity: 0.5;
  cursor: not-allowed;
}

.nt-switch input:focus-visible + .nt-switch-ui {
  outline: 2px solid rgba(96, 96, 171, 0.45);
  outline-offset: 2px;
}

.nt-telegram-info {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 111px;
}

.nt-telegram-info-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
}

.nt-telegram-info p {
  width: 100%;
}

@media (max-width: 1100px) {
  .nt-pref-head > span:first-child,
  .nt-pref-name {
    max-width: 40%;
  }
}

@media (max-width: 640px) {
  .nt-pref-head,
  .nt-pref-row {
    gap: 10px;
  }

  .nt-pref-head > span:not(:first-child),
  .nt-pref-row > :not(:first-child) {
    flex-basis: 48px;
    width: 48px;
  }

  .nt-pref-head {
    font-size: 12px;
    padding: 14px 12px;
  }

  .nt-pref-body {
    gap: 20px;
    padding: 14px 12px;
  }

  .nt-pref-name {
    font-size: 13px;
    max-width: none;
    white-space: normal;
  }
}

/* FAQ page */
.fq-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.fq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  align-items: start;
}

.fq-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  align-items: stretch;
  contain: layout;
}

.fq-item {
  width: 100%;
  padding: 20px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-sizing: border-box;
  align-self: start;
  overflow: hidden;
}

.fq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
}

.fq-item summary::-webkit-details-marker {
  display: none;
}

.fq-item summary span {
  flex: 1 1 auto;
  min-width: 0;
}

.fq-item summary img {
  flex-shrink: 0;
  width: 12px;
  height: 7px;
  transition: transform 0.3s ease;
}

.fq-item[open] summary img {
  transform: rotate(180deg);
}

.fq-item-body {
  margin-top: 0;
  padding-top: 4px;
  overflow: hidden;
}

.fq-item[open] .fq-item-body {
  margin-top: 12px;
}

.fq-item-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.fq-content--enhanced {
  display: block;
}

.fq-content--enhanced .fq-grid {
  display: grid;
}

.fq-content > * {
  min-width: 0;
}

.fq-content details,
.fq-content .panel,
.fq-content .well,
.fq-content .fq-item,
.fq-content > div,
.fq-content > section {
  grid-column: span 1;
  width: 100%;
  margin: 0;
  padding: 20px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-sizing: border-box;
}

.fq-content .panel-heading,
.fq-content h3,
.fq-content h4,
.fq-content summary,
.fq-content .panel-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
}

.fq-content .panel-body,
.fq-content p {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}

.fq-content details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.fq-content details summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 1100px) {
  .fq-grid,
  .fq-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .fq-item,
  .fq-content details,
  .fq-content .panel,
  .fq-content .well,
  .fq-content > div,
  .fq-content > section {
    padding: 16px 18px;
  }

  .fq-item summary,
  .fq-content .panel-heading,
  .fq-content h3,
  .fq-content h4,
  .fq-content summary,
  .fq-content .panel-title {
    font-size: 16px;
  }
}

.mo-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 79px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: linear-gradient(
    126deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none !important;
}

.mo-action-btn:hover,
.mo-action-btn:focus,
.mo-action-btn:active,
.mo-action-btn:visited {
  text-decoration: none !important;
  color: #ffffff !important;
  opacity: 1;
  background: linear-gradient(126deg, #b4bce8 8.2%, #7272be 53.43%, #52548a 99.2%);
  border-color: #7272be;
}

.mo-action-btn--cancel {
  background: rgba(96, 96, 171, 0.15);
  color: #6060ab !important;
  border-color: transparent;
}

.mo-action-btn--cancel:hover,
.mo-action-btn--cancel:focus,
.mo-action-btn--cancel:active {
  background: rgba(96, 96, 171, 0.28);
  color: #41436e !important;
  text-decoration: none !important;
}

.mo-action-btn.is-disabled,
.mo-action-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.mo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.mo-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.mo-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(96, 96, 171, 0.08);
  color: var(--brand);
  font-weight: 600;
}

.mo-pagination li.active a {
  background: linear-gradient(103.88deg, #a081ff 0%, #5e91ff 100%);
  color: var(--white);
}

.mo-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
}

/* Customer Care page */
.cc-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.cc-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px 36px 60px;
}

.cc-hero-copy {
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.cc-hero-list {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.cc-hero-list li + li {
  margin-top: 0;
}

.cc-hero-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
  z-index: 1;
}

.cc-hero-contact-label {
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.cc-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 8px 12px 8px 6px;
  border-radius: 8px;
  background: #58c841;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.cc-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--surface);
  flex-shrink: 0;
}

.cc-wa-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.cc-card-title-bar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 80px;
  padding: 8px 8px 8px 20px;
  margin-bottom: 24px;
  border-radius: 14px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
  backdrop-filter: blur(20px);
}

.cc-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
}

.cc-form .af-select-wrap .af-select,
.cc-form .af-select-wrap .form-control {
  padding-left: 18px;
}

.cc-message-wrap .cc-message,
.cc-message-wrap textarea.form-control {
  height: 200px;
  min-height: 200px;
  resize: vertical;
  padding: 16px 18px;
  line-height: 1.35;
}

.cc-attach {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 64px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.cc-attach:hover {
  border-color: var(--brand);
}

.cc-attach-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.cc-page .tickets-uploader {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-page .tickets-uploader.cc-uploader-enhanced #uploader-button {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cc-page .tickets-uploader.cc-uploader-enhanced .files-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  align-items: start;
}

.cc-page .tickets-uploader.cc-uploader-enhanced .files-wrapper > #uploader-button {
  grid-column: 1 / -1;
}

.cc-page .tickets-uploader .files-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
  box-sizing: border-box;
}

.cc-page .tickets-uploader .files-item a {
  color: var(--brand);
  text-decoration: underline;
  word-break: break-word;
}

.cc-page .tickets-uploader .files-item button,
.cc-page .tickets-uploader .files-item .btn,
.cc-page .tickets-uploader .files-item [class*="remove"],
.cc-page .tickets-uploader .files-item [class*="delete"],
.cc-page .tickets-uploader .files-item [class*="close"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-dark) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

.cc-page .tickets-uploader .files-wrapper ul,
.cc-page .tickets-uploader .qq-upload-list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-page .tickets-uploader .files-wrapper img,
.cc-page .tickets-uploader .qq-thumbnail-selector,
.cc-page .tickets-uploader .qq-thumbnail-wrapper img {
  width: 32px !important;
  height: 32px !important;
  object-fit: cover !important;
  border-radius: 6px;
  border: 0.5px solid var(--border);
  flex-shrink: 0;
}

.cc-page .tickets-uploader > .btn,
.cc-page .tickets-uploader > button:not(.cc-attach-facade),
.cc-page .tickets-uploader .qq-upload-button,
.cc-page .tickets-uploader label.qq-upload-button,
.cc-page .tickets-uploader .files-wrapper > label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 64px !important;
  padding: 16px 18px !important;
  border-radius: 12px !important;
  border: 0.5px solid var(--border) !important;
  background: var(--surface-muted) !important;
  color: var(--text-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  align-self: stretch !important;
}

@media (max-width: 700px) {
  .cc-page .tickets-uploader.cc-uploader-enhanced .files-wrapper {
    grid-template-columns: 1fr;
  }
}

.cc-page .tickets-uploader .cc-attach-facade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 64px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  order: -1;
}

.cc-page .tickets-uploader .cc-attach-facade:hover {
  border-color: var(--brand);
}

.cc-page .tickets-uploader .cc-attach-facade img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.cc-page .tickets-uploader .cc-attach-previews {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  order: 2;
}

.cc-page .tickets-uploader .cc-attach-previews.has-files {
  display: flex;
}

.cc-page .tickets-uploader .cc-attach-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  flex-shrink: 0;
}

.cc-page .tickets-uploader .cc-attach-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-page .tickets-uploader .cc-attach-preview-item.is-file {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: auto;
  min-width: 80px;
  max-width: 160px;
  height: auto;
  min-height: 48px;
}

.cc-page .tickets-uploader .cc-attach-preview-item.is-file span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  word-break: break-word;
  text-align: center;
  line-height: 1.3;
}

.cc-history {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cc-history-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.cc-history-search-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.75;
}

.cc-history-search input,
.cc-history-search input.form-control {
  flex: 1 1 auto;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
  line-height: 1.4;
}

.cc-history-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-height: 560px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.cc-ticket-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 88px 148px;
  align-items: start;
  column-gap: 20px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-ticket-row:hover {
  border-color: rgba(96, 96, 171, 0.45);
  box-shadow: 0 4px 16px rgba(96, 96, 171, 0.08);
  text-decoration: none;
  color: inherit;
}

.cc-ticket-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cc-ticket-col--id {
  flex-shrink: 0;
}

.cc-ticket-col--subject {
  min-width: 0;
}

.cc-ticket-col--status {
  flex-shrink: 0;
  align-items: flex-start;
  text-align: left;
}

.cc-ticket-col--date {
  flex-shrink: 0;
  align-items: flex-end;
  text-align: right;
}

.cc-ticket-label {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cc-ticket-value {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cc-ticket-value--accent {
  color: var(--brand);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.cc-ticket-unread {
  position: absolute;
  top: -12px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(
    128deg,
    #9da8dc 8.2%,
    #6060ab 53.43%,
    #41436e 99.2%
  );
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.2),
    0 24px 16px rgba(0, 0, 0, 0.08);
}

.cc-chat-card,
.cc-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.cc-chat-title-bar,
.cc-info-title-bar {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 8px 8px 8px 20px;
  border-radius: 14px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.cc-chat-title {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.cc-chat-subtitle,
.cc-info-lead {
  margin: 4px 0 0;
  color: #6b6b6b;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.cc-info-lead {
  margin: 0;
}

.cc-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 32px 20px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.cc-msg {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.cc-msg--user {
  justify-content: flex-end;
  gap: 24px;
}

.cc-msg-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 0.5px solid var(--brand);
  background: var(--surface);
  overflow: hidden;
}

.cc-msg-avatar--user {
  width: 40px;
  height: 40px;
}

.cc-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-msg-avatar-letter {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: lowercase;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cc-msg-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.cc-msg--user .cc-msg-body {
  align-items: flex-end;
}

.cc-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.cc-msg-author {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cc-msg-time {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
}

.cc-msg-bubble {
  max-width: min(500px, 100%);
  padding: 16px 20px;
  border-radius: 12px;
  box-sizing: border-box;
}

.cc-msg-bubble--support {
  border: 1px solid var(--brand);
  background: var(--surface-muted);
  color: #020618;
}

.cc-msg-bubble--user {
  width: 80%;
  max-width: 80%;
  background: var(--text-grad);
  color: var(--white);
}

.cc-msg-bubble p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.cc-msg-bubble--user p {
  font-weight: 500;
}

.cc-msg-bubble p + p {
  margin-top: 0;
}

.cc-msg-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.cc-msg-files a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  word-break: break-word;
  text-decoration: underline;
}

.cc-msg-bubble--user .cc-msg-files a {
  color: #fff;
}

.cc-msg-bubble--user .cc-msg-files a:hover {
  color: #fff;
  opacity: 0.9;
}

.cc-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  box-sizing: border-box;
}

.cc-info-label {
  margin: 0;
  color: #6b6b6b;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.cc-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 60%;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-info-badge--id {
  border-color: #f59a2a;
  background: rgba(245, 154, 42, 0.12);
  color: #f59a2a;
}

.cc-info-badge--subject {
  border-color: #3d4f8f;
  background: rgba(61, 79, 143, 0.1);
  color: #3d4f8f;
}

.cc-info-badge--status {
  border-color: #22a05a;
  background: rgba(34, 160, 90, 0.1);
  color: #1f8a4c;
}

.cc-info-badge--pending {
  border-color: #d97706;
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.cc-info-badge--answered {
  border-color: var(--brand);
  background: rgba(96, 96, 171, 0.1);
  color: var(--brand);
}

.cc-info-badge--closed {
  border-color: #e36a6a;
  background: rgba(227, 106, 106, 0.12);
  color: #e36a6a;
}

.cc-info-badge--priority {
  border-color: #9b1c2e;
  background: rgba(155, 28, 46, 0.1);
  color: #9b1c2e;
}

.cc-info-badge--department {
  border-color: #2bb8c8;
  background: rgba(43, 184, 200, 0.12);
  color: #2bb8c8;
}

.cc-info-badge--response {
  border-color: #22a05a;
  background: rgba(34, 160, 90, 0.12);
  color: #1f8a4c;
}

.cc-info-note {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(96, 96, 171, 0.25);
  background: rgba(96, 96, 171, 0.06);
}

.cc-info-note-title {
  margin: 0 0 6px;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.cc-info-note-text {
  margin: 0;
  color: #4a4a4a;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.cc-page[data-cc-mode="history"] .af-side-card {
  flex: 0 1 650px;
  max-width: 650px;
}

.cc-history-table {
  min-width: 0;
}

.cc-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.cc-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(96, 96, 171, 0.1);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.cc-pagination li a:hover {
  background: rgba(96, 96, 171, 0.18);
  color: var(--brand);
  text-decoration: none;
}

.cc-pagination li.active a {
  background: var(--gradient-brand);
  color: var(--white);
}

@media (max-width: 1100px) {
  .cc-ticket-row {
    grid-template-columns: 56px minmax(0, 1fr) 72px 120px;
    column-gap: 12px;
    padding: 14px 16px;
  }

  .cc-ticket-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
  }

  .cc-ticket-value--time {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .cc-ticket-grid {
    grid-template-columns: 1fr;
  }

  .cc-history-list {
    max-height: 480px;
  }
}

.cc-page .af-side-tabs .no-card-tab {
  white-space: nowrap;
}

/* Mass Order page */
.ms-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ms-form {
  gap: 24px;
}

.ms-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ms-form .af-field-group {
  gap: 12px;
}

.ms-form .cc-message-wrap textarea.form-control,
.ms-form .cc-message-wrap .cc-message {
  height: 200px;
  min-height: 200px;
}

.ms-side-card .af-side-tabs .no-card-tab {
  pointer-events: none;
  cursor: default;
}

.ms-instruction-box {
  width: 100%;
}

/* Child Panel page */
.cp-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cp-welcome-icon {
  width: 249px;
  height: 140px;
  right: 41px;
  object-fit: contain;
}

/* Affiliates page */
.ab-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ab-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  width: 100%;
}

.ab-stat-card {
  position: relative;
  min-height: 202px;
  padding: 21px 28px 28px 20px;
  box-sizing: border-box;
  background: url("https://my-smmgrower-com.ahmad-iftekhar2004.workers.dev/afiiliates/affiliates-card-bg.svg")
    center / 100% 100% no-repeat;
  overflow: hidden;
}

.ab-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 0.5px solid rgba(204, 204, 204, 0.16);
  background: rgba(204, 204, 204, 0.32);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-sizing: border-box;
}

.ab-stat-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ab-stat-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 28px;
  min-width: 0;
  width: 100%;
}

.ab-stat-label {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.ab-stat-value {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.48px;
  word-break: break-word;
}

.ab-stat-value--link {
  font-size: 22px;
}

.ab-payout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--gradient-brand);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.ab-payout-btn:hover {
  color: var(--white);
  opacity: 0.92;
}

.ab-payments-card {
  width: 100%;
}

/* Giveaway page */
.gw-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gw-tasks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.gw-task-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 280px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.gw-task-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 48px;
  overflow: hidden;
}

.gw-task-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gw-task-logo .gw-logo-dark {
  display: none;
}

[data-theme="dark"] .gw-task-logo .gw-logo-light {
  display: none;
}

[data-theme="dark"] .gw-task-logo .gw-logo-dark {
  display: block;
}

.gw-task-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.gw-task-title {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.gw-task-reward {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  background: linear-gradient(
    145deg,
    #4b4c88 8.2%,
    #6b6dc0 53.43%,
    #6060ab 99.2%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gw-task-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--gradient-brand);
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.2),
    0 24.721px 16.129px rgba(0, 0, 0, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  box-sizing: border-box;
}

.gw-task-btn:hover,
.gw-task-btn:focus,
.gw-task-btn:active {
  color: var(--white);
  opacity: 0.94;
  text-decoration: none;
}

.gw-participate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 60px;
  border-radius: 24px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.gw-participate-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 416px;
  text-align: center;
}

.gw-participate-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.48px;
  text-transform: capitalize;
  background: linear-gradient(
    169deg,
    #4b4c88 8.2%,
    #6b6dc0 53.43%,
    #6060ab 99.2%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gw-participate-sub {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.gw-steps {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.gw-step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 1 0;
  width: auto;
  max-width: 324px;
  min-width: 0;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--brand);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.gw-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--surface);
  box-sizing: border-box;
}

.gw-step-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.gw-step-label {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.gw-step-connector {
  display: flex;
  flex: 1 1 80px;
  align-items: center;
  align-self: center;
  gap: 2px;
  width: auto;
  max-width: 210px;
  min-width: 48px;
  height: 11px;
}

.gw-step-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c8083d;
  flex-shrink: 0;
}

.gw-step-line {
  display: block;
  flex: 1 1 auto;
  width: auto;
  height: 2px;
  min-width: 12px;
  border: none;
  border-radius: 0;
  background: repeating-linear-gradient(
    90deg,
    #c8083d 0 5px,
    transparent 5px 10px
  );
}

.gw-how {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.gw-how-header {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 20px 28px;
  background: var(--brand);
  border-radius: 16px 16px 0 0;
  box-sizing: border-box;
}

.gw-how-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.gw-how-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin: 20px 28px 28px;
  padding: 30px 20px;
  box-sizing: border-box;
  background: var(--page-bg);
  border: 1px solid var(--brand);
  border-radius: 24px;
}

.gw-how-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.gw-how-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

.gw-how-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.gw-rules-title {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.gw-rules-lead {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.gw-rules-text {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.api-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.api-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.api-section-header {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 21px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #6060ab 0%, #262640 100%);
  box-sizing: border-box;
}

.api-section-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.api-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.api-type-params {
  display: none;
}

.api-type-params.is-active {
  display: grid !important;
}

.api-cell {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  box-sizing: border-box;
}

.api-cell--label {
  background: var(--surface);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.api-cell--value {
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

.api-link {
  color: var(--brand);
  text-decoration: none;
}

.api-link:hover {
  text-decoration: underline;
}

.api-type-select {
  margin: 0;
  max-width: 420px;
}

.api-type-select .af-select-wrap {
  width: 100%;
}

.api-type-params[hidden] {
  display: none !important;
}

.api-type-select .form-control,
.api-type-select select {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.api-example {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.api-example-title {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.api-code {
  margin: 0;
  padding: 20px 28px;
  border: 1px solid var(--brand);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  box-sizing: border-box;
}

.api-php-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--surface);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.api-php-link:hover,
.api-php-link:focus,
.api-php-link:active {
  background: var(--surface);
  color: var(--brand);
  text-decoration: none;
  border-color: var(--brand);
}

.cp-form {
  gap: 24px;
}

.cp-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-form .af-field-group {
  gap: 12px;
}

.cp-side-card .af-side-tabs .no-card-tab {
  pointer-events: none;
  cursor: default;
}

.cp-ns-box {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.cp-ns-title {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
}

.cp-ns-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cp-ns-list li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0.85;
}

.cp-instruction-box {
  width: 100%;
}

.cp-panels-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.cp-panels-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}

.cp-panels-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
}

.cp-panels-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  white-space: nowrap;
}

.cp-panels-table .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--surface-muted);
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.cp-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Services page */
.sv-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sv-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-sizing: border-box;
}

.sv-toolbar-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  border: 0.4px solid rgba(96, 96, 171, 0.5);
  background: var(--surface);
  flex-shrink: 0;
}

.sv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
}

.sv-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.sv-chip-chevron {
  width: 12px !important;
  height: 7px !important;
  margin-left: 0;
}

.sv-chip--gradient {
  background: var(--gradient-brand);
  color: var(--white);
}

.sv-chip--gradient img {
  color: var(--white);
}

.sv-chip--muted {
  background: var(--surface-muted);
  color: var(--text-dark);
}

.sv-filter-dropdown,
.sv-currency-dropdown {
  position: relative;
}

.sv-filter-dropdown .dropdown-menu,
.sv-currency-dropdown .dropdown-menu,
.sv-filter-dropdown .sv-dropdown-menu,
.sv-currency-dropdown .sv-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 200px;
  margin: 0;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(32, 32, 32, 0.08);
  padding: 8px;
  list-style: none;
}

.sv-filter-dropdown .dropdown-menu,
.sv-filter-dropdown .sv-dropdown-menu {
  width: 420px;
  max-width: min(420px, calc(100vw - 48px));
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sv-filter-dropdown.is-open .dropdown-menu,
.sv-currency-dropdown.is-open .dropdown-menu,
.sv-filter-dropdown.is-open .sv-dropdown-menu,
.sv-currency-dropdown.is-open .sv-dropdown-menu {
  display: block;
}

.sv-filter-dropdown .dropdown-menu > li > a,
.sv-currency-dropdown .dropdown-menu > li > a,
.sv-filter-dropdown .sv-dropdown-menu > li > a,
.sv-currency-dropdown .sv-dropdown-menu > li > a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.sv-filter-dropdown .dropdown-menu > li > a,
.sv-filter-dropdown .sv-dropdown-menu > li > a {
  white-space: normal;
  align-items: flex-start;
  line-height: 1.4;
}

.sv-filter-dropdown .sv-filter-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1 1 auto;
}

.sv-filter-dropdown .sv-filter-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.sv-filter-dropdown .dropdown-menu > li > a:hover,
.sv-currency-dropdown .dropdown-menu > li > a:hover,
.sv-filter-dropdown .sv-dropdown-menu > li > a:hover,
.sv-currency-dropdown .sv-dropdown-menu > li > a:hover,
.sv-filter-dropdown .dropdown-menu > li.active > a,
.sv-currency-dropdown .dropdown-menu > li.active > a {
  background: var(--surface-muted);
  color: var(--brand);
}

.sv-chip.dropdown-toggle::after {
  display: none;
}

.sv-search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  background: var(--surface-muted);
  box-sizing: border-box;
}

.sv-search-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.sv-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}

.sv-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.sv-table-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-sizing: border-box;
}

.sv-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sv-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  table-layout: fixed;
}

.sv-table th,
.sv-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  box-sizing: border-box;
}

.sv-table thead {
  background: var(--brand);
}

.sv-table thead th {
  height: 70px;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  background: var(--brand);
  white-space: nowrap;
  border-bottom: none;
}

.sv-table thead th:first-child {
  padding-left: 32px;
  border-top-left-radius: 16px;
}

.sv-table thead th:last-child {
  padding-right: 16px;
  border-top-right-radius: 16px;
}

.sv-col-id {
  width: 12%;
}

.sv-col-service {
  width: 30%;
}

.sv-col-rate {
  width: 12%;
}

.sv-col-num {
  width: 10%;
}

.sv-col-avg {
  width: 16%;
}

.sv-col-desc {
  width: 14%;
  text-align: center;
}

.sv-table thead th.sv-col-desc,
.sv-table tbody td.sv-col-desc {
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}

.sv-table--no-avg .sv-col-service {
  width: 46%;
}

.sv-table tbody td {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--table-text);
  background: var(--table-row-bg);
  border-bottom: 0.5px solid var(--table-border);
}

.sv-table tbody td.sv-col-id {
  padding-left: 32px;
  color: #848484;
  font-weight: 500;
}

.sv-id-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sv-id-text {
  color: #848484;
}

.sv-table tbody tr:not(.sv-category-row):hover td {
  background: #fafafa;
}

.sv-category-row td {
  padding: 10px 32px !important;
  background: var(--surface) !important;
  border-bottom: 0.5px solid var(--border) !important;
}

.sv-category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 10px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.sv-category-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sv-category-left strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
}

.sv-category-platform {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.sv-category-globe {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.sv-category-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 4px;
  border: 0.5px solid var(--brand);
  background: var(--white);
  box-sizing: border-box;
  flex-shrink: 0;
}

.sv-category-chevron img {
  width: 9px;
  height: 5px;
  transition: transform 0.2s ease;
}

.sv-category-row.is-open .sv-category-chevron img {
  transform: rotate(180deg);
}

.sv-table tbody tr.sv-service-hidden,
.sv-table tbody tr.sv-platform-hidden {
  display: none;
}

.sv-service-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sv-tags[hidden] {
  display: none !important;
}

.sv-tag {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 4px;
  border: 0.5px solid transparent;
  background: #f3f3f3;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: #6060ab;
  white-space: nowrap;
}

.sv-service-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sv-service-name img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.sv-service-name span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-col-rate {
  font-weight: 600;
}

.sv-avg {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

.sv-avg span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-dark);
}

.sv-avg-chevron {
  margin-top: 4px;
  flex-shrink: 0;
  opacity: 0.7;
}

.sv-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.sv-view-btn:hover {
  background: var(--brand);
  color: var(--white);
}

/* Service details modal — screenshot layout, project brand colors */
.sv-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.sv-modal[hidden] {
  display: none !important;
}

.sv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 43, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sv-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 20px 56px rgba(17, 16, 43, 0.28);
  overflow: hidden;
}

.sv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px 16px 12px 20px;
  background: var(--brand);
  box-sizing: border-box;
}

.sv-modal-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

.sv-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.sv-modal-close:hover {
  background: rgba(255, 255, 255, 0.34);
}

.sv-modal-close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.sv-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 10px;
  overflow: hidden;
  background: var(--surface);
}

.sv-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sv-modal-stat,
.sv-modal-desc {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 0.5px solid var(--border);
  box-sizing: border-box;
  min-height: 70px;
}

.sv-modal-stat-label,
.sv-modal-desc-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #848484;
}

.sv-modal-stat-value {
  margin: 0;
  min-height: 1.25em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  word-break: break-word;
}

.sv-modal-desc {
  display: flex;
  flex-direction: column;
  height: 340px;
  max-height: 340px;
  min-height: 340px;
  padding: 14px 16px;
  overflow: hidden;
}

.sv-modal-desc-label {
  margin-bottom: 8px;
  flex-shrink: 0;
}

.sv-modal-desc-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-dark);
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

.sv-modal-desc-content::-webkit-scrollbar {
  width: 4px;
}

.sv-modal-desc-content::-webkit-scrollbar-track {
  background: transparent;
}

.sv-modal-desc-content::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

.sv-modal-desc-content::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.sv-modal-desc-content p {
  margin: 0 0 4px;
}

.sv-modal-desc-content p:last-child {
  margin-bottom: 0;
}

.sv-modal-desc-content strong {
  font-weight: 600;
}

.sv-modal-desc-content ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.sv-modal-desc-content li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 7px;
  line-height: 1.45;
}

.sv-modal-desc-content li:last-child {
  margin-bottom: 0;
}

.sv-modal-desc-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  background: url("../images/service/shield-icon.svg") center / contain no-repeat;
}

.sv-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px 18px;
  background: var(--surface);
}

.sv-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.sv-modal-btn:hover {
  opacity: 0.9;
}

.sv-modal-btn--close {
  background: var(--brand);
  color: var(--white);
}

.sv-modal-btn--order {
  background: var(--brand-dark);
  color: var(--white);
}

body.sv-modal-open {
  overflow: hidden;
}

.sv-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #c4c4c4;
  line-height: 1;
  flex-shrink: 0;
}

.sv-fav-btn .fa-star,
.sv-fav-btn [data-favorite-icon] {
  font-size: 14px;
}

.sv-fav-btn.favorite-active,
.sv-fav-btn .favorite-active {
  color: #f5b400;
}

/* Mobile overlay */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

/* Responsive — shared shell + New Order mobile (Figma 4442:43199) */
@media (max-width: 1400px) {
  .no-order-row,
  .af-main-row {
    grid-template-columns: 1fr;
  }

  .no-promo-card,
  .no-card--details,
  .af-side-card {
    max-width: 100%;
  }

  .no-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Compact content layout (Figma mobile cards) */
  .no-page,
  .af-page,
  .ms-page,
  .cp-page,
  .ab-page,
  .gw-page,
  .api-page,
  .db-page,
  .ac-page,
  .nt-page,
  .fq-page,
  .mo-page,
  .up-page,
  .db-page,
  .sv-page,
  .cc-page {
    gap: 16px;
  }

  .cc-page[data-cc-mode="history"] .af-side-card {
    flex: 1 1 auto;
    max-width: none;
  }

  .cc-ticket-row {
    grid-template-columns: 56px minmax(0, 1fr);
    row-gap: 12px;
    padding-top: 20px;
  }

  .cc-ticket-col--status,
  .cc-ticket-col--date {
    align-items: flex-start;
    text-align: left;
  }

  .cc-ticket-col--date {
    grid-column: 1 / -1;
  }

  .cc-chat-thread {
    min-height: 220px;
    max-height: 360px;
    padding: 20px 14px;
  }

  .cc-msg {
    gap: 12px;
  }

  .no-hero-row {
    flex-direction: column;
    gap: 12px;
  }

  .no-welcome-card,
  .no-promo-slider-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .no-welcome-card {
    height: 93px;
    border-radius: 12px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .no-welcome-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    margin: 0 0 6px;
    max-width: calc(100% - 130px);
  }

  .no-welcome-sub {
    font-size: 8px;
    font-weight: 500;
    line-height: 1.5;
    max-width: calc(100% - 130px);
  }

  .no-welcome-sub + .no-welcome-sub {
    margin-top: 2px;
  }

  .no-welcome-trophy,
  .af-welcome-card .af-welcome-icon {
    width: 115px;
    height: 65px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .no-promo-slider-wrap,
  .no-promo-card {
    height: 93px;
  }

  .no-promo-slider .swiper-slide {
    height: 93px;
  }

  .no-promo-card {
    padding: 16px 18px;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .no-promo-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 7px;
    max-width: calc(100% - 80px);
  }

  .no-promo-text {
    font-size: 8px;
    line-height: 1.5;
    max-width: calc(100% - 80px);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .no-promo-icon {
    width: 65px;
    height: 62px;
    border-radius: 15px;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 12px;
  }

  .no-promo-icon img {
    width: 40px;
    height: 40px;
  }

  .no-stats-row {
    gap: 12px;
    padding-top: 0;
  }

  .no-stat-card {
    height: auto;
    aspect-ratio: 373 / 232;
    min-height: 121px;
    container-type: inline-size;
    padding: clamp(12px, 8%, 28px) clamp(12px, 5%, 20px) clamp(10px, 6%, 20px);
  }

  .no-stat-value {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 4px;
    letter-spacing: 0;
  }

  .no-stat-label {
    font-size: 8px;
    line-height: 1.5;
    margin: 0 0 6px;
  }

  .no-stat-link {
    font-size: 10px;
    margin-top: auto;
  }

  .no-stat-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .ab-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .gw-tasks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gw-task-card {
    min-height: 240px;
    padding: 24px;
    gap: 24px;
    border-radius: 16px;
  }

  .gw-participate {
    padding: 32px 20px;
    gap: 28px;
  }

  .gw-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .gw-step-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .gw-step-connector {
    flex: 0 0 auto;
    flex-direction: column;
    width: 11px;
    max-width: 11px;
    min-width: 11px;
    height: 56px;
    min-height: 56px;
    margin: 0 auto;
    transform: none;
  }

  .gw-step-line {
    width: 2px;
    height: auto;
    min-width: 0;
    min-height: 12px;
    flex: 1 1 auto;
    background: repeating-linear-gradient(
      180deg,
      #c8083d 0 5px,
      transparent 5px 10px
    );
  }

  .gw-how-body {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 16px 16px 20px;
    padding: 24px 16px;
  }

  .api-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .db-bottom-row {
    flex-direction: column;
  }

  .db-profile-col {
    flex: 1 1 auto;
    max-width: none;
  }

  .db-levels-scroll {
    overflow-x: auto;
  }

  .db-levels-table {
    min-width: 900px;
  }

  .db-meta-row {
    grid-template-columns: 1fr;
  }

  .db-meta-wrap,
  .db-status-card {
    border-radius: 20px;
    padding: 16px;
  }

  .db-status-rank-label {
    font-size: 20px;
  }

  .db-tier-header-status,
  .db-tier-name {
    width: auto;
    min-width: 72px;
  }

  .db-tier-header-discount,
  .db-tier-discount {
    width: auto;
    min-width: 56px;
  }

  .db-tier-header-support,
  .db-tier-support {
    width: auto;
    min-width: 40px;
  }

  .db-tier-header-right,
  .db-tier-row-right {
    gap: 12px;
  }



  .api-section-header {
    min-height: 56px;
    padding: 16px 18px;
    border-radius: 12px;
  }

  .api-section-title {
    font-size: 18px;
  }

  .api-cell {
    min-height: 48px;
    padding: 12px 16px;
  }

  .api-code {
    padding: 16px 18px;
    font-size: 14px;
    border-radius: 12px;
  }

  .gw-how-visual {
    min-height: 0;
  }

  .ab-stat-card {
    min-height: 160px;
    padding: 16px 18px 20px;
  }

  .ab-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .ab-stat-icon img {
    width: 26px;
    height: 26px;
  }

  .ab-stat-body {
    margin-top: 18px;
    gap: 6px;
  }

  .ab-stat-label {
    font-size: 14px;
  }

  .ab-stat-value,
  .ab-stat-value--link {
    font-size: 18px;
  }

  .no-stat-icon img {
    width: 16px;
    height: 16px;
  }

  @container (min-width: 280px) {
    .no-stat-value {
      font-size: 18px;
    }

    .no-stat-label {
      font-size: 12px;
    }

    .no-stat-link {
      font-size: 13px;
    }

    .no-stat-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 12px;
    }

    .no-stat-icon img {
      width: 22px;
      height: 22px;
    }
  }

  .no-notice {
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 12px;
  }

  .no-platforms {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .no-platforms-row {
    display: contents;
  }

  .no-platform-btn {
    position: relative;
    min-height: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 12px;
    gap: 0;
  }

  .no-platform-label {
    display: none;
  }

  .no-platform-icon {
    width: 22px;
    height: 22px;
  }

  .no-platform-icon img {
    width: 28px;
    height: 28px;
  }

  .no-promo-slider-wrap {
    overflow: visible;
    padding-bottom: 2px;
  }

  .no-promo-pagination,
  .no-promo-slider-wrap
    > .swiper-pagination.no-promo-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    min-width: 24px;
    min-height: 10px;
    gap: 5px;
    padding: 1px 2px;
    bottom: 2px !important;
  }

  .no-promo-pagination .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    outline-width: 1.5px;
    outline-offset: 0.5px;
  }

  .no-order-row,
  .af-main-row {
    gap: 16px;
  }

  .no-card {
    padding: 16px;
    border-radius: 16px;
  }

  .no-card-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    margin-bottom: 16px;
  }

  .no-card-title {
    font-size: 16px;
  }

  .no-card-tabs {
    width: 100%;
  }

  .no-card-tab {
    flex: 1 1 0;
    justify-content: center;
    font-size: 13px;
    padding: 8px 10px;
  }

  .no-submit-btn,
  .no-form .btn-primary {
    width: 100%;
    min-height: 58px;
    margin-top: 4px;
    font-size: 16px;
    padding: 8px 16px;
  }

  .no-form #fields {
    gap: 12px;
  }

  .sv-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .sv-toolbar-filters {
    width: 100%;
    justify-content: space-between;
  }
}

@media (min-width: 993px) {
  .mo-page .mo-filters-track,
  .df-page .mo-filters-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 2px;
  }

  .mo-page .mo-filter,
  .df-page .mo-filter {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    font-size: 14px;
  }

  .mo-page .mo-filter img,
  .df-page .mo-filter img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
}

@media (min-width: 1401px) {
  .mo-filters-track {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .mo-filter {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    justify-content: center;
    padding: 8px 12px;
    font-size: 15px;
  }

  .mo-filter img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
}

@media (min-width: 1600px) {
  .mo-filters-track {
    overflow: hidden;
  }

  .mo-filter {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 16px;
    font-size: 16px;
  }

  .mo-filter span {
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .mo-filter img {
    width: 24px;
    height: 24px;
  }

  .mo-table {
    min-width: 0;
  }
}

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

  .dashboard-sidebar.is-mobile-open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin: 0 !important;
    border-radius: 0;
    background: transparent;
    min-height: 100vh;
    max-height: 100vh;
    box-shadow: none;
  }

  .dashboard-header {
    background: #1f2248;
    border-bottom: none;
    border-radius: 0;
    padding: 14px 20px;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 70;
  }

  .dashboard-page-icon,
  .dashboard-page-title,
  .dashboard-date {
    display: none;
  }

  .dashboard-header-left {
    gap: 0;
  }

  .dashboard-header-right {
    gap: 6px;
  }

  .header-btn {
    width: 24px;
    height: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .header-btn img {
    width: 12px;
    height: 12px;
  }

  .header-pill {
    height: 24px;
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
    box-shadow: none;
  }

  .header-pill-wallet-icon {
    width: 18px;
    height: 18px;
  }

  .header-pill-wallet-icon img {
    width: 10px;
    height: 10px;
  }

  .header-pill-text {
    font-size: 10px;
    padding-right: 4px;
  }

  .header-pill-avatar {
    width: 18px;
    height: 18px;
  }

  .header-pill-chevron {
    width: 8px;
    height: 5px;
    margin-right: 4px;
  }

  .header-pill--profile {
    padding-right: 4px;
  }

  .dashboard-content {
    border-radius: 28px 28px 0 0;
    background: var(--page-bg);
    padding: 20px;
    min-height: calc(100vh - 70px);
  }

  .sidebar-backdrop.is-visible {
    display: block;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .af-form-card,
  .af-side-card,
  .sv-table-card,
  .mo-table-card,
  .mo-search-card,
  .mo-filters-card {
    border-radius: 16px;
    padding: 16px;
  }

  .cc-card-title-bar {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
    height: auto;
    padding: 12px;
    margin-bottom: 16px;
  }

  .cc-card-title {
    font-size: 16px;
  }

  .af-side-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .af-side-tabs .no-card-tab {
    flex: 1 1 0;
    justify-content: center;
    font-size: 13px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .sv-modal-btn {
    width: 100%;
  }

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

  .af-side-tabs,
  .af-support-bar {
    flex-wrap: wrap;
  }

  .no-details-row {
    grid-template-columns: 1fr;
  }

  .sv-table {
    min-width: 980px;
  }

  .mo-search-card,
  .mo-filters-card {
    padding: 16px;
    border-radius: 16px;
  }

  .mo-page .mo-filters-track,
  .df-page .mo-filters-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  .mo-page .mo-filter,
  .df-page .mo-filter {
    flex: none;
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 10px 12px;
    font-size: 14px;
  }

  .mo-page .mo-filter img,
  .df-page .mo-filter img {
    width: 22px;
    height: 22px;
  }

  .mo-table {
    min-width: 980px;
  }

  .mo-table th,
  .mo-table td {
    padding: 12px 14px;
  }

  .mo-table thead th {
    font-size: 14px;
    height: 56px;
  }

  .mo-table tbody td {
    height: 64px;
    font-size: 13px;
  }

  .cc-hero-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .dashboard-content {
    padding: 16px;
    border-radius: 24px 24px 0 0;
  }

  .api-grid,
  .api-type-params.is-active {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    padding: 12px 16px;
  }

  .no-welcome-sub {
    max-width: calc(100% - 130px);
  }

  .no-platforms {
    gap: 6px;
  }

  .no-platform-btn {
    padding: 6px;
  }

  .af-methods-grid {
    grid-template-columns: 1fr;
  }

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

  .ab-stat-card {
    min-height: 140px;
  }

  .gw-tasks-grid {
    grid-template-columns: 1fr;
  }

  .gw-step-label {
    white-space: normal;
  }

  .gw-step-card {
    padding: 24px;
  }

  .af-method-label {
    font-size: 16px;
  }

  .af-quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .af-field-label,
  .no-field-label {
    font-size: 15px;
  }

  .af-input-wrap .form-control,
  .af-select-wrap .af-select,
  .af-select-wrap .form-control {
    height: 52px;
    font-size: 14px;
  }

  .mo-page,
  .up-page,
  .db-page,
  .ac-page,
  .nt-page,
  .fq-page,
  .sv-page,
  .ms-page,
  .cp-page,
  .af-page,
  .cc-page,
  .api-page,
  .no-page {
    gap: 14px;
  }

  .mo-search-field {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .mo-search-input,
  .sv-search-input {
    font-size: 14px;
  }

  .mo-filters-card {
    padding: 12px;
  }

  .mo-page .mo-filters-track,
  .df-page .mo-filters-track {
    gap: 8px;
  }

  .mo-page .mo-filter,
  .df-page .mo-filter {
    height: 40px;
    gap: 8px;
    font-size: 13px;
    padding: 8px 10px;
    justify-content: center;
  }

  .mo-page .mo-filter img,
  .df-page .mo-filter img {
    width: 20px;
    height: 20px;
  }

  .mo-table-card,
  .sv-table-card {
    border-radius: 12px;
  }

  .mo-status,
  .mo-action-btn {
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .sv-chip {
    height: 36px;
    font-size: 14px;
    padding: 6px 12px;
  }

  .sv-search {
    height: 48px;
    padding: 12px 14px;
  }

  .cc-hero-list {
    font-size: 11px;
    white-space: normal;
  }

  .cc-card-title-bar {
    min-height: 56px;
    padding-left: 12px;
  }

  .cc-attach {
    height: auto;
    min-height: 52px;
    white-space: normal;
    text-align: left;
  }

  .ms-form .cc-message-wrap textarea.form-control {
    min-height: 160px;
    height: 160px;
  }
}

@media (max-width: 560px) {
  .sv-modal {
    padding: 12px;
  }

  .sv-modal-grid {
    grid-template-columns: 1fr;
  }

  .sv-modal-footer {
    flex-direction: column-reverse;
  }

  .sv-modal-btn {
    width: 100%;
  }

  .no-platforms {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .no-promo-pagination,
  .no-promo-slider-wrap
    > .swiper-pagination.no-promo-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    min-width: 22px;
    min-height: 8px;
    gap: 4px;
    bottom: 1px !important;
  }

  .no-promo-pagination .swiper-pagination-bullet {
    width: 5px !important;
    height: 5px !important;
    outline-width: 1px;
    outline-offset: 0.5px;
  }
}

/* RTL */
.dashboard-body.rtl .dashboard-sidebar {
  left: auto;
  right: 0;
}

.dashboard-body.rtl .dashboard-main {
  margin: 20px 300px 20px 20px;
}

@media (max-width: 992px) {
  .dashboard-body.rtl .dashboard-main {
    margin: 0 !important;
  }
}

.dashboard-body.rtl.sidebar-collapsed .dashboard-main {
  margin-right: 114px;
}

.dashboard-body.rtl .dashboard-sidebar.is-collapsed .sidebar-collapse-btn {
  right: auto;
  left: -14px;
  transform: translateY(-50%) rotate(0deg);
}

.dashboard-body.rtl .no-search-wrap .input-wrapper button {
  left: auto !important;
  right: 18px !important;
}

.dashboard-body.rtl .no-search-wrap #template-input {
  padding-left: 18px !important;
  padding-right: 48px !important;
}

/* ========== Dark theme polish ========== */
[data-theme="dark"] body.dashboard-body {
  color: var(--text-primary);
}

[data-theme="dark"] .dashboard-page-title {
  color: #ffffff;
}

[data-theme="dark"] .dashboard-date {
  color: #dddddd;
}

[data-theme="dark"] .header-pill-text {
  color: #dddddd;
}

[data-theme="dark"] .header-btn[aria-label="Theme"] .theme-icon--sun {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .header-btn[aria-label="Theme"] .theme-icon--moon {
  filter: none;
}

.header-btn[aria-label="Theme"] .theme-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.header-btn[aria-label="Theme"] .theme-icon--moon[hidden],
.header-btn[aria-label="Theme"] .theme-icon--sun[hidden] {
  display: none !important;
}

[data-theme="dark"] .header-pill-chevron {
  filter: brightness(0) invert(0.85);
}

[data-theme="dark"] .header-dropdown-menu {
  background: #2d2d2d;
  border-color: rgba(204, 204, 204, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .header-dropdown-menu.header-profile-menu {
  background: #2d2d2d;
  border: 0.5px solid rgba(204, 204, 204, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .header-currency-menu li a {
  color: #ffffff;
}

[data-theme="dark"] .header-currency-menu li a:hover {
  background: rgba(96, 96, 171, 0.22);
  color: #ffffff;
}

[data-theme="dark"] .header-currency-menu li.active a {
  color: #9da8dc;
  background: rgba(96, 96, 171, 0.28);
}

[data-theme="dark"] .header-currency-symbol {
  color: #dddddd;
}

[data-theme="dark"] .header-currency-empty {
  color: #dddddd;
}

[data-theme="dark"] .header-profile-item {
  background: #2d2d2d;
  color: #ffffff;
  border-bottom-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .header-profile-item:hover {
  background: rgba(96, 96, 171, 0.22);
  color: #ffffff;
}

[data-theme="dark"] .header-profile-item:not(.header-profile-item--logout) img {
  filter: none;
  opacity: 1;
}

[data-theme="dark"] .header-profile-item--logout {
  background: var(--brand);
  color: #ffffff;
}

[data-theme="dark"] .header-profile-item--logout:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

[data-theme="dark"] .dashboard-date-icon {
  filter: brightness(0) invert(0.85);
}

/* Stat cards in dark theme: all cards use dark body; layers stay visible */
[data-theme="dark"] .no-stat-card .no-stat-card-layers {
  opacity: 1;
}

[data-theme="dark"] .no-stat-card .no-stat-card-bg--light {
  opacity: 0;
}

[data-theme="dark"] .no-stat-card .no-stat-card-bg--dark {
  opacity: 1;
}

[data-theme="dark"] .no-stat-card .no-stat-icon {
  background: rgba(250, 250, 250, 0.1);
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .no-stat-card .no-stat-value {
  color: #ffffff;
}

[data-theme="dark"] .no-stat-card .no-stat-label,
[data-theme="dark"] .no-stat-card .no-stat-link {
  color: #dddddd;
}

[data-theme="dark"] .no-stat-card .no-stat-icon img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .no-stat-card:hover .no-stat-card-bg--light,
[data-theme="dark"] .no-stat-card.is-hovered .no-stat-card-bg--light {
  opacity: 0;
}

[data-theme="dark"] .no-stat-card:hover .no-stat-card-bg--dark,
[data-theme="dark"] .no-stat-card.is-hovered .no-stat-card-bg--dark {
  opacity: 1;
}

[data-theme="dark"] .no-stat-card:hover .no-stat-icon,
[data-theme="dark"] .no-stat-card.is-hovered .no-stat-icon {
  background: rgba(250, 250, 250, 0.1);
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .no-stat-card:hover .no-stat-value,
[data-theme="dark"] .no-stat-card.is-hovered .no-stat-value {
  color: #ffffff;
}

[data-theme="dark"] .no-stat-card:hover .no-stat-label,
[data-theme="dark"] .no-stat-card:hover .no-stat-link,
[data-theme="dark"] .no-stat-card.is-hovered .no-stat-label,
[data-theme="dark"] .no-stat-card.is-hovered .no-stat-link {
  color: #dddddd;
}

[data-theme="dark"] .no-card-title,
[data-theme="dark"] .no-field-label,
[data-theme="dark"] .no-form .control-label {
  color: #ffffff;
}

[data-theme="dark"] .no-page .no-add-fund-link,
[data-theme="dark"] .no-page .no-add-fund-link:hover,
[data-theme="dark"] .no-page .no-add-fund-link:focus,
[data-theme="dark"] .no-page .no-card-tab:not(.is-active):not(.no-card-tab--gradient) {
  color: #ffffff;
}

[data-theme="dark"] .no-page .no-add-fund-link img,
[data-theme="dark"] .no-page .no-card-tab:not(.is-active) img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .no-field-input-wrap--select::after {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .no-details-tabs {
  background: var(--surface-muted);
}

[data-theme="dark"] .no-details-tab:not(.is-active) {
  color: #ffffff;
}

[data-theme="dark"] .no-instruction-box,
[data-theme="dark"] .no-instruction-note {
  background: var(--surface-muted);
  border-color: var(--border);
}

[data-theme="dark"] .no-instruction-item p {
  color: #dddddd;
}

[data-theme="dark"] .no-instruction-label,
[data-theme="dark"] .no-instruction-note p {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffffff;
}

[data-theme="dark"] .no-platform-btn.is-active,
[data-theme="dark"] .no-platform-btn:hover {
  color: #ffffff;
}

[data-theme="dark"] .mo-search-card,
[data-theme="dark"] .mo-filters-card {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
  border-radius: 16px;
  color: var(--text-primary);
}

[data-theme="dark"] .mo-page .mo-search-field,
[data-theme="dark"] .df-page .mo-search-field {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .mo-page .mo-filters-track,
[data-theme="dark"] .df-page .mo-filters-track {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border: 0.4px solid rgba(204, 204, 204, 0.16);
  border-radius: 12px;
  padding: 8px;
}

[data-theme="dark"] .mo-page .mo-filter:not(.is-active),
[data-theme="dark"] .df-page .mo-filter:not(.is-active) {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: transparent;
  color: #ffffff;
}

[data-theme="dark"] .mo-page .mo-filter.is-active,
[data-theme="dark"] .df-page .mo-filter.is-active,
[data-theme="dark"] .mo-page .mo-filter.is-active:hover,
[data-theme="dark"] .df-page .mo-filter.is-active:hover,
[data-theme="dark"] .mo-page .mo-filter.is-active:focus,
[data-theme="dark"] .df-page .mo-filter.is-active:focus {
  border: none;
  outline: none;
}

[data-theme="dark"] .mo-page .mo-filter img,
[data-theme="dark"] .df-page .mo-filter img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .mo-page .mo-table-card,
[data-theme="dark"] .df-page .mo-table-card {
  background: transparent;
  border-color: rgba(204, 204, 204, 0.16);
  border-radius: 28px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
  color: var(--text-primary);
}

[data-theme="dark"] .mo-page .mo-table tbody tr:nth-child(odd) td,
[data-theme="dark"] .df-page .mo-table tbody tr:nth-child(odd) td {
  background: rgba(45, 45, 45, 0.83);
}

[data-theme="dark"] .mo-page .mo-table tbody tr:nth-child(even) td,
[data-theme="dark"] .df-page .mo-table tbody tr:nth-child(even) td {
  background: rgba(45, 45, 45, 0.43);
}

[data-theme="dark"] .mo-page .mo-table tbody tr:hover td,
[data-theme="dark"] .df-page .mo-table tbody tr:hover td {
  background: rgba(250, 250, 250, 0.12);
}

[data-theme="dark"] .mo-page .mo-table tbody .mo-check,
[data-theme="dark"] .df-page .mo-table tbody .mo-check {
  border-color: #ffffff;
}

[data-theme="dark"] .mo-page .mo-table tbody .mo-copy-btn,
[data-theme="dark"] .df-page .mo-table tbody .mo-copy-btn {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

[data-theme="dark"] .mo-page .mo-table tbody .mo-copy,
[data-theme="dark"] .df-page .mo-table tbody .mo-copy {
  background-color: #ffffff;
}

[data-theme="dark"] .mo-page:not(.up-page) .mo-status,
[data-theme="dark"] .df-page .mo-status {
  background: rgba(45, 45, 45, 0.83);
  border-color: #6060ab;
  color: #dddddd;
}

[data-theme="dark"] .mo-page .mo-search-icon,
[data-theme="dark"] .df-page .mo-search-icon {
  filter: brightness(0) invert(0.85);
}

[data-theme="dark"] .af-card,
[data-theme="dark"] .cc-card,
[data-theme="dark"] .ac-card {
  background: var(--card-bg);
  border-color: var(--card-border);
  color: var(--text-primary);
}

[data-theme="dark"] .sv-toolbar {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
  color: var(--text-primary);
}

[data-theme="dark"] .sv-toolbar-filters {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .sv-chip--muted {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  color: #dddddd;
}

[data-theme="dark"] .sv-chip--muted img,
[data-theme="dark"] .sv-chip-chevron {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .sv-search {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .sv-search-icon {
  filter: brightness(0) invert(0.85);
}

[data-theme="dark"] .sv-table-card {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
  border-color: rgba(204, 204, 204, 0.16);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .sv-category-row td {
  background: transparent !important;
  border-bottom-color: #6060ab !important;
}

[data-theme="dark"] .sv-category-left strong {
  color: #dddddd;
}

[data-theme="dark"] .sv-category-chevron {
  background: var(--gradient-brand);
  border-color: #6060ab;
}

[data-theme="dark"] .sv-category-chevron img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .sv-view-btn {
  background: var(--gradient-brand);
  border-color: #6060ab;
  color: #ffffff;
}

[data-theme="dark"] .sv-view-btn:hover {
  background: var(--gradient-brand);
  color: #ffffff;
  opacity: 0.92;
}

[data-theme="dark"] .sv-tag {
  background: transparent;
  border: 0.5px solid #9da8dc;
  color: #ffffff;
}

[data-theme="dark"] .sv-service-name span,
[data-theme="dark"] .sv-avg span {
  color: #dddddd;
}

[data-theme="dark"] .ac-tabs-bar {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .ac-tabs-bar .no-card-tab {
  color: #ffffff;
}

[data-theme="dark"] .ac-tabs-bar .no-card-tab img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .ac-card {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .ac-card .no-card-header {
  background-color: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  background-image: none;
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .ac-input-leading img,
[data-theme="dark"] .ac-password-toggle img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .ac-info-box {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .ac-textarea,
[data-theme="dark"] .ac-readonly-span {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
  color: #dddddd;
}

[data-theme="dark"] .cp-page .af-form-card,
[data-theme="dark"] .cp-page .af-side-card,
[data-theme="dark"] .cp-page .cp-side-card,
[data-theme="dark"] .cp-page .no-card {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
  border-color: var(--card-border);
  color: var(--text-primary);
}

[data-theme="dark"] .cp-page .cp-ns-box,
[data-theme="dark"] .cp-page .cp-instruction-box,
[data-theme="dark"] .cp-page .af-instruction-box {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
  border-color: var(--card-border);
  color: var(--text-primary);
}

[data-theme="dark"] .sv-chip--gradient {
  background: var(--gradient-brand);
  color: #ffffff;
}

[data-theme="dark"] .sv-filter-dropdown .dropdown-menu,
[data-theme="dark"] .sv-currency-dropdown .dropdown-menu,
[data-theme="dark"] .sv-filter-dropdown .sv-dropdown-menu,
[data-theme="dark"] .sv-currency-dropdown .sv-dropdown-menu,
[data-theme="dark"] .dropdown-menu {
  background: var(--dropdown-bg);
  border: 0.5px solid var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .sv-filter-dropdown .dropdown-menu > li > a,
[data-theme="dark"] .sv-currency-dropdown .dropdown-menu > li > a,
[data-theme="dark"] .sv-filter-dropdown .sv-dropdown-menu > li > a,
[data-theme="dark"] .sv-currency-dropdown .sv-dropdown-menu > li > a {
  color: #ffffff;
}

[data-theme="dark"] .sv-filter-dropdown .dropdown-menu > li > a:hover,
[data-theme="dark"] .sv-currency-dropdown .dropdown-menu > li > a:hover,
[data-theme="dark"] .sv-filter-dropdown .sv-dropdown-menu > li > a:hover,
[data-theme="dark"] .sv-currency-dropdown .sv-dropdown-menu > li > a:hover,
[data-theme="dark"] .sv-filter-dropdown .dropdown-menu > li.active > a,
[data-theme="dark"] .sv-currency-dropdown .dropdown-menu > li.active > a,
[data-theme="dark"] .sv-filter-dropdown .dropdown-menu > li > a:focus,
[data-theme="dark"] .sv-currency-dropdown .dropdown-menu > li > a:focus,
[data-theme="dark"] .sv-filter-dropdown .sv-dropdown-menu > li > a:focus,
[data-theme="dark"] .sv-currency-dropdown .sv-dropdown-menu > li > a:focus {
  color: #ffffff;
  background: rgba(250, 250, 250, 0.08);
}

[data-theme="dark"] .sv-modal-dialog,
[data-theme="dark"] .sv-modal-body,
[data-theme="dark"] .sv-modal-footer {
  background: rgb(45, 45, 45);
}

[data-theme="dark"] .sv-modal-stat,
[data-theme="dark"] .sv-modal-desc {
  background: rgb(65, 65, 65);
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .sv-table tbody td.sv-col-id,
[data-theme="dark"] .mo-table tbody td {
  color: var(--table-text);
}

[data-theme="dark"] .sv-table tbody td.sv-col-id,
[data-theme="dark"] .sv-id-text {
  color: #dddddd;
}

[data-theme="dark"] .sv-table tbody tr:not(.sv-category-row):hover td {
  background: var(--surface-muted);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] input.form-control,
[data-theme="dark"] select.form-control,
[data-theme="dark"] textarea.form-control {
  background: var(--input-bg) !important;
  border-color: var(--input-border) !important;
  color: var(--input-text) !important;
}

[data-theme="dark"] .cc-page .cc-history-search {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .cc-page .cc-history-search input,
[data-theme="dark"] .cc-page .cc-history-search input.form-control {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #dddddd !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

[data-theme="dark"] .cc-page .cc-history-search input::placeholder,
[data-theme="dark"] .cc-page .cc-history-search input.form-control::placeholder {
  color: rgba(221, 221, 221, 0.7) !important;
}

[data-theme="dark"] .cc-page .cc-history-search-icon {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

[data-theme="dark"] .cc-page .cc-ticket-value--accent {
  color: #ffffff;
}

[data-theme="dark"] .cc-page .tickets-uploader .cc-attach-facade img,
[data-theme="dark"] .cc-page .cc-attach-icon {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .cc-page .cc-msg-author,
[data-theme="dark"] .vt-page .cc-msg-author {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffffff;
}

[data-theme="dark"] .cc-page .cc-info-card,
[data-theme="dark"] .vt-page .cc-info-card {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
  border-color: rgba(96, 96, 171, 0.2);
}

[data-theme="dark"] .cc-page .cc-info-title-bar,
[data-theme="dark"] .cc-page .cc-chat-title-bar,
[data-theme="dark"] .vt-page .cc-info-title-bar,
[data-theme="dark"] .vt-page .cc-chat-title-bar {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .cc-page .cc-chat-title,
[data-theme="dark"] .vt-page .cc-chat-title {
  color: #ffffff;
}

[data-theme="dark"] .cc-page .cc-info-lead,
[data-theme="dark"] .vt-page .cc-info-lead {
  color: #dddddd;
}

[data-theme="dark"] .cc-page .cc-info-row,
[data-theme="dark"] .vt-page .cc-info-row {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .cc-page .cc-info-label,
[data-theme="dark"] .vt-page .cc-info-label {
  color: #dddddd;
}

[data-theme="dark"] .cc-page .cc-info-badge--id,
[data-theme="dark"] .vt-page .cc-info-badge--id {
  border-color: #f59a2a;
  background: rgba(245, 154, 42, 0.18);
  color: #ffb14d;
}

[data-theme="dark"] .cc-page .cc-info-badge--subject,
[data-theme="dark"] .vt-page .cc-info-badge--subject {
  border-color: #9da8dc;
  background: rgba(157, 168, 220, 0.16);
  color: #c5ccef;
}

[data-theme="dark"] .cc-page .cc-info-badge--status,
[data-theme="dark"] .vt-page .cc-info-badge--status {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

[data-theme="dark"] .cc-page .cc-info-badge--pending,
[data-theme="dark"] .vt-page .cc-info-badge--pending {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  color: #fcd34d;
}

[data-theme="dark"] .cc-page .cc-info-badge--answered,
[data-theme="dark"] .vt-page .cc-info-badge--answered {
  border-color: #9da8dc;
  background: rgba(96, 96, 171, 0.28);
  color: #c5ccef;
}

[data-theme="dark"] .cc-page .cc-info-badge--closed,
[data-theme="dark"] .vt-page .cc-info-badge--closed {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.16);
  color: #fca5a5;
}

[data-theme="dark"] .cc-page .cc-info-badge--priority,
[data-theme="dark"] .vt-page .cc-info-badge--priority {
  border-color: #fb7185;
  background: rgba(251, 113, 133, 0.16);
  color: #fda4af;
}

[data-theme="dark"] .cc-page .cc-info-badge--department,
[data-theme="dark"] .vt-page .cc-info-badge--department {
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.14);
  color: #67e8f9;
}

[data-theme="dark"] .cc-page .cc-info-badge--response,
[data-theme="dark"] .vt-page .cc-info-badge--response {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

[data-theme="dark"] .cc-page .cc-info-note,
[data-theme="dark"] .vt-page .cc-info-note {
  background: rgba(96, 96, 171, 0.18);
  border-color: rgba(96, 96, 171, 0.35);
}

[data-theme="dark"] .cc-page .cc-info-note-title,
[data-theme="dark"] .vt-page .cc-info-note-title {
  color: #ffffff;
}

[data-theme="dark"] .cc-page .cc-info-note-text,
[data-theme="dark"] .vt-page .cc-info-note-text {
  color: #dddddd;
}

[data-theme="dark"] .cc-page .cc-chat-thread,
[data-theme="dark"] .vt-page .cc-chat-thread {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .cc-page .cc-msg-time,
[data-theme="dark"] .vt-page .cc-msg-time {
  color: #dddddd;
}

[data-theme="dark"] .cc-page .cc-msg-bubble--support,
[data-theme="dark"] .vt-page .cc-msg-bubble--support {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(96, 96, 171, 0.45);
  color: #dddddd;
}

[data-theme="dark"] .cc-page .cc-msg-avatar,
[data-theme="dark"] .vt-page .cc-msg-avatar {
  background: rgba(250, 250, 250, 0.08);
}

[data-theme="dark"] .cc-page .cc-info-card .api-php-link,
[data-theme="dark"] .vt-page .cc-info-card .api-php-link {
  color: #ffffff;
}

[data-theme="dark"] .cc-page #ticket-fields select,
[data-theme="dark"] .cc-page #ticket-subcategory-fields select,
[data-theme="dark"] .cc-page select.form-control {
  color: #ffffff !important;
  background-color: var(--dash-dark-input, rgba(250, 250, 250, 0.1)) !important;
  border-color: rgba(204, 204, 204, 0.16) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M6 4.6L1.4 0 0 1.4 6 7.4 12 1.4 10.6 0 6 4.6z' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 7px !important;
}

[data-theme="dark"] .cc-page .af-select-wrap select.af-select,
[data-theme="dark"] .cc-page .af-select-wrap select.form-control {
  background-image: none !important;
}

[data-theme="dark"] .cc-page .af-select-chevron {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--input-text) !important;
  opacity: 0.75;
}

[data-theme="dark"] .select2-container--default .select2-selection--single,
[data-theme="dark"] .select2-dropdown,
[data-theme="dark"] .select2-container--default .select2-results__option {
  background: var(--input-bg) !important;
  border-color: var(--input-border) !important;
  color: var(--input-text) !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option--highlighted,
[data-theme="dark"] .select2-container--default .select2-results__option--highlighted a,
[data-theme="dark"] .select2-results__options > li:hover,
[data-theme="dark"] .select2-results__options > li:hover > a,
[data-theme="dark"] #select2-orderform-category-results > li:hover > a,
[data-theme="dark"] #select2-orderform-service-results > li:hover > a,
[data-theme="dark"] .no-search-wrap .search-dropdown .dropdown-menu > li:hover > a,
[data-theme="dark"] .search-dropdown .dropdown-menu > li:hover > a {
  background: transparent !important;
  color: var(--input-text) !important;
}

[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"],
[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] a,
[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted a,
[data-theme="dark"] .select2-results__options > li.active,
[data-theme="dark"] .select2-results__options > li.active > a,
[data-theme="dark"] .select2-results__options.dropdown-menu > .active > a,
[data-theme="dark"] .select2-results__options.dropdown-menu > .active > a:hover,
[data-theme="dark"] .select2-results__options.dropdown-menu > .active > a:focus,
[data-theme="dark"] .select2-dropdown .dropdown-menu > .active > a,
[data-theme="dark"] .select2-dropdown.dropdown-menu > .active > a,
[data-theme="dark"] #select2-orderform-category-results > li[aria-selected="true"],
[data-theme="dark"] #select2-orderform-category-results > li[aria-selected="true"] > a,
[data-theme="dark"] #select2-orderform-category-results > li.active > a,
[data-theme="dark"] #select2-orderform-service-results > li[aria-selected="true"],
[data-theme="dark"] #select2-orderform-service-results > li[aria-selected="true"] > a,
[data-theme="dark"] #select2-orderform-service-results > li.active > a,
[data-theme="dark"] .no-search-wrap .search-dropdown .dropdown-menu > li.active > a,
[data-theme="dark"] .search-dropdown .dropdown-menu > li.active > a {
  background: var(--brand, #6060ab) !important;
  background-color: var(--brand, #6060ab) !important;
  color: #ffffff !important;
}

.select2-dropdown,
.select2-results,
.select2-results__options,
.no-search-wrap .search-dropdown .dropdown-menu,
.search-dropdown .select2-results__options {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.select2-dropdown::-webkit-scrollbar,
.select2-results::-webkit-scrollbar,
.select2-results__options::-webkit-scrollbar,
.no-search-wrap .search-dropdown .dropdown-menu::-webkit-scrollbar,
.search-dropdown .select2-results__options::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

.select2-dropdown::-webkit-scrollbar-track,
.select2-results::-webkit-scrollbar-track,
.select2-results__options::-webkit-scrollbar-track,
.no-search-wrap .search-dropdown .dropdown-menu::-webkit-scrollbar-track,
.search-dropdown .select2-results__options::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

.select2-dropdown::-webkit-scrollbar-thumb,
.select2-results::-webkit-scrollbar-thumb,
.select2-results__options::-webkit-scrollbar-thumb,
.no-search-wrap .search-dropdown .dropdown-menu::-webkit-scrollbar-thumb,
.search-dropdown .select2-results__options::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

.select2-dropdown::-webkit-scrollbar-thumb:hover,
.select2-results::-webkit-scrollbar-thumb:hover,
.select2-results__options::-webkit-scrollbar-thumb:hover,
.no-search-wrap .search-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover,
.search-dropdown .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

[data-theme="dark"] .no-page-text,
[data-theme="dark"] .mo-page,
[data-theme="dark"] .sv-page,
[data-theme="dark"] .af-page,
[data-theme="dark"] .cc-page,
[data-theme="dark"] .ac-page,
[data-theme="dark"] .db-page,
[data-theme="dark"] .fq-page,
[data-theme="dark"] .nt-page,
[data-theme="dark"] .api-page,
[data-theme="dark"] .up-page,
[data-theme="dark"] .gw-page,
[data-theme="dark"] .cp-page,
[data-theme="dark"] .ab-page {
  color: var(--text-primary);
}

[data-theme="dark"] .af-page .af-form-card,
[data-theme="dark"] .af-page .af-side-card {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
  border-color: rgba(96, 96, 171, 0.2);
}

[data-theme="dark"] .af-page .no-card-header,
[data-theme="dark"] .af-page .af-side-tabs-wrap {
  background-color: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  background-image: none;
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .af-page .no-card-tab:not(.is-active) {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  color: #ffffff;
}

[data-theme="dark"] .af-page .no-card-tab:not(.is-active) img,
[data-theme="dark"] .af-page .af-form-card .no-card-tab:not(.is-active) img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .af-page .af-method-card:not(.is-active),
[data-theme="dark"] .af-page .af-method-icon,
[data-theme="dark"] .af-page .af-amount-chip:not(.is-active),
[data-theme="dark"] .af-page .af-instruction-box,
[data-theme="dark"] .af-page .af-faq,
[data-theme="dark"] .af-page .af-select-wrap .af-select,
[data-theme="dark"] .af-page .af-select-wrap .form-control,
[data-theme="dark"] .af-page .af-input-wrap .form-control {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .af-page .af-field-label,
[data-theme="dark"] .af-page .af-method-label,
[data-theme="dark"] .af-page .af-faq summary,
[data-theme="dark"] .af-page .af-total-label,
[data-theme="dark"] .af-page .af-total-value,
[data-theme="dark"] .af-page .af-support-title {
  color: #ffffff;
}

[data-theme="dark"] .af-page .af-amount-chip:not(.is-active) {
  color: #ffffff;
}

[data-theme="dark"] .af-page .af-instruction-item p,
[data-theme="dark"] .af-page .af-faq-body,
[data-theme="dark"] .af-page .af-faq-body > p {
  color: #dddddd;
}

[data-theme="dark"] .af-page .af-select-chevron,
[data-theme="dark"] .af-page .af-faq summary img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .af-page .af-history-table-wrap {
  border: 1px solid rgba(204, 204, 204, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: #1e1e21;
}

[data-theme="dark"] .af-page .af-history-table thead th {
  background: #6d6eaf;
  color: #ffffff;
}

[data-theme="dark"] .af-page .af-history-table tbody td {
  color: #c8c8c8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .af-page .af-history-table tbody tr:nth-child(odd) td {
  background-color: #242427;
}

[data-theme="dark"] .af-page .af-history-table tbody tr:nth-child(even) td {
  background-color: #1e1e21;
}

[data-theme="dark"] .af-page .af-history-table tbody tr:last-child td {
  border-bottom: 0;
}

[data-theme="dark"] .af-page .af-history-invoice {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #9da8dc;
}

[data-theme="dark"] .fq-item,
[data-theme="dark"] .fq-content details,
[data-theme="dark"] .fq-content .panel,
[data-theme="dark"] .fq-content .well,
[data-theme="dark"] .fq-content > div,
[data-theme="dark"] .fq-content > section {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .fq-item summary,
[data-theme="dark"] .fq-content .panel-heading,
[data-theme="dark"] .fq-content h3,
[data-theme="dark"] .fq-content h4,
[data-theme="dark"] .fq-content summary,
[data-theme="dark"] .fq-content .panel-title {
  color: #ffffff;
}

[data-theme="dark"] .fq-item-body p,
[data-theme="dark"] .fq-content .panel-body,
[data-theme="dark"] .fq-content p {
  color: #dddddd;
}

[data-theme="dark"] .fq-item summary img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .up-page .mo-table-card {
  background: transparent;
  border-color: rgba(204, 204, 204, 0.16);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .up-table tbody tr:nth-child(odd) td {
  background: rgba(45, 45, 45, 0.83);
}

[data-theme="dark"] .up-table tbody tr:nth-child(even) td {
  background: rgba(45, 45, 45, 0.43);
}

[data-theme="dark"] .up-table .up-status,
[data-theme="dark"] .up-table .mo-status.up-status {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #ffffff;
  min-width: 0;
  height: auto;
  padding: 0;
}

[data-theme="dark"] .api-cell {
  border-color: rgba(204, 204, 204, 0.16);
  background: transparent;
}

[data-theme="dark"] .api-cell--label {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  color: #ffffff;
}

[data-theme="dark"] .api-cell--value {
  color: #ffffff;
}

[data-theme="dark"] .api-code {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
  color: #ffffff;
}

[data-theme="dark"] .api-example-title {
  color: #ffffff;
}

[data-theme="dark"] .api-type-select .form-control,
[data-theme="dark"] .api-type-select select,
[data-theme="dark"] .api-php-link {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .api-php-link,
[data-theme="dark"] .api-php-link:hover,
[data-theme="dark"] .api-php-link:focus,
[data-theme="dark"] .api-php-link:active {
  color: #ffffff;
  text-decoration: none;
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .db-meta-value,
[data-theme="dark"] .db-status-name,
[data-theme="dark"] .db-status-rank-label {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffffff;
}

[data-theme="dark"] .db-status-avatar {
  border: none;
}

[data-theme="dark"] .db-status-name-row .mo-copy-btn {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

[data-theme="dark"] .db-status-name-row .mo-copy-icon {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .db-levels-card {
  background: rgba(45, 45, 45, 0.24);
  border-color: rgba(204, 204, 204, 0.16);
  box-shadow: none;
}

[data-theme="dark"] .db-levels-table th:first-child,
[data-theme="dark"] .db-levels-table td:first-child {
  border-right-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .db-levels-table tbody tr:nth-child(odd) td {
  background: rgba(45, 45, 45, 0.43);
}

[data-theme="dark"] .db-levels-table tbody tr:nth-child(even) td {
  background: rgba(45, 45, 45, 0.83);
}

[data-theme="dark"] .db-levels-table th,
[data-theme="dark"] .db-levels-table td {
  color: #ffffff;
}

[data-theme="dark"] .gw-how-body {
  background: var(--dash-dark-input, rgba(250, 250, 250, 0.1));
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .gw-rules-lead {
  color: #dddddd;
}

[data-theme="dark"] .ab-stat-card {
  background-image: url("../images/afiiliates/affiliates-card-bg-dark.svg");
}

[data-theme="dark"] .ab-stat-icon {
  background: rgba(250, 250, 250, 0.1);
  border-color: rgba(204, 204, 204, 0.16);
}

[data-theme="dark"] .ab-stat-icon img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .ab-stat-label,
[data-theme="dark"] .ab-stat-value,
[data-theme="dark"] .ab-stat-value--link {
  color: #ffffff;
}

[data-theme="dark"] .ab-payments-card {
  background: var(--dark-sec-bg, rgba(45, 45, 45, 0.43));
}

[data-theme="dark"] .no-alert--danger {
  background: rgba(157, 28, 28, 0.25);
  color: #fecaca;
  border-color: rgba(248, 180, 180, 0.4);
}

[data-theme="dark"] .no-alert--success {
  background: rgba(3, 84, 63, 0.3);
  color: #a7f3d0;
  border-color: rgba(132, 225, 188, 0.35);
}

/* ========== Sign Up (auth) ========== */
.su-body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  font-family: var(--font-body);
  color: var(--text-dark);
}

.su-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

.su-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
}

.su-form-inner {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.su-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  height: 26px;
}

.su-logo-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.su-logo-text {
  height: 16px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.su-reviews {
  display: flex;
  align-items: center;
  gap: 15px;
}

.su-review {
  display: flex;
  align-items: center;
  gap: 5px;
}

.su-review-brand {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.su-review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.su-review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.su-review-stars img {
  width: 16px;
  height: 16px;
  display: block;
}

.su-star-half-clip {
  clip-path: inset(0 40% 0 0);
}

.su-review-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #232323;
  white-space: nowrap;
}

.su-review-score--google {
  color: #ffa828;
}

.su-review-score--tp {
  color: #05c191;
}

.su-reviews-divider {
  width: 1px;
  height: 28px;
  border-radius: 100px;
  background: #5a5a5a;
  flex-shrink: 0;
}

.su-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
  max-width: 386px;
}

.su-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  text-transform: capitalize;
  color: #202020;
}

.su-subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #2b2b22;
}

.su-tabs {
  display: flex;
  width: 100%;
  height: 56px;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid var(--brand);
  border-radius: 12px;
  background: #fff;
}

.su-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  box-sizing: border-box;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #202020;
  background: #fff;
}

.su-tab:hover,
.su-tab:focus,
.su-tab:active {
  text-decoration: none;
  color: #202020;
}

.su-tab img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0);
}

.su-tab--active {
  background: var(--gradient-brand);
  color: #fff;
  pointer-events: none;
}

.su-tab--active img {
  filter: brightness(0) invert(1);
}

.su-btn--primary img,
.su-btn-icon--light {
  filter: brightness(0) invert(1);
}

.su-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.su-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.su-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.su-field-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.su-field--half {
  flex: 1;
  min-width: 0;
}

.su-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #202020;
}

.su-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #e8e8e3;
  background: #f6f6f6;
}

.su-input-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.su-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #2b2b22;
  box-shadow: none;
}

.su-input::placeholder {
  color: #2b2b22;
  opacity: 0.85;
}

.su-eye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.su-eye-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

.su-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.su-agree-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.su-agree-box {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #e8e8e3;
  background: #f6f6f6;
  box-sizing: border-box;
}

.su-agree-input:checked + .su-agree-box {
  background: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.su-agree-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #2b2b22;
}

.su-agree-text a {
  font-weight: 500;
  text-decoration: none;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.su-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.su-remember {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.su-remember-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #2b2b22;
  white-space: nowrap;
}

.su-forgot {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: underline;
  white-space: nowrap;
  background: linear-gradient(113deg, #c8083d 2.35%, #ff345d 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.su-auth-text {
  width: 100%;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: #2b2b22;
  text-align: center;
}

.su-captcha {
  width: 100%;
}

.su-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.su-actions-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.su-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.su-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.su-btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow:
    0 24.721px 32.257px 0 #eff0ff,
    0 2px 6px 0 #e7e8ff;
}

.su-btn--primary img {
  filter: brightness(0) invert(1);
}

.su-btn--full {
  width: 100%;
  flex: none;
}

.su-form-inner--reset {
  max-width: 460px;
}

.su-otp {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.su-otp-digit {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 64px;
  height: 56px;
  padding: 0;
  border: 1px solid #e8e8e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #202020;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.su-otp-digit::-webkit-outer-spin-button,
.su-otp-digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.su-otp-digit:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(96, 96, 171, 0.15);
}

.su-btn--google {
  gap: 8px;
  padding: 6px 16px;
  background: #f6f6f6;
  border: 1px solid #e8e8e3;
  color: #202020;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
}

.su-btn--google img {
  width: 18px;
  height: 18px;
  filter: none;
  flex-shrink: 0;
}

.su-google-wrap .g_id_signin {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  z-index: 2;
}

.su-google-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  white-space: nowrap;
}

.su-google-fallback img {
  width: 18px;
  height: 18px;
}

.su-signin-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px dashed #e8e8e3;
  background: #f3f3f3;
}

.su-signin-bar p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #2b2b22;
  text-align: center;
}

.su-signin-bar a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-position: from-font;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.su-alert {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
}

.su-alert--error {
  background: rgba(220, 53, 69, 0.1);
  color: #b42318;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

.su-alert--success {
  background: rgba(5, 193, 145, 0.12);
  color: #067647;
  border: 1px solid rgba(5, 193, 145, 0.3);
}

.su-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 28px 12px;
  box-sizing: border-box;
  overflow: visible;
}

.su-visual {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 720 / 880;
  overflow: visible;
}

.su-visual-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Character sits at the bottom and may bleed past the purple sides */
.su-visual-media {
  position: absolute;
  left: 50%;
  bottom: 0;
  top: 6%;
  width: 132%;
  transform: translateX(-58%);
  z-index: 1;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.su-visual-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* Pin Back into the top-left notch of the purple frame */
.su-back {
  position: absolute;
  top: 10px;
  left: 4px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px 6px 6px;
  border-radius: 100px;
  border: 1px solid #9da8dc;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.su-back-icon {
  width: 32px;
  height: 32px;
  display: block;
  transform: rotate(90deg);
}

.su-back span {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  background: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.su-quote {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
  bottom: 6%;
  z-index: 3;
}

.su-quote-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
  color: #fff;
  width: 100%;
}

.su-quote-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.su-quote-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.su-quote-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.su-quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.su-quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.su-quote-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.su-quote-role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.su-quote-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.su-quote-stars {
  width: 108px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.su-quote-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.su-quote-btn {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
}

.su-quote-btn img {
  width: 12px;
  height: 24px;
  display: block;
}

.su-quote-btn--prev {
  background: #fff;
}

.su-quote-btn--prev img {
  transform: scaleX(-1);
  filter: brightness(0) saturate(100%) invert(42%) sepia(18%) saturate(1234%)
    hue-rotate(209deg) brightness(92%) contrast(87%);
}

.su-quote-btn--next {
  background: var(--gradient-brand);
}

.su-quote-btn--next img {
  filter: brightness(0) invert(1);
}

.su-quote .swiper {
  width: 100%;
  overflow: hidden;
  /* Keep card border inside the clip edge (avoids missing right border) */
  padding: 1px;
  margin: -1px;
  box-sizing: content-box;
}

.su-quote .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .su-page {
    grid-template-columns: 1fr;
  }

  .su-visual-col {
    display: none;
  }

  .su-quote-title {
    font-size: 28px;
  }

  .su-quote-body {
    font-size: 15px;
  }

  .su-quote-card {
    padding: 24px;
    gap: 20px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .su-form-col {
    padding: 24px 16px 40px;
  }

  .su-form-inner {
    gap: 24px;
  }

  .su-field-row {
    flex-direction: column;
  }

  .su-actions-row {
    flex-direction: column;
  }

  .su-reviews {
    flex-wrap: wrap;
    justify-content: center;
  }

  .su-title {
    font-size: 24px;
  }

  .su-quote-title {
    font-size: 22px;
  }

  .su-quote-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .su-quote-aside {
    align-items: flex-start;
    width: 100%;
  }
}
