@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --color-brand: #4f9ff1;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-page: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f8fafc;
  --color-border: #e8e8e3;
  --color-body-text: #52525c;
  --color-title: #232323;
  --color-input-bg: #f8fafc;
  --color-text-dark: #111111;
  --gradient-title: linear-gradient(
    110.54deg,
    #2b7ae5 0.64%,
    #2352aa 50.34%,
    #192d52 100%
  );
  --gradient-btn-alt: linear-gradient(
    132.33deg,
    #224786 0.64%,
    #2b7ae5 50.34%,
    #4f9ff1 100%
  );
  --shadow-header: 0 2px 2px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 0 0 2px rgba(74, 135, 183, 0.2);
  --gradient-btn: linear-gradient(
    104.97deg,
    #224786 0.64%,
    #2b7ae5 50.34%,
    #4f9ff1 100%
  );
  --font-family:
    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-ar:
    'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  --header-max-width: 1280px;
  --header-height: 76px;
  --hero-login-overflow: 28%;
}

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

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-family);
  color: var(--color-black);
  background-color: var(--color-page);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: var(--color-white);
  box-shadow: 0 2px 4px 0 #0000000f;
}

.site-header__nav {
  padding: 16px 0;
}

.site-header__container {
  max-width: var(--header-max-width);
  position: relative;
}

.site-header__brand {
  padding: 0;
  margin: 0;
}

.site-header__collapse {
  gap: 24px;
}

.site-nav {
  gap: 28px;
  align-items: center;
}

.site-nav .nav-item {
  display: flex;
  align-items: center;
}

.site-nav__link {
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-black);
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--color-brand);
}

.site-nav__link--active {
  font-weight: 600;
  color: var(--color-brand);
}

.site-nav__dropdown .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  vertical-align: middle;
}

.site-nav__dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-nav__dropdown-menu {
  border-color: var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-header);
  font-size: 14px;
}

/* Header actions */

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.theme-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--color-title);
  background: var(--color-surface);
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--color-brand);
  outline: none;
  box-shadow: var(--shadow-btn);
}

.theme-toggle__sun {
  display: none;
}

html[data-theme='dark'] .theme-toggle__moon {
  display: none;
}

html[data-theme='dark'] .theme-toggle__sun {
  display: block;
}

.site-header .theme-toggle {
  width: 44px;
  height: 44px;
}

.site-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 5px 12px;
  border: 0.8px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-white);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-body-text);
}

.site-lang__toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-body-text);
}

.site-lang__toggle:hover,
.site-lang__toggle:focus {
  border-color: var(--color-border);
  background-color: var(--color-white);
  color: var(--color-body-text);
}

.site-lang__flag {
  display: inline-block;
  width: 24px;
  height: 24px;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.site-lang__menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-lang__menu-flag {
  width: 20px;
  height: 20px;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.site-lang__label {
  white-space: nowrap;
}

.site-lang__menu {
  border-color: var(--color-border);
  border-radius: 8px;
  font-size: 12px;
  min-width: 140px;
}

.site-lang__menu .dropdown-item.active {
  background-color: #eef4fc;
  color: var(--color-brand);
  font-weight: 600;
}

.site-header--minimal .site-header__nav {
  padding: 16px 0;
}

.site-header__container--minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-header--minimal .site-header__actions {
  margin-left: 0;
}

[dir='rtl'] .site-header--minimal .site-header__actions {
  margin-right: 0;
}

.site-header--minimal .site-lang .dropdown-menu {
  inset: auto !important;
  right: 0;
  left: auto;
  transform: none !important;
  margin-top: 8px;
  padding: 8px 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-width: 160px;
}

[dir='rtl'] .site-header--minimal .site-lang .dropdown-menu {
  right: auto;
  left: 0;
}

.site-header--minimal .site-lang__menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-title);
  text-align: start;
  white-space: nowrap;
  background: transparent;
  border: 0;
}

.site-header--minimal .site-lang__menu .dropdown-item:hover,
.site-header--minimal .site-lang__menu .dropdown-item:focus,
.site-header--minimal .site-lang__menu .dropdown-item.active {
  background-color: #eef4fc;
  color: var(--color-brand);
  font-weight: 600;
}

html[data-theme='dark'] .site-header--minimal .site-lang .dropdown-menu {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme='dark'] .site-header--minimal .site-lang__menu .dropdown-item {
  color: var(--color-title);
}

html[data-theme='dark']
  .site-header--minimal
  .site-lang__menu
  .dropdown-item:hover,
html[data-theme='dark']
  .site-header--minimal
  .site-lang__menu
  .dropdown-item:focus,
html[data-theme='dark']
  .site-header--minimal
  .site-lang__menu
  .dropdown-item.active {
  background: var(--color-surface-2);
  color: var(--color-brand);
}

.site-btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  background: var(--gradient-btn);
  box-shadow: var(--shadow-btn);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
}

.site-btn-signup::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-btn-signup:hover,
.site-btn-signup:focus {
  color: var(--color-white);
  opacity: 0.92;
}

/* Hero */

.site-main {
  overflow: visible;
}

.hero {
  position: relative;
  min-height: 80vh;
  overflow: visible;
  padding-bottom: 111px;
}

.hero__bg {
  position: absolute;
  top: calc(-1 * var(--header-height));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

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

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: var(--header-max-width);
  padding-top: 101px;
  padding-bottom: 60px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 576px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.12px;
}

.hero__title-gradient {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title-main {
  color: var(--color-black);
}

.hero__description {
  max-width: 500px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.hero__reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero__stars img {
  flex-shrink: 0;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.hero__rating-score {
  font-weight: 600;
  color: var(--color-black);
}

.hero__rating-dot {
  width: 2px;
  height: 2px;
  border-radius: 4px;
  background-color: var(--color-black);
  flex-shrink: 0;
}

.hero__rating-count {
  font-weight: 500;
  color: var(--color-body-text);
}

/* Hero login card */

.hero-login {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 540px;
  padding: 28px 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 2px 4px 0 #0000000f;
  transform: translate(-50%, var(--hero-login-overflow));
}

.hero-login__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-login__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-login__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-login__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-login__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
}

.hero-login__forgot {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-brand);
  text-decoration: underline;
  white-space: nowrap;
}

.hero-login__forgot:hover,
.hero-login__forgot:focus {
  color: var(--color-brand);
}

.hero-login__input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-input-bg);
}

.hero-login__input-icon {
  flex-shrink: 0;
}

.hero-login__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
  outline: none;
}

.hero-login__input::placeholder {
  color: var(--color-body-text);
}

.hero-login__toggle-password {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-login__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-login__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  background: var(--gradient-btn-alt);
  box-shadow: var(--shadow-btn);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
  cursor: pointer;
}

.hero-login__submit:hover,
.hero-login__submit:focus {
  opacity: 0.92;
}

.hero-login__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-dark);
  font-size: 14px;
  line-height: 1.5;
}

.hero-login__divider::before,
.hero-login__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.hero-login__google {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-input-bg);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
  cursor: pointer;
}

.hero-login__google-face {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.hero-login__google-gsi {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 0.011;
}

.hero-login__google-gsi > div,
.hero-login__google-gsi iframe {
  width: 100% !important;
  max-width: none !important;
}

.hero-login__google:hover,
.hero-login__google:focus {
  background-color: var(--color-white);
}

.hero-login__footer {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.hero-login__signup {
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: underline;
}

.hero-login__signup:hover,
.hero-login__signup:focus {
  color: var(--color-brand);
}

/* Stats counter */

.stats {
  position: relative;
  z-index: 1;
  background-color: var(--color-white);
  padding-top: 160px;
}

.stats__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--header-max-width);
}

.stats__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(79, 159, 241, 0) 0%,
    var(--color-brand) 50%,
    rgba(79, 159, 241, 0) 100%
  );
  box-shadow: 0 4px 16px rgba(74, 135, 183, 0.5);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.stats__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.stats__value {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  color: var(--color-brand);
}

.stats__label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
}

/* Platforms */

.platforms {
  background-color: var(--color-white);
  padding: 120px 0;
}

.platforms__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  max-width: var(--header-max-width);
}

.platforms__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 582px;
  text-align: center;
}

.platforms__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  color: var(--color-black);
  text-transform: capitalize;
}

.platforms__title-accent {
  position: relative;
  display: inline-block;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platforms__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100px;
  height: 2px;
  background-color: var(--color-brand);
}

.platforms__description {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.platforms__text-gradient {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platforms__link {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: underline;
}

.platforms__link:hover,
.platforms__link:focus {
  opacity: 0.9;
}

.platforms__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.platforms__card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background-color: #f7f7f7;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.platforms__card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.platforms__card-inner--stretch {
  height: 100%;
  justify-content: space-between;
}

.platforms__card-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.platforms__card-icon img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.platforms__card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platforms__card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--color-black);
  text-transform: capitalize;
}

.platforms__card-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.platforms__card-text p {
  margin: 0;
}

.platforms__card-text p + p {
  margin-top: 0;
}

.platforms__slider {
  display: flex;
  align-items: center;
  gap: 24px;
}

.platforms__slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.platforms__slider-btn::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--color-body-text);
  border-right: 2px solid var(--color-body-text);
}

.platforms__slider-btn--prev::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.platforms__slider-btn--next::before {
  transform: rotate(45deg);
  margin-right: 2px;
}

.platforms__slider-indicator {
  width: 30px;
  height: 4px;
  border-radius: 12px;
  background: var(--gradient-title);
}

/* Discover */

.discover {
  background-color: #f1f1f1;
  padding: 100px 0;
}

.discover__container {
  max-width: var(--header-max-width);
}

.discover__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.discover__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 1 1 665px;
  max-width: 665px;
}

.discover__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.discover__title-wrap {
  position: relative;
  padding-bottom: 12px;
}

.discover__title-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 303px;
  max-width: 100%;
  height: 2px;
  background-color: var(--color-brand);
}

.discover__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  color: var(--color-black);
  text-transform: capitalize;
}

.discover__title-line {
  display: block;
}

.discover__title-accent {
  display: block;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.discover__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 578px;
}

.discover__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.discover__cta {
  flex-shrink: 0;
}

.discover__visual {
  flex: 0 1 580px;
  max-width: 580px;
}

.discover__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Features */

.features {
  background-color: var(--color-white);
  padding: 100px 0;
}

.features__container {
  max-width: var(--header-max-width);
}

.features__layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

.features__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 500px;
  min-height: 440px;
  max-width: 500px;
}

.features__title-wrap {
  position: relative;
}

.features__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  color: var(--color-black);
  text-transform: capitalize;
}

.features__title-accent {
  position: relative;
  display: inline-block;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 180px;
  max-width: 100%;
  height: 2px;
  background-color: var(--color-brand);
}

.features__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.features__description {
  margin: 0;
  max-width: 400px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.features__cta {
  flex-shrink: 0;
}

.features__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.features__divider {
  width: 2px;
  height: 336px;
  background: linear-gradient(
    180deg,
    rgba(79, 159, 241, 0.15) 0%,
    var(--color-brand) 50%,
    rgba(79, 159, 241, 0.15) 100%
  );
}

.features__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.features__nav-btn::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border: 0;
}

.features__nav-btn--up {
  background: var(--gradient-title);
}

.features__nav-btn--up::before {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--color-white);
}

.features__nav-btn--down {
  background-color: var(--color-black);
}

.features__nav-btn--down::before {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-white);
}

.features__cards-wrap {
  position: relative;
  flex: 1 1 628px;
  max-width: 628px;
  height: 440px;
  overflow: hidden;
}

.features__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.features__cards::-webkit-scrollbar {
  display: none;
}

.features__card {
  flex-shrink: 0;
  padding: 32px;
  border: 0.5px solid var(--color-border);
  border-radius: 20px;
  background-color: #f3f3f3;
}

.features__card-text {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-black);
}

.features__card-emoji {
  margin-right: 0.35em;
}

.features__fade {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}

.features__fade--top {
  top: 0;
  height: 146px;
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    rgba(255, 255, 255, 0) 55.74%
  );
}

.features__fade--bottom {
  bottom: -32px;
  height: 160px;
  background: linear-gradient(
    to top,
    var(--color-white) 0%,
    rgba(255, 255, 255, 0) 62%
  );
}

/* Payments */

.payments {
  background-color: #f1f1f1;
  padding: 120px 0;
}

.payments__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  max-width: var(--header-max-width);
}

.payments__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 755px;
  text-align: center;
}

.payments__title-wrap {
  position: relative;
  padding-bottom: 12px;
}

.payments__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  color: #181818;
  text-transform: capitalize;
}

.payments__title-accent {
  position: relative;
  display: inline-block;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.payments__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 241px;
  max-width: 100%;
  height: 2px;
  background-color: var(--color-brand);
}

.payments__description {
  margin: 0;
  max-width: 755px;
  font-size: 18px;
  line-height: 1.5;
  color: #494949;
}

.payments__icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 800px;
}

.payments__icon {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.payments__icon--featured {
  width: 140px;
  height: 140px;
}

/* CTA */

.cta {
  padding: 100px 0;
}

.cta__container {
  max-width: var(--header-max-width);
}

.cta__card {
  position: relative;
  width: 100%;
  min-height: 484px;
  border-radius: 40px;
  overflow: hidden;
  background-color: #192d52;
  background-image: url('../images/pages/home/cta-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 56px -12px rgba(79, 159, 241, 0.2);
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  min-height: 484px;
  padding: 48px 32px;
  text-align: center;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 851px;
}

.cta__title {
  margin: 0;
  max-width: 705px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
}

.cta__description {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.28px;
  color: var(--color-white);
}

.cta__description p {
  margin: 0;
}

.cta__description p + p {
  margin-top: 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  border: none;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
}

.cta__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta__btn-icon img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.cta__btn-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.cta__btn--whatsapp {
  border-radius: 12px;
  background-color: var(--color-black);
  color: var(--color-white);
}

.cta__btn--whatsapp:hover,
.cta__btn--whatsapp:focus {
  color: var(--color-white);
  opacity: 0.92;
}

.cta__btn--email {
  gap: 10px;
  border: 1px solid #93b7f1;
  border-radius: 8px;
  background-color: var(--color-white);
  color: var(--color-black);
}

.cta__btn--email:hover,
.cta__btn--email:focus {
  color: var(--color-black);
  opacity: 0.92;
}

/* Footer */

.site-footer {
  padding: 100px 0 0;
  background-color: #0c0c0c;
  background-image: url('../images/pages/home/footer-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.site-footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: var(--header-max-width);
  padding-bottom: 48px;
}

.site-footer__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 460px;
  padding-bottom: 24px;
}

.site-footer__logo {
  display: inline-flex;
}

.site-footer__logo img {
  display: block;
}

.site-footer__about {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-white);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__social-link {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.site-footer__social-link img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-footer__column {
  flex: 0 0 160px;
}

.site-footer__heading {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-white);
}

.site-footer__links,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link,
.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus,
.site-footer__contact-link:hover,
.site-footer__contact-link:focus {
  color: var(--color-white);
  opacity: 0.85;
}

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

.site-footer__copyright {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}

.site-footer__copyright strong {
  font-weight: 600;
}

/* Responsive */

/* API documentation page */

.api-hero {
  background-color: #f1f1f1;
  padding: 64px 0 56px;
}

.api-hero__container {
  max-width: var(--header-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.api-hero__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.72px;
  color: var(--color-black);
  text-transform: capitalize;
}

.api-hero__accent {
  position: relative;
  display: inline-block;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.api-hero__accent::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 100px;
  height: 2px;
  background-color: var(--color-brand);
}

.api-hero__desc {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.api-page {
  padding: 48px 0 100px;
}

.api-page__container {
  max-width: var(--header-max-width);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.api-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.api-overview__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background-color: #f7f7f7;
}

.api-overview__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-body-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.api-overview__value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-black);
  word-break: break-all;
}

.api-overview__value--method {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
}

.api-endpoint {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.api-endpoint__title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.44px;
  color: var(--color-black);
}

.api-endpoint__subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-title);
}

.api-endpoint__label {
  margin: 24px 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-title);
}

.api-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.api-table th,
.api-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.api-table th {
  width: 28%;
  font-weight: 600;
  color: var(--color-title);
  background-color: #f7f7f7;
}

.api-table td {
  color: var(--color-body-text);
  line-height: 1.5;
}

.api-table code {
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #eef4fc;
  color: #224786;
  font-size: 13px;
}

.api-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.api-table-wrap .api-table th:first-child,
.api-table-wrap .api-table td:first-child {
  border-left: none;
}

.api-table-wrap .api-table th:last-child,
.api-table-wrap .api-table td:last-child {
  border-right: none;
}

.api-table-wrap .api-table tr:first-child th,
.api-table-wrap .api-table tr:first-child td {
  border-top: none;
}

.api-table-wrap .api-table tr:last-child th,
.api-table-wrap .api-table tr:last-child td {
  border-bottom: none;
}

.api-code {
  margin: 0;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background-color: #1a2332;
  color: #e8edf4;
  font-family:
    ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}

.api-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.api-tabs__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background-color: #f7f7f7;
  color: var(--color-body-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.api-tabs__link:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.api-tabs__link.active {
  border-color: transparent;
  background: var(--gradient-btn);
  color: var(--color-white);
}

.api-overview--auth {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.api-overview__link {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
}

.api-overview__link:hover {
  text-decoration: underline;
}

.api-example-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  background: var(--gradient-btn);
  border-radius: 10px;
  box-shadow: var(--shadow-btn);
}

.api-example-btn:hover {
  color: var(--color-white);
}

.api-page--dash {
  padding: 0 0 24px;
}

.api-page--dash .api-page__container {
  max-width: none;
  width: 100%;
}

.api-type-panel + .api-type-panel {
  margin-top: 0;
}

@media (max-width: 1399.98px) {
  .api-overview--auth {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .api-overview--auth {
    grid-template-columns: 1fr;
  }
}

/* Legal / terms page */

.legal-doc {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-doc__intro {
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background-color: #f7f7f7;
}

.legal-doc__intro-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body-text);
}

.legal-doc__about {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 32px;
  border-radius: 16px;
  border-left: 4px solid var(--color-brand);
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-doc__about-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.legal-doc__about-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body-text);
}

.legal-doc__section {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-doc__heading {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.44px;
  color: var(--color-black);
}

.legal-doc__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  background-color: var(--color-brand);
}

.legal-doc__subheading {
  margin: 24px 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-title);
}

.legal-doc__subheading:first-of-type {
  margin-top: 0;
}

.legal-doc__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body-text);
}

.legal-doc__text:last-child {
  margin-bottom: 0;
}

/* FAQ page */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-page--dash {
  padding: 0 0 24px;
}

.faq-page--dash .faq-page__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: none;
}

.faq-admin-content {
  padding: 24px 28px;
}

.faq-accordion__item {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-accordion__item .accordion-header {
  margin: 0;
}

.faq-accordion__button {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-black);
  background-color: var(--color-white);
  box-shadow: none;
}

.faq-accordion__button:not(.collapsed) {
  color: var(--color-brand);
  background-color: #f7f7f7;
  box-shadow: none;
}

.faq-accordion__button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f9ff1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion__button:focus {
  border-color: transparent;
  box-shadow: none;
}

.faq-accordion__body {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body-text);
}

.faq-accordion__item .accordion-collapse {
  border-top: 1px solid var(--color-border);
}

/* Get Panel page */

.get-panel-section {
  padding: 80px 0;
}

.get-panel-section--alt {
  background-color: #f1f1f1;
}

.get-panel-section__container {
  max-width: var(--header-max-width);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.get-panel-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.get-panel-section__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.56px;
  color: var(--color-black);
  text-transform: capitalize;
}

.get-panel-section__title-accent {
  position: relative;
  display: inline-block;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.get-panel-section__title-accent::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 80px;
  height: 2px;
  background-color: var(--color-brand);
}

.get-panel-section__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.get-panel-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.get-panel-highlights__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background-color: #f7f7f7;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.get-panel-highlights__card--span-2 {
  grid-column: span 1;
}

.get-panel-highlights__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-btn);
  font-size: 26px;
  line-height: 1;
}

.get-panel-highlights__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-black);
}

.get-panel-highlights__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body-text);
}

.get-panel-highlights__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.get-panel-highlights__payment-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.get-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.get-panel-grid__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.get-panel-section--alt .get-panel-grid__card {
  background-color: var(--color-white);
}

.get-panel-grid__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-black);
}

.get-panel-grid__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body-text);
}

.get-panel-cta__stat {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
}

.get-panel-cta__stat strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.56px;
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__intro {
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background-color: #f7f7f7;
}

.contact-info__intro-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body-text);
}

.contact-info__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

a.contact-info__card:hover,
a.contact-info__card:focus {
  border-color: var(--color-brand);
  box-shadow: 0 4px 12px rgba(79, 159, 241, 0.12);
}

.contact-info__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-btn);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(43, 122, 229, 0.24);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-info__card:hover .contact-info__icon,
.contact-info__card:focus-within .contact-info__icon {
  transform: scale(1.05);
}

.contact-info__icon--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}

.contact-info__icon-svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-info__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.contact-info__value {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-black);
}

.contact-info__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-form__title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.44px;
  color: var(--color-black);
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-title);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-input-bg);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-black);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #94a3b8;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: var(--shadow-btn);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__submit {
  align-self: flex-start;
  min-width: 160px;
  height: 48px;
  padding: 0 28px;
  border: none;
  border-radius: 12px;
  background: var(--gradient-btn);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus {
  opacity: 0.92;
}

/* About page */

.about-page .stats {
  padding: 0;
  background-color: transparent;
}

.about-page .stats__container {
  gap: 32px;
}

.about-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-features__grid .features__card {
  height: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .site-header__collapse {
    display: flex !important;
    flex-basis: auto;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
  }

  .site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row;
  }

  .site-header__actions {
    margin-left: 0;
    flex-shrink: 0;
  }

  .get-panel-highlights__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .get-panel-highlights__card {
    grid-column: span 2;
  }

  .get-panel-highlights__card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .get-panel-highlights__card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 991.98px) {
  .site-header__collapse {
    padding-top: 20px;
  }

  .site-nav {
    gap: 8px;
    margin-bottom: 16px;
  }

  .site-nav__link {
    padding: 8px 0;
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }

  .site-lang__toggle,
  .site-btn-signup {
    width: 100%;
    justify-content: center;
  }

  .discover {
    padding: 64px 0;
  }

  .discover__content {
    flex-direction: column;
    align-items: center;
  }

  .discover__text {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .discover__body {
    max-width: none;
  }

  .discover__visual {
    flex: none;
    max-width: 480px;
    width: 100%;
  }

  .features {
    padding: 64px 0;
  }

  .features__layout {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .features__intro {
    flex: none;
    min-height: 0;
    max-width: none;
    gap: 24px;
  }

  .features__controls {
    display: none;
  }

  .features__cards-wrap {
    flex: none;
    max-width: none;
    width: 100%;
    height: 360px;
  }

  .payments {
    padding: 80px 0;
  }

  .payments__icons {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 520px;
  }

  .cta {
    padding: 64px 0;
  }

  .cta__card,
  .cta__content {
    min-height: 420px;
  }

  .site-footer {
    padding-top: 64px;
  }

  .site-footer__grid {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .site-footer__brand {
    flex: 1 1 100%;
    max-width: none;
  }

  .site-footer__column {
    flex: 1 1 calc(50% - 20px);
    min-width: 140px;
  }
}

@media (max-width: 767.98px) {
  .stats {
    padding-top: 200px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero__title {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .hero__description {
    font-size: 15px;
  }

  .hero-login {
    padding: 24px 20px;
    --hero-login-overflow: 35%;
  }

  .platforms {
    padding: 64px 0;
  }

  .platforms__cards {
    grid-template-columns: 1fr;
  }

  .platforms__card-title {
    font-size: 20px;
  }

  .platforms__card-text {
    font-size: 15px;
  }

  .discover {
    padding: 48px 0;
  }

  .discover__visual {
    max-width: 100%;
  }

  .discover__cta {
    width: 100%;
    justify-content: center;
  }

  .features {
    padding: 48px 0;
  }

  .features__card-text {
    font-size: 18px;
  }

  .features__cards-wrap {
    height: 320px;
  }

  .features__cta {
    width: 100%;
    justify-content: center;
  }

  .payments {
    padding: 64px 0;
  }

  .payments__container {
    gap: 48px;
  }

  .payments__description {
    font-size: 16px;
  }

  .payments__icons {
    gap: 16px;
    max-width: 320px;
  }

  .payments__icon {
    width: 80px;
    height: 80px;
  }

  .payments__icon--featured {
    width: 110px;
    height: 110px;
  }

  .cta {
    padding: 48px 0;
  }

  .cta__card {
    border-radius: 24px;
    min-height: 420px;
  }

  .cta__content {
    min-height: 420px;
  }

  .cta__content {
    padding: 40px 20px;
    gap: 24px;
  }

  .cta__title {
    font-size: 28px;
  }

  .cta__description {
    font-size: 13px;
  }

  .cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta__btn {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    padding-top: 48px;
  }

  .site-footer__container {
    gap: 40px;
  }

  .site-footer__grid {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer__brand {
    padding-bottom: 0;
  }

  .site-footer__column {
    flex: none;
    width: 100%;
  }

  .site-footer__copyright {
    white-space: normal;
  }

  .api-hero {
    padding: 48px 0 40px;
  }

  .api-hero__title {
    font-size: 28px;
  }

  .api-page {
    padding: 32px 0 64px;
  }

  .services-page--guest {
    padding: 32px 0 64px;
  }

  .api-overview,
  .api-overview--auth {
    grid-template-columns: 1fr;
  }

  .api-endpoint {
    padding: 24px 20px;
  }

  .api-endpoint__title {
    font-size: 20px;
  }

  .api-tabs__link {
    font-size: 12px;
    padding: 6px 10px;
  }

  .legal-doc__intro,
  .legal-doc__section {
    padding: 24px 20px;
  }

  .legal-doc__about {
    padding: 20px;
  }

  .legal-doc__heading {
    font-size: 20px;
  }

  .faq-accordion__button {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-accordion__body {
    padding: 16px 20px;
    font-size: 14px;
  }

  .get-panel-section {
    padding: 64px 0;
  }

  .get-panel-highlights__grid,
  .get-panel-grid {
    grid-template-columns: 1fr;
  }

  .get-panel-highlights__card--span-2 {
    grid-column: auto;
  }

  .get-panel-cta__stat strong {
    font-size: 22px;
  }

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

  .contact-form {
    padding: 24px 20px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .about-features__grid {
    grid-template-columns: 1fr;
  }
}

/* RTL / Arabic */

[dir='rtl'] body {
  font-family: var(--font-family-ar);
}

.text-ltr,
[dir='ltr'] {
  direction: ltr;
  text-align: left;
}

[dir='rtl'] .site-nav__dropdown .dropdown-toggle::after,
[dir='rtl'] .site-lang__toggle::after {
  margin-left: 0;
  margin-right: 4px;
}

[dir='rtl'] .site-header__actions {
  margin-left: 0;
  margin-right: auto;
}

[dir='rtl'] .hero-login__input {
  text-align: right;
}

[dir='rtl'] .hero-login__label-row {
  flex-direction: row-reverse;
}

[dir='rtl'] .discover__title-wrap::after,
[dir='rtl'] .legal-doc__heading::after,
[dir='rtl'] .platforms__title-accent::after,
[dir='rtl'] .features__title-accent::after,
[dir='rtl'] .payments__title-accent::after,
[dir='rtl'] .get-panel-section__title-accent::after {
  left: auto;
  right: 0;
}

[dir='rtl'] .api-hero__accent::after,
[dir='rtl'] .get-panel-section__title-accent::after {
  left: 50%;
  right: auto;
  transform: translateX(50%);
}

[dir='rtl'] .legal-doc__about {
  border-left: none;
  border-right: 4px solid var(--color-brand);
}

[dir='rtl'] .features__card-emoji {
  margin-right: 0;
  margin-left: 0.35em;
}

[dir='rtl'] .platforms__slider-btn--prev::before {
  transform: scaleX(-1);
}

[dir='rtl'] .platforms__slider-btn--next::before {
  transform: scaleX(-1);
}

[dir='rtl'] .contact-info__card,
[dir='rtl'] .get-panel-highlights__card,
[dir='rtl'] .get-panel-grid__card,
[dir='rtl'] .faq-accordion__button {
  text-align: right;
}

[dir='rtl'] .api-table th,
[dir='rtl'] .api-table td,
[dir='rtl'] .legal-doc__text,
[dir='rtl'] .legal-doc__intro-text,
[dir='rtl'] .contact-form__input,
[dir='rtl'] .contact-form__textarea {
  text-align: right;
}

[dir='rtl'] .contact-form__submit {
  align-self: flex-end;
}

[dir='rtl'] .site-lang__menu,
[dir='rtl'] .site-nav__dropdown-menu {
  text-align: right;
}

[dir='rtl'] .site-lang__menu-link {
  flex-direction: row-reverse;
}

@media (min-width: 992px) {
  [dir='rtl'] .site-nav {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 991.98px) {
  [dir='rtl'] .contact-form__submit {
    align-self: stretch;
  }
}

/* Dashboard */

body.dash-body {
  padding-top: 0;
  background: #f8fafc;
}

body.dash-lock {
  overflow: hidden;
}

body.dash-body:not(.is-ready) [data-dashboard-page] {
  display: none;
}

.dash-app {
  display: flex;
  min-height: 100vh;
  background: #f8fafc;
}

.dash-sidebar {
  position: sticky;
  top: 0;
  z-index: 1210;
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 100vh;
  overflow: visible;
  background: var(--color-white);
  border-right: 0.5px solid var(--color-brand);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
}

.dash-sidebar__scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 28px 10px 16px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
}

.dash-sidebar__scroll::-webkit-scrollbar {
  width: 4px;
}

.dash-sidebar__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.dash-sidebar__scroll::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 4px;
}

.dash-sidebar__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 32px;
}

.dash-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
}

.dash-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 100px;
  padding: 20px 16px;
  background: #f0f8fe;
  border: 1px solid var(--color-brand);
  border-radius: 12px;
}

.dash-user__main {
  display: flex;
  flex: 1;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.dash-user__meta {
  min-width: 0;
}

.dash-user__avatar,
.dash-welcome__avatar,
.dash-header__avatar {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 8px;
}

.dash-user__avatar {
  width: 56px;
  height: 56px;
}

.dash-user__avatar img,
.dash-welcome__avatar img,
.dash-header__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-user__name {
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-user__balance {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 2px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--gradient-btn);
  border-radius: 4px;
}

.dash-user__rank {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 4px 14px rgba(43, 122, 229, 0.28);
  cursor: pointer;
}

.dash-user__rank .dash-level-badge {
  width: 32px;
  height: 36px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav__group {
  display: flex;
  flex-direction: column;
}

.dash-nav__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 10px 16px 10px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-brand);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.dash-nav__label:hover {
  background: #f8fafc;
}

.dash-nav__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.dash-nav__group.is-open .dash-nav__chevron {
  transform: rotate(0deg);
}

.dash-nav__panel {
  display: none;
  flex-direction: column;
}

.dash-nav__group.is-open .dash-nav__panel {
  display: flex;
}

.dash-nav__link {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 44px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
  text-decoration: none;
  border-radius: 8px;
}

.dash-nav__link:hover {
  color: var(--color-black);
  background: #f8fafc;
}

.dash-nav__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  background: #f1f1f1;
  border-radius: 4px;
}

.dash-nav__icon img,
.dash-nav__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  color: #000;
  filter: brightness(0);
}

.dash-nav__link.is-active .dash-nav__icon img,
.dash-nav__link.is-active .dash-nav__icon svg {
  filter: brightness(0) saturate(100%) invert(52%) sepia(44%) saturate(748%)
    hue-rotate(176deg) brightness(99%) contrast(94%);
}

.dash-nav__link.is-active {
  color: var(--color-white);
  background: var(--color-brand);
}

.dash-nav__link.is-active .dash-nav__icon {
  background: var(--color-white);
}

.dash-logout {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  text-decoration: none;
  border-top: 0.5px solid var(--color-brand);
}

.dash-logout img {
  width: 24px;
  height: 24px;
}

.dash-collapse {
  position: absolute;
  top: 32px;
  right: -13px;
  z-index: 1220;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: var(--color-brand);
  border: 0;
  border-radius: 8px;
}

.dash-collapse img {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.dash-app.is-collapsed .dash-collapse img {
  transform: rotate(180deg);
}

@media (min-width: 992px) {
  .dash-app.is-collapsed .dash-sidebar {
    width: 88px;
  }

  .dash-app.is-collapsed .dash-sidebar__scroll {
    padding-inline: 12px;
  }

  .dash-app.is-collapsed .dash-user__meta,
  .dash-app.is-collapsed .dash-user__rank,
  .dash-app.is-collapsed .dash-nav__label,
  .dash-app.is-collapsed .dash-logout {
    display: none;
  }

  .dash-app.is-collapsed .dash-nav__panel {
    display: flex;
  }

  .dash-app.is-collapsed .dash-nav__link {
    justify-content: center;
    padding-inline: 10px;
    font-size: 0;
    color: transparent;
  }

  .dash-app.is-collapsed .dash-user {
    justify-content: center;
    padding: 12px;
  }

  .dash-app.is-collapsed .dash-sidebar__brand img {
    width: 40px;
    object-fit: cover;
    object-position: left;
  }
}

.dash-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.dash-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding: 28px 40px;
  background: var(--color-white);
  border-bottom: 0.5px solid var(--color-brand);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}

.dash-header__start {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.dash-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.dash-page-title__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f1f1;
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
}

.dash-page-title__icon img,
.dash-page-title__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  color: #111;
  filter: brightness(0);
}

.dash-page-title__logo {
  display: none;
  flex-shrink: 0;
  align-items: center;
  line-height: 0;
}

.dash-page-title__logo img {
  display: block;
  width: auto;
  height: 28px;
  max-width: min(135px, 42vw);
}

.dash-page-title__name {
  margin: 0;
  overflow: hidden;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1b1b1b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-menu {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
}

.dash-menu img {
  width: 20px;
  height: 20px;
}

.dash-backdrop {
  display: none;
}

.dash-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 320px;
  max-width: 100%;
  height: 36px;
  padding: 0 16px;
  margin: 0;
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
}

body[data-page='addFunds'] .dash-search {
  display: none;
}

.dash-search__input {
  flex: 1;
  min-width: 0;
  padding: 0;
  font-size: 14px;
  color: var(--color-body-text);
  background: transparent;
  border: 0;
  outline: none;
}

.dash-search__submit {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dash-search__icon {
  width: 32px;
  height: 20px;
  pointer-events: none;
}

.dash-header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.dash-header__tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dash-more {
  display: none;
}

.dash-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
}

.dash-icon-btn.dropdown-toggle::after {
  display: none;
}

.dash-icon-btn img {
  width: 18px;
  height: 18px;
}

.dash-theme {
  display: flex;
  align-items: center;
  width: 80px;
  height: 36px;
  padding: 2px 9px 2px 2px;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
}

.dash-theme__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 5px;
}

.dash-theme__btn.is-active {
  background: #e8e8e3;
}

.dash-theme__btn img {
  width: 20px;
  height: 20px;
}

.dash-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  height: 36px;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
}

.dash-chip.dropdown-toggle::after {
  display: none;
}

.dash-header__lang,
.dash-header__currency {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  width: auto;
  margin: 0;
}

.dash-header__lang .dash-chip,
.dash-header__currency .dash-chip {
  width: auto;
  max-width: 180px;
  padding: 8px 10px;
}

.dash-lang__current,
.dash-currency__current {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-chip img {
  width: 20px;
  height: 20px;
}

.dropdown-max-height {
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
}

.dash-header__lang .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 180px;
  padding: 8px 0;
  margin: 0;
  overflow: auto;
  text-align: start;
}

.dash-header__lang .dropdown-menu.show {
  inset: auto !important;
  transform: none !important;
}

.dash-header__lang .dropdown-menu > li {
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.dash-header__lang .dropdown-item,
.site-lang__menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-black);
  text-align: start;
  white-space: nowrap;
  background: transparent;
  border: 0;
}

.dash-header__lang .dropdown-item:hover,
.dash-header__lang .dropdown-item.active {
  background: #eaf3ff;
}

.dash-bell {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  overflow: visible;
  color: var(--color-brand);
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 8px;
  text-decoration: none;
}

.dash-bell svg {
  display: block;
  flex-shrink: 0;
}

.dash-bell__badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #dc2626;
  border: 2px solid var(--color-white);
  border-radius: 999px;
}

.dash-header__avatar-wrap {
  position: relative;
}

.dash-header__avatar {
  display: block;
  width: 36px;
  height: 36px;
  padding: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 8px;
  cursor: pointer;
}

.dash-header__avatar.dropdown-toggle::after {
  display: none;
}

.dash-header__user-menu {
  min-width: 180px;
  padding: 8px;
  margin-top: 8px !important;
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.dash-header__user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-title);
  padding: 10px 12px;
}

.dash-header__user-menu-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: currentColor;
}

.dash-header__user-menu .dropdown-item:hover,
.dash-header__user-menu .dropdown-item:focus {
  color: var(--color-brand);
  background: #eaf3fc;
}

.dash-header__user-menu-logout {
  color: #b91c1c !important;
}

.dash-header__user-menu-logout:hover,
.dash-header__user-menu-logout:focus {
  color: #991b1b !important;
  background: #fee2e2 !important;
}

.dash-header__user-menu .dropdown-divider {
  margin: 6px 4px;
  border-color: var(--color-border);
}

.dash-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 32px 40px 40px;
}

.dash-welcome {
  overflow: hidden;
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.04);
}

.dash-welcome__top,
.dash-welcome__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
}

.dash-welcome__top {
  background: #f1f1f1;
}

.dash-welcome__bottom {
  background: var(--color-white);
}

.dash-welcome__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.dash-welcome__copy {
  margin: 0;
  font-size: 16px;
  color: var(--color-body-text);
}

.dash-welcome__level {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dash-welcome__level span:last-child {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dash-welcome__level img,
.dash-welcome__level .dash-level-badge {
  width: 40px;
  height: 40px;
}

.dash-welcome__person {
  display: flex;
  gap: 16px;
  align-items: center;
}

.dash-welcome__avatar {
  width: 70px;
  height: 70px;
}

.dash-welcome__name,
.dash-welcome__handle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.dash-welcome__name {
  margin-bottom: 8px;
  font-weight: 600;
}

.dash-welcome__handle {
  color: var(--color-body-text);
}

.dash-welcome__stats {
  display: flex;
  gap: 24px;
  text-align: center;
}

.dash-welcome__stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
}

.dash-welcome__stats span {
  font-size: 14px;
  color: var(--color-body-text);
}

.dash-platforms,
.dash-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 24px 28px;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.dash-platforms__btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 6px;
  background: transparent;
  border: 0.5px solid var(--color-brand);
  border-radius: 12px;
}

.dash-platforms__btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dash-platforms__btn.is-active {
  background: var(--gradient-btn);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.dash-platforms__all {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-body-text);
}

.dash-platforms__btn.is-active .dash-platforms__all {
  color: var(--color-white);
}

.dash-toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.dash-toast {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.dash-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Style the injected "Clear filter" row in Select2 (first option while filtered) */
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option:first-child {
  font-weight: 600;
  color: var(--color-brand);
  border-bottom: 1px solid var(--color-border);
}

.dash-actions {
  gap: 12px;
}

.dash-actions__primary,
.dash-actions__secondary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 12px;
  box-shadow:
    0 24.721px 16.129px rgba(0, 0, 0, 0.08),
    0 2px 3px rgba(0, 0, 0, 0.2);
}

.dash-actions__primary {
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
}

.dash-actions__secondary {
  color: var(--color-black);
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
}

.dash-actions__primary img,
.dash-actions__secondary img {
  width: 20px;
  height: 20px;
}

.dash-actions__primary img {
  filter: brightness(0) invert(1);
}

.dash-order {
  display: grid;
  grid-template-columns: minmax(0, 924px) minmax(0, 592px);
  gap: 24px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.dash-order__forms {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.dash-card,
.dash-instruct,
.dash-order-levels,
.dash-tips {
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.dash-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
  padding: 32px;
  overflow: visible;
}

.dash-card__heading {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dash-card__heading h2,
.dash-instruct__title,
.dash-tips h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.dash-card__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-weight: 600;
  background: #f1f1f1;
  border-radius: 4px;
}

.dash-label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.dash-order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.dash-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.dash-form-group--terms {
  flex-direction: row;
  align-items: flex-start;
}

.dash-order-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.dash-order-fields .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.dash-order-fields .control-label,
.dash-order-form .control-label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-body-text);
}

.dash-field {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 20px;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.dash-field img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
}

.dash-field > input,
.dash-field > select,
.dash-field > .form-control {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  padding: 0;
  font-size: 14px;
  color: var(--color-body-text);
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
  appearance: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-field--textarea {
  align-items: stretch;
  height: auto;
  min-height: 280px;
  padding: 14px 20px;
}

.dash-field--textarea > textarea,
.dash-field--textarea > .form-control {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 252px;
  padding: 0;
  line-height: 1.55;
  overflow: auto;
  text-overflow: unset;
  white-space: pre-wrap;
  resize: vertical;
  font-family: inherit;
}

.dash-mass-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-body-text);
  opacity: 0.75;
}

.dash-form-group--search {
  position: relative;
  z-index: 1100;
  overflow: visible;
}

.dash-order-search {
  position: relative;
  z-index: 1100;
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  height: 48px;
  padding: 0 20px;
  overflow: visible;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.dash-order-search__icon {
  flex-shrink: 0;
  align-self: center;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/*
  Vue mounts on this node. Keep it static so #select-category-container
  positions against .dash-order-search (full field width, below the bar).
*/
.dash-order-search #new-order-search,
.dash-order-search .search-dropdown {
  position: static !important;
  display: block !important;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  height: auto !important;
  min-height: 48px;
  margin: 0;
  overflow: visible !important;
}

.dash-order-search .input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
}

.dash-order-search .input-wrapper > button,
.dash-order-search .input-wrapper > .btn {
  display: none !important;
}

.dash-order-search #template-input,
.dash-order-search .input-wrapper .form-control,
.dash-order-search .input-wrapper .select2-selection {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  height: 48px !important;
  margin: 0;
  padding: 0 !important;
  font-size: 14px;
  line-height: 46px !important;
  color: var(--color-body-text);
  text-align: start;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.dash-order-search .select2-selection__arrow,
.dash-order-search .select2-selection__clear {
  display: none !important;
}

/*
  Perfect Panel Vue search renders results in #select-category-container
  (sibling of .input-wrapper). Keep that panel under the field with a high
  stacking order so category/service fields do not cover it.
*/
.dash-order-search #select-category-container {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1100 !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
}

.dash-order-search #select-category-container > .select2-container {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 100% !important;
}

.dash-order-search #select-category-container .select2-dropdown,
.dash-order-search #select-category-container .select2-dropdown.dropdown-menu {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dash-order-search #select-category-container .select2-results {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Perfect Panel virtual-list is the only scroller */
.dash-order-search #select-category-container .select2-results > div {
  max-height: 280px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.dash-order-search #select-category-container .select2-results__options,
.dash-order-search
  #select-category-container
  .select2-results__options.dropdown-menu {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dash-order-search #select-category-container .select2-results__option,
.dash-order-search #select-category-container .dropdown-menu > li,
.dash-order-search #select-category-container .dropdown-menu > li > a {
  display: block;
  width: 100%;
  padding: 10px 12px 10px 20px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body-text);
  text-align: start !important;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: calc(10px + 10px + 1.45em * 3);
  cursor: pointer;
}

.dash-order-search #select-category-container .select2-results__option > *,
.dash-order-search #select-category-container .dropdown-menu > li > a > * {
  float: none !important;
  display: inline !important;
  position: static !important;
  width: auto !important;
  text-align: start !important;
}

.dash-order-search #select-category-container .select2-results__option:hover,
.dash-order-search
  #select-category-container
  .select2-results__option--highlighted {
  background: #f1f5f9;
}

.dash-order-search #select-category-container .select2-selection__id,
.dash-order-search #select-category-container .badge.select2-selection__id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-white) !important;
  background: var(--color-brand) !important;
  border: 0;
  border-radius: 999px;
}

/* Service / category Select2 (often body-attached): blue IDs + left-aligned options */
.dash-order .select2-selection__id,
.dash-order .badge.select2-selection__id,
body > .select2-container .select2-selection__id,
body > .select2-container .badge.select2-selection__id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-white) !important;
  background: var(--color-brand) !important;
  border: 0;
  border-radius: 999px;
}

body > .select2-container--open.dash-order-select-dropdown {
  z-index: 1100 !important;
}

body > .select2-container--open.dash-order-select-dropdown .select2-dropdown,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-dropdown.select2-dropdown--below,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-dropdown.select2-dropdown--above,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-dropdown.dropdown-menu {
  box-sizing: border-box;
  max-height: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--color-white) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Single scrollbar on results only */
body > .select2-container--open.dash-order-select-dropdown .select2-results {
  max-height: 280px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border-radius: 12px;
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__options {
  max-height: none !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 20px !important;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body-text);
  text-align: start !important;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: calc(10px + 10px + 1.45em * 3);
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  > a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  color: inherit;
  text-align: start !important;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Keep name + price as one left-flowing line (no right-side price column) */
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  > *,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  > a
  > * {
  float: none !important;
  display: inline !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 0.2em 0 0 !important;
  padding: 0 !important;
  text-align: start !important;
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  .select2-selection__id,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  .badge.select2-selection__id,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  > a
  .select2-selection__id,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option
  > a
  .badge.select2-selection__id {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 6px !important;
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option:hover,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option--highlighted,
body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option.active {
  background: #f1f5f9;
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Keep the order card from clipping the open results panel */
.dash-order__forms,
.dash-order__forms .dash-card,
.dash-order__forms #order-form,
.dash-order__forms #addfunds-form {
  overflow: visible;
}

.dash-field img,
.dash-badge {
  flex-shrink: 0;
}

.dash-field__chevron {
  flex-shrink: 0;
}

.dash-field--select {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-inline-end: 12px;
  overflow: visible;
}

.dash-field--select:focus-within,
.dash-field--select:has(.open),
.dash-field--select:has(.show),
.dash-field--select:has(.select2-container--open) {
  z-index: 40;
}

.dash-field--select > select {
  display: block;
  width: 100%;
  height: 100%;
  padding-inline-end: 28px;
  line-height: 46px;
  cursor: pointer;
}

.dash-field--select > .bootstrap-select,
.dash-field--select > .btn-group,
.dash-field--select > .select2,
.dash-field--select > .select2-container {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  width: 0;
  min-width: 0;
  max-width: 100%;
  height: 100%;
}

.dash-field--select .select2-container {
  width: 100% !important;
}

.dash-field--select .select2-container .selection {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
}

.dash-field--select .bootstrap-select > select,
.dash-field--select select.select2-hidden-accessible,
.dash-field--select .select2-hidden-accessible {
  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;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  flex: none !important;
}

.dash-field--select .dropdown-toggle,
.dash-field--select .bootstrap-select > .btn,
.dash-field--select .select2-selection,
.dash-field--select .select2-selection--single {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-body-text);
  text-align: start;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.dash-field--select .filter-option,
.dash-field--select .filter-option-inner,
.dash-field--select .filter-option-inner-inner,
.dash-field--select .select2-selection__rendered {
  display: block !important;
  float: none !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0 28px 0 0 !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
  color: inherit !important;
  text-align: start !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dash-field--select .filter-option-inner-inner {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Selected value: badge + name + price flow as one truncating line */
.dash-field--select .select2-selection__rendered > *,
.dash-field--select .filter-option-inner-inner > * {
  float: none !important;
  display: inline !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 0.2em 0 0 !important;
  vertical-align: middle;
}

.dash-field--select .select2-selection__rendered .select2-selection__id,
.dash-field--select .select2-selection__rendered .badge.select2-selection__id,
.dash-field--select .select2-selection__rendered > img {
  display: inline-flex !important;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 6px !important;
}

.dash-field--select .bs-caret,
.dash-field--select .caret,
.dash-field--select .select2-selection__arrow {
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  left: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

.dash-field--select .select2-selection__arrow b {
  top: 50% !important;
  left: 50% !important;
  margin-top: -2px !important;
  margin-left: -4px !important;
}

[dir='rtl'] .dash-field--select .select2-selection__rendered,
.rtl-form .dash-field--select .select2-selection__rendered {
  padding: 0 0 0 28px !important;
}

[dir='rtl'] .dash-field--select .select2-selection__arrow,
.rtl-form .dash-field--select .select2-selection__arrow {
  right: auto !important;
  left: 0 !important;
}

.dash-field--select .dropdown-menu,
.dash-field--select .select2-dropdown,
.dash-field--select .select2-dropdown.select2-dropdown--below,
.dash-field--select .select2-dropdown.select2-dropdown--above,
.dash-field--select .ss-content {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
  float: none !important;
  width: 100% !important;
  min-width: 100% !important;
  max-height: 280px;
  margin: 0 !important;
  padding: 8px 0;
  overflow: auto;
  background: var(--color-white) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.dash-field--select .dropdown-menu.inner {
  position: static !important;
  top: auto !important;
  display: block !important;
  max-height: 240px;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dash-field--select .dropdown-menu > li,
.dash-field--select .dropdown-menu .dropdown-item,
.dash-field--select .dropdown-menu > li > a,
.dash-field--select .select2-results__option,
.dash-field--select .select2-results__option > a {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 10px 12px 10px 20px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body-text);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: calc(10px + 10px + 1.45em * 3);
  text-decoration: none;
  text-align: start !important;
}

.dash-field--select .dropdown-menu > li > *,
.dash-field--select .dropdown-menu > li > a > *,
.dash-field--select .select2-results__option > *,
.dash-field--select .select2-results__option > a > * {
  float: none !important;
  display: inline !important;
  position: static !important;
  width: auto !important;
  text-align: start !important;
}

.dash-field--select .select2-results__option .select2-selection__id,
.dash-field--select .select2-results__option .badge.select2-selection__id {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 6px !important;
}

.dash-field--select .dropdown-menu > li:hover,
.dash-field--select .dropdown-menu > li.active,
.dash-field--select .dropdown-menu > li.selected,
.dash-field--select .dropdown-menu .dropdown-item:hover,
.dash-field--select .dropdown-menu .dropdown-item.active,
.dash-field--select .select2-results__option:hover,
.dash-field--select .select2-results__option--highlighted,
.dash-field--select .select2-results__option[aria-selected='true'] {
  background: var(--color-input-bg);
}

.dash-field--select .bs-searchbox,
.dash-field--select .dropdown-menu .form-control {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 8px 12px;
}

.dash-field--select .bs-searchbox .form-control {
  display: block;
  height: 36px;
  padding: 0 12px;
  line-height: 36px;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.dash-desc,
#service_description .panel-body,
#service_description .dash-desc {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  max-height: 400px;
  height: auto;
  padding: 14px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body-text);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

#service_description.hidden {
  display: none !important;
}

#service_description:not(.hidden) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-order-fields .form-control,
.dash-order-fields input[type='text'],
.dash-order-fields input[type='url'],
.dash-order-fields input[type='number'],
.dash-order-fields textarea,
.dash-order-fields select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-body-text);
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: none;
  outline: none;
}

.dash-order-fields textarea {
  height: auto;
  min-height: 96px;
  padding: 14px 20px;
  resize: vertical;
}

.dash-order-fields .help-block,
.dash-order-fields .form-text,
.dash-order-fields small {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-body-text);
}

.dash-order-form .alert,
.dash-alert {
  margin: 0;
  position: relative;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  border-radius: 12px;
}

.dash-alert.alert-dismissible {
  padding-right: 2.75rem;
}

.dash-alert__body {
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.dash-alert.alert-danger,
.dash-alert.alert-danger .dash-alert__body,
.dash-alert.alert-danger .dash-alert__body h4 {
  color: #842029;
}

.dash-alert.alert-success,
.dash-alert.alert-success .dash-alert__body,
.dash-alert.alert-success .dash-alert__body h4 {
  color: #0f5132;
}

.dash-alert__body h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.dash-alert.alert-dismissible .btn-close {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  left: auto;
  z-index: 2;
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.75;
  transform: translateY(-50%);
  flex: none;
  box-shadow: none;
}

.dash-alert.alert-danger.alert-dismissible .btn-close {
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23842029'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
    center/1em auto no-repeat;
}

.dash-alert.alert-success.alert-dismissible .btn-close {
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f5132'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
    center/1em auto no-repeat;
}

.dash-alert.alert-dismissible .btn-close:hover,
.dash-alert.alert-dismissible .btn-close:focus {
  opacity: 1;
  box-shadow: none;
}

[dir='rtl'] .dash-alert,
.rtl-alert.dash-alert {
  padding: 0.85rem 1rem 0.85rem 2.75rem;
}

[dir='rtl'] .dash-alert.alert-dismissible,
.rtl-alert.dash-alert.alert-dismissible {
  padding-right: 1rem;
  padding-left: 2.75rem;
}

[dir='rtl'] .dash-alert.alert-dismissible .btn-close,
.rtl-alert.dash-alert.alert-dismissible .btn-close {
  right: auto;
  left: 0.85rem;
}

html[data-theme='dark'] .dash-alert.alert-danger.alert-dismissible .btn-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fca5a5'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

html[data-theme='dark'] .dash-alert.alert-success.alert-dismissible .btn-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2386efac'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-brand);
  border-radius: 48px;
}

.dash-hint {
  margin: -10px 0 0;
  font-size: 14px;
  color: var(--color-body-text);
}

.dash-field--charge {
  background: #dceefd;
  border: 0;
}

.dash-submit {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-btn);
}

.dash-order__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

.dash-payments {
  padding: 32px;
}

.dash-payments__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.dash-payments__item {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
  text-align: left;
  background: var(--color-input-bg);
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.dash-payments__item.is-active {
  color: var(--color-white);
  background: var(--color-brand);
}

.dash-payments__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.dash-payments__icon img {
  display: block;
  max-width: 32px;
  max-height: 24px;
  object-fit: contain;
}

/* Cryptomus asset is white-on-transparent — invert for light backgrounds */
.dash-payments__icon--cryptomus img,
.dash-payments__icon img[src*='payment-cryptomus'] {
  filter: brightness(0);
}

html[data-theme='dark'] .dash-payments__icon--cryptomus img,
html[data-theme='dark'] .dash-payments__icon img[src*='payment-cryptomus'] {
  filter: none;
}

.dash-funds__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-title);
}

.dash-funds-history {
  margin-top: 24px;
}

.dash-funds-history .dash-orders-pagination {
  padding: 4px 24px 20px;
}

.dash-funds-history__head {
  padding: 20px 24px 8px;
}

.dash-funds-history-table {
  min-width: 720px;
}

.dash-funds-history__amount {
  font-weight: 600;
  color: var(--color-title);
  white-space: nowrap;
}

.dash-funds-history__action {
  text-align: end;
}

.dash-funds-invoice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand);
  text-decoration: none;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.dash-funds-invoice:hover {
  color: var(--color-white);
  background: var(--color-brand);
  border-color: transparent;
}

.dash-funds-invoice--empty {
  color: var(--color-body-text);
  background: transparent;
  border-color: transparent;
}

.dash-services-order-link {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand);
  text-decoration: none;
}

.dash-services-order-link:hover {
  text-decoration: underline;
}

.visually-hidden,
.dash-field.visually-hidden {
  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;
}

.dash-funds__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dash-funds-method {
  position: relative;
  padding: 0;
  overflow: visible;
}

.dash-funds-method.is-open {
  z-index: 40;
}

.dash-funds-method__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 40px 0 20px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-body-text);
  text-align: start;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dash-funds-method__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-funds-method__arrow {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 0;
  height: 0;
  border-top: 6px solid var(--color-body-text);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transform: translateY(-25%);
  transition: transform 0.2s ease;
}

.dash-funds-method.is-open .dash-funds-method__arrow {
  transform: translateY(-75%) rotate(180deg);
}

[dir='rtl'] .dash-funds-method__trigger,
.rtl-form .dash-funds-method__trigger {
  padding: 0 20px 0 40px;
}

[dir='rtl'] .dash-funds-method__arrow,
.rtl-form .dash-funds-method__arrow {
  right: auto;
  left: 12px;
}

.dash-funds-method__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  max-height: 280px;
  overflow: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dash-funds-method__option {
  display: block;
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body-text);
  text-align: start;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dash-funds-method__option:hover,
.dash-funds-method__option.is-active {
  background: var(--color-input-bg);
}

.dash-amounts {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.dash-amounts__btn {
  min-width: 0;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #4a87b7;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
}

.dash-amounts__btn.is-active {
  color: var(--color-white);
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.dash-payments__item span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-instruct {
  overflow: hidden;
}

.dash-instruct__title {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 32px;
  background: #f1f1f1;
}

.dash-instruct__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 32px;
  list-style: none;
}

.dash-instruct__list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-body-text);
}

.dash-instruct__list li > span:first-child {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-brand);
  border-radius: 16px;
}

.dash-instruct__list li > span:last-child {
  display: block;
  flex: 1;
}

.dash-order-levels {
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.dash-order-levels__hello {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e8eef6;
}

.dash-order-levels__avatar {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-brand);
  border-radius: 8px;
}

.dash-order-levels__greet {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-title);
}

.dash-order-levels__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 16px 20px 12px;
}

.dash-order-levels__facts > div {
  display: grid;
  grid-template-columns: 7.75rem minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.45;
}

.dash-order-levels__facts dt {
  margin: 0;
  font-weight: 600;
  color: var(--color-title);
}

.dash-order-levels__facts dd {
  margin: 0;
  color: var(--color-body-text);
  overflow-wrap: anywhere;
}

.dash-order-levels__type,
.dash-order-levels__pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  background: linear-gradient(
    180deg,
    var(--badge-a, #64748b),
    var(--badge-b, #475569)
  );
  border-radius: 999px;
}

.dash-order-levels__type--new,
.dash-order-levels__row--new .dash-order-levels__pill {
  --badge-a: #3d5a80;
  --badge-b: #224786;
}

.dash-order-levels__type--normal,
.dash-order-levels__row--normal .dash-order-levels__pill {
  --badge-a: #94a3b8;
  --badge-b: #64748b;
}

.dash-order-levels__type--elite,
.dash-order-levels__row--elite .dash-order-levels__pill {
  --badge-a: #f59e0b;
  --badge-b: #c2410c;
}

.dash-order-levels__type--vip,
.dash-order-levels__row--vip .dash-order-levels__pill {
  --badge-a: #2dd4bf;
  --badge-b: #0f766e;
}

.dash-order-levels__type--master,
.dash-order-levels__row--master .dash-order-levels__pill {
  --badge-a: #fbbf24;
  --badge-b: #d97706;
}

.dash-order-levels__type--diamond,
.dash-order-levels__row--diamond .dash-order-levels__pill {
  --badge-a: #a78bfa;
  --badge-b: #6d28d9;
}

.dash-order-levels__table-wrap {
  max-width: 100%;
  padding: 0 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-order-levels__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}

.dash-order-levels__table th {
  padding: 8px 10px;
  font-weight: 700;
  color: #4b5563;
  text-align: start;
  background: #f1f1f1;
}

.dash-order-levels__table th:first-child {
  border-start-start-radius: 8px;
}

.dash-order-levels__table th:last-child {
  border-start-end-radius: 8px;
}

.dash-order-levels__table td {
  padding: 8px 10px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.dash-order-levels__table td:first-child,
.dash-order-levels__table th:first-child {
  width: 28%;
}

.dash-order-levels__table td:nth-child(2),
.dash-order-levels__table th:nth-child(2) {
  width: 34%;
}

.dash-order-levels__row td:nth-child(n + 2) {
  font-weight: 600;
}

.dash-order-levels__row--new td:nth-child(n + 2) {
  color: #224786;
}

.dash-order-levels__row--normal td:nth-child(n + 2) {
  color: #64748b;
}

.dash-order-levels__row--elite td:nth-child(n + 2) {
  color: #c2410c;
}

.dash-order-levels__row--vip td:nth-child(n + 2) {
  color: #0f766e;
}

.dash-order-levels__row--master td:nth-child(n + 2) {
  color: #d97706;
}

.dash-order-levels__row--diamond td:nth-child(n + 2) {
  color: #6d28d9;
}

.dash-order-levels__row.is-current {
  background: #224786;
}

.dash-order-levels__row.is-current td,
.dash-order-levels__row.is-current td:nth-child(n + 2) {
  color: var(--color-white);
}

.dash-tips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px;
}

.dash-tips p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
  opacity: 0.85;
}

.dash-tips__art {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--color-input-bg);
  border: 0.5px solid var(--color-brand);
  border-radius: 60px;
}

.dash-tips__art::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: #f28b2c;
  opacity: 0.5;
  filter: blur(15px);
  border-radius: 40px;
}

.dash-tips__art img {
  position: relative;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

[dir='rtl'] .dash-nav__label {
  text-align: right;
}

[dir='rtl'] .dash-sidebar {
  border-right: 0;
  border-left: 0.5px solid var(--color-brand);
}

[dir='rtl'] .dash-collapse {
  right: auto;
  left: -13px;
}

[dir='rtl'] .dash-collapse img {
  transform: scaleX(-1);
}

[dir='rtl'] .dash-app.is-collapsed .dash-collapse img {
  transform: scaleX(-1) rotate(180deg);
}

@media (max-width: 1399.98px) {
  .dash-header,
  .dash-main {
    padding-inline: 24px;
  }

  .dash-order {
    grid-template-columns: 1fr;
  }

  .dash-platforms {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .dash-platforms__btn {
    flex: 0 0 72px;
  }

  .dash-payments__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dash-amounts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .dash-menu {
    display: flex;
  }

  .dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1300;
    width: min(300px, 86vw);
    height: 100%;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: none;
  }

  .dash-app.is-sidebar-open .dash-sidebar {
    transform: none;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
  }

  .dash-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1250;
    background: rgba(17, 17, 17, 0.4);
  }

  .dash-app.is-sidebar-open .dash-backdrop {
    display: block;
  }

  .dash-header,
  .dash-main {
    padding: 12px 16px;
  }

  .dash-header {
    flex-wrap: nowrap;
    min-height: 60px;
    gap: 8px;
  }

  .dash-header__start {
    flex: 1 1 auto;
    min-width: 0;
  }

  .dash-page-title__logo {
    display: flex;
  }

  .dash-page-title__icon,
  .dash-page-title__name {
    display: none;
  }

  .dash-search {
    display: none;
  }

  .dash-header__tools {
    display: flex;
    gap: 6px;
  }

  .dash-header__lang {
    order: 1;
  }

  .dash-header__currency {
    order: 2;
  }

  .dash-header__tools .dash-theme {
    order: 3;
    width: 68px;
    padding: 2px;
  }

  .dash-header__tools .dash-theme__btn {
    width: 30px;
    height: 28px;
  }

  .dash-header__tools .dash-chip {
    height: 36px;
    padding: 6px 8px;
    gap: 4px;
  }

  .dash-header__tools
    .dash-chip
    span:not(.dash-lang__current):not(.dash-currency__current) {
    display: none;
  }

  .dash-bell,
  .dash-header__avatar-wrap {
    display: inline-flex;
    flex-shrink: 0;
  }

  .dash-more {
    display: none;
  }

  .dash-platforms {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .dash-platforms__btn {
    flex: none;
    width: 100%;
    height: 44px;
  }

  .dash-payments {
    padding: 16px;
  }

  .dash-payments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dash-payments__item {
    padding: 10px 12px;
    font-size: 14px;
  }

  .dash-payments__icon {
    width: 36px;
    height: 36px;
  }

  .dash-amounts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .dash-funds__title {
    font-size: 18px;
  }

  .dash-welcome__top,
  .dash-welcome__bottom,
  .dash-welcome__person,
  .dash-tips {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-welcome__top,
  .dash-welcome__bottom,
  .dash-card,
  .dash-tips,
  .dash-platforms,
  .dash-actions {
    padding: 16px;
  }

  .dash-welcome__stats {
    width: 100%;
    justify-content: space-between;
  }

  .dash-welcome__level span {
    font-size: 20px;
  }

  .dash-order-levels__facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .dash-order-levels__table-wrap {
    padding-inline: 8px;
  }

  .dash-order-levels__table {
    font-size: 11px;
  }

  .dash-order-levels__table th,
  .dash-order-levels__table td {
    padding: 6px 4px;
  }

  .dash-order-levels__pill {
    padding: 2px 6px;
    font-size: 10px;
  }

  .dash-welcome__title,
  .dash-card__heading h2,
  .dash-instruct__title,
  .dash-tips h2 {
    font-size: 18px;
  }

  .dash-welcome__copy {
    font-size: 14px;
  }

  .dash-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .dash-actions__primary,
  .dash-actions__secondary {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
    justify-content: center;
    white-space: nowrap;
  }

  .dash-instruct__title {
    height: auto;
    padding: 16px;
  }

  .dash-instruct__list {
    padding: 16px;
    gap: 16px;
  }

  .dash-tips__art {
    align-self: center;
  }
}

@media (max-width: 575.98px) {
  .dash-welcome__stats {
    gap: 12px;
  }

  .dash-welcome__stats strong {
    font-size: 18px;
  }

  .dash-welcome__avatar {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 991.98px) {
  [dir='rtl'] .dash-sidebar {
    left: auto;
    right: 0;
    transform: translateX(105%);
  }

  [dir='rtl'] .dash-app.is-sidebar-open .dash-sidebar {
    transform: none;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  }
}

/* Services page */
.dash-services-platforms {
  gap: 0;
  padding: 28px;
}

.services-page--guest {
  padding: 40px 0 80px;
}

.services-page--guest .services-page__container {
  max-width: var(--header-max-width);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-page--guest .dash-services-platforms,
.services-page--guest .dash-services-toolbar,
.services-page--guest .dash-services-table-card {
  width: 100%;
}

.dash-platforms--embedded {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dash-services-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.dash-services-toolbar__left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.dash-services-toolbar__filter,
.dash-services-toolbar__currency {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  border-radius: 12px;
  box-shadow:
    0 24.721px 16.129px rgba(0, 0, 0, 0.08),
    0 2px 3px rgba(0, 0, 0, 0.2);
}

.dash-services-toolbar__filter {
  max-width: min(280px, 100%);
  overflow: hidden;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
}

.dash-services-toolbar__filter > img {
  flex-shrink: 0;
}

.dash-services-toolbar__filter [data-services-filter-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-services-toolbar__currency {
  color: var(--color-black);
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
}

.dash-services-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 300px;
  height: 44px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.16);
}

.dash-services-search input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  font-size: 14px;
  color: var(--color-body-text);
  background: transparent;
  border: 0;
  outline: none;
}

.dash-services-search input::placeholder {
  color: var(--color-body-text);
}

.dash-services-search button {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  padding: 0;
  background: var(--gradient-btn);
  border: 0;
  border-radius: 0 11px 11px 0;
}

.dash-services-dropdown .dropdown-toggle::after {
  display: none;
}

.dash-services-dropdown-menu {
  width: 300px;
  max-width: min(300px, calc(100vw - 48px));
  max-height: 320px;
  padding: 8px;
  margin-top: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--color-white);
  border: 0.5px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overscroll-behavior: contain;
}

.dash-services-dropdown-menu .dropdown-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-body-text);
  white-space: normal;
  border-radius: 8px;
}

.dash-services-dropdown-menu .dropdown-item img,
.dash-services-dropdown-menu
  .dropdown-item
  > span:first-child:not(:only-child) {
  flex-shrink: 0;
  margin-top: 2px;
}

.dash-services-dropdown-menu .dropdown-item > span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  white-space: normal;
  word-break: break-word;
}

.dash-services-dropdown-menu .dropdown-item:not(:has(> span)) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  word-break: break-word;
}

.dash-services-dropdown-menu .dropdown-item.active,
.dash-services-dropdown-menu .dropdown-item:active {
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-services-table-card.dash-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0.5px solid #224786;
  border-radius: 16px;
}

.dash-services-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dash-services-scroll::-webkit-scrollbar {
  display: none;
}

.dash-services-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.dash-services-scroll.is-dragging .dash-services-table {
  pointer-events: none;
}

.dash-services-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--color-body-text);
  --bs-table-border-color: var(--color-border);
  width: 100%;
  min-width: 1100px;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.dash-services-table thead .dash-services-table-head {
  background: var(--gradient-btn);
}

.dash-services-table thead .dash-services-table-head th {
  padding: 22px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-white);
  white-space: nowrap;
  vertical-align: middle;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dash-services-table thead .dash-services-table-head th:first-child {
  padding-inline-start: 28px;
  border-start-start-radius: 16px;
}

.dash-services-table thead .dash-services-table-head th:last-child {
  padding-inline-end: 28px;
  text-align: end;
  border-start-end-radius: 16px;
}

.dash-services-col-id {
  width: 72px;
}

.dash-services-col-service {
  width: 38%;
}

.dash-services-col-rate {
  width: 14%;
}

.dash-services-col-min {
  width: 12%;
}

.dash-services-col-max {
  width: 12%;
}

.dash-services-col-time {
  width: 14%;
}

.dash-services-col-action {
  width: 14%;
}

.dash-services-table--with-time .dash-services-col-service {
  width: 30%;
}

.dash-services-table--with-time .dash-services-col-rate {
  width: 12%;
}

.dash-services-table--with-time .dash-services-col-min,
.dash-services-table--with-time .dash-services-col-max {
  width: 10%;
}

.dash-services-table--with-time .dash-services-col-action {
  width: 12%;
}

.dash-services-table tbody {
  background: var(--color-white);
}

.dash-services-table tbody td {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
  border: 0;
}

.dash-services-table tbody td:first-child {
  padding-inline-start: 28px;
}

.dash-services-table tbody td:last-child {
  padding-inline-end: 28px;
}

.dash-services-group:first-of-type .dash-services-category td {
  padding-top: 16px;
}

.dash-services-category td {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.dash-services-category__toggle {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  text-align: inherit;
  cursor: pointer;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border: 1px solid #d5e4f6;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(34, 71, 134, 0.05);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dash-services-category__toggle:hover,
.dash-services-category__toggle:focus-visible {
  background: #eaf3ff;
  border-color: var(--color-brand);
  box-shadow: 0 2px 8px rgba(43, 122, 229, 0.12);
  outline: none;
}

.dash-services-group:not(.is-collapsed) .dash-services-category__toggle {
  background: #eaf3ff;
  border-color: var(--color-brand);
}

.dash-services-category__label {
  display: inline-flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-title);
}

.dash-services-category__label > span:last-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-services-category__label img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.dash-services-category__arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #224786;
  background: var(--color-white);
  border: 1px solid #c5d7ee;
  border-radius: 8px;
}

.dash-services-category__arrow img {
  display: none;
}

.dash-services-category__arrow::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-135deg);
  transition:
    transform 0.2s ease,
    margin 0.2s ease;
}

.dash-services-group.is-collapsed .dash-services-category__arrow::after {
  margin-top: 3px;
  transform: rotate(45deg);
}

.dash-services-group.is-collapsed .dash-services-row,
.dash-services-row.is-deferred,
.dash-services-group.is-scroll-pending {
  display: none;
}

.dash-services-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-body-text);
}

.dash-services-more[hidden] {
  display: none;
}

.dash-services-row td {
  padding-top: 0;
  padding-bottom: 20px;
  font-weight: 400;
  color: var(--color-body-text);
}

.dash-services-row__id {
  font-weight: 500;
  white-space: nowrap;
}

.dash-services-row__id-inner {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.dash-services-row__id-num {
  font-variant-numeric: tabular-nums;
}

.dash-services-row__fav-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  color: #c4c4c4;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.dash-services-row__fav-btn [data-favorite-icon] {
  display: block;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  color: inherit;
}

/* Kill Font Awesome pseudo-icons if those classes get applied later */
.dash-services-row__fav-btn [data-favorite-icon]::before,
.dash-services-row__fav-btn .fa-star::before,
.dash-services-row__fav-btn .fas::before,
.dash-services-row__fav-btn .far::before {
  content: none !important;
}

.dash-services-row__fav-btn.favorite-active,
.dash-services-row__fav-btn.favorite-active [data-favorite-icon] {
  color: #f5b301;
}

.dash-services-row__fav-btn.favorite-loading {
  opacity: 0.55;
  pointer-events: none;
}

.dash-services-row__fav-btn:hover {
  color: #f5b301;
  background: #fff7e0;
}

.dash-services-row__star {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1;
  color: #9ca3af;
}

.dash-services-row__service {
  word-break: normal;
  overflow-wrap: break-word;
}

.dash-services-row__rate,
.dash-services-row__min,
.dash-services-row__max {
  white-space: nowrap;
}

.dash-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.dash-services-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-brand);
  white-space: nowrap;
  background: #f1f1f1;
  border: 0.5px solid var(--color-brand);
  border-radius: 6px;
}

.dash-services-name {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  color: var(--color-body-text);
}

.dash-services-name span {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.dash-services-row__time {
  white-space: nowrap;
}

.dash-services-row__time span {
  display: inline-block;
  max-width: 140px;
  vertical-align: top;
}

.dash-services-row__time img {
  display: inline-block;
  margin-inline-start: 12px;
  vertical-align: top;
}

.dash-services-row__action {
  text-align: end;
  white-space: nowrap;
}

.dash-services-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 40px;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
  border-radius: 8px;
}

.dash-services-view-btn:hover {
  filter: brightness(1.05);
}

/* Service details modal */
body.dash-service-modal-open {
  overflow: hidden;
}

.dash-service-modal[hidden] {
  display: none !important;
}

.dash-service-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dash-service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.dash-service-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.dash-service-modal__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-service-modal__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.dash-service-modal__close {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  border-radius: 10px;
}

.dash-service-modal__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.dash-service-modal__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 20px 22px;
  overflow: auto;
  background: #f8fafc;
}

.dash-service-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dash-service-modal__card,
.dash-service-modal__desc {
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dash-service-modal__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
}

.dash-service-modal__value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-title);
  word-break: break-word;
}

.dash-service-modal__desc-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body-text);
  word-break: break-word;
}

.dash-service-modal__desc-body p {
  margin: 0 0 0.5em;
}

.dash-service-modal__desc-body p:last-child {
  margin-bottom: 0;
}

.dash-service-modal__loading,
.dash-service-modal__empty {
  color: #64748b;
}

.dash-service-modal__footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 22px 20px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.dash-service-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.dash-service-modal__btn--close {
  color: var(--color-white);
  background: var(--color-brand);
}

.dash-service-modal__btn--order {
  color: var(--color-white);
  background: linear-gradient(90deg, #2b7ae5 0%, #4f9ff1 100%);
  box-shadow: 0 4px 12px rgba(43, 122, 229, 0.28);
}

.dash-service-modal__btn--order:hover,
.dash-service-modal__btn--close:hover {
  filter: brightness(1.06);
  color: var(--color-white);
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .dash-service-modal {
    padding: 12px;
  }

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

  .dash-service-modal__footer {
    flex-direction: column-reverse;
  }

  .dash-service-modal__btn {
    width: 100%;
  }
}

.hidden {
  display: none !important;
}

@media (max-width: 991.98px) {
  .dash-services-platforms,
  .dash-services-toolbar {
    padding: 16px;
  }

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

  .dash-services-search {
    max-width: none;
  }

  .dash-services-table {
    min-width: 860px;
  }

  .dash-services-col-rate {
    width: 88px;
  }

  .dash-services-col-min,
  .dash-services-col-max {
    width: 72px;
  }

  .dash-services-table--with-time .dash-services-col-rate {
    width: 80px;
  }

  .dash-services-table--with-time .dash-services-col-min,
  .dash-services-table--with-time .dash-services-col-max {
    width: 64px;
  }

  .dash-services-table thead .dash-services-table-head th {
    padding: 16px 12px;
    font-size: 13px;
  }

  .dash-services-table thead .dash-services-table-head .dash-services-th-rate,
  .dash-services-table thead .dash-services-table-head .dash-services-th-min,
  .dash-services-table thead .dash-services-table-head .dash-services-th-max {
    padding-inline: 6px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }

  .dash-services-table tbody .dash-services-row__rate,
  .dash-services-table tbody .dash-services-row__min,
  .dash-services-table tbody .dash-services-row__max {
    padding-inline: 6px;
    font-size: 13px;
  }

  .dash-services-table thead .dash-services-table-head th:first-child,
  .dash-services-table tbody td:first-child {
    padding-inline-start: 16px;
  }

  .dash-services-table thead .dash-services-table-head th:last-child,
  .dash-services-table tbody td:last-child {
    padding-inline-end: 16px;
  }

  .dash-services-table tbody td {
    padding-inline: 12px;
  }
}

/* ——— Orders page ——— */
.dash-orders-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px 24px;
}

.dash-orders-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dash-orders-filter {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-body-text);
  text-decoration: none;
  white-space: nowrap;
  background: #f3f4f6;
  border: 0;
  border-radius: 12px;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.dash-orders-filter img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  filter: grayscale(1);
}

.dash-orders-filter__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 18px;
  line-height: 1;
  color: #9ca3af;
}

.dash-orders-filter:hover {
  color: var(--color-title);
  background: #e8edf5;
  text-decoration: none;
}

.dash-orders-filter.is-active {
  color: var(--color-white);
  background: var(--gradient-btn);
  box-shadow: 0 4px 12px rgba(43, 122, 229, 0.28);
}

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

.dash-orders-filter.is-active .dash-orders-filter__icon {
  color: var(--color-white);
}

.dash-orders-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 280px;
  height: 44px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.dash-orders-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  font-size: 14px;
  color: var(--color-body-text);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dash-orders-search input:focus {
  outline: 0;
  box-shadow: none;
}

.dash-orders-search button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding: 0;
  background: transparent;
  border: 0;
}

.dash-orders-table-card.dash-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.dash-orders-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-orders-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--color-body-text);
  --bs-table-border-color: #eef0f3;
  width: 100%;
  min-width: 1100px;
  margin-bottom: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.dash-orders-table thead th {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-title);
  white-space: nowrap;
  vertical-align: middle;
  background: #eaf3fc;
  border: 0;
  border-bottom: 1px solid #d7e6f7;
}

.dash-orders-table thead th:first-child {
  padding-inline-start: 24px;
}

.dash-orders-table thead th:last-child {
  padding-inline-end: 24px;
}

.dash-orders-table tbody td {
  padding: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body-text);
  vertical-align: middle;
  background: var(--color-white);
  border: 0;
  border-bottom: 1px solid #eef0f3;
  border-inline: 0;
}

.dash-orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.dash-orders-table tbody td:first-child {
  padding-inline-start: 24px;
}

.dash-orders-table tbody td:last-child {
  padding-inline-end: 24px;
}

.dash-orders-id {
  font-weight: 600;
  color: var(--color-title);
  white-space: nowrap;
}

.dash-orders-id__wrap {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dash-orders-id__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--color-white);
  background: var(--color-brand);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.dash-orders-id__copy:hover {
  filter: brightness(1.08);
}

.dash-orders-id__copy.is-copied {
  background: #22a06b;
}

.dash-orders-inline-link {
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
}

.dash-orders-inline-link:hover {
  text-decoration: underline;
}

.dash-orders-link {
  max-width: 240px;
}

.dash-orders-link a {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: var(--color-brand);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.dash-orders-details-link {
  margin-inline-start: 6px;
  color: var(--color-brand);
}

.dash-orders-service {
  max-width: 220px;
  overflow-wrap: break-word;
}

.dash-orders-refill,
.dash-orders-reorder-cell {
  white-space: nowrap;
}

.dash-orders-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-title);
  text-decoration: none;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
}

.dash-orders-btn:hover {
  color: var(--color-title);
  background: #e8edf5;
  text-decoration: none;
}

.dash-orders-btn--primary {
  color: var(--color-white);
  background: var(--gradient-btn);
  border-color: transparent;
}

.dash-orders-btn--primary:hover {
  color: var(--color-white);
  background: var(--gradient-btn-alt);
  border-color: transparent;
  filter: none;
  box-shadow: var(--shadow-btn);
}

.dash-orders-btn.is-disabled,
.dash-orders-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dash-orders-muted {
  font-size: 13px;
  color: #64748b;
}

.dash-orders-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
  background: var(--gradient-btn);
  border-radius: 999px;
}

.dash-orders-status[data-order-status='Pending'],
.dash-orders-status[data-order-status='pending'] {
  background: #94a3b8;
}

.dash-orders-status[data-order-status='Completed'],
.dash-orders-status[data-order-status='completed'] {
  background: linear-gradient(90deg, #1f9d63 0%, #34c77b 100%);
}

.dash-orders-status[data-order-status='Canceled'],
.dash-orders-status[data-order-status='Cancelled'],
.dash-orders-status[data-order-status='canceled'],
.dash-orders-status[data-order-status='cancelled'] {
  background: #ef4444;
}

.dash-orders-status[data-order-status='In progress'],
.dash-orders-status[data-order-status='Processing'],
.dash-orders-status[data-order-status='in progress'],
.dash-orders-status[data-order-status='processing'],
.dash-orders-status[data-order-status='Active'],
.dash-orders-status[data-order-status='active'] {
  background: linear-gradient(90deg, #2b7ae5 0%, #4f9ff1 100%);
}

.dash-orders-status[data-order-status='Rejected'],
.dash-orders-status[data-order-status='rejected'],
.dash-orders-status[data-order-status='Error'],
.dash-orders-status[data-order-status='error'] {
  background: #ef4444;
}

.dash-orders-status[data-order-status='Finished'],
.dash-orders-status[data-order-status='finished'] {
  background: linear-gradient(90deg, #1f9d63 0%, #34c77b 100%);
}

.dash-orders-table--updates {
  min-width: 720px;
}

.dash-updates-service {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 320px;
}

.dash-updates-service__id {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand);
}

.dash-updates-service__name {
  font-weight: 500;
  color: var(--color-title);
  overflow-wrap: break-word;
}

.dash-updates-text {
  max-width: 420px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.dash-orders-status-tip {
  margin-inline-start: 6px;
  color: #94a3b8;
  cursor: help;
}

.dash-orders-empty {
  padding: 40px 24px !important;
  color: #64748b;
  text-align: center;
}

.dash-services-empty-state td {
  border: 0;
}

.dash-orders-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dash-orders-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dash-orders-pagination__list > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body-text);
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.dash-orders-pagination__list > li.active > a,
.dash-orders-pagination__list > li > a:hover {
  color: var(--color-white);
  background: var(--gradient-btn);
  border-color: transparent;
}

@media (max-width: 991.98px) {
  .dash-orders-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .dash-orders-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding-bottom: 0;
    overflow: visible;
  }

  .dash-orders-filter {
    justify-content: center;
    width: 100%;
    min-height: 42px;
    height: auto;
    padding: 10px 12px;
    white-space: normal;
    text-align: center;
  }

  .dash-orders-filter img,
  .dash-orders-filter__icon {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }

  .dash-orders-search {
    max-width: none;
  }

  .dash-orders-table thead th,
  .dash-orders-table tbody td {
    padding: 14px 12px;
  }

  .dash-orders-table thead th:first-child,
  .dash-orders-table tbody td:first-child {
    padding-inline-start: 16px;
  }

  .dash-orders-table thead th:last-child,
  .dash-orders-table tbody td:last-child {
    padding-inline-end: 16px;
  }
}

/* ——— Tickets page ——— */
.dash-tickets-alert {
  margin-bottom: 16px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
}

.dash-tickets-alert--success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.dash-tickets {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.dash-tickets-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dash-tickets-panel__header {
  padding: 22px 24px;
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-tickets-panel__header h1,
.dash-tickets-panel__header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.dash-tickets-panel__header p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.92;
}

.dash-tickets-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 24px;
}

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

.dash-tickets-error {
  margin: 0;
  border-radius: 12px;
}

.dash-tickets-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.dash-tickets-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-brand);
}

.dash-tickets-control,
.dash-tickets-control .form-control,
.dash-tickets-extra-fields .form-control,
.dash-tickets-extra-fields select,
.dash-tickets-extra-fields input,
.dash-tickets-extra-fields textarea {
  width: 100%;
  color: var(--color-body-text);
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: none;
}

.dash-tickets-control .form-control,
.dash-tickets-extra-fields .form-control,
.dash-tickets-extra-fields select,
.dash-tickets-extra-fields input {
  height: 48px;
  padding: 0 14px;
}

.dash-tickets-control--select select,
.dash-tickets-extra-fields select,
#ticket-fields select,
select#ticket-category-field,
select#ticket-subcategory {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 42px !important;
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23232323' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}

[dir='rtl'] .dash-tickets-control--select select,
[dir='rtl'] .dash-tickets-extra-fields select,
[dir='rtl'] #ticket-fields select,
.rtl-form .dash-tickets-control--select select,
.rtl-form .dash-tickets-extra-fields select,
.rtl-form #ticket-fields select {
  background-position: left 14px center;
}

.dash-tickets-control--select select::-ms-expand,
.dash-tickets-extra-fields select::-ms-expand,
#ticket-fields select::-ms-expand {
  display: none;
}

.dash-tickets-control--textarea .form-control,
.dash-tickets-extra-fields textarea {
  height: auto;
  min-height: 160px;
  padding: 12px 14px;
  resize: vertical;
}

.dash-tickets-control .form-control:focus,
.dash-tickets-extra-fields .form-control:focus,
.dash-tickets-extra-fields select:focus,
.dash-tickets-extra-fields input:focus,
.dash-tickets-extra-fields textarea:focus {
  border-color: var(--color-brand);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(79, 159, 241, 0.18);
}

.dash-tickets-extra-fields .form-group,
.dash-tickets-extra-fields [class*='form-group'] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dash-tickets-extra-fields label,
.dash-tickets-extra-fields .control-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
}

.dash-tickets-field--attach .tickets-uploader {
  min-height: 24px;
}

.dash-tickets-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(43, 122, 229, 0.28);
  cursor: pointer;
}

.dash-tickets-submit:hover {
  filter: brightness(1.05);
}

.dash-tickets-search {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.dash-tickets-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--color-body-text);
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: none;
}

.dash-tickets-search input:focus {
  border-color: var(--color-brand);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(79, 159, 241, 0.18);
}

.dash-tickets-search button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.dash-tickets-search button img {
  filter: brightness(0) invert(1);
}

.dash-tickets-list-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.4fr) 100px 120px;
  gap: 10px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
}

.dash-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
}

.dash-tickets-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.4fr) 100px 120px;
  gap: 10px;
  align-items: center;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.dash-tickets-item:hover {
  background: #eef6ff;
  border-color: var(--color-brand);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(43, 122, 229, 0.12);
}

.dash-tickets-item.is-new {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 1px rgba(79, 159, 241, 0.25);
}

.dash-tickets-item__dot {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
}

.dash-tickets-item__id {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-title);
}

.dash-tickets-item__subject {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-tickets-item__subject.is-strong {
  font-weight: 700;
}

.dash-tickets-item__status {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-body-text);
}

.dash-tickets-item__status[data-ticket-status='Answered'],
.dash-tickets-item__status[data-ticket-status='answered'],
.dash-tickets-item__status[data-ticket-status='Closed'],
.dash-tickets-item__status[data-ticket-status='closed'] {
  color: #16a34a;
}

.dash-tickets-item__status[data-ticket-status='Pending'],
.dash-tickets-item__status[data-ticket-status='pending'],
.dash-tickets-item__status[data-ticket-status='Waiting'],
.dash-tickets-item__status[data-ticket-status='waiting'] {
  color: #d97706;
}

.dash-tickets-item__status[data-ticket-status='New'],
.dash-tickets-item__status[data-ticket-status='new'],
.dash-tickets-item__status[data-ticket-status='Open'],
.dash-tickets-item__status[data-ticket-status='open'] {
  color: var(--color-brand);
}

.dash-tickets-item__time {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.dash-tickets-empty {
  padding: 28px 12px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
}

.dash-tickets-pagination {
  margin-top: 8px;
}

.dash-tickets-text {
  margin-top: 20px;
}

@media (max-width: 991.98px) {
  .dash-tickets {
    grid-template-columns: 1fr;
  }

  .dash-tickets-list-head {
    display: none;
  }

  .dash-tickets-item {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .dash-tickets-item__id {
    order: 1;
  }

  .dash-tickets-item__time {
    order: 2;
    text-align: end;
  }

  .dash-tickets-item__subject {
    order: 3;
    grid-column: 1 / -1;
    white-space: normal;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .dash-tickets-item__status {
    order: 4;
    grid-column: 1 / -1;
  }
}

/* ——— View ticket page ——— */
.dash-viewticket {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.dash-viewticket-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dash-viewticket-panel__header {
  padding: 22px 24px;
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-viewticket-panel__header h1,
.dash-viewticket-panel__header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}

.dash-viewticket-panel__header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.92;
}

.dash-viewticket-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 20px 22px 24px;
}

.dash-viewticket-thread {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: min(58vh, 560px);
  padding-inline-end: 4px;
  overflow: auto;
}

.dash-viewticket-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(86%, 560px);
}

.dash-viewticket-msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.dash-viewticket-msg--support {
  align-self: flex-start;
  align-items: flex-start;
}

.dash-viewticket-msg__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.dash-viewticket-msg--user .dash-viewticket-msg__meta {
  flex-direction: row;
}

.dash-viewticket-msg__author {
  font-weight: 600;
  color: var(--color-title);
}

.dash-viewticket-msg--support .dash-viewticket-msg__author {
  color: var(--color-brand);
}

.dash-viewticket-msg__avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-white);
  background: var(--color-brand);
  border-radius: 50%;
}

.dash-viewticket-msg__avatar--support {
  border-radius: 8px;
  background: linear-gradient(135deg, #224786, #4f9ff1);
}

.dash-viewticket-msg__avatar--support img {
  filter: brightness(0) invert(1);
}

.dash-viewticket-msg__bubble {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
}

.dash-viewticket-msg--user .dash-viewticket-msg__bubble {
  color: var(--color-title);
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  border-end-end-radius: 4px;
}

.dash-viewticket-msg--support .dash-viewticket-msg__bubble {
  color: var(--color-title);
  background: #eaf3fc;
  border: 1px solid #c5ddf7;
  border-end-start-radius: 4px;
}

.dash-viewticket-msg__text {
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}

.dash-viewticket-msg__files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.dash-viewticket-msg__files a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand);
}

.dash-viewticket-empty,
.dash-viewticket-locked {
  padding: 16px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
}

.dash-viewticket-reply {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.dash-viewticket-meta {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dash-viewticket-meta li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.dash-viewticket-meta li:last-child {
  border-bottom: 0;
}

.dash-viewticket-meta__label {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body-text);
}

.dash-viewticket-badge {
  display: inline-flex;
  max-width: 60%;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
}

.dash-viewticket-badge--id {
  color: var(--color-brand);
  background: #eaf3fc;
  border-color: #9ec7f2;
}

.dash-viewticket-badge--subject {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #93c5fd;
}

.dash-viewticket-badge--open {
  color: #166534;
  background: #dcfce7;
  border-color: #86efac;
}

.dash-viewticket-badge--closed {
  color: #b91c1c;
  background: #fee2e2;
  border-color: #fca5a5;
}

.dash-viewticket-badge--priority {
  color: #c2410c;
  background: #fff7ed;
  border-color: #fdba74;
}

.dash-viewticket-badge--department {
  color: #0e7490;
  background: #ecfeff;
  border-color: #67e8f9;
}

.dash-viewticket-badge--response {
  color: #15803d;
  background: #f0fdf4;
  border-color: #86efac;
}

.dash-viewticket-note {
  padding: 14px 16px;
  background: #eaf3fc;
  border: 1px solid #c5ddf7;
  border-radius: 12px;
}

.dash-viewticket-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--color-brand);
}

.dash-viewticket-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.dash-viewticket-back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
}

.dash-viewticket-back:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .dash-viewticket {
    grid-template-columns: 1fr;
  }

  .dash-viewticket-thread {
    max-height: none;
  }

  .dash-viewticket-msg {
    max-width: 100%;
  }
}

/* ——— Child panel page ——— */
.dash-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.dash-child-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dash-child-panel__header {
  padding: 22px 24px;
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-child-panel__header h1,
.dash-child-panel__header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.dash-child-panel__header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.92;
}

.dash-child-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 24px;
}

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

.dash-child-instruction {
  gap: 14px;
}

.dash-child-instruction h3 {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-brand);
}

.dash-child-instruction p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body-text);
}

.dash-child-instruction ul {
  padding-inline-start: 18px;
  margin: 0;
}

.dash-child-instruction li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body-text);
}

.dash-child-ns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #eaf3fc;
  border: 1px solid #c5ddf7;
  border-radius: 12px;
}

.dash-child-ns p {
  margin: 0;
  font-size: 14px;
  color: var(--color-body-text);
}

.dash-child-ns strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-child-thanks {
  margin-top: 8px !important;
  font-weight: 700 !important;
  color: var(--color-brand) !important;
}

.dash-child-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: #eaf3fc;
  border: 1px solid #c5ddf7;
  border-radius: 12px;
}

.dash-child-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--color-body-text);
}

.dash-child-banner--renew {
  background: #fff7ed;
  border-color: #fdba74;
}

.dash-child-page-text {
  margin-top: 20px;
}

.dash-child-panel--form .dash-orders-table {
  min-width: 0;
}

@media (max-width: 991.98px) {
  .dash-child {
    grid-template-columns: 1fr;
  }
}

/* ——— API docs page ——— */
.dash-api {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-api-panel {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dash-api-panel__header {
  padding: 18px 24px;
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-api-panel__header h1,
.dash-api-panel__header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.dash-api-panel__body {
  padding: 18px 20px 22px;
}

.dash-api-kv {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-api-kv__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.dash-api-kv__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
}

.dash-api-kv__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-title);
  word-break: break-word;
}

.dash-api-kv__value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.dash-api-kv__value a,
.dash-api-link {
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
}

.dash-api-kv__value a:hover,
.dash-api-link:hover {
  text-decoration: underline;
}

.dash-api-type-select {
  margin-bottom: 14px;
}

.dash-api-params {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-api-params__head {
  display: grid;
  grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--gradient-btn);
  border-radius: 12px;
}

.dash-api-params__row {
  display: grid;
  grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.dash-api-params__key {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  word-break: break-word;
}

.dash-api-params__desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body-text);
  word-break: break-word;
}

.dash-api-code {
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-title);
  white-space: pre-wrap;
  word-break: break-word;
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  .dash-api-kv__row,
  .dash-api-params__head,
  .dash-api-params__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ——— Account page ——— */
.dash-account {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-account-tab {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body-text);
  text-decoration: none;
  background: #f3f4f6;
  border-radius: 12px;
}

.dash-account-tab.is-active,
.dash-account-tab:hover {
  color: var(--color-white);
  background: var(--gradient-btn);
  text-decoration: none;
}

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

.dash-account-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dash-account-panel--wide {
  grid-column: 1 / -1;
}

.dash-account-panel__header {
  padding: 18px 22px;
  color: var(--color-white);
  background: var(--gradient-btn);
}

.dash-account-panel__header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.dash-account-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px 22px;
}

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

.dash-account-hint {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
}

.dash-account-pass {
  position: relative;
  display: flex;
  align-items: center;
}

.dash-account-pass .form-control {
  padding-inline-end: 44px;
}

.dash-account-pass__toggle {
  position: absolute;
  inset-inline-end: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: #64748b;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dash-account-help {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

.dash-account-2fa-info {
  padding: 16px;
  background: #eaf3fc;
  border: 1px solid #c5ddf7;
  border-radius: 12px;
}

.dash-account-2fa-info h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand);
}

.dash-account-2fa-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body-text);
}

.dash-account-2fa-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
}

.dash-account-2fa-sent {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-title);
}

.dash-account-readonly {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--color-body-text);
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.dash-account-modal .modal-dialog {
  max-width: 520px;
  margin: 1.75rem auto;
}

.dash-account-modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.dash-account-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: 0;
}

.dash-account-modal__header .modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.dash-account-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  border-radius: 10px;
}

.dash-account-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.dash-account-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--color-border);
}

.dash-account-modal__submit {
  width: auto;
  min-width: 140px;
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .dash-account-grid {
    grid-template-columns: 1fr;
  }

  .dash-account-panel--wide {
    grid-column: auto;
  }

  .dash-account-modal__footer {
    flex-direction: column-reverse;
  }

  .dash-account-modal__submit,
  .dash-account-modal__footer .dash-orders-btn {
    width: 100%;
  }
}

/* ——— Notifications page ——— */
.dash-notifications {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.dash-notifications-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body-text);
}

.dash-notifications-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dash-notifications-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.dash-notifications-table {
  width: 100%;
  min-width: 480px;
  margin: 0;
  border-collapse: collapse;
}

.dash-notifications-table th,
.dash-notifications-table td {
  padding: 14px 16px;
  font-size: 14px;
  text-align: start;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
}

.dash-notifications-table thead th {
  font-weight: 600;
  color: var(--color-title);
  background: #eaf3fc;
  white-space: nowrap;
}

.dash-notifications-table thead th:not(:first-child),
.dash-notifications-table tbody td:not(:first-child) {
  text-align: center;
}

.dash-notifications-table tbody tr:last-child th,
.dash-notifications-table tbody tr:last-child td {
  border-bottom: 0;
}

.dash-notifications-table__name {
  font-weight: 500;
  color: var(--color-title);
}

.dash-notifications-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  cursor: pointer;
}

.dash-notifications-check input[type='checkbox'] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.dash-notifications-check__box {
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1.5px solid #c5ddf7;
  border-radius: 6px;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.dash-notifications-check
  input[type='checkbox']:checked
  + .dash-notifications-check__box {
  background: var(--gradient-btn);
  border-color: var(--color-brand);
  box-shadow: inset 0 0 0 2px #fff;
}

.dash-notifications-check
  input[type='checkbox']:focus-visible
  + .dash-notifications-check__box {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.dash-notifications-check.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.dash-notifications-check.is-disabled input {
  cursor: not-allowed;
}

.dash-notifications-save {
  width: auto;
  min-width: 160px;
  align-self: flex-start;
}

@media (max-width: 991.98px) {
  .dash-notifications-grid {
    grid-template-columns: 1fr;
  }

  .dash-notifications-save {
    width: 100%;
  }
}

/* Dashboard home */
.dash-home-banner {
  display: flex;
  align-items: center;
  min-height: 160px;
  padding: 28px 32px;
  border-radius: 12px;
  border: 1px solid var(--color-brand);
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(79, 159, 241, 0.28),
      transparent 42%
    ),
    linear-gradient(104.97deg, #224786 0.64%, #2b7ae5 50.34%, #4f9ff1 100%);
  color: var(--color-white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.dash-home-banner__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.dash-home-banner__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  opacity: 0.92;
}

.dash-home-top__aside {
  width: 100%;
  max-width: 360px;
}

.dash-home-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.dash-home-meta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.dash-home-meta__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.dash-home-meta__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-body-text);
}

.dash-home-meta__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-title);
  word-break: break-word;
}

.dash-home-stats__status {
  width: 100%;
  max-width: 420px;
}

.dash-home-status,
.dash-home-chart-card,
.dash-home-progress,
.dash-home-level-card,
.dash-home-level-table-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.dash-home-status {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}

.dash-home-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-home-status__user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dash-home-status__avatar-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-input-bg);
}

.dash-home-status__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-home-status__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-home-status__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-home-status__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--gradient-btn);
  color: var(--color-white);
}

.dash-home-status__spent {
  margin-top: 2px;
  font-size: 13px;
  color: var(--color-body-text);
}

.dash-home-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 122, 229, 0.1);
  color: var(--color-title);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.dash-home-status__badge .dash-level-badge {
  width: 28px;
  height: 32px;
}

.dash-home-status__table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
}

.dash-home-status__tr {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr 0.7fr 0.7fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--color-input-bg);
}

.dash-home-status__tr.is-head {
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-body-text);
  padding-top: 0;
  padding-bottom: 4px;
}

.dash-home-status__tr.is-active {
  background: rgba(43, 122, 229, 0.12);
  box-shadow: inset 0 0 0 1px rgba(43, 122, 229, 0.35);
}

.dash-home-status__cell {
  font-size: 13px;
  color: var(--color-title);
}

.dash-home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
}

.dash-home-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 132px;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-brand);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.dash-home-metric__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dash-home-metric__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-title);
  line-height: 1.2;
}

.dash-home-metric__label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-body-text);
}

.dash-home-metric__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-weight: 700;
}

.dash-home-metric__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #2b7ae5;
  text-decoration: none;
}

.dash-home-metric__link:hover {
  text-decoration: underline;
}

.dash-home-chart-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 22px;
}

.dash-home-chart-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-home-chart-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-home-chart-card__tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: var(--color-input-bg);
}

.dash-home-chart-card__tab {
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--color-body-text);
}

.dash-home-chart-card__tab.is-active {
  background: var(--gradient-btn);
  color: var(--color-white);
}

.dash-home-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 240px;
  padding: 8px 4px 0;
  overflow-x: auto;
}

.dash-home-bars.is-hidden {
  display: none;
}

.dash-home-bars__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 0 42px;
  min-width: 42px;
}

.dash-home-bars__value {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-title);
}

.dash-home-bars__track {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  background: linear-gradient(
    to top,
    transparent 0,
    transparent calc(100% - 1px),
    #e8e8e3 calc(100% - 1px)
  );
  background-size: 100% 25%;
}

.dash-home-bars__fill {
  width: 100%;
  min-height: 8%;
  border-radius: 8px 8px 4px 4px;
  background: var(--gradient-btn);
}

.dash-home-bars__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-body-text);
}

.dash-home-charts__pay {
  width: 100%;
  max-width: 420px;
}

.dash-home-pay__body {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dash-home-pay__chart {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.dash-home-pay__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--pay-conic);
  mask: radial-gradient(circle, transparent 58%, #000 59%);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
}

.dash-home-pay__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-title);
  pointer-events: none;
}

.dash-home-pay__legend {
  flex: 1;
  min-width: 0;
}

.dash-home-pay__visitors-label {
  font-size: 12px;
  color: var(--color-body-text);
}

.dash-home-pay__visitors-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-home-pay__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.dash-home-pay__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.dash-home-pay__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-title);
}

.dash-home-pay__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
}

.dash-home-pay__pct {
  font-weight: 700;
  color: var(--pct);
}

.dash-home-progress {
  padding: 22px 24px;
}

.dash-home-progress__title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-home-progress__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dash-home-progress__side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-title);
}

.dash-home-progress__side img,
.dash-home-progress__side .dash-level-badge {
  width: 28px;
  height: auto;
}

.dash-home-progress__side .dash-level-badge {
  height: 32px;
}

.dash-home-progress__bar {
  height: 14px;
  border-radius: 999px;
  background: var(--color-input-bg);
  overflow: hidden;
}

.dash-home-progress__fill {
  position: relative;
  height: 100%;
  min-width: 48px;
  border-radius: inherit;
  background: var(--gradient-btn);
}

.dash-home-progress__pill {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--color-white);
  color: #224786;
  font-size: 11px;
  font-weight: 700;
}

.dash-home-progress__hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-body-text);
}

.dash-home-levels__card {
  width: 100%;
  max-width: 340px;
}

.dash-home-level-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px;
}

.dash-home-level-card__bonus {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 122, 229, 0.12);
  color: #224786;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dash-home-level-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dash-home-level-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.dash-home-level-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-home-level-card__range {
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-body-text);
}

.dash-home-level-card__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-home-level-card__perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--color-title);
}

.dash-home-bool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.dash-home-bool.is-yes {
  background: rgba(43, 122, 229, 0.14);
  color: #224786;
}

.dash-home-bool.is-yes::before {
  content: '✓';
}

.dash-home-bool.is-no {
  background: rgba(192, 57, 43, 0.12);
  color: #c0392b;
}

.dash-home-bool.is-no::before {
  content: '✕';
}

.dash-home-level-table-wrap {
  padding: 12px;
  overflow-x: auto;
}

.dash-home-level-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

.dash-home-level-table th,
.dash-home-level-table td {
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-title);
}

.dash-home-level-table th.is-label,
.dash-home-level-table tbody th {
  text-align: start;
  font-weight: 600;
  white-space: nowrap;
}

.dash-home-level-table__tier {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.dash-home-level-table__tier img {
  width: 28px;
  height: auto;
}

.dash-home-level-table .is-points {
  font-weight: 700;
  color: #224786;
}

@media (max-width: 1199.98px) {
  .dash-home-top__aside,
  .dash-home-stats__status,
  .dash-home-charts__pay,
  .dash-home-levels__card {
    max-width: none;
  }

  .dash-home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dash-home-banner {
    min-height: 0;
    padding: 22px;
  }

  .dash-home-banner__title {
    font-size: 22px;
  }

  .dash-home-meta__row,
  .dash-home-metrics {
    grid-template-columns: 1fr;
  }

  .dash-home-status__head,
  .dash-home-pay__body,
  .dash-home-chart-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-home-status__tr {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }

  .dash-home-status__cell.is-cashback {
    grid-column: 2;
  }
}

/* Level badges (per tier) */
.dash-level-badge {
  --badge-a: #6b7cff;
  --badge-b: #3b4fd4;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 44px;
  background:
    radial-gradient(circle at 50% 28%, #fff 1.2px, transparent 1.4px),
    radial-gradient(circle at 35% 22%, #fff 1.1px, transparent 1.3px),
    radial-gradient(circle at 65% 22%, #fff 1.1px, transparent 1.3px),
    linear-gradient(180deg, var(--badge-a) 0%, var(--badge-b) 100%);
  clip-path: polygon(50% 0%, 92% 18%, 92% 62%, 50% 100%, 8% 62%, 8% 18%);
  box-shadow: 0 4px 12px rgba(43, 122, 229, 0.28);
}

.dash-level-badge::before {
  content: '';
  position: absolute;
  left: 28%;
  right: 28%;
  top: 48%;
  height: 28%;
  background:
    linear-gradient(#fff, #fff) center 0 / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) center 45% / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) center 90% / 100% 2px no-repeat;
  opacity: 0.9;
}

.dash-level-badge--sm {
  width: 28px;
  height: 32px;
  box-shadow: 0 2px 8px rgba(43, 122, 229, 0.22);
}

.dash-level-badge--new {
  --badge-a: #3d5a80;
  --badge-b: #224786;
}

.dash-level-badge--normal {
  --badge-a: #94a3b8;
  --badge-b: #64748b;
}

.dash-level-badge--elite {
  --badge-a: #f59e0b;
  --badge-b: #c2410c;
}

.dash-level-badge--vip {
  --badge-a: #2dd4bf;
  --badge-b: #0f766e;
}

.dash-level-badge--master {
  --badge-a: #fbbf24;
  --badge-b: #d97706;
}

.dash-level-badge--diamond {
  --badge-a: #a78bfa;
  --badge-b: #6d28d9;
}

.dash-home-level-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.dash-home-level-card__meta .dash-level-badge,
.dash-home-level-card__icon .dash-level-badge {
  width: 24px;
  height: 28px;
}

.dash-level-modal__content {
  border: 1px solid var(--color-brand);
  border-radius: 16px;
  overflow: hidden;
}

/* Keep level modal above sticky dash-header / sidebar (modal lives in page content by default). */
.dash-level-modal {
  --bs-modal-zindex: 2200;
  z-index: 2200 !important;
}

body:has(.dash-level-modal.show) .modal-backdrop {
  z-index: 2190 !important;
}

body.dash-body.modal-open .dash-header,
body.dash-body.modal-open .dash-sidebar {
  z-index: 1;
}

.dash-level-modal__header {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px;
}

.dash-level-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-title);
}

.dash-level-modal__body {
  padding: 20px;
  background: #f5f8fc;
}

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

.dash-level-modal__card {
  margin: 0;
  height: 100%;
}

.dash-level-modal__card.is-current {
  box-shadow:
    0 0 0 2px #2b7ae5,
    0 4px 4px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199.98px) {
  .dash-level-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dash-level-modal__grid {
    grid-template-columns: 1fr;
  }

  .modal-dialog.modal-xl {
    margin: 0.75rem;
  }
}

/* Dark mode */

html[data-theme='dark'] {
  color-scheme: dark;
  --color-brand: #6babf5;
  --color-black: #e8eef6;
  --color-page: #0e131a;
  --color-surface: #161d27;
  --color-surface-2: #1c2430;
  --color-border: #2c394c;
  --color-body-text: #b4c0d0;
  --color-title: #f3f6fb;
  --color-input-bg: #121924;
  --color-text-dark: #f3f6fb;
  --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html[data-theme='dark'] body,
html[data-theme='dark'] body.dash-body,
html[data-theme='dark'] .dash-app {
  background: var(--color-page);
  color: var(--color-black);
}

html[data-theme='dark'] .site-header,
html[data-theme='dark'] .site-footer,
html[data-theme='dark'] .dash-header,
html[data-theme='dark'] .dash-sidebar,
html[data-theme='dark'] .dash-welcome,
html[data-theme='dark'] .dash-welcome__bottom,
html[data-theme='dark'] .dash-card,
html[data-theme='dark'] .dash-instruct,
html[data-theme='dark'] .dash-order-levels,
html[data-theme='dark'] .dash-tips,
html[data-theme='dark'] .dash-home-metric,
html[data-theme='dark'] .dash-home-status,
html[data-theme='dark'] .dash-home-level-card,
html[data-theme='dark'] .dash-home-progress,
html[data-theme='dark'] .dash-home-level-table-wrap,
html[data-theme='dark'] .dash-home-chart-card,
html[data-theme='dark'] .dash-platforms,
html[data-theme='dark'] .dash-actions,
html[data-theme='dark'] .faq-accordion__item,
html[data-theme='dark'] .legal-doc,
html[data-theme='dark'] .modal-content,
html[data-theme='dark'] .dash-tickets-panel,
html[data-theme='dark'] .dash-level-modal__content {
  background: var(--color-surface);
  color: var(--color-black);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-welcome__top {
  background: var(--color-surface-2);
}

html[data-theme='dark'] .dash-welcome__avatar,
html[data-theme='dark'] .dash-user__avatar,
html[data-theme='dark'] .dash-header__avatar {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-card__heading h2,
html[data-theme='dark'] .dash-instruct__title,
html[data-theme='dark'] .dash-tips h2,
html[data-theme='dark'] .dash-user__name,
html[data-theme='dark'] .site-nav__link,
html[data-theme='dark'] .api-hero__title,
html[data-theme='dark'] .legal-doc__heading {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-welcome__copy,
html[data-theme='dark'] .dash-welcome__handle,
html[data-theme='dark'] .site-footer__about,
html[data-theme='dark'] .api-hero__desc {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-instruct__title,
html[data-theme='dark'] .dash-card__step,
html[data-theme='dark'] .dash-home-status__tr.is-head,
html[data-theme='dark'] .dash-order-levels__table th,
html[data-theme='dark'] .table thead th {
  background: var(--color-surface-2);
  color: var(--color-title);
}

html[data-theme='dark'] .form-control,
html[data-theme='dark'] .form-select,
html[data-theme='dark'] .dash-field,
html[data-theme='dark'] .dash-chip,
html[data-theme='dark'] .dash-bell,
html[data-theme='dark'] .dash-icon-btn,
html[data-theme='dark'] .site-lang__toggle,
html[data-theme='dark'] .dash-menu,
html[data-theme='dark'] .dropdown-menu {
  background: var(--color-input-bg);
  color: var(--color-title);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dropdown-item {
  color: var(--color-black);
}

html[data-theme='dark'] .dropdown-item:hover,
html[data-theme='dark'] .dropdown-item:focus,
html[data-theme='dark'] .dropdown-item.active,
html[data-theme='dark'] .dash-header__lang .dropdown-item:hover,
html[data-theme='dark'] .dash-header__lang .dropdown-item.active,
html[data-theme='dark'] .dash-header__user-menu .dropdown-item:hover,
html[data-theme='dark'] .dash-header__user-menu .dropdown-item:focus {
  color: var(--color-title);
  background: var(--color-surface-2);
}

html[data-theme='dark'] .dash-nav__link:hover,
html[data-theme='dark'] .dash-nav__label:hover,
html[data-theme='dark'] .dash-home-status__tr,
html[data-theme='dark'] .faq-accordion__button,
html[data-theme='dark'] .faq-accordion__button:not(.collapsed) {
  background: var(--color-surface-2);
  color: var(--color-title);
}

html[data-theme='dark'] .dash-user {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-user__name {
  color: #f3f6fb;
}

html[data-theme='dark'] .dash-user__rank {
  background: #121924;
  border: 1px solid rgba(107, 171, 245, 0.55);
  box-shadow: 0 0 0 1px rgba(107, 171, 245, 0.12);
}

html[data-theme='dark'] .dash-user__avatar {
  background: #121924;
}

html[data-theme='dark'] .dash-nav__chevron {
  filter: brightness(0) invert(0.82);
  opacity: 1;
}

html[data-theme='dark'] .dash-nav__icon {
  background: #243044;
}

html[data-theme='dark'] .dash-nav__link .dash-nav__icon img,
html[data-theme='dark'] .dash-nav__link .dash-nav__icon svg {
  filter: brightness(0) invert(0.92);
}

html[data-theme='dark'] .dash-nav__link.is-active .dash-nav__icon {
  background: #ffffff;
}

html[data-theme='dark'] .dash-logout img,
html[data-theme='dark'] .dash-menu img,
html[data-theme='dark'] .dash-collapse img,
html[data-theme='dark'] .dash-chip img {
  filter: brightness(0) invert(0.92);
}

html[data-theme='dark'] .dash-bell {
  color: #e8eef6;
}

html[data-theme='dark'] .dash-bell__badge {
  border-color: var(--color-surface);
}

html[data-theme='dark'] .dash-nav__link.is-active .dash-nav__icon img,
html[data-theme='dark'] .dash-nav__link.is-active .dash-nav__icon svg {
  filter: brightness(0) saturate(100%) invert(52%) sepia(44%) saturate(748%)
    hue-rotate(176deg) brightness(99%) contrast(94%);
}

html[data-theme='dark'] .table,
html[data-theme='dark'] .dash-home-level-table,
html[data-theme='dark'] .dash-home-level-table th,
html[data-theme='dark'] .dash-home-level-table td {
  color: var(--color-black);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-submit,
html[data-theme='dark'] .dash-actions__primary,
html[data-theme='dark'] .site-btn-signup {
  color: #ffffff;
}

html[data-theme='dark'] .dash-order-levels__row.is-current td,
html[data-theme='dark'] .dash-order-levels__row.is-current td:nth-child(n + 2) {
  color: #ffffff;
}

html[data-theme='dark'] .api-hero {
  background: var(--color-page);
}

html[data-theme='dark'] .dash-page-title__icon {
  background: #243044;
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-page-title__icon img,
html[data-theme='dark'] .dash-page-title__icon svg {
  color: #f3f6fb;
  filter: brightness(0) invert(0.92);
}

html[data-theme='dark'] .dash-page-title__name {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-actions__secondary {
  color: var(--color-title);
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-actions__secondary img {
  filter: brightness(0) invert(0.92);
}

html[data-theme='dark'] .dash-label,
html[data-theme='dark'] .dash-field > input,
html[data-theme='dark'] .dash-field > select,
html[data-theme='dark'] .dash-field > .form-control,
html[data-theme='dark'] .dash-field--select .select2-selection__rendered,
html[data-theme='dark'] .dash-field--select .filter-option-inner-inner {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-field,
html[data-theme='dark'] .dash-order-search {
  background: #1a2433;
  border: 1px solid rgba(107, 171, 245, 0.5);
}

html[data-theme='dark'] .dash-order-levels__facts dt {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-order-levels__facts dd {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-order-levels__row--new td:nth-child(n + 2) {
  color: #9ec5ff;
}

html[data-theme='dark'] .dash-order-levels__row--normal td:nth-child(n + 2) {
  color: #cbd5e1;
}

html[data-theme='dark'] .dash-order-levels__row--elite td:nth-child(n + 2) {
  color: #fbbf24;
}

html[data-theme='dark'] .dash-order-levels__row--vip td:nth-child(n + 2) {
  color: #5eead4;
}

html[data-theme='dark'] .dash-order-levels__row--master td:nth-child(n + 2) {
  color: #fcd34d;
}

html[data-theme='dark'] .dash-order-levels__row--diamond td:nth-child(n + 2) {
  color: #c4b5fd;
}

html[data-theme='dark'] .select2-dropdown,
html[data-theme='dark'] .dash-field--select .dropdown-menu,
html[data-theme='dark'] .dash-field--select .select2-dropdown {
  background: #1a2433;
  border-color: rgba(107, 171, 245, 0.45);
  color: var(--color-title);
}

html[data-theme='dark']
  body
  > .select2-container--open.dash-order-select-dropdown
  .select2-dropdown,
html[data-theme='dark']
  body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option {
  color: var(--color-body-text);
}

html[data-theme='dark']
  body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option:hover,
html[data-theme='dark']
  body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option--highlighted,
html[data-theme='dark']
  body
  > .select2-container--open.dash-order-select-dropdown
  .select2-results__option.active,
html[data-theme='dark'] .dash-field--select .dropdown-menu > li:hover,
html[data-theme='dark'] .dash-field--select .dropdown-menu > li.active,
html[data-theme='dark'] .dash-field--select .dropdown-menu > li.selected,
html[data-theme='dark'] .dash-field--select .dropdown-menu .dropdown-item:hover,
html[data-theme='dark']
  .dash-field--select
  .dropdown-menu
  .dropdown-item.active,
html[data-theme='dark'] .dash-field--select .select2-results__option:hover,
html[data-theme='dark']
  .dash-field--select
  .select2-results__option--highlighted,
html[data-theme='dark']
  .dash-field--select
  .select2-results__option[aria-selected='true'] {
  background: var(--color-input-bg);
  color: var(--color-title);
}

html[data-theme='dark'] input::placeholder,
html[data-theme='dark'] textarea::placeholder,
html[data-theme='dark'] .form-control::placeholder,
html[data-theme='dark'] .form-select::placeholder,
html[data-theme='dark'] .dash-field input::placeholder,
html[data-theme='dark'] .dash-field textarea::placeholder,
html[data-theme='dark'] .hero-login__input::placeholder,
html[data-theme='dark'] .contact-form__input::placeholder,
html[data-theme='dark'] .contact-form__textarea::placeholder,
html[data-theme='dark'] .dash-services-search input::placeholder {
  color: #9eb0c6;
  opacity: 1;
}

html[data-theme='dark'] .select2-selection__placeholder,
html[data-theme='dark'] .dash-field--select .select2-selection__placeholder,
html[data-theme='dark'] .bs-placeholder .filter-option-inner-inner {
  color: #9eb0c6;
}

html[data-theme='dark'] .dash-welcome__title,
html[data-theme='dark'] .dash-welcome__name,
html[data-theme='dark'] .dash-welcome__stats strong,
html[data-theme='dark'] .dash-funds__title,
html[data-theme='dark'] .dash-funds-history__amount {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-funds-method__trigger,
html[data-theme='dark'] .dash-funds-method__value {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-funds-method__menu {
  background: #1a2433;
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-funds-method__option {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-funds-method__option:hover,
html[data-theme='dark'] .dash-funds-method__option.is-active {
  background: var(--color-input-bg);
  color: var(--color-title);
}

html[data-theme='dark'] .dash-funds-method__arrow {
  border-top-color: var(--color-title);
}

html[data-theme='dark'] .dash-payments__item {
  color: var(--color-title);
  background: var(--color-input-bg);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-payments__item.is-active {
  color: #ffffff;
  background: var(--color-brand);
  border-color: var(--color-brand);
}

html[data-theme='dark'] .dash-payments__icon {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-amounts__btn {
  color: var(--color-title);
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-amounts__btn.is-active {
  color: #ffffff;
  background: var(--color-brand);
  border-color: var(--color-brand);
}

html[data-theme='dark'] .dash-field--charge {
  background: #1a2433;
  border: 1px solid rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-field--charge input,
html[data-theme='dark'] .dash-field--charge .form-control {
  color: var(--color-title);
  background: transparent;
}

html[data-theme='dark'] .dash-orders-table-card,
html[data-theme='dark'] .dash-funds-history {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-orders-toolbar.dash-card {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-orders-filter {
  color: var(--color-title);
  background: var(--color-surface-2);
}

html[data-theme='dark'] .dash-orders-filter:hover {
  color: var(--color-title);
  background: #243044;
}

html[data-theme='dark'] .dash-orders-filter img {
  opacity: 1;
  filter: brightness(0) invert(0.92);
}

html[data-theme='dark'] .dash-orders-filter__icon {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-orders-filter.is-active {
  color: #ffffff;
  background: var(--gradient-btn);
}

html[data-theme='dark'] .dash-orders-filter.is-active img {
  filter: brightness(0) invert(1);
}

html[data-theme='dark']
  .dash-orders-filter.is-active
  .dash-orders-filter__icon {
  color: #ffffff;
}

html[data-theme='dark'] .dash-orders-search {
  background: var(--color-input-bg);
  border-color: var(--color-border);
  box-shadow: none;
}

html[data-theme='dark'] .dash-orders-search input {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-orders-search button img {
  filter: brightness(0) invert(0.92);
}

html[data-theme='dark'] .dash-orders-table {
  --bs-table-bg: var(--color-surface);
  --bs-table-color: var(--color-black);
  --bs-table-border-color: var(--color-border);
  background-color: var(--color-surface);
  background-image: var(--gradient-btn);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html[data-theme='dark'] .dash-orders-table thead {
  --bs-table-bg: transparent;
}

html[data-theme='dark'] .dash-orders-table thead th,
html[data-theme='dark'] .dash-orders-table.table > thead > * > * {
  color: #ffffff;
  background: transparent;
  background-color: transparent;
  background-image: none;
  border-bottom-color: transparent;
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
}

html[data-theme='dark'] .dash-orders-table tbody td,
html[data-theme='dark'] .dash-orders-table.table > tbody > * > *,
html[data-theme='dark'] .dash-services-table tbody,
html[data-theme='dark'] .dash-services-table tbody td {
  color: var(--color-black);
  background: var(--color-surface);
  background-image: none;
  border-bottom-color: var(--color-border);
}

html[data-theme='dark'] .dash-orders-id,
html[data-theme='dark'] .dash-orders-empty {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-orders-btn {
  color: var(--color-title);
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-orders-btn:hover {
  color: var(--color-title);
  background: #243044;
}

html[data-theme='dark'] .dash-orders-btn--primary,
html[data-theme='dark'] .dash-orders-btn--primary:hover {
  color: #ffffff;
  background: var(--gradient-btn);
  border-color: transparent;
}

html[data-theme='dark'] .dash-orders-muted,
html[data-theme='dark'] .dash-orders-status-tip {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-orders-status[data-order-status='Pending'],
html[data-theme='dark'] .dash-orders-status[data-order-status='pending'],
html[data-theme='dark'] .dash-orders-status[data-order-status='Partial'],
html[data-theme='dark'] .dash-orders-status[data-order-status='partial'] {
  color: #e8eef6;
  background: #3d4d63;
}

html[data-theme='dark'] .dash-orders-search .form-control {
  color: var(--color-title);
  background: transparent;
  border: 0;
  box-shadow: none;
}

html[data-theme='dark'] .dash-updates-service__id {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-updates-service__name,
html[data-theme='dark'] .dash-updates-text {
  color: var(--color-black);
}

html[data-theme='dark'] .dash-funds-invoice {
  color: var(--color-brand);
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-funds-invoice:hover {
  color: #ffffff;
  background: var(--color-brand);
}

html[data-theme='dark'] .dash-orders-pagination__list > li > a {
  color: var(--color-title);
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-orders-pagination__list > li.active > a,
html[data-theme='dark'] .dash-orders-pagination__list > li > a:hover {
  color: #ffffff;
  background: var(--gradient-btn);
  border-color: transparent;
}

html[data-theme='dark'] .dash-services-toolbar {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.28);
}

html[data-theme='dark'] .dash-services-toolbar__currency {
  color: var(--color-title);
  background: var(--color-input-bg);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-services-search {
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-services-search input {
  color: var(--color-title);
  background: transparent;
}

html[data-theme='dark'] .dash-services-dropdown-menu {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-services-dropdown-menu .dropdown-item {
  color: var(--color-black);
}

html[data-theme='dark'] .dash-services-table-card.dash-card {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-services-table,
html[data-theme='dark'] .dash-services-table.table {
  --bs-table-color: var(--color-black);
  --bs-table-border-color: var(--color-border);
  --bs-table-striped-bg: var(--color-surface);
  --bs-table-hover-bg: var(--color-surface-2);
  color: var(--color-black);
  background-color: var(--color-surface);
  background-image: var(--gradient-btn);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html[data-theme='dark'] .dash-services-table thead {
  --bs-table-bg: transparent;
}

html[data-theme='dark'] .dash-services-table thead .dash-services-table-head,
html[data-theme='dark'] .dash-services-table thead .dash-services-table-head th,
html[data-theme='dark'] .dash-services-table.table > thead > * > * {
  color: #ffffff;
  background: transparent;
  background-color: transparent;
  background-image: none;
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
}

html[data-theme='dark'] .dash-services-table tbody {
  --bs-table-bg: var(--color-surface);
}

html[data-theme='dark'] .dash-services-table tbody,
html[data-theme='dark'] .dash-services-table tbody tr,
html[data-theme='dark'] .dash-services-table.table > tbody > * > *,
html[data-theme='dark'] .dash-services-table tbody td {
  color: var(--color-black);
  background: var(--color-surface);
  background-color: var(--color-surface);
  background-image: none;
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-services-row td,
html[data-theme='dark'] .dash-services-name,
html[data-theme='dark'] .dash-services-name span,
html[data-theme='dark'] .dash-services-row__id-num,
html[data-theme='dark'] .dash-services-row__rate,
html[data-theme='dark'] .dash-services-row__min,
html[data-theme='dark'] .dash-services-row__max,
html[data-theme='dark'] .dash-services-row__time {
  color: var(--color-black);
}

html[data-theme='dark'] .dash-services-category td {
  background: var(--color-surface);
}

html[data-theme='dark'] .dash-services-category__toggle,
html[data-theme='dark'] .dash-services-category__toggle:hover,
html[data-theme='dark'] .dash-services-category__toggle:focus-visible,
html[data-theme='dark']
  .dash-services-group:not(.is-collapsed)
  .dash-services-category__toggle {
  color: var(--color-title);
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.45);
  box-shadow: none;
}

html[data-theme='dark'] .dash-services-category__label {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-services-category__arrow {
  color: var(--color-title);
  background: var(--color-input-bg);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark'] .dash-services-row__fav-btn:hover {
  background: #2a2416;
}

html[data-theme='dark'] .dash-services-tag {
  background: var(--color-input-bg);
}

html[data-theme='dark'] .dash-services-more {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-service-modal__dialog,
html[data-theme='dark'] .dash-service-modal__footer {
  background: var(--color-surface);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-service-modal__body {
  background: var(--color-page);
}

html[data-theme='dark'] .dash-service-modal__card,
html[data-theme='dark'] .dash-service-modal__desc {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-service-modal__label,
html[data-theme='dark'] .dash-service-modal__loading,
html[data-theme='dark'] .dash-service-modal__empty {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-service-modal__value,
html[data-theme='dark'] .dash-service-modal__desc-body {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-welcome__level span:last-child {
  background: none;
  color: var(--color-title);
  -webkit-text-fill-color: var(--color-title);
}

html[data-theme='dark'] .dash-welcome__stats span {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-home-banner {
  color: #ffffff;
  border-color: rgba(107, 171, 245, 0.45);
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(79, 159, 241, 0.28),
      transparent 42%
    ),
    var(--gradient-btn);
}

html[data-theme='dark'] .dash-home-meta__card {
  color: var(--color-black);
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-home-meta__label {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-home-meta__value,
html[data-theme='dark'] .dash-home-status__name,
html[data-theme='dark'] .dash-home-status__cell,
html[data-theme='dark'] .dash-home-metric__value,
html[data-theme='dark'] .dash-home-progress__title,
html[data-theme='dark'] .dash-home-progress__side,
html[data-theme='dark'] .dash-home-level-card__name,
html[data-theme='dark'] .dash-home-level-card__perks li {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-home-status__spent,
html[data-theme='dark'] .dash-home-metric__label,
html[data-theme='dark'] .dash-home-progress__hint,
html[data-theme='dark'] .dash-home-level-card__range {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-home-status__badge {
  color: var(--color-title);
  background: rgba(107, 171, 245, 0.16);
}

html[data-theme='dark'] .dash-home-status__tr.is-head {
  background: transparent;
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-home-status__tr.is-active {
  color: var(--color-title);
  background: rgba(107, 171, 245, 0.18);
  box-shadow: inset 0 0 0 1px rgba(107, 171, 245, 0.4);
}

html[data-theme='dark'] .dash-home-metric__link {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-home-progress__bar {
  background: var(--color-input-bg);
}

html[data-theme='dark'] .dash-home-progress__pill {
  color: var(--color-title);
  background: var(--color-surface);
}

html[data-theme='dark'] .dash-home-level-card__bonus {
  color: #9ec5ff;
  background: rgba(107, 171, 245, 0.16);
}

html[data-theme='dark'] .dash-home-bool.is-yes {
  color: #9ec5ff;
  background: rgba(107, 171, 245, 0.2);
}

html[data-theme='dark'] .dash-home-bool.is-no {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
}

html[data-theme='dark'] .dash-home-level-table .is-points {
  color: #9ec5ff;
}

html[data-theme='dark'] .dash-home-level-card__icon {
  color: inherit;
  background: transparent;
  border: 0;
}

html[data-theme='dark'] .dash-level-modal__header {
  border-bottom-color: var(--color-border);
}

html[data-theme='dark'] .dash-level-modal__title {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-level-modal__body {
  background: var(--color-page);
}

html[data-theme='dark'] .dash-level-modal__card.is-current {
  box-shadow:
    0 0 0 2px var(--color-brand),
    0 4px 4px rgba(0, 0, 0, 0.28);
}

html[data-theme='dark'] .dash-level-modal .btn-close {
  filter: invert(1) grayscale(1);
}

html[data-theme='dark'] .dash-tickets-alert--success {
  color: #86efac;
  background: #13261c;
  border-color: #166534;
}

html[data-theme='dark'] .dash-tickets-panel,
html[data-theme='dark'] .dash-viewticket-panel {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
  color: var(--color-black);
}

html[data-theme='dark'] .dash-tickets-panel__header,
html[data-theme='dark'] .dash-viewticket-panel__header {
  color: #ffffff;
  background: var(--gradient-btn);
}

html[data-theme='dark'] .dash-tickets-label,
html[data-theme='dark'] .dash-tickets-extra-fields label,
html[data-theme='dark'] .dash-tickets-extra-fields .control-label {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-tickets-control,
html[data-theme='dark'] .dash-tickets-control .form-control,
html[data-theme='dark'] .dash-tickets-extra-fields .form-control,
html[data-theme='dark'] .dash-tickets-extra-fields select,
html[data-theme='dark'] .dash-tickets-extra-fields input,
html[data-theme='dark'] .dash-tickets-extra-fields textarea,
html[data-theme='dark'] .dash-tickets-search input {
  color: var(--color-title);
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-tickets-control--select select,
html[data-theme='dark'] .dash-tickets-extra-fields select,
html[data-theme='dark'] #ticket-fields select,
html[data-theme='dark'] select#ticket-category-field,
html[data-theme='dark'] select#ticket-subcategory {
  color: var(--color-title);
  background-color: var(--color-input-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23e8eef6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme='dark'] .dash-tickets-list-head,
html[data-theme='dark'] .dash-tickets-item__time,
html[data-theme='dark'] .dash-tickets-empty,
html[data-theme='dark'] .dash-viewticket-empty,
html[data-theme='dark'] .dash-viewticket-locked,
html[data-theme='dark'] .dash-viewticket-msg__meta {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-tickets-item {
  color: var(--color-black);
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-tickets-item:hover {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.55);
  box-shadow: none;
}

html[data-theme='dark'] .dash-tickets-item__id,
html[data-theme='dark'] .dash-viewticket-msg__author {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-tickets-item__subject,
html[data-theme='dark']
  .dash-viewticket-msg--support
  .dash-viewticket-msg__author,
html[data-theme='dark'] .dash-viewticket-msg__files a,
html[data-theme='dark'] .dash-viewticket-back {
  color: var(--color-brand);
}

html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='Answered'],
html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='answered'],
html[data-theme='dark'] .dash-tickets-item__status[data-ticket-status='Closed'],
html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='closed'] {
  color: #4ade80;
}

html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='Pending'],
html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='pending'],
html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='Waiting'],
html[data-theme='dark']
  .dash-tickets-item__status[data-ticket-status='waiting'] {
  color: #fbbf24;
}

html[data-theme='dark'] .dash-viewticket-msg--user .dash-viewticket-msg__bubble,
html[data-theme='dark']
  .dash-viewticket-msg--support
  .dash-viewticket-msg__bubble {
  color: var(--color-title);
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

html[data-theme='dark']
  .dash-viewticket-msg--support
  .dash-viewticket-msg__bubble {
  background: #1a2433;
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-viewticket-empty,
html[data-theme='dark'] .dash-viewticket-locked {
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-viewticket-reply {
  border-top-color: var(--color-border);
}

html[data-theme='dark'] .dash-viewticket-meta li {
  border-bottom-color: var(--color-border);
}

html[data-theme='dark'] .dash-viewticket-meta__label {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-viewticket-badge--id,
html[data-theme='dark'] .dash-viewticket-badge--subject {
  color: #9ec5ff;
  background: rgba(107, 171, 245, 0.16);
  border-color: rgba(107, 171, 245, 0.4);
}

html[data-theme='dark'] .dash-viewticket-badge--open,
html[data-theme='dark'] .dash-viewticket-badge--response {
  color: #86efac;
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(74, 222, 128, 0.35);
}

html[data-theme='dark'] .dash-viewticket-badge--closed {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(248, 113, 113, 0.4);
}

html[data-theme='dark'] .dash-viewticket-badge--priority {
  color: #fdba74;
  background: rgba(234, 88, 12, 0.16);
  border-color: rgba(251, 146, 60, 0.4);
}

html[data-theme='dark'] .dash-viewticket-badge--department {
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.16);
  border-color: rgba(34, 211, 238, 0.35);
}

html[data-theme='dark'] .dash-viewticket-note {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-viewticket-note strong {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-viewticket-note p {
  color: var(--color-body-text);
}

html[data-theme='dark'] .tickets-uploader,
html[data-theme='dark'] .tickets-uploader .btn,
html[data-theme='dark'] .tickets-uploader button {
  color: var(--color-title);
}

html[data-theme='dark'] .tickets-uploader a {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-tickets-error.alert-danger,
html[data-theme='dark'] .alert-danger.dash-tickets-error {
  color: #fca5a5;
  background: #2a1518;
  border-color: rgba(248, 113, 113, 0.4);
}

html[data-theme='dark'] .dash-child-panel,
html[data-theme='dark'] .dash-api-panel,
html[data-theme='dark'] .dash-account-panel {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
  color: var(--color-black);
}

html[data-theme='dark'] .dash-child-panel__header,
html[data-theme='dark'] .dash-api-panel__header,
html[data-theme='dark'] .dash-account-panel__header {
  color: #ffffff;
  background: var(--gradient-btn);
}

html[data-theme='dark'] .dash-child-instruction h3,
html[data-theme='dark'] .dash-child-thanks {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-child-instruction p,
html[data-theme='dark'] .dash-child-instruction li,
html[data-theme='dark'] .dash-child-ns p,
html[data-theme='dark'] .dash-child-banner p {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-child-ns,
html[data-theme='dark'] .dash-child-banner {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-child-ns strong {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-child-banner--renew {
  background: rgba(234, 88, 12, 0.16);
  border-color: rgba(251, 146, 60, 0.4);
}

html[data-theme='dark'] .dash-child-banner--restore {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .api-overview__item {
  background: var(--color-surface);
  border-color: var(--color-border);
}

html[data-theme='dark'] .api-overview__label {
  color: var(--color-body-text);
}

html[data-theme='dark'] .api-overview__value {
  color: var(--color-title);
}

html[data-theme='dark'] .api-endpoint {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: none;
}

html[data-theme='dark'] .api-endpoint__title,
html[data-theme='dark'] .api-endpoint__subtitle,
html[data-theme='dark'] .api-endpoint__label {
  color: var(--color-title);
}

html[data-theme='dark'] .api-table-wrap {
  border-color: var(--color-border);
}

html[data-theme='dark'] .api-table th,
html[data-theme='dark'] .api-table td {
  border-color: var(--color-border);
}

html[data-theme='dark'] .api-table th {
  color: var(--color-title);
  background: var(--color-surface-2);
}

html[data-theme='dark'] .api-table td {
  color: var(--color-body-text);
  background: var(--color-surface);
}

html[data-theme='dark'] .api-table code {
  color: #9ec5ff;
  background: rgba(107, 171, 245, 0.16);
}

html[data-theme='dark'] .api-tabs__link {
  color: var(--color-body-text);
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .api-tabs__link:hover {
  color: var(--color-title);
  border-color: rgba(107, 171, 245, 0.55);
}

html[data-theme='dark'] .api-tabs__link.active {
  color: #ffffff;
  background: var(--gradient-btn);
  border-color: transparent;
}

html[data-theme='dark'] .api-overview__link,
html[data-theme='dark'] .dash-api-kv__value a,
html[data-theme='dark'] .dash-api-link {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-api-kv__row,
html[data-theme='dark'] .dash-api-params__row {
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-api-kv__label,
html[data-theme='dark'] .dash-api-params__key {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-api-kv__value {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-api-params__desc {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-api-code {
  color: #e8edf4;
  background: #121924;
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-account-tab {
  color: var(--color-title);
  background: var(--color-surface-2);
}

html[data-theme='dark'] .dash-account-tab.is-active,
html[data-theme='dark'] .dash-account-tab:hover {
  color: #ffffff;
  background: var(--gradient-btn);
}

html[data-theme='dark'] .dash-account-hint {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(248, 113, 113, 0.4);
}

html[data-theme='dark'] .dash-account-pass__toggle,
html[data-theme='dark'] .dash-account-help {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-account-2fa-info {
  background: var(--color-surface-2);
  border-color: rgba(107, 171, 245, 0.35);
}

html[data-theme='dark'] .dash-account-2fa-info h3 {
  color: var(--color-brand);
}

html[data-theme='dark'] .dash-account-2fa-info p {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-account-2fa-badge {
  color: #86efac;
  background: rgba(22, 163, 74, 0.16);
}

html[data-theme='dark'] .dash-account-2fa-sent {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-account-readonly {
  color: var(--color-title);
  background: var(--color-input-bg);
  border-color: var(--color-border);
}

html[data-theme='dark'] .dash-account-modal .modal-content {
  background: var(--color-surface);
  border-color: rgba(107, 171, 245, 0.35);
  color: var(--color-black);
}

html[data-theme='dark'] .dash-account-modal__body {
  background: var(--color-surface);
}

html[data-theme='dark'] .dash-account-modal__footer {
  background: var(--color-surface);
  border-top-color: var(--color-border);
}

html[data-theme='dark'] .dash-notifications-copy {
  color: var(--color-body-text);
}

html[data-theme='dark'] .dash-notifications-table-wrap {
  border-color: var(--color-border);
  background: var(--color-surface);
}

html[data-theme='dark'] .dash-notifications-table {
  background-color: var(--color-surface);
  background-image: var(--gradient-btn);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html[data-theme='dark'] .dash-notifications-table thead th {
  color: #ffffff;
  background: transparent;
  border-bottom-color: transparent;
}

html[data-theme='dark'] .dash-notifications-table tbody td {
  color: var(--color-black);
  background: var(--color-surface);
  border-bottom-color: var(--color-border);
}

html[data-theme='dark'] .dash-notifications-table__name {
  color: var(--color-title);
}

html[data-theme='dark'] .dash-notifications-check__box {
  background: var(--color-input-bg);
  border-color: rgba(107, 171, 245, 0.45);
}

html[data-theme='dark']
  .dash-notifications-check
  input[type='checkbox']:checked
  + .dash-notifications-check__box {
  background: var(--gradient-btn);
  border-color: var(--color-brand);
  box-shadow: inset 0 0 0 2px var(--color-surface);
}
