/* ══ TOKENS ══ */
:root {
  --orange: #ff8a3d;
  --orange-light: #f08030;
  --orange-dark: #c05810;
  --orange-10: #ff8a3d1a;
  --orange-15: #ff8a3d26;
  --orange-80: #ff8a3d80;
  --cream: #fff6ed;
  --cream-border: #f0d8b8;
  --border-color: #8f542e;
  --common-border: 1px solid var(--border-color);
  --sidebar-w: 300px;
  --sidebar-icon-w: 62px;
  --header-h: 90px;
  --text-placeholder: #574f4e;
  --icon-color: #574f4e;
  --track-bg: #ff8a3d66;
  --dropdown-bg: #fff;
  --green-badge: #28a745;
  --notify-red: #fe6511;
  --logout-red: #e05020;
  --white: #fff;
  --shadow-sm: 0 2px 8px rgba(180, 100, 20, 0.12);
  --shadow-md: 0 4px 20px rgba(180, 100, 20, 0.18);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --border-gradient: linear-gradient(
    152.14deg,
    rgba(253, 245, 166, 0.7) 9.96%,
    rgba(255, 138, 61, 0.7) 100%
  );
  --light-border-gradient: linear-gradient(
    152.14deg,
    rgba(255, 138, 61, 0.7) 100%
  );

  --font-family: "Geist", sans-serif;

  /* NEW ORDER PAGE KIT (reusable) */
  --no-primary: #fe6511;
  --no-primary-soft: #ff8a3d;
  --no-primary-strong: #e55b0e;
  --no-secondary: #2a2f3e;
  --no-card-bg: #fffaf4;
  --no-card-bg-2: #f6ede3;
  --no-text: #231f20;
  --no-text-soft: #574f4e;
  --no-control-bg: #fff6ed;
  --no-shadow: 0 6px 20px rgba(158, 90, 36, 0.12);
  --no-radius-lg: 16px;
  --no-radius-md: 12px;
  --no-radius-sm: 9px;
  --no-image-header: url("https://cdn.itorm.net/smmfollowom/img/Header-Light Mode.png");
  --no-image-texture: url("https://cdn.itorm.net/smmfollowom/img/distorted-bg.png");
  --no-image-dark: url("https://cdn.itorm.net/smmfollowom/img/Dashboard-BG-Dark.svg");

  --scrollbar-size: 12px;
  --scrollbar-track: #f0dcc8;
  --scrollbar-thumb: #c47a45;
  --scrollbar-thumb-hover: #ff8a3d;
}

html.dark-theme {
  --cream: #1a1a1a;
  --white: #000;
  --cream-border: #333333;
  --border-color: #5a4839;
  --text-dark: #d2d2d2;
  --text-dark-soft: #f7f2f2;
  --icon-color: #bbbbbb;
  --track-bg: #3e3638;
  --dropdown-bg: #222222;
  color: var(--text-dark);
  --text-placeholder: #d2d2d2;

  --scrollbar-track: #2a2422;
  --scrollbar-thumb: #c07848;
  --scrollbar-thumb-hover: #ff8a3d;
}

.text-primary {
  color: var(--orange) !important;
}

.hidden {
  display: none !important;
}

.form-group {
  margin-bottom: 1rem;
}

.common-border,
.u-border {
  border: var(--common-border);
}

.common-border-top,
.u-border-top {
  border-top: var(--common-border);
}

.common-border-right,
.u-border-right {
  border-right: var(--common-border);
}

.common-border-bottom,
.u-border-bottom {
  border-bottom: var(--common-border);
}

.u-gradient-border {
  --u-gradient-fill: var(--cream);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--u-gradient-fill), var(--u-gradient-fill)) padding-box,
    var(--border-gradient) border-box;
}

.u-gradient-border-bottom {
  border-bottom: 1px solid;
  border-image-source: var(--border-gradient);
  border-image-slice: 0 0 1 0;
}

.u-gradient-border-right {
  border-right: 1px solid;
  border-image-source: var(--border-gradient);
  border-image-slice: 1;
}

html.dark-theme .top-nav {
  border-bottom: 1px solid;
  border-image-source: var(--border-gradient);
  border-image-slice: 0 0 1 0;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--cream);
  color: var(--text-dark);
  height: 100vh;
}

/* ══ APP SHELL ══ */
.app-shell {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: background 0.3s ease;

  /* only gradients */
  /* background:
                radial-gradient(circle at 100% 0%,
                    rgba(255, 138, 61, 0.12),
                    transparent 50%),
                radial-gradient(circle at 100% 100%,
                    rgba(255, 138, 61, 0.15),
                    transparent 60%); */
}

/* background image layer */
.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("https://cdn.itorm.net/smmfollowom/img/Dashboard-BG-white.svg")
    no-repeat top right;
  background-size: cover;

  opacity: 0.5;

  pointer-events: none;
  z-index: 0;
}

/* dark mode image only */
html.dark-theme .app-shell::before {
  background: url("https://cdn.itorm.net/smmfollowom/img/Dashboard-BG-Dark.svg")
    no-repeat top right;
  background-size: cover;

  opacity: 0.5;
}

/* ══ TOP NAV ══ */
.top-nav {
  height: var(--header-h);
  background: transparent;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 300;
  overflow: visible;
  border-bottom: var(--common-border);
  transition: background 0.3s ease;
}

.top-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://cdn.itorm.net/smmfollowom/img/distorted-bg-top.png")
    repeat;
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: -1;
}

html.dark-theme .top-nav::before {
  background: url("https://cdn.itorm.net/smmfollowom/img/Header-dark.png")
    repeat;
}

/* Left brand column — inside sidebar */
.sidebar-header {
  height: var(--header-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: transparent;
  overflow: hidden;
}

.nav-items .nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 24px;
  background: url("https://cdn.itorm.net/smmfollowom/img/active-nav-arrow.svg")
    no-repeat center left;
  background-size: contain;
  z-index: 10;
}

/* Right header */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 20px;
  min-width: 0;
  position: relative;
}

/* Desktop toggle — on the border line */
.sidebar-toggle {
  width: 30px;
  min-width: 30px;
  height: 30px;
  background: var(--orange);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 400;
  box-shadow: 0 2px 8px rgba(180, 80, 0, 0.3);
}

.sidebar-toggle:hover {
  background: var(--orange-dark);
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: var(--orange);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
  border-radius: 50px;
}

/* Brand */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}

.light-logo {
  display: block;
}

.dark-logo {
  display: none;
}

html.dark-theme .light-logo {
  display: none;
}

html.dark-theme .dark-logo {
  display: block;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

/* Search Box */
.top-search-box {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 350px;
  width: 100%;
  margin-left: 20px;
}

.top-search-box input {
  width: 100%;
  height: 40px;
  background: var(--orange-15);
  border: var(--common-border);
  border-radius: 25px;
  padding: 0 50px 0 20px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

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

.top-search-box input:focus {
  border-color: var(--orange);
}

.top-search-box .search-icon-wrapper {
  position: absolute;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: var(--orange);
  line-height: 1;
}

.top-search-box .divider {
  width: 1px;
  height: 20px;
  background: var(--orange-80);
}

.top-search-box .material-symbols-rounded {
  color: var(--orange);
  font-size: 1.1rem;
}

/* Mobile brand (in nav-right) */
.mobile-brand {
  display: none;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  text-decoration: none;
}

.mobile-brand .brand-icon {
  width: 80px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-brand .brand-icon img {
  width: 100%;
  height: auto;
  max-height: 26px;
  object-fit: contain;
}

/* Action Buttons */
.action-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  background: var(--orange-15);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.action-icon-btn iconify-icon,
.wallet-pill .wallet-icon-box iconify-icon {
  font-size: 18px;
}

html.dark-theme .action-icon-btn iconify-icon,
html.dark-theme .wallet-pill .wallet-icon-box iconify-icon {
  color: #d2d2d2;
}

.action-icon-btn:hover {
  background: rgba(224, 112, 32, 0.05);
  transform: translateY(-2px);
}

.action-icon-btn .notify-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--notify-red);
  border-radius: 50%;
  border: 0.5px solid var(--white);
  animation: notifyPulse 1.6s ease-out infinite;
  transform-origin: center;
}

.theme-switch-btn .theme-icon {
  position: absolute;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.theme-switch-btn .theme-icon--sun {
  opacity: 0;
  transform: scale(0.7) rotate(-40deg);
}

.theme-switch-btn .theme-icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

html.dark-theme .theme-switch-btn .theme-icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

html.dark-theme .theme-switch-btn .theme-icon--moon {
  opacity: 0;
  transform: scale(0.7) rotate(40deg);
}

@keyframes notifyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 101, 17, 0.65);
  }

  45% {
    box-shadow: 0 0 0 6px rgba(254, 101, 17, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(254, 101, 17, 0);
  }
}

/* Wallet Pill */
.wallet-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 15px 0 4px;
  background: var(--orange-15);
  border: 1px solid var(--orange);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.wallet-pill:hover {
  background: #ffe8d0;
  transform: translateY(-1px);
}

.wallet-pill .wallet-icon-box {
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

html.dark-theme .wallet-pill .wallet-icon-box {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--track-bg), var(--track-bg)) padding-box,
    var(--border-gradient) border-box;
  color: var(--orange);
}

.wallet-pill span {
  font-size: 14px;
  color: var(--orange);
}

/* Common Dropdown Arrow */
.dropdown-arrow {
  width: 18px;
  height: 18px;
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
  margin-left: 5px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.user-pill.show .dropdown-arrow,
.wallet-pill.show .dropdown-arrow {
  transform: rotate(180deg);
}

.user-pill {
  background: var(--orange-15);
  border: 1px solid var(--orange);
  border-radius: 100px;
  padding: 4px 15px 4px 4px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.user-pill:hover {
  background: #ffe8d0;
  transform: translateY(-1px);
}

.user-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 1px;
  background: var(--border-gradient);
  flex-shrink: 0;
}

.user-pill .user-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user-pill .pill-name {
  color: var(--orange);
  font-size: 14px;
}

html.dark-theme .nav-actions .action-icon-btn,
html.dark-theme .nav-actions .wallet-pill,
html.dark-theme .nav-actions .user-pill {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--track-bg), var(--track-bg)) padding-box,
    var(--border-gradient) border-box;
}

html.dark-theme .nav-actions .action-icon-btn:hover,
html.dark-theme .nav-actions .wallet-pill:hover,
html.dark-theme .nav-actions .user-pill:hover {
  background:
    linear-gradient(#4a3c38, #4a3c38) padding-box,
    var(--border-gradient) border-box;
}

.currency-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--dropdown-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 100px;
  z-index: 999;
  border: 1px solid var(--cream-border);
  list-style: none;
  margin: 0;
  padding: 0;
}

.currency-options.show {
  display: block;
}

.currency-options li a {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-dark);
  transition: background 0.2s;
  text-decoration: none;
}

.currency-options li a:hover {
  background: var(--cream);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dropdown-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  padding: 8px 0;
  z-index: 999;
  display: none;
  border: 1px solid var(--cream-border);
}

.user-dropdown-menu.show {
  display: block;
  animation: fadeDown 0.15s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.15s;
}

.user-dropdown-menu a:hover {
  background: var(--cream);
}

.user-dropdown-menu a i {
  width: 14px;
  color: var(--text-mid);
}

.user-dropdown-menu .divider {
  height: 1px;
  background: var(--cream-border);
  margin: 4px 0;
}

.user-dropdown-menu .dd-logout {
  color: var(--logout-red);
  font-weight: 700;
}

.user-dropdown-menu .dd-logout i {
  color: var(--logout-red);
}

/* ══ MAIN WRAPPER ══ */
.main-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* ══ OVERLAY (mobile) ══ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 250;
}

.sidebar-overlay.show {
  display: block;
}

/* ══ SIDEBAR ══ */
.sidebar {
  width: var(--sidebar-w);
  border-right: var(--common-border);
  display: flex;
  flex-direction: column;
  transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  z-index: 260;
  position: sticky;
  top: 0;
  min-height: 100vh;
  isolation: isolate;
}

html.dark-theme .sidebar {
  border-right: 1px solid;
  border-image-source: var(--border-gradient);
  border-image-slice: 1;
}

.sidebar.icon-only {
  margin-left: calc(-1 * var(--sidebar-w) - 2px);
}

.sidebar::before {
  content: "";
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  flex: 0 0 100vh;
  margin-bottom: -100vh;
  background: url("https://cdn.itorm.net/smmfollowom/img/distorted-bg.png")
    no-repeat;
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: 0;
}

html.dark-theme .sidebar::before {
  background: url("https://cdn.itorm.net/smmfollowom/img/Side-Bar-dark.png")
    no-repeat;
}

@media (max-width: 991px) {
  .sidebar::before {
    background:
      radial-gradient(
        circle at top left,
        rgba(255, 138, 61, 0.1),
        transparent 60%
      ),
      radial-gradient(
        circle at bottom right,
        rgba(255, 138, 61, 0.25),
        transparent 70%
      ),
      #fff8f0 url("https://cdn.itorm.net/smmfollowom/img/distorted-bg.png")
        no-repeat center center/cover;
    mix-blend-mode: normal;
  }

  html.dark-theme .sidebar::before {
    background:
      radial-gradient(
        circle at top center,
        rgba(255, 120, 0, 0.15),
        transparent 60%
      ),
      radial-gradient(
        circle at bottom right,
        rgba(255, 120, 0, 0.08),
        transparent 70%
      ),
      linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    mix-blend-mode: color;
  }
}

.sidebar > * {
  position: relative;
  z-index: 1;
}

/* user card */
.user-card {
  margin: 20px;
  background: var(--orange-10);
  border-radius: 12px;
  border: var(--common-border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition:
    padding 0.28s,
    margin 0.28s;
  position: relative;
  box-shadow: var(--shadow-sm);
}

html.dark-theme .user-card {
  background: transparent;
  border-color: transparent;
}

html.dark-theme .user-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.user-card-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  transition:
    width 0.28s,
    height 0.28s;
}

.user-card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: var(--common-border);
  background: #231f20;
}

html.dark-theme .user-card-avatar img {
  border: 1px solid transparent;
  background:
    linear-gradient(#231f20, #231f20) padding-box,
    var(--border-gradient) border-box;
}

.user-card h6 {
  font-family: Geist;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--notify-red);
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

.verified-badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(
    96.18deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  border: var(--common-border);
  border-radius: 100px;
  padding: 2px 10px;
  white-space: nowrap;
}

html.dark-theme .verified-badge {
  color: #fff;
  border: 1px solid transparent;
  background:
    linear-gradient(96.18deg, var(--orange) 0%, var(--orange-dark) 100%)
      padding-box,
    var(--border-gradient) border-box;
}

/* nav sections */
.nav-section {
  position: relative;
  padding: 0 0 8px 0;
  margin-bottom: 4px;
}

.icon-track {
  position: absolute;
  top: 4px;
  left: 20px;
  width: 40px;
  height: calc(100% - 10px);
  background: var(--track-bg);
  border-radius: 25px;
  z-index: 0;
  opacity: 0;
  transition:
    opacity 0.3s,
    height 0.3s;
}

.nav-section:has(.nav-item.active) .icon-track,
.nav-section:has(.nav-items:not(.collapsed)) .icon-track,
.nav-section:has(.nav-items.collapsed) .icon-track {
  opacity: 1;
}

.nav-section:has(.nav-items.collapsed) .icon-track {
  height: 40px;
  border-radius: 50%;
}

.section-divider {
  border-top: 1px solid var(--cream-border);
  margin: 4px 0 8px;
}

.sidebar-bottom {
  margin-top: auto;
  padding-bottom: 16px;
}

.nav-section-header {
  display: flex;
  align-items: center;
  background: transparent !important;
  border-radius: 0;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-section-header .header-icon {
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-right: 16px;
  margin-left: 10px;
  flex-shrink: 0;
}

.nav-section-header .header-text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav-section-header .header-arrow {
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

html.dark-theme .nav-section-header .header-arrow {
  background: #3e3638;
}

.nav-section-header .header-arrow i,
.nav-section-header .header-arrow iconify-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.nav-section-header .header-arrow iconify-icon {
  font-size: 20px;
}

.nav-section-header .header-arrow i,
.nav-section-header.collapsed .header-arrow iconify-icon {
  transform: rotate(0deg);
}

.nav-section-header .header-arrow .iconify {
  font-size: 20px;
}

.nav-section-header.collapsed .header-arrow i,
.nav-section-header.collapsed .header-arrow .iconify {
  transform: rotate(0deg);
}

.nav-items {
  position: relative;
  padding-left: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 500px;
}

.nav-items.collapsed {
  max-height: 0;
}

.nav-item,
.theme-row-item {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: color 0.15s;
}

.nav-item .icon-box,
.theme-row-item .icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 9px;
  margin-right: 16px;
  font-size: 18px;
  color: var(--icon-color);
  background: transparent !important;
  border-radius: 0 !important;
  transition: color 0.2s;
}

.nav-item .nav-label,
.theme-row-item .nav-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--icon-color);
  transition: color 0.2s;
}

.nav-item:hover .icon-box i,
.nav-item:hover .nav-label,
.theme-row-item:hover .icon-box i,
.theme-row-item:hover .nav-label {
  color: var(--orange);
}

.nav-items .nav-item.active .icon-box i {
  color: var(--orange) !important;
}

.nav-items .nav-item.active .nav-label,
.nav-items .nav-item.active .icon-box iconify-icon {
  color: var(--orange);
}

/* theme toggle inside nav-item */
.theme-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.theme-toggle input {
  display: none;
}

.theme-toggle label {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--orange);
  border-radius: 15px;
  cursor: pointer;
  padding: 3px;
  box-sizing: border-box;
}

.theme-toggle .toggle-circle {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.theme-toggle .toggle-circle i {
  color: var(--orange);
  font-size: 0.65rem;
}

.theme-toggle input:checked + label .toggle-circle {
  transform: translateX(24px);
}

/* Mobile sidebar logo (above user card) */
.sidebar-mobile-logo {
  display: none;
}

.sidebar-mobile-logo .logo-brand {
  justify-content: center;
  width: 100%;
}

.sidebar-mobile-logo .logo-brand img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* sidebar close (mobile only) */
.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: rgb(224 112 32 / 86%);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* logout */
.sidebar-logout {
  margin: auto 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(224, 112, 32, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  transition:
    background 0.2s,
    padding 0.28s;
  border: none;
  width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-logout:hover {
  background: rgba(224, 112, 32, 0.15);
}

/* ══ MAIN CONTENT ══ */
.main-content {
  flex: 1;
  background: transparent;
  padding: 24px 28px;
  overflow-y: auto;
  min-height: 0;
  min-width: 0;
}

.sidebar,
.main-content {
  scrollbar-width: thick;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.sidebar::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

.sidebar::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  min-height: 48px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* Table font sizes */
table thead {
  font-size: 16px;
}

table tbody {
  font-size: 14px;
}

/* ══ TABLET ≤ 1024px ══ */
@media (max-width: 1024px) {
  /* slim user pill */
  .pill-name {
    display: none;
  }
}

/* ══ MOBILE ≤ 991px ══ */
@media (max-width: 991px) {
  /* top nav — single flat bar */
  .top-nav {
    height: 54px;
    padding: 0 16px;
    align-items: center;
    border-bottom: var(--common-border);
    gap: 12px;
  }

  /* hide desktop sidebar-header split */
  .sidebar-header {
    display: none;
  }

  .sidebar-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px 4px 16px;
  }

  /* hide desktop toggle */
  .sidebar-toggle {
    display: none;
  }

  /* show hamburger */
  .mobile-menu-btn {
    display: flex;
    margin-left: 0;
  }

  /* nav-right fills full width */
  .nav-right {
    flex: 1;
    padding: 0;
    gap: 8px;
    border-bottom: none;
  }

  /* show mobile brand */
  .mobile-brand {
    display: flex;
  }

  /* hide search box on mobile */
  .top-search-box {
    display: none;
  }

  .user-pill:hover {
    transform: translateY(-1px);
  }

  .user-pill img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    object-fit: cover;
  }

  /* sidebar = fixed left drawer */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w) !important;
    background: url(https://cdn.itorm.net/smmfollowom/img/Side-Bar-dark.png)
      no-repeat center center/cover;
    transform: translateX(-110%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  /* show close btn */
  .sidebar-close-btn {
    display: flex;
  }

  .main-content {
    padding: 16px 14px;
  }

  .dashboard-level-table-card {
    padding: 0;
    overflow: visible;
  }

  .dashboard-level-table-scroll {
    overflow-x: auto;
    width: 100%;
  }

  .dashboard-level-table-card .level-table {
    min-width: 720px;
    width: max-content;
  }

  .dashboard-level-table-card .level-table th,
  .dashboard-level-table-card .level-table td {
    padding: 14px 10px;
  }

  .dashboard-level-table-card .level-table tbody td:first-child {
    min-width: 148px;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .action-icon-btn:not(.theme-switch-btn),
  #currentCurrency {
    display: none;
  }

  .nav-actions .theme-switch-btn {
    display: flex;
    width: 32px;
    height: 32px;
  }

  .nav-actions {
    gap: 8px;
  }

  .wallet-pill,
  .user-pill {
    height: 32px;
    padding: 0 10px 0 3px;
    gap: 2px;
  }

  .wallet-pill .wallet-icon-box,
  .user-pill .user-img {
    width: 26px;
    height: 26px;
  }

  .wallet-pill .wallet-icon-box iconify-icon,
  .user-pill .dropdown-arrow,
  .wallet-pill .dropdown-arrow {
    font-size: 14px;
    width: 14px;
    height: 14px;
  }
}

/* ══ SMALL MOBILE ≤ 480px ══ */
@media (max-width: 480px) {
  html {
    --sidebar-w: 250px;
  }
}

html.dark-theme {
  --no-primary: #ff9147;
  --no-primary-strong: #ff7f2e;
  --no-secondary: #181d28;
  --no-card-bg: #25211b;
  --no-card-bg-2: #2f2a22;
  --no-text: #d2d2d2;
  --no-text-soft: #d2d2d2;
  --no-control-bg: #1f1b16;
  --no-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  --no-image-header: url("https://cdn.itorm.net/smmfollowom/img/Dashboard-BG-Dark.svg");
  --no-image-texture: url("https://cdn.itorm.net/smmfollowom/img/Dashboard-BG-Dark.svg");
}

.no-page {
  color: var(--no-text);
}

.order-tabs-wrapper {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.no-bg-image {
  position: relative;
  background: url("https://cdn.itorm.net/smmfollowom/img/title-banner-light-bg.svg")
    center/cover no-repeat !important;
}

.no-hero.no-bg-image {
  border: var(--common-border);
}

html.dark-theme .no-bg-image {
  background: url("https://cdn.itorm.net/smmfollowom/img/title-banner-dark-bg.svg")
    center/cover no-repeat !important;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: none;
}

html.dark-theme .no-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  /* backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px); */
  z-index: -1;
}

html.dark-theme .no-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.no-hero {
  border-radius: var(--no-radius-lg);
  padding: 24px 60px;
  min-height: 190px;
  color: var(--no-text);
  box-shadow: var(--no-shadow);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.no-hero h1,
.no-hero p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.no-hero h1 {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--no-text);
}

.no-hero p {
  font-size: 16px;
  font-weight: 600;
  color: var(--no-text-soft);
}

.no-hero p span {
  color: var(--no-primary);
  margin: 0 6px;
}

html.dark-theme .no-hero h1 {
  color: #d2d2d2;
}

html.dark-theme .no-hero h1 iconify-icon {
  color: #d2d2d2;
}

html.dark-theme .no-hero p {
  color: #d2d2d2;
}

/* ══ ADD FUNDS CARDS ══ */
.funds-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  /* padding: 0 4px; */
}

.funds-card {
  position: relative;
  width: 100%;
  height: 120px;
  padding: 24px;
  border-radius: 12px;
  background: var(--orange-15);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border: var(--common-border);
  box-shadow: var(--no-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.funds-card:hover {
  transform: translateY(-4px);
}

html.dark-theme .funds-card {
  background: rgba(255, 138, 61, 0.08);
  border: none;
}

html.dark-theme .funds-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.funds-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.funds-card-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1;
}

.funds-card-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.funds-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #231f20 !important;
  position: relative;
  background: rgba(255, 138, 61, 0.1);
  z-index: 1;
}

html.dark-theme .funds-card-icon {
  color: var(--orange) !important;
}

.funds-card-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.funds-card-icon iconify-icon {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: inherit;
}

.funds-card-icon-img--dark {
  display: none;
}

html.dark-theme .funds-card-icon-img--light {
  display: none;
}

html.dark-theme .funds-card-icon-img--dark {
  display: block;
}

html.dark-theme .funds-card-icon {
  background: rgba(255, 138, 61, 0.05);
  border: none;
}

html.dark-theme .funds-card-icon::after,
html.dark-theme .participation-section::after,
html.dark-theme .giveaway-task-card::after,
html.dark-theme .details-body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--notify-red);
  margin: 30px 4px 20px;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 4px 40px;
}

.payment-methods-grid.is-loading .payment-card {
  display: none !important;
}

.payment-methods-loading {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  padding: 24px;
  color: var(--text-color, #555);
  font-size: 14px;
  font-weight: 500;
}

.payment-methods-grid.is-loading .payment-methods-loading {
  display: flex;
}

.payment-methods-loading__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 138, 61, 0.25);
  border-top-color: var(--orange, #ff8a3d);
  border-radius: 50%;
  animation: paymentMethodsSpin 0.75s linear infinite;
}

@keyframes paymentMethodsSpin {
  to {
    transform: rotate(360deg);
  }
}

.payment-card {
  position: relative;
  min-height: 84px;
  height: auto;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--orange-15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: var(--common-border);
  box-shadow: var(--no-shadow);
  text-align: left;
}

.payment-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 138, 61, 0.2);
  border-color: var(--orange);
  box-shadow: 0 10px 20px rgba(158, 90, 36, 0.15);
}

.payment-card.active {
  background: linear-gradient(106.49deg, #ff8a3d -9.59%, #c63508 84.91%);

  border: none;
}

html.dark-theme .payment-card.active {
  background: linear-gradient(106.49deg, #ff8a3d -9.59%, #c63508 84.91%);

  border: none;
}

.payment-card.active .payment-card-name {
  color: #fff;
}

.payment-card.active .payment-card-icon {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dark: match .funds-card (same fill, blur, shadow, gradient frame) */
html.dark-theme .payment-card {
  background: rgba(255, 138, 61, 0.08);
  border: none;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  box-shadow: var(--no-shadow);
}

html.dark-theme .payment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

html.dark-theme .payment-card.active::after {
  display: none;
}

.payment-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px;
  background: var(--orange-15);
  padding: 8px;
  border: var(--common-border);
}

/* Dark: match .funds-card-icon (orange tint + same gradient ring) */
html.dark-theme .payment-card-icon {
  background: rgba(255, 138, 61, 0.05);
  border: none;
}

html.dark-theme .payment-card-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.payment-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payment-card-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #574f4e;
  text-align: left;
}

html.dark-theme .payment-card-name {
  color: #f7f2f2;
}

/* ══ ADD FUNDS PAGE (layout + quick amounts + instructions) ══ */
.add-funds-page .add-funds-section-title,
.add-funds-page .section-title.add-funds-section-title {
  color: var(--orange);
  font-weight: 600;
  margin-top: 8px;
}

.add-funds-youtube-btn-text {
  color: #fe6511;
  font-size: 16px !important;
}

html.dark-theme .add-funds-youtube-btn-text {
  color: #ff8a3d;
}

@media (min-width: 1600px) {
  .add-funds-page .funds-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .add-funds-page .payment-methods-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.add-funds-quick-amount-block {
  width: 100%;
}

.add-funds-form-head {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.add-funds-form-head > span {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.add-funds-youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: transparent !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #8f542e;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.add-funds-youtube-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: var(--common-border);
  background: var(--cream);
}

html.dark-theme .add-funds-youtube-modal .modal-content {
  background: #1c1717;
  border: 1px solid transparent;
  background:
    linear-gradient(#1c1717, #1c1717) padding-box,
    var(--border-gradient) border-box;
}

.add-funds-youtube-modal__header {
  padding: 16px 20px;
}

.add-funds-youtube-modal__header .modal-title {
  font-weight: 600;
  color: var(--text-dark);
}

html.dark-theme .add-funds-youtube-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

html.dark-theme .add-funds-youtube-modal .btn-close:hover {
  opacity: 1;
}

.add-funds-youtube-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.add-funds-youtube-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 33, 23, 0.45);
}

.add-funds-youtube-btn iconify-icon {
  font-size: 20px;
  color: #fff;
}

/* Dark: gradient frame like funds / payment cards (solid #8F542E is hard to read on header) */
html.dark-theme .add-funds-youtube-btn {
  position: relative;
  z-index: 2;
  border: none;
}

html.dark-theme .add-funds-youtube-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.add-funds-quick-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.add-funds-quick-row::-webkit-scrollbar {
  display: none;
}

.add-funds-quick-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 14px;
  border: var(--common-border);
  background: transparent;
  color: #574f4e;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  scroll-snap-align: start;
}

html.dark-theme .add-funds-quick-btn {
  background: #1a1a1a;
  border: 1px solid transparent;
  color: var(--no-text-soft);
}

html.dark-theme .add-funds-quick-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.add-funds-quick-btn:hover,
.add-funds-quick-btn.is-selected {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.2);
}

html.dark-theme .add-funds-quick-btn:hover,
html.dark-theme .add-funds-quick-btn.is-selected {
  color: #ffb36b;
  background: linear-gradient(
    180deg,
    rgba(255, 138, 61, 0.15) 0%,
    rgba(28, 23, 23, 0.95) 100%
  );
}

.add-funds-bonus {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(254, 101, 17, 0.15);
  color: var(--no-primary);
}

html.dark-theme .add-funds-bonus {
  background: rgba(255, 138, 61, 0.2);
  color: #ffb36b;
}

.add-funds-instructions .add-funds-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.add-funds-instructions .add-funds-steps > li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.add-funds-instructions .add-funds-step-num {
  width: 32px;
  height: 32px;
  font-weight: 500;
  line-height: 1.6;
}

html.dark-theme .add-funds-instructions .add-funds-steps > li {
  border-bottom-color: rgba(255, 138, 61, 0.2);
}

.add-funds-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #ff8a3d;
}

.add-funds-instructions .add-funds-steps p {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--no-text-soft);
}

html.dark-theme .add-funds-instructions .add-funds-steps p {
  color: #f7f2f2;
}

/* Add Funds: horizontal stats strip + blue step carousel */
.add-funds-page .add-funds-stats-wrap {
  margin-bottom: 30px;
}

.add-funds-page .add-funds-stats-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 0;
  padding-bottom: 4px;
}

.add-funds-page .add-funds-stats-grid::-webkit-scrollbar {
  display: none;
}

/* Match Add Funds hero card width — nearly full row, peek of next */
.add-funds-page .add-funds-stats-grid .funds-card {
  flex: 0 0 calc(100% - 28px);
  width: calc(100% - 28px);
  max-width: 100%;
  min-height: 120px;
  height: auto;
  border-radius: var(--no-radius-lg, 16px);
  scroll-snap-align: start;
}

.add-funds-stats-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  min-height: 10px;
}

.add-funds-stats-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 138, 61, 0.28);
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.add-funds-stats-dots__dot.is-active {
  width: 22px;
  background: var(--orange, #ff8a3d);
}

@media (min-width: 1200px) {
  .add-funds-page .add-funds-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    gap: 16px;
  }

  .add-funds-page .add-funds-stats-grid .funds-card {
    flex: none;
    width: auto;
    min-height: 120px;
  }

  .add-funds-stats-dots {
    display: none;
  }
}

html.dark-theme .add-funds-stats-dots__dot {
  background: rgba(255, 138, 61, 0.25);
}

html.dark-theme .add-funds-stats-dots__dot.is-active {
  background: var(--orange, #ff8a3d);
}

.payment-methods-grid .payment-card {
  font: inherit;
  text-align: left;
}

.payment-flag {
  font-size: 22px;
  line-height: 1;
}

html.dark-theme .add-funds-page .funds-card-value {
  color: var(--orange);
}

html.dark-theme .add-funds-page .funds-card-label {
  color: var(--text-dark);
}

/* Add Funds: columns keep their own height — opening FAQ on the right does not stretch the form column */
.add-funds-panels-row {
  align-items: flex-start;
}

.add-funds-panels-row > .col-xl-7 > .no-panel,
.add-funds-panels-row > .col-xl-5 > .no-panel {
  flex: 0 0 auto;
  min-height: 0;
}

.add-funds-panels-row > .col-xl-7 .no-panel-body,
.add-funds-panels-row > .col-xl-5 .no-panel-body {
  flex: 0 0 auto;
}

.no-channel-card {
  border: var(--common-border);
  border-radius: var(--no-radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 220px;
  box-shadow: var(--no-shadow);
  overflow: hidden;
}

.no-bg-whatsapp {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/whatsapp-bg.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: 100% !important;
  border-color: #24d366 !important;
}

.no-bg-telegram {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/telegram-bg.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: 100% !important;
  border-color: #24a1de;
}

html.dark-theme .no-bg-whatsapp {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/dark-whatsapp.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: 100% !important;
}

html.dark-theme .no-bg-telegram {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/dark-telegram.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: 100% !important;
}

.no-channel-card h3 {
  color: var(--no-primary);
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.no-channel-card p {
  margin-bottom: 8px;
  max-width: 85%;
  color: var(--no-text-soft);
  font-weight: 400;
}

.no-channel-card strong {
  font-size: 16px;
  font-weight: 600 !important;
  color: var(--no-text);
}
.no-channel-card strong span {
  color: #ff8a3d !important;
  font-size: 16px;
  font-weight: 600 !important;
}

.no-channel-card a {
  color: var(--no-primary);
  text-decoration: none;
}

a.no-channel-card--link,
a.no-channel-card--link:hover,
a.no-channel-card--link:focus,
a.no-channel-card--link:active,
a.no-channel-card--link:visited {
  text-decoration: none !important;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.no-channel-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

a.no-channel-card--link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

a.no-channel-card--link h3,
a.no-channel-card--link:hover h3,
a.no-channel-card--link:focus h3,
a.no-channel-card--link:visited h3 {
  color: var(--no-primary);
  text-decoration: none !important;
}

a.no-channel-card--link p,
a.no-channel-card--link:hover p,
a.no-channel-card--link:focus p,
a.no-channel-card--link:visited p {
  color: var(--no-text-soft);
  text-decoration: none !important;
}

a.no-channel-card--link strong,
a.no-channel-card--link strong span,
a.no-channel-card--link:hover strong,
a.no-channel-card--link:hover strong span,
a.no-channel-card--link:focus strong,
a.no-channel-card--link:focus strong span,
a.no-channel-card--link:visited strong,
a.no-channel-card--link:visited strong span {
  color: var(--no-text);
  text-decoration: none !important;
}

.no-channel-icon {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: flex-end !important;
  color: #fff;
  font-size: 30px;

  flex-shrink: 0;
}

.no-channel-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══ CONTACT US (reuses no-page / no-hero / no-channel-card / no-panel / no-control / no-pay-btn) ══ */
.contact-method-grid > [class*="col-"] {
  display: flex;
}

.contact-method-grid .no-channel-card.contact-method-card {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

.contact-method-grid .contact-method-card__text {
  flex: 1 1 auto;
}

.contact-method-grid .contact-method-btn {
  margin-top: auto;
}

.contact-method-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.contact-method-card__text h3 {
  margin-top: 0;
}

.contact-method-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 300px;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-method-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #fff !important;
}

.contact-method-btn iconify-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.contact-method-btn--whatsapp {
  background: #25d366;
}

.contact-method-btn--telegram {
  background: #24a1de;
}

.contact-method-btn--email {
  background: #665bd8;
}

.contact-method-card--email {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/email-bg.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-color: #665bd8 !important;
}

.contact-method-card--hours {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/business-hours.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-color: #c26766 !important;
  /* background:
                radial-gradient(ellipse 75% 65% at 92% 25%, rgba(220, 38, 38, 0.14), transparent 50%),
                linear-gradient(145deg, rgba(255, 246, 237, 0.95) 0%, #fff 100%) !important; */
}

.contact-method-hours-line {
  color: var(--no-primary) !important;
  font-weight: 700 !important;
}

.contact-method-icon-email {
  place-items: center !important;
}

.contact-method-icon-email iconify-icon {
  font-size: 52px;
  color: #fff;
}

.contact-method-icon-hours {
  place-items: center !important;
}

.contact-method-icon-hours iconify-icon {
  font-size: 52px;
  color: #fff;
}

html.dark-theme .contact-method-card--email {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/dark-email-bg.svg") !important;
}

/* html.dark-theme .contact-method-card--email::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(135deg, rgba(167, 139, 250, 0.9), rgba(124, 58, 237, 0.5), rgba(254, 101, 17, 0.6));
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            mask-composite: exclude;
            pointer-events: none;
            z-index: 0;
        } */

html.dark-theme .contact-method-card--email > * {
  position: relative;
  z-index: 1;
}

html.dark-theme .contact-method-card--hours {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/dark-business-hours-bg.svg") !important;
}

/* html.dark-theme .contact-method-card--hours::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(135deg, rgba(248, 113, 113, 0.85), rgba(220, 38, 38, 0.45), rgba(254, 101, 17, 0.55));
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            mask-composite: exclude;
            pointer-events: none;
            z-index: 0;
        } */

html.dark-theme .contact-method-card--hours > * {
  position: relative;
  z-index: 1;
}

.contact-main-panel {
  margin-top: 4px;
}

.contact-assist-banner {
  border-radius: var(--no-radius-lg) var(--no-radius-lg) 0 0;
  background-image: url("https://cdn.itorm.net/smmfollowom/img/form-header.svg") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  padding: 26px 20px 28px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-assist-diamonds {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.contact-assist-diamonds span {
  width: 9px;
  height: 9px;
  background: var(--no-primary);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(254, 101, 17, 0.55);
}

.contact-assist-banner p {
  margin: 0;
  position: relative;
  z-index: 2;
  font-weight: 500;
  color: #f7f2f2;
  line-height: 1.35;
  font-size: 28px;
}

.contact-assist-banner p span {
  color: #ff8a3d;
}

/* Contact page — left column illustration */
.contact-assist-illustration {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: var(--no-radius-md);
  background-color: #121212;
  background-image: radial-gradient(
    ellipse 85% 88% at 50% 48%,
    rgba(255, 140, 61, 0.22),
    transparent 60%
  );
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

html.dark-theme .contact-assist-illustration {
  background-color: #0f0e0f;
  background-image: radial-gradient(
    ellipse 82% 88% at 50% 46%,
    rgba(255, 145, 71, 0.2),
    transparent 58%
  );
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--no-shadow);
}

html.dark-theme .contact-assist-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.contact-assist-illustration__img {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: auto;
  height: auto;
  max-width: min(100%, 420px);
  max-height: min(300px, 78%);
  margin: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  z-index: 1;
}

html:not(.dark-theme) .contact-assist-illustration__img {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.contact-assist-illustration--solo {
  margin-bottom: 0;
  min-height: min(340px, 52vh);
  aspect-ratio: auto;
}

@media (min-width: 992px) {
  .contact-assist-illustration--solo {
    min-height: 360px;
  }

  .contact-assist-illustration.contact-assist-illustration--solo
    .contact-assist-illustration__img {
    max-width: min(100%, 500px);
    max-height: min(340px, 88%);
  }
}

.contact-main-body {
  padding-top: 22px;
  padding-bottom: 22px;
}

.contact-map-wrap {
  border-radius: var(--no-radius-md);
  overflow: hidden;
  border: var(--common-border);
  line-height: 0;
  box-shadow: var(--shadow-sm);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  height: 280px;
}

html.dark-theme .contact-map-wrap {
  border: none;
  position: relative;
  box-shadow: var(--no-shadow);
}

html.dark-theme .contact-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

html.dark-theme .contact-map-wrap iframe {
  position: relative;
  z-index: 0;
}

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

.contact-info-item .contact-info-title,
.contact-info-title {
  margin-bottom: 8px !important;
  display: block;
}

.contact-info-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--no-text-soft);
}

.contact-info-text a {
  color: var(--no-text-soft);
  text-decoration: none;
  font-weight: 400;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

html.dark-theme .contact-info-text {
  color: var(--text-dark);
}

html.dark-theme .contact-info-text a {
  color: var(--text-dark);
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #fff;
  border: 1px solid var(--border-color);
  font-size: 16px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.contact-social-btn img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  background: var(--no-primary);
  border-color: transparent;
  color: #fff;
}

html:not(.dark-theme) .contact-social-btn {
  background: #3d3835;
  border-color: rgba(143, 84, 46, 0.35);
}

.no-social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.no-social-tab {
  border: var(--common-border);
  background: var(--no-control-bg);
  color: var(--no-text);
  border-radius: var(--no-radius-sm);
  min-height: 40px;
  padding: 8px 14px;
  min-width: 126px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: 0.2s ease;
}

.no-social-tab:hover {
  border-color: var(--no-primary);
  color: var(--no-primary);
}

.no-social-tab.active {
  color: #fff;
  border-color: transparent;
  background-image:
    var(--no-image-header), linear-gradient(90deg, #ff8f35, #ff6b14);
  background-size: cover;
  box-shadow: 0 8px 20px rgba(255, 108, 20, 0.3);
}

.no-panel {
  border: var(--common-border);
  border-radius: var(--no-radius-lg);
  background: #fff6ed;
  box-shadow: var(--no-shadow);
  /* Clip header + body to radius — avoids light body color showing at top corners */
  overflow: hidden;
}

html.dark-theme .no-panel {
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
  border-radius: var(--no-radius-lg);
  box-shadow: var(--no-shadow);
  background-image: linear-gradient(#1c1717, #1c1717), var(--border-gradient);
  background-origin: border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
}

.no-panel-header {
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  color: #f7f2f2 !important;
  /* Match .no-panel radius so corners stay even when cover crops the SVG (wide vs narrow columns). */
  /* border-radius: var(--no-radius-lg) var(--no-radius-lg) 0 0; */
  background-image: url("https://cdn.itorm.net/smmfollowom/img/table-head-bg.svg") !important;
  background-size: cover !important;
  background-position: center top;
  background-repeat: no-repeat !important;
}

html.dark-theme .no-panel-header {
  color: #f7f2f2 !important;
}

.no-btn-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #fff !important;
}

.padding-btn {
  padding: 0 18px !important;
  min-width: 120px !important;
  height: 40px !important;
}

/* .no-panel-header::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(34, 31, 37, .92), rgba(26, 34, 50, .88) 55%, rgba(255, 107, 20, .86));
        } */

.no-panel-header span {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.no-panel-header .filter-btn {
  position: relative;
  z-index: 2;
}

.no-panel-body {
  padding: 18px;
}

/* New Order + Service Details: equal card height when columns sit side-by-side */
.no-panels-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.no-panels-row .no-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.no-panels-row .no-panel-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.no-panels-row .no-panel-body > .no-action-btn:last-child {
  margin-top: auto;
  flex-shrink: 0;
}

.no-panels-row .no-panel-body > .mt-2:last-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.no-panels-row .no-panel-body > .mt-2:last-child .no-details-box {
  flex: 1 1 auto;
  min-height: 120px;
}

.no-search-row {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.no-search-row .form-control,
.no-search-row .form-select {
  border-radius: var(--no-radius-sm) 0 0 var(--no-radius-sm);
  border-right: 0;
}

.no-search-btn {
  min-width: 62px;
  border: 0;
  border-radius: 0 var(--no-radius-sm) var(--no-radius-sm) 0;
  color: #fff;
  background-image: url("https://cdn.itorm.net/smmfollowom/img/active-button-bg.svg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: 100% !important;
}

.no-search-btn i {
  position: relative;
  z-index: 1;
}

.no-label,
.control-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--no-primary);
  margin-bottom: 8px;
  display: block;
}

.auth-label {
  color: var(--orange) !important;
}

.account-label {
  font-size: 14px !important;
}

html.dark-theme .no-label {
  color: var(--no-primary-soft);
}

.no-panel .form-control,
.no-panel .form-control:focus,
.account-change-email-modal__content .form-control,
.account-change-email-modal__content .form-control:focus,
.no-panel .form-select,
.no-panel .form-select:focus {
  min-height: 48px;
  border: var(--common-border);
  border-radius: var(--no-radius-md);
  background: var(--no-control-bg);
  color: var(--no-text-soft);
  box-shadow: none;
  font-weight: 400;
  font-size: 14px;
}

/* Category / Service selects: custom chevron (light = black, dark = white below) */
.no-panel select.form-select,
.no-panel select.form-select:focus,
.no-panel select.form-select:focus-visible {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg));
  background-origin: padding-box, padding-box;
  background-clip: padding-box, padding-box;
  background-position:
    right 0.75rem center,
    center;
  background-size:
    16px 12px,
    auto;
  background-repeat: no-repeat;
}

/* Gradient ring + dark texture (same asset as .service-tab::before), stacked above solid fill */
html.dark-theme .no-panel input.form-control,
html.dark-theme .no-panel input.form-control:focus,
html.dark-theme .no-panel input.form-control:focus-visible,
html.dark-theme .account-change-email-modal__content input.form-control,
html.dark-theme .account-change-email-modal__content input.form-control:focus,
html.dark-theme
  .account-change-email-modal__content
  input.form-control:focus-visible,
html.dark-theme .no-panel textarea.form-control,
html.dark-theme .no-panel textarea.form-control:focus,
html.dark-theme .no-panel textarea.form-control:focus-visible,
html.dark-theme .api-docs-select {
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin: padding-box, padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-position: center, center, center, center;
  background-size: auto, cover, auto, auto;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  z-index: auto;
  box-shadow: none;
}

html.dark-theme .no-panel select.form-select,
html.dark-theme .no-panel select.form-select:focus,
html.dark-theme .no-panel select.form-select:focus-visible {
  border: 1px solid transparent;
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin:
    padding-box, padding-box, padding-box, padding-box, border-box;
  background-clip:
    padding-box, padding-box, padding-box, padding-box, border-box;
  background-position:
    right 0.75rem center,
    center,
    center,
    center,
    center;
  background-size:
    16px 12px,
    auto,
    cover,
    auto,
    auto;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  z-index: auto;
  box-shadow: none;
}

.no-panel .form-control::placeholder,
.account-change-email-modal__content .form-control::placeholder {
  color: #9f8f82;
}

.no-details-box {
  resize: none;
  min-height: 120px;
}

/* ══ MASS ORDER (reuses no-page / no-hero / no-panel / filter-btn / no-control) ══ */
.no-hero h1 iconify-icon {
  font-size: 1.1em;
  flex-shrink: 0;
}

.mass-order-format-hint {
  display: block;
}

.mass-order-textarea {
  resize: vertical;
  min-height: 280px;
  width: 100%;
}

.mass-order-layout {
  align-items: flex-start;
}

.mass-order-layout > [class*="col-"] {
  display: block;
}

.mass-order-panel {
  height: auto;
  align-self: flex-start;
}

.mass-order-guide-panel {
  height: auto;
}

.mass-order-panel-head-btn {
  pointer-events: none;
  cursor: default;
}

.mass-order-guide-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mass-order-guide__card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(143, 84, 46, 0.22);
  background: #fff;
}

.mass-order-guide__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.mass-order-guide__subtitle {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.mass-order-guide__text {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--no-text-soft);
}

.mass-order-guide__text:last-child {
  margin-bottom: 0;
}

.mass-order-guide__text--check {
  margin-bottom: 8px;
}

.mass-order-guide__link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.mass-order-guide__link:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.mass-order-guide__format {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

.mass-order-guide__service-name {
  color: var(--text-dark);
}

.mass-order-guide__example {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.mass-order-guide__card--example {
  padding-bottom: 16px;
}

html.dark-theme .mass-order-guide__card {
  background: #252020;
  border-color: rgba(255, 138, 61, 0.18);
}

html.dark-theme .mass-order-guide__title,
html.dark-theme .mass-order-guide__subtitle,
html.dark-theme .mass-order-guide__format,
html.dark-theme .mass-order-guide__service-name,
html.dark-theme .mass-order-guide__example {
  color: #f7f2f2;
}

html.dark-theme .mass-order-guide__text {
  color: rgba(210, 210, 210, 0.9);
}

html.dark-theme .mass-order-guide__link {
  color: #ff9f5a;
}

html.dark-theme .mass-order-guide__link:hover {
  color: #ffb36b;
}

@media (max-width: 767.98px) {
  .mass-order-guide__card {
    padding: 14px 16px;
  }

  .mass-order-guide__title {
    font-size: 16px;
  }

  .mass-order-guide__text,
  .mass-order-guide__format,
  .mass-order-guide__example {
    font-size: 14px;
  }
}

.no-pay-btn.btn {
  background-color: transparent;
  border-color: transparent;
}

.no-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 108px;
  min-height: 48px;
  min-width: 400px;
  border-radius: 12px;
  color: #f7f2f2 !important;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  position: relative;
  background-origin: border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-image: url("https://cdn.itorm.net/smmfollowom/img/primary-btn-bg.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.no-pay-btn:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.no-pay-btn:focus-visible {
  outline: 2px solid rgba(255, 140, 70, 0.85);
  outline-offset: 3px;
}

.no-pay-btn.w-100 {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* ══ API DOCS (reuses no-page / no-hero / no-panel — body only, no panel header) ══ */
.no-page--api .no-hero h1 {
  font-weight: 800;
}

html.dark-theme .no-page--api .no-hero h1,
html.dark-theme .no-page--api .no-hero h1 iconify-icon {
  color: #ffffff;
}

html.dark-theme .no-page--api .no-hero p {
  color: rgba(255, 255, 255, 0.78);
}

html.dark-theme .no-page--api .no-hero p span {
  color: var(--no-primary-soft);
}

.api-docs-panel .no-panel-body.api-docs-body {
  padding: 32px;
  background-color: var(--no-card-bg);
  border-radius: var(--no-radius-lg);
  /* border: 0.5px solid var(--cream-border); */
}

html.dark-theme .api-docs-panel .no-panel-body.api-docs-body {
  background-color: rgba(26, 26, 26, 0.4);
  border-color: rgba(255, 138, 61, 0.15);
}

.api-docs-section {
  padding-bottom: 60px;
}

.api-docs-divider {
  height: 1px;
  background: var(--border-color);
  margin: 14px 0 24px;
}

html.dark-theme .api-docs-divider {
  border-image: var(--border-gradient);
  border-image-slice: 1;
}

.api-docs-section__title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
  color: var(--no-primary);
  letter-spacing: 0.01em;
}

html.dark-theme .api-docs-section__title {
  color: var(--no-primary-soft);
}

.api-docs-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  background: none;
  border: none;
  color: inherit;
}

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

.api-docs-table thead th {
  text-align: left;
  padding-bottom: 12px;
  border-bottom: none;
  font-weight: 700;
  color: var(--no-primary);
  width: 50%;
  min-width: 150px;
}

.api-docs-table thead th:last-child {
  width: auto;
}

html.dark-theme .api-docs-table thead th {
  color: var(--no-primary-soft);
}

.api-docs-table tbody td {
  padding: 10px 0;
  border-bottom: none;
  /* font-weight: 700; */
  font-size: 14px;
  color: var(--text-placeholder);
  width: 50%;
  min-width: 150px;
  vertical-align: baseline;
  word-break: break-all;
}

.api-docs-table tbody td:last-child {
  width: auto;
}

html.dark-theme .api-docs-table tbody td {
  color: #ffffff;
}

/* Order Select */
.api-docs-order-type {
  margin-bottom: 24px;
}

.api-docs-select-wrapper {
  position: relative;
}

.api-docs-select {
  width: 100%;
  height: 44px;
  background: var(--no-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--no-radius-md);
  padding: 0 40px 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--no-primary);
  appearance: none;
  cursor: pointer;
  transition: all 0.2s;
}

.api-docs-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(254, 101, 17, 0.1);
}

.api-docs-select-wrapper iconify-icon {
  position: absolute;
  right: 27px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--no-primary);
  pointer-events: none;
}

.api-docs-code {
  position: relative;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  line-height: 1.6;
  overflow-x: auto;
  color: var(--no-text);
}

/* .api-docs-code code {
            font-family: inherit;
            font-size: inherit;
            color: inherit;
            white-space: pre;
            display: block;
        } */

html.dark-theme .api-docs-code {
  color: #ffffff;
}

@media (max-width: 576px) {
  /* .api-docs-table thead th,
            .api-docs-table tbody td {
                width: 100% !important;
                display: block;
            } */

  .api-docs-table thead th {
    padding-bottom: 4px;
  }
}

/* ══ ACCOUNTS (reuses no-page / no-hero / no-panel / no-label / no-control / no-pay-btn) ══ */
.no-page--accounts .no-hero h1 {
  font-weight: 800;
}

html.dark-theme .no-page--accounts .no-hero h1,
html.dark-theme .no-page--accounts .no-hero h1 iconify-icon {
  color: #ffffff;
}

html.dark-theme .no-page--accounts .no-hero p {
  color: rgba(255, 255, 255, 0.78);
}

html.dark-theme .no-page--accounts .no-hero p span {
  color: var(--no-primary-soft);
}

.accounts-panel .no-panel-header span {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  line-height: 1.25;
}

.no-password-field {
  position: relative;
  display: flex;
  align-items: stretch;
}

.no-password-field .form-control {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 3rem;
}

.no-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #ff8a3d;
  cursor: pointer;
  z-index: 2;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.no-password-toggle:hover {
  color: var(--no-primary);
  background: rgba(254, 101, 17, 0.08);
}

html.dark-theme .no-password-toggle {
  color: #ff8a3d;
}

html.dark-theme .no-password-toggle:hover {
  color: var(--no-primary-soft);
  background: rgba(255, 138, 61, 0.12);
}

.accounts-info-box {
  border: 1px solid rgba(87, 79, 78, 0.18);
  border-radius: var(--no-radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--no-text-soft);
  background: rgba(255, 255, 255, 0.35);
}

html.dark-theme .accounts-info-box {
  border-color: rgba(255, 138, 61, 0.28);
  color: var(--no-text-soft);
  background: rgba(0, 0, 0, 0.2);
}

/* Two-factor block (matches test-account flow: inner intro + generate / approve forms) */
.account-2fa-inner {
  margin-bottom: 1rem;
}

.account-2fa-inner__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--no-text-soft);
}

html.dark-theme .account-2fa-inner__title {
  color: #f7f2f2;
}

.account-2fa-inner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(87, 79, 78, 0.88);
}

html.dark-theme .account-2fa-inner__text {
  color: var(--no-text-soft);
  opacity: 0.92;
}

.account-2fa-approve-form {
  margin-top: 0;
}

/* Change email modal — matches no-panel / accounts theme */
.account-change-email-modal__dialog {
  max-width: 480px;
  width: calc(100% - 1.5rem);
}

.account-change-email-modal__content {
  border: var(--common-border);
  border-radius: var(--no-radius-lg);
  background: #fff6ed;
  box-shadow: var(--no-shadow);
  overflow: hidden;
}

html.dark-theme .account-change-email-modal__content {
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
  border-radius: var(--no-radius-lg);
  box-shadow: var(--no-shadow);
  background-image: linear-gradient(#1c1717, #1c1717), var(--border-gradient);
  background-origin: border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
}

.account-change-email-modal__header {
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  color: #f7f2f2;
  background-image: url("https://cdn.itorm.net/smmfollowom/img/table-head-bg.svg") !important;
  background-size: cover !important;
  background-position: center top;
  background-repeat: no-repeat !important;
}

.account-change-email-modal__title {
  margin: 0;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 600;
  color: #f7f2f2;
  line-height: 1.25;
}

.account-change-email-modal__close {
  flex-shrink: 0;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.account-change-email-modal__close:hover {
  opacity: 1;
}

.account-change-email-modal__body {
  padding: 20px 18px 18px;
  background: transparent;
}

.account-change-email-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(87, 79, 78, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

html.dark-theme .account-change-email-modal__footer {
  border-top-color: rgba(255, 138, 61, 0.2);
  background: rgba(0, 0, 0, 0.15);
}

.account-change-email-modal__btn-cancel {
  border: 1px solid rgba(87, 79, 78, 0.35);
  background: transparent;
  color: var(--no-text-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--no-radius-sm);
}

.account-change-email-modal__btn-cancel:hover {
  border-color: var(--no-primary);
  color: var(--no-primary);
}

html.dark-theme .account-change-email-modal__btn-cancel {
  border-color: rgba(255, 255, 255, 0.25);
  color: #d2d2d2;
}

html.dark-theme .account-change-email-modal__btn-cancel:hover {
  border-color: var(--no-primary-soft);
  color: var(--no-primary-soft);
}

.account-change-email-modal__btn-submit {
  min-width: 140px;
}

.account-change-email-modal__body .form-control:disabled,
.account-change-email-modal__body .form-control[readonly] {
  opacity: 0.92;
}

/* ══ NOTIFICATIONS (reuses no-page / no-hero / no-panel / no-panels-row / no-pay-btn) ══ */
.no-panel-header.no-notifications-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.no-panel-header.no-notifications-head .no-notifications-head__cell {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.no-panel-header.no-notifications-head .no-notifications-head__cell--center {
  text-align: center;
  justify-content: center;
}

/* Same alignment as Email — centered over checkbox column */
.no-panel-header.no-notifications-head .no-notifications-head__cell--end {
  text-align: center;
  justify-content: center;
}

.no-notifications-rows {
  margin: 0;
}

.no-notifications-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 2px solid var(--border-color);
  color: var(--no-text-soft);
  font-size: 14px;
  font-weight: 500;
}

/* .no-notifications-row:last-child {
            border-bottom: none;
        } */

html.dark-theme .no-notifications-row {
  border-bottom-color: rgba(255, 138, 61, 0.28);
  color: var(--no-text);
}

.no-notifications-row__check,
.no-notifications-row__check--end {
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-notify-check {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  border-radius: 6px;
  cursor: pointer;
  background-color: #24a1de !important;
  accent-color: #24a1de !important;
  border: 1px solid #24a1de !important;
}

html.dark-theme .no-notify-check {
  border-color: rgba(255, 255, 255, 0.25);
}

.no-telegram-banner-btn.btn {
  border-color: transparent;
}

.no-telegram-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  min-height: 52px;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
  border: none;
  background: #24a1de !important;
}

.no-telegram-banner-btn:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.no-telegram-banner-btn:focus-visible {
  outline: 2px solid rgba(42, 171, 238, 0.9);
  outline-offset: 3px;
}

/* Notification matrix: horizontal scroll + dynamic sender columns */
.notification-matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.notification-matrix-inner {
  min-width: min(100%, 400px);
}

.no-panel-header.no-notifications-head.no-notifications-head--matrix {
  grid-template-columns: minmax(0, 1fr) repeat(
      var(--notify-cols, 2),
      minmax(72px, 1fr)
    );
}

.no-notifications-row.no-notifications-row--matrix {
  grid-template-columns: minmax(0, 1fr) repeat(
      var(--notify-cols, 2),
      minmax(72px, 1fr)
    );
}

/* Email alerts configuration (confirmation UI — not account email change) */
.no-email-config-panel .no-email-config-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.no-email-config-panel .no-email-config-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(36, 161, 222, 0.18),
    rgba(255, 138, 61, 0.14)
  );
  color: var(--no-primary, #ff8a3d);
  font-size: 26px;
}

html.dark-theme .no-email-config-panel .no-email-config-icon {
  background: linear-gradient(
    135deg,
    rgba(36, 161, 222, 0.22),
    rgba(255, 138, 61, 0.18)
  );
}

.no-email-config-panel .no-email-config-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--no-text);
}

.no-email-config-panel .no-email-config-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--no-text-soft);
  margin: 0;
}

/* Email hint line: no white alert box */
.no-email-config-note {
  color: var(--no-text-soft);
  line-height: 1.55;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

html.dark-theme .no-email-config-note {
  color: var(--no-text-soft);
}

/* Full-width email alerts row: hero + CTA on wide screens */
.no-email-config-panel--fullwidth .no-email-config-fullwidth-inner {
  width: 100%;
}

@media (min-width: 1200px) {
  .no-email-config-panel--fullwidth .no-email-config-actions {
    min-width: 220px;
    max-width: 280px;
  }

  .no-email-config-panel--fullwidth .no-email-config-actions form {
    width: 100%;
  }
}

.no-telegram-banner-btn iconify-icon {
  font-size: 22px;
  flex-shrink: 0;
}

/* ══ CHILD PANEL FAQ (accordion inside no-panel; reuses no-page / no-panel / no-label / no-control patterns) ══ */
.child-panel-faq.accordion {
  --cp-faq-divider: rgba(87, 79, 78, 0.18);
}

.child-panel-faq .accordion-item {
  border: none;
  border-radius: 0;
  background: transparent;
}

.child-panel-faq .accordion-item + .accordion-item {
  border-top: 1px solid var(--cp-faq-divider);
}

.child-panel-faq__header {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.child-panel-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  margin: 0;
  border: none;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--no-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.child-panel-faq__trigger:focus {
  outline: none;
}

.child-panel-faq__trigger:focus-visible {
  outline: 2px solid var(--no-primary);
  outline-offset: 2px;
  border-radius: var(--no-radius-sm);
}

.child-panel-faq__trigger:not(.collapsed) .child-panel-faq__icon iconify-icon {
  transform: rotate(45deg);
}

.child-panel-faq__q {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.child-panel-faq__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff8a3d;

  transition: transform 0.25s ease;
}

.child-panel-faq__icon iconify-icon {
  font-size: 22px;
}

.child-panel-faq__body {
  padding: 0 48px 18px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--no-text-soft);
  font-weight: 400;
}

html.dark-theme .child-panel-faq.accordion {
  --cp-faq-divider: rgba(255, 138, 61, 0.28);
}

html.dark-theme .child-panel-faq__trigger {
  color: var(--no-text);
}

html.dark-theme .child-panel-faq__body {
  color: rgba(210, 210, 210, 0.85);
}

/* ══ TICKET HISTORY (Customer Care — cards beside Create Ticket; reuses no-panel / no-control / no-search-row) ══ */
.no-panel-body--ticket-form {
  min-height: 0;
}

.no-panel-body--ticket-form .ticket-form {
  gap: 1rem;
  min-height: 0;
}

.no-panel-body--ticket-form .ticket-form-fields {
  gap: 1rem;
  min-height: 0;
}

.no-panel-body--ticket-form .ticket-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.no-panel-body--ticket-form .ticket-form__group--message {
  min-height: 140px;
}

.no-panel-body--ticket-form .ticket-form__submit {
  flex-shrink: 0;
}

.level-status-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Same control surface for static fields + SMM #ticket-fields (inputs may omit .form-control) */
.no-panel-body--ticket-form .form-control,
.no-panel-body--ticket-form .form-control:focus,
.no-panel-body--ticket-form .form-select,
.no-panel-body--ticket-form .form-select:focus,
.no-panel-body--ticket-form
  #ticket-fields
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.no-panel-body--ticket-form #ticket-fields select,
.no-panel-body--ticket-form #ticket-fields textarea {
  min-height: 48px;
  border: var(--common-border);
  border-radius: var(--no-radius-md);
  background: var(--no-control-bg);
  color: var(--no-text-soft);
  box-shadow: none;
  font-weight: 400;
  font-size: 14px;
}

.no-panel-body--ticket-form #ticket-fields textarea {
  min-height: 96px;
  resize: vertical;
}

.no-panel-body--ticket-form select.form-select,
.no-panel-body--ticket-form select.form-select:focus,
.no-panel-body--ticket-form select.form-select:focus-visible,
.no-panel-body--ticket-form #ticket-fields select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg));
  background-origin: padding-box, padding-box;
  background-clip: padding-box, padding-box;
  background-position:
    right 0.75rem center,
    center;
  background-size:
    16px 12px,
    auto;
  background-repeat: no-repeat;
}

html.dark-theme .no-panel-body--ticket-form input.form-control,
html.dark-theme .no-panel-body--ticket-form input.form-control:focus,
html.dark-theme .no-panel-body--ticket-form input.form-control:focus-visible,
html.dark-theme .no-panel-body--ticket-form textarea.form-control,
html.dark-theme .no-panel-body--ticket-form textarea.form-control:focus,
html.dark-theme .no-panel-body--ticket-form textarea.form-control:focus-visible,
html.dark-theme
  .no-panel-body--ticket-form
  #ticket-fields
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html.dark-theme .no-panel-body--ticket-form #ticket-fields textarea {
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin: padding-box, padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-position: center, center, center, center;
  background-size: auto, cover, auto, auto;
  background-repeat: no-repeat;
  box-shadow: none;
}

html.dark-theme .no-panel-body--ticket-form select.form-select,
html.dark-theme .no-panel-body--ticket-form select.form-select:focus,
html.dark-theme .no-panel-body--ticket-form select.form-select:focus-visible,
html.dark-theme .no-panel-body--ticket-form #ticket-fields select {
  border: 1px solid transparent;
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin:
    padding-box, padding-box, padding-box, padding-box, border-box;
  background-clip:
    padding-box, padding-box, padding-box, padding-box, border-box;
  background-position:
    right 0.75rem center,
    center,
    center,
    center,
    center;
  background-size:
    16px 12px,
    auto,
    cover,
    auto,
    auto;
  background-repeat: no-repeat;
  box-shadow: none;
}

.no-panel-body--ticket-form .form-control::placeholder,
.no-panel-body--ticket-form #ticket-fields textarea::placeholder,
.no-panel-body--ticket-form #ticket-fields input::placeholder {
  color: #9f8f82;
}

html.dark-theme .no-panel-body--ticket-form .form-control::placeholder,
html.dark-theme
  .no-panel-body--ticket-form
  #ticket-fields
  textarea::placeholder,
html.dark-theme .no-panel-body--ticket-form #ticket-fields input::placeholder {
  color: rgba(210, 210, 210, 0.55);
}

.no-panel-body--ticket-form .no-details-box {
  flex: 1 1 auto;
  min-height: 140px;
  resize: vertical;
}

.no-panel-body--ticket-history {
  min-height: 0;
}

.ticket-history-scroll {
  min-height: 550px;
  max-height: min(620px, 52vh);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px 2px 0;
}

.ticket-history-scroll .ticket-history-list {
  min-height: 0;
}

.no-panel-body--ticket-history .ticket-history-search.service-search {
  max-width: 100%;
}

.no-panel-body--ticket-history .ticket-history-search input {
  padding: 0 3.25rem 0 14px;
  background: var(--no-control-bg);
  border: var(--common-border);
  border-radius: var(--no-radius-md);
  color: var(--no-text-soft);
  font-weight: 400;
}

.no-panel-body--ticket-history .ticket-history-search input::placeholder {
  color: #9f8f82;
  opacity: 1;
}

html.dark-theme .no-panel-body--ticket-history .ticket-history-search {
  background: transparent;
  overflow: visible;
}

html.dark-theme .no-panel-body--ticket-history .ticket-history-search::before,
html.dark-theme .no-panel-body--ticket-history .ticket-history-search::after {
  display: none;
}

html.dark-theme .no-panel-body--ticket-history .ticket-history-search input {
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin: padding-box, padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-position: center, center, center, center;
  background-size: auto, cover, auto, auto;
  background-repeat: no-repeat;
  color: var(--no-text-soft);
}

html.dark-theme
  .no-panel-body--ticket-history
  .ticket-history-search
  input::placeholder {
  color: rgba(210, 210, 210, 0.55);
}

.no-panel-body--ticket-history .ticket-history-search .search-submit {
  width: 48px;
  min-width: 48px;
  height: 46px;
  top: 1px;
  right: 1px;
  border-radius: 0 var(--no-radius-md) var(--no-radius-md) 0;
  box-sizing: border-box;
  border: 1px solid rgba(87, 79, 78, 0.22);
  border-left: 1px solid rgba(87, 79, 78, 0.15);
}

html.dark-theme
  .no-panel-body--ticket-history
  .ticket-history-search
  .search-submit {
  border: 1px solid rgba(255, 138, 61, 0.42);
  border-left: 1px solid rgba(255, 138, 61, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.ticket-history-list {
  min-height: 0;
}

.ticket-history-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 14px 16px;
  border: var(--common-border);
  border-radius: var(--no-radius-sm);
  background: var(--no-control-bg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

a.ticket-history-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

a.ticket-history-card--link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

a.ticket-history-card--link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Dark: same inner stack as .no-panel input.no-control (texture + tint + fill); ::before = gradient frame */
html.dark-theme .ticket-history-card {
  border: none;
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg));
  background-position: center, center, center;
  background-size: auto, cover, auto;
  background-repeat: no-repeat;
  box-shadow: var(--no-shadow);
}

html.dark-theme .ticket-history-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

html.dark-theme .ticket-history-card__field {
  position: relative;
  z-index: 1;
}

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

.ticket-history-card__lbl {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-dark-soft) !important;
}

html.dark-theme .ticket-history-card__lbl {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.ticket-history-card__val {
  font-size: 14px;
  font-weight: 500;

  color: var(--no-text-soft);
  word-break: break-word;
}

html.dark-theme
  .ticket-history-card__val:not(.ticket-history-card__val--accent) {
  color: var(--text-dark) !important;
}

.ticket-history-card__val--accent {
  color: var(--no-primary);
}

@media (max-width: 576px) {
  .ticket-history-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ticket-history-card--unread {
  box-shadow:
    0 0 0 1px rgba(255, 138, 61, 0.35),
    var(--shadow-sm);
}

html.dark-theme .ticket-history-card--unread {
  box-shadow:
    0 0 0 1px rgba(255, 138, 61, 0.45),
    var(--no-shadow);
}

.ticket-history-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 8px;
  margin-top: 4px;
}

.ticket-history-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 12px;
  border: var(--common-border);
  border-radius: var(--no-radius-sm);
  background: var(--no-control-bg);
  color: var(--no-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ticket-history-pagination__btn:hover {
  border-color: var(--no-primary);
  color: var(--no-primary);
}

.ticket-history-pagination__btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #dc3545, #ff8c42);
  box-shadow: 0 2px 8px rgba(255, 107, 20, 0.3);
  border: var(--common-border);
  color: #fff !important;
}

.dark-theme .ticket-history-pagination__btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(359deg, #1d1818, #ff6b142e);
  background-size: cover;
  border: var(--common-border);
}

.ticket-history-pagination__btn--icon {
  padding: 8px;
}

.ticket-history-pagination__btn--icon iconify-icon {
  font-size: 22px;
}

html.dark-theme .ticket-history-pagination__btn:not(.is-active) {
  border-color: rgba(255, 138, 61, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: #f0e8e4;
}

html.dark-theme .ticket-history-pagination__btn:not(.is-active):hover {
  border-color: var(--no-primary-soft);
  color: var(--no-primary-soft);
}

/* ══ TICKET DETAILS — sidebar ticket information ══ */
.no-panel-body--ticket-detail-info {
  gap: 0;
}

.ticket-detail-info__intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--no-text-soft);
  margin: 0 0 1rem;
  opacity: 0.92;
}

html.dark-theme .ticket-detail-info__intro {
  color: rgba(240, 232, 228, 0.88);
}

.ticket-detail-info {
  border: var(--common-border);
  border-radius: var(--no-radius-md);
  background-color: var(--no-control-bg);
  background-image: none;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px 10px;
}

html.dark-theme .ticket-detail-info {
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin: padding-box, padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-position: center, center, center, center;
  background-size: auto, cover, auto, auto;
  background-repeat: no-repeat;
  box-shadow: var(--no-shadow);
}

.ticket-detail-info__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(87, 79, 78, 0.12);
}

.ticket-detail-info__row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

html.dark-theme .ticket-detail-info__row {
  border-bottom-color: rgba(255, 138, 61, 0.15);
}

.ticket-detail-info__row .ticket-history-card__lbl {
  flex-shrink: 0;
  max-width: 42%;
}

.ticket-detail-info__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--no-text-soft);
  text-align: right;
  word-break: break-word;
  min-width: 0;
}

html.dark-theme .ticket-detail-info__value {
  color: var(--text-dark);
}

.ticket-detail-info__value--id {
  font-weight: 700;
  color: var(--no-primary);
  letter-spacing: 0.02em;
}

.ticket-detail-info__value--subject {
  font-weight: 600;
}

.ticket-detail-info__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: var(--common-border);
  background: rgba(255, 255, 255, 0.45);
  color: var(--no-text-soft);
}

.ticket-detail-info__badge--open {
  border-color: rgba(46, 160, 67, 0.45);
  background: rgba(46, 160, 67, 0.12);
  color: #1e6b30;
}

.ticket-detail-info__badge--closed {
  border-color: rgba(87, 79, 78, 0.25);
  background: rgba(87, 79, 78, 0.08);
  color: var(--no-text-soft);
}

html.dark-theme .ticket-detail-info__badge--open {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(46, 160, 67, 0.15);
  color: #86efac;
}

html.dark-theme .ticket-detail-info__badge--closed {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(240, 232, 228, 0.85);
}

.ticket-detail-info__badge--priority {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.ticket-detail-info__badge--department {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.ticket-detail-info__badge--response {
  border-color: rgba(22, 163, 74, 0.45);
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

html.dark-theme .ticket-detail-info__badge--priority {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(220, 38, 38, 0.18);
  color: #fecaca;
}

html.dark-theme .ticket-detail-info__badge--department {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
}

html.dark-theme .ticket-detail-info__badge--response {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
}

.ticket-detail-info__note-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--no-primary);
}

html.dark-theme .ticket-detail-info__note-title {
  color: var(--no-primary-soft);
}

.ticket-detail-info__note-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--no-text-soft);
}

html.dark-theme .ticket-detail-info__note-text {
  color: rgba(240, 232, 228, 0.88);
}

.ticket-chat-files a {
  color: var(--no-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ticket-chat-files a:hover {
  color: var(--no-primary-strong);
}

html.dark-theme .ticket-chat-files a {
  color: var(--no-primary-soft);
}

.ticket-detail-upload-zone {
  display: flex;
  flex-direction: column;
  height: 48px;
  border: var(--common-border);
  border-radius: var(--no-radius-md);
  background-color: var(--no-control-bg);
  box-shadow: none;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

button#uploader-button {
  padding: 12px 14px !important;
  width: 100%;
  height: 100%;
}

.ticket-detail-upload-zone:hover {
  border-color: rgba(254, 101, 17, 0.35);
}

.ticket-detail-upload-zone:focus-visible {
  outline: 2px solid var(--no-primary);
  outline-offset: 2px;
}

html.dark-theme .ticket-detail-upload-zone {
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg)),
    var(--border-gradient);
  background-origin: padding-box, padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-position: center, center, center, center;
  background-size: auto, cover, auto, auto;
  background-repeat: no-repeat;
  box-shadow: none;
}

html.dark-theme .ticket-detail-upload-zone:hover {
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.25);
}

/* .ticket-detail-upload-zone--embed {
            cursor: default;
            min-height: 48px;
        } */

.ticket-detail-upload-zone--embed:focus,
.ticket-detail-upload-zone--embed:focus-visible {
  outline: none;
}

.ticket-detail-reply__submit {
  min-width: 160px;
}

html.dark-theme .ticket-detail-upload-zone--embed:focus,
html.dark-theme .ticket-detail-upload-zone--embed:focus-visible {
  outline: none;
}

.ticket-detail-upload-zone__slot {
  flex: 1 1 auto;
  /* min-height: 72px; */
  display: flex;
  flex-direction: column;
  position: relative;
}

.ticket-detail-upload-zone__slot .tickets-uploader--reply {
  flex: 1 1 auto;
  /* min-height: 72px; */
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html.dark-theme .ticket-detail-upload-zone__slot .tickets-uploader--reply {
  border: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.no-panel-body--ticket-chat .ticket-detail-reply .no-details-box {
  min-height: 120px;
  resize: vertical;
}

/* ══ TICKET DETAILS — chat panel (reuses no-panel / no-control / no-pay-btn / no-label) ══ */
.no-panel-body--ticket-chat {
  min-height: 0;
}

.ticket-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 80px;
  min-height: 200px;
  max-height: min(440px, 50vh);
  overflow-y: auto;
  padding: 4px 2px 8px 0;
  -webkit-overflow-scrolling: touch;
}

.ticket-chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ticket-chat-msg--user {
  flex-direction: row-reverse;
}

.ticket-chat-msg__main {
  flex: 1;
  min-width: 0;
}

.ticket-chat-msg--user .ticket-chat-msg__main {
  text-align: right;
}

.ticket-chat-msg__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.ticket-chat-msg--user .ticket-chat-msg__meta {
  justify-content: flex-end;
}

.ticket-chat-msg__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--no-primary-soft);
}

.ticket-chat-msg__time {
  font-size: 14px;
  font-weight: 400;
  color: var(--no-text-soft);
  opacity: 0.85;
}

html.dark-theme .ticket-chat-msg__time {
  color: var(--text-dark);
}

.ticket-chat-msg__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image:
    url("https://cdn.itorm.net/smmfollowom/img/active-button-bg.svg"),
    linear-gradient(180deg, #ff9444 0%, #fe6511 100%);
  background-size: cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 14px rgba(254, 101, 17, 0.4);
}

.ticket-chat-msg__avatar iconify-icon {
  font-size: 22px;
}

.ticket-chat-bubble {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: var(--no-radius-sm);
  border: var(--common-border);
  background: var(--no-control-bg);
  color: var(--no-text-soft);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.ticket-chat-msg--user .ticket-chat-bubble {
  text-align: right;
}

html.dark-theme .ticket-chat-bubble {
  border: none;
  color: var(--text-dark-soft);
  box-shadow: none;
  background-color: #231f20;
  background-position: center, center, center;
  background-size: auto, cover, auto;
  background-repeat: no-repeat;
}

html.dark-theme .ticket-chat-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.ticket-chat-attach {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: var(--common-border);
  border-radius: var(--no-radius-sm);
  background: var(--no-control-bg);
  color: var(--no-text-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.ticket-chat-attach:hover {
  border-color: var(--no-primary);
}

.ticket-chat-attach i {
  color: var(--no-text-soft);
  font-size: 16px;
}

html.dark-theme .no-panel .ticket-chat-attach {
  border: none;
  color: var(--text-dark-soft);
  background-image:
    linear-gradient(#0505058c, #050505bc),
    url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png"),
    linear-gradient(var(--no-control-bg), var(--no-control-bg));
  background-position: center, center, center;
  background-size: auto, cover, auto;
  background-repeat: no-repeat;
  box-shadow: none;
}

html.dark-theme .no-panel .ticket-chat-attach::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

html.dark-theme .no-panel .ticket-chat-attach i,
html.dark-theme .no-panel .ticket-chat-attach span {
  position: relative;
  z-index: 1;
}

html.dark-theme .no-panel .ticket-chat-attach i {
  color: rgba(255, 255, 255, 0.85);
}

html.dark-theme .no-panel textarea.form-control::placeholder {
  color: rgba(210, 210, 210, 0.55);
}

.no-action-btn {
  min-height: 48px;
  border: none;
  color: #fff;
  font-weight: 6px;
  border-radius: var(--no-radius-sm);
  background-image: url("https://cdn.itorm.net/smmfollowom/img/placeholder-button.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: 100% !important;
  box-shadow: 0 8px 20px rgba(255, 107, 20, 0.28);
}

.no-action-btn:hover {
  background-color: var(--no-primary-strong);
  color: #fff;
}

@media (max-width: 1400px) {
  .no-channel-card h3 {
    font-size: 30px;
  }
}

@media (max-width: 992px) {
  .no-hero h1 {
    font-size: 26px;
  }

  .no-channel-swiper-mobile {
    margin-bottom: 12px;
  }

  .no-channel-swiper-mobile .swiper {
    overflow: visible;
    padding: 0 2px 22px;
  }

  .no-channel-swiper-mobile .swiper-slide {
    height: auto;
  }

  .no-channel-swiper-mobile .swiper-slide .no-channel-card {
    height: 100%;
    margin: 0;
  }

  .no-channel-swiper-mobile .swiper-pagination-bullet {
    background: #ff8a3d;
    opacity: 0.35;
  }

  .no-channel-swiper-mobile .swiper-pagination-bullet-active {
    opacity: 1;
  }

  .no-channel-card h3 {
    font-size: 24px;
  }

  .no-channel-card p {
    max-width: 100%;
  }

  .no-social-tab {
    min-width: 112px;
    font-size: 13px;
  }

  .no-panel-header span {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .no-channel-card {
    padding: 16px;
  }

  .no-channel-card h3 {
    font-size: 20px;
  }

  .progress-percent-pill {
    background: #ffffff;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  /* .no-channel-card strong {
                font-size: 16px;
                font-weight: 600 !important;
            } */

  .no-social-tabs {
    gap: 8px;
  }

  .no-social-tab {
    min-width: calc(50% - 4px);
  }
}

/* ══ SERVICES PAGE ══ */
.service-tabs-wrapper {
  background: #fff6ed;
  border: 0.5px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 29px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html.dark-theme .service-tabs-wrapper {
  background: #1c1717;
  border: 1px solid transparent;
  background:
    linear-gradient(#1c1717, #1c1717) padding-box,
    var(--border-gradient) border-box;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  width: 100%;
}

.service-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: url(https://cdn.itorm.net/smmfollowom/img/button-bg-light.svg)
    100% 100% / cover no-repeat;
  border: var(--common-border);
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  /* max-width: 197px; */
  height: 48px;
  margin: 0 auto;
}

.service-tab .tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  overflow: hidden;
}

.dark-theme .service-tab .tab-icon {
  color: white;
}

.service-tab span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
}

.service-tab:hover,
.service-tab.active {
  position: relative;
  color: var(--white);
  border-radius: 12px;
  transform: translateY(-2px);

  /* Gradient border effect */
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-image:
    url("https://cdn.itorm.net/smmfollowom/img/active-button-bg.svg"),
    linear-gradient(
      180deg,
      rgba(254, 101, 17, 0.5) 0%,
      rgba(255, 138, 61, 0.5) 100%
    ),
    radial-gradient(
      63.87% 50% at 52.08% 100%,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(254, 101, 17, 0.5) 0%,
      rgba(255, 138, 61, 0.5) 100%
    ),
    radial-gradient(
      63.87% 50% at 52.08% 100%,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    );
  background-position: center;
  background-size: cover, auto, auto, auto, auto;
  background-repeat: no-repeat;

  /* Multiple shadows */
  box-shadow:
    0px 4px 4px 0px #ff8a3d29,
    0px 24.72px 32.26px 0px #ff8a3d33;
}

.service-tab:hover span,
.service-tab.active span {
  color: white;
}

body {
  font-family: var(--font-family);
  background-color: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}

html.dark-theme .service-tab {
  color: var(--text-dark);
  background: #1a1a1a;
  /* Base dark color */
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

html.dark-theme .service-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png")
    center/cover no-repeat;
  opacity: 0.3;
  mix-blend-mode: plus-lighter;
  z-index: -1;
}

html.dark-theme .service-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  /* Border thickness */
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

html.dark-theme .service-tab:hover,
html.dark-theme .service-tab.active {
  color: var(--white);
  background: linear-gradient(180deg, #ff8a3d 0%, #fe6511 100%);
}

/* Platform Colors (Keeping only for non-image icons if any) */
/* .icon-all {
            background: var(--text-dark);
        } */

.service-tabs {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); */
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  width: 100%;
}
@media (max-width: 1600px) {
  .service-tabs {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

/* New Order only (≥1600px): 6 cards row 1, 7 cards row 2 — does not affect Services */
@media (min-width: 1600px) {
  .no-page--neworder .service-tabs.service-tabs--new-order {
    display: grid;
    grid-template-columns: repeat(42, 1fr);
    gap: 10px;
  }

  /* First 6 items */
  .service-tabs--new-order .service-tab:nth-child(-n + 6) {
    grid-column: span 7;
  }

  /* Next 7 items */
  .service-tabs--new-order .service-tab:nth-child(n + 7):nth-child(-n + 13) {
    grid-column: span 6;
  }
}

.order-platform-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}

.order-platform-filter-status {
  font-size: 13px;
  color: var(--no-text-soft);
}

.order-platform-clear-filter {
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-platform-clear-filter:hover,
.order-platform-clear-filter:focus-visible {
  color: #e55a0f;
}

html.dark-theme .order-platform-clear-filter {
  color: #ff8a3d;
}

html.dark-theme .order-platform-clear-filter:hover,
html.dark-theme .order-platform-clear-filter:focus-visible {
  color: #ffb36b;
}

.order-platform-clear-filter--inline {
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .service-tabs {
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 10px;
  }

  .service-tab {
    width: 48px;
    height: 48px;
    padding: 0;
    min-width: unset;
  }

  .service-tab span {
    display: none;
  }

  .service-tab .tab-icon {
    margin: 0;
    width: 24px;
    height: 24px;
  }
}

.service-toolbar-wrapper {
  background: var(--cream);
  border: var(--common-border);
  border-radius: 20px;
  padding: 20px 30px;
  box-shadow: var(--shadow-sm);
}

html.dark-theme .service-toolbar-wrapper {
  background: #1c1717;
  border: 1px solid transparent;
  background:
    linear-gradient(#1c1717, #1c1717) padding-box,
    var(--border-gradient) border-box;
}

.service-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  /* flex-wrap: wrap; */
}

.service-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.orders-refund-nav-btn {
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

/* @media (max-width: 1440px) {
            .service-toolbar {
                flex-direction: column-reverse;
            }
        } */

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 180px;
  width: auto;
  max-width: 100%;
  height: 48px;

  /* Premium Effect */
  position: relative;
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  background-image:
    url("https://cdn.itorm.net/smmfollowom/img/active-button-bg.svg"),
    linear-gradient(
      180deg,
      rgba(254, 101, 17, 0.5) 0%,
      rgba(255, 138, 61, 0.5) 100%
    ),
    radial-gradient(
      63.87% 50% at 52.08% 100%,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(254, 101, 17, 0.5) 0%,
      rgba(255, 138, 61, 0.5) 100%
    ),
    radial-gradient(
      63.87% 50% at 52.08% 100%,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    );
  background-position: center;
  background-size: cover, auto, auto, auto, auto;
  background-repeat: no-repeat;

  box-shadow:
    0px 4px 4px 0px #ff8a3d29,
    0px 24.72px 32.26px 0px #ff8a3d33;
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn iconify-icon {
  font-size: 18px;
}

.currency-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: url(https://cdn.itorm.net/smmfollowom/img/button-bg-light.svg)
    100% 100% / cover no-repeat;
  border: var(--common-border);
  border-radius: 12px;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  width: 180px;
  height: 48px;
}

html.dark-theme .currency-pill-btn {
  background: #1a1a1a;
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

html.dark-theme .currency-pill-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png")
    center/cover no-repeat;
  opacity: 0.3;
  mix-blend-mode: plus-lighter;
  z-index: -1;
}

html.dark-theme .currency-pill-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.service-search {
  display: flex;
  align-items: center;
  max-width: 300px;
  width: 100%;
  position: relative;
}

.no-panel .service-search {
  max-width: 100%;
}

/* Dropdowns */
.filter-dropdown,
.currency-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 220px;
  background: var(--white);
  border: var(--common-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  display: none;
  z-index: 100;
  backdrop-filter: blur(10px);
  /* opacity: 0; */
  transform: translateY(10px);
  /* transition: all 0.3s ease; */
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Services page: filter + currency dropdowns — fixed height, scroll, no x-overflow */
.no-page--services .service-toolbar .dropdown-menu,
.services-container .service-toolbar .dropdown-menu {
  max-height: min(320px, 52vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.no-page--services .service-toolbar .dropdown-menu li a,
.services-container .service-toolbar .dropdown-menu li a {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  min-width: 0;
  max-width: 100%;
}

.no-page--services .services-category-filter .dropdown-menu {
  min-width: 350px;
  max-width: min(340px, 92vw);
}

.dropdown-menu li {
  margin-bottom: 2px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.dropdown-menu li a:hover {
  background: var(--orange-10);
  color: var(--orange);
}

.dropdown-menu li a iconify-icon {
  font-size: 18px;
}

html.dark-theme .dropdown-menu {
  background: rgba(34, 34, 34, 0.95);
  border-color: rgba(255, 138, 61, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html.dark-theme .dropdown-menu li a {
  color: var(--text-dark);
}

html.dark-theme .dropdown-menu li a:hover {
  background: rgba(255, 138, 61, 0.15);
  color: #fff;
}

.service-search input {
  width: 100%;
  height: 48px;
  padding: 0 100px 0 20px;
  background: url(https://cdn.itorm.net/smmfollowom/img/button-bg-light.svg);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 14px;
  color: var(--orange);
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}

.service-search input::placeholder {
  color: var(--orange);
  opacity: 0.8;
}

.search-submit {
  position: absolute;
  right: 1px;
  top: 1px;
  width: 70px;
  height: 46px;
  border: none;
  border-radius: 0 11px 11px 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;

  /* Premium Effect */
  background-image:
    url("https://cdn.itorm.net/smmfollowom/img/active-button-bg.svg"),
    linear-gradient(
      180deg,
      rgba(254, 101, 17, 0.5) 0%,
      rgba(255, 138, 61, 0.5) 100%
    );
  background-position: center;
  background-size: cover, auto;
  background-repeat: no-repeat;
}

html.dark-theme .service-search {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 12px;
  background: #1a1a1a;
}

html.dark-theme .service-search::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png")
    center/cover no-repeat;
  opacity: 0.3;
  mix-blend-mode: plus-lighter;
  z-index: -1;
}

html.dark-theme .service-search::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

html.dark-theme .service-search input {
  color: var(--orange);
  background: transparent !important;
  border: none !important;
}

.service-main-table {
  --bs-table-bg: var(--cream);
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  background: var(--cream);
}

html.dark-theme .service-main-table {
  --bs-table-bg: #1c1717;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-table-card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--border-color);
}

html.dark-theme .service-table-card,
html.dark-theme .refund-status-btn {
  background: var(--cream);
  border: 1px solid transparent;
  background:
    linear-gradient(#1c1717, #1c1717) padding-box,
    var(--border-gradient) border-box;
}

.col-rate {
  width: 110px;
  text-align: center;
}

.col-min {
  width: 90px;
  text-align: center;
}

.col-max {
  width: 90px;
  text-align: center;
}

.col-time {
  width: 140px;
  text-align: center;
}

.col-desc {
  width: 110px;
  text-align: center;
}

.services-cat-icon-thumb {
  object-fit: contain;
  vertical-align: middle;
}

.services-empty-state {
  margin-top: 20px;
}

.services-empty-state__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #fff6ed;
  box-shadow: var(--shadow-sm);
}

html.dark-theme .services-empty-state__card {
  background: #1c1717;
  border: 1px solid transparent;
  background:
    linear-gradient(#1c1717, #1c1717) padding-box,
    var(--border-gradient) border-box;
}

.services-empty-state__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 34px;
  color: var(--primary);
  background: linear-gradient(
    135deg,
    rgba(255, 122, 0, 0.18) 0%,
    rgba(255, 122, 0, 0.06) 100%
  );
  border: 1px solid rgba(255, 122, 0, 0.22);
}

html.dark-theme .services-empty-state__icon {
  color: #ff9a3c;
  background: linear-gradient(
    135deg,
    rgba(255, 154, 60, 0.2) 0%,
    rgba(255, 154, 60, 0.05) 100%
  );
  border-color: rgba(255, 154, 60, 0.25);
}

.services-empty-state__title {
  margin: 0 0 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.services-empty-state__text {
  margin: 0 0 16px;
  max-width: 420px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted, #6b7280);
}

.services-empty-state__query {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream, #fff);
  border: 1px dashed rgba(255, 122, 0, 0.35);
}

html.dark-theme .services-empty-state__query {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 154, 60, 0.35);
}

.services-empty-state__query-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.services-empty-state__query-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  word-break: break-word;
}

html.dark-theme .services-empty-state__query-value {
  color: #ff9a3c;
}

.services-empty-state__hint {
  margin: 0 0 24px;
  max-width: 380px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted, #9ca3af);
}

.services-empty-state__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7a00 0%, #ff9a3c 100%);
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.services-empty-state__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.45);
  color: #fff;
}

.services-empty-state__btn iconify-icon {
  font-size: 1.125rem;
}

@media (max-width: 575.98px) {
  .services-empty-state__card {
    padding: 36px 20px 32px;
  }

  .no-page--services .services-category-filter .dropdown-menu {
    min-width: 300px;
  }

  .services-empty-state__title {
    font-size: 1.2rem;
  }
}

.service-modal-desc-html {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.service-modal-desc-html p:last-child {
  margin-bottom: 0;
}

.col-date {
  min-width: 150px;
  text-align: left;
}

.col-update {
  min-width: 250px;
  text-align: left;
}

.updates-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
}

.updates-badge--rate-decreased {
  color: #137a32;
  background: rgba(19, 122, 50, 0.14);
  border-color: rgba(19, 122, 50, 0.35);
}

.updates-badge--rate-increase,
.updates-badge--service-disabled {
  color: #b42318;
  background: rgba(180, 35, 24, 0.14);
  border-color: rgba(180, 35, 24, 0.35);
}

.updates-badge--service-enabled {
  color: #175cd3;
  background: rgba(23, 92, 211, 0.14);
  border-color: rgba(23, 92, 211, 0.35);
}

.updates-badge--new-service {
  color: #b54708;
  background: rgba(181, 71, 8, 0.14);
  border-color: rgba(181, 71, 8, 0.35);
}

.updates-badge--default {
  color: #6b7280;
  background: rgba(107, 114, 128, 0.12);
  border-color: rgba(107, 114, 128, 0.28);
}

html.dark-theme .updates-badge--rate-decreased {
  color: #65d68c;
  background: rgba(30, 140, 70, 0.25);
  border-color: rgba(101, 214, 140, 0.45);
}

html.dark-theme .updates-badge--rate-increase,
html.dark-theme .updates-badge--service-disabled {
  color: #ff9a9a;
  background: rgba(170, 44, 44, 0.28);
  border-color: rgba(255, 154, 154, 0.42);
}

html.dark-theme .updates-badge--service-enabled {
  color: #9bc2ff;
  background: rgba(33, 92, 173, 0.3);
  border-color: rgba(155, 194, 255, 0.42);
}

html.dark-theme .updates-badge--new-service {
  color: #ffc17a;
  background: rgba(158, 94, 24, 0.32);
  border-color: rgba(255, 193, 122, 0.4);
}

html.dark-theme .updates-badge--default {
  color: #c9ced7;
  background: rgba(110, 118, 132, 0.28);
  border-color: rgba(201, 206, 215, 0.35);
}

.service-main-table thead {
  position: relative;
  z-index: 1;
}

.service-main-table thead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://cdn.itorm.net/smmfollowom/img/table-head-bg.svg")
    100% 100% / cover no-repeat;
  pointer-events: none;
  z-index: -1;
}

.service-main-table thead th {
  color: var(--white);
  font-weight: 400;
  font-size: 16px;
  padding: 30px 20px;
  border: none;
  white-space: nowrap;
  background: transparent;
}

html.dark-theme .service-main-table thead {
  background: #1c1717;
}

html.dark-theme .service-main-table thead th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-main-table tbody td {
  padding: 12px 20px;
  vertical-align: middle;
  text-align: left;
  border: none;
  color: #231f20;
}

html.dark-theme .service-main-table tbody td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  color: #f7f2f2;
}

/* .service-group-row td {
            padding: 0 !important;
            border: none !important;
        } */

.service-group-title {
  position: relative;
  padding: 20px 0px;
  font-weight: 600;
  color: var(--orange);
  font-size: 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  border-image: var(--light-border-gradient) 1;
}

html.dark-theme .service-group-title {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  border-image: var(--border-gradient) 1;
}

.service-item {
  font-size: 14px;
  transition: background 0.2s;
}

.service-item:hover {
  background: rgba(255, 138, 61, 0.05);
}

.col-id {
  min-width: 100px;
}

.col-service {
  min-width: 300px;
}

.col-rate {
  min-width: 120px;
  text-align: center;
}

.col-min {
  min-width: 100px;
  text-align: center;
}

.col-max {
  min-width: 100px;
  text-align: center;
}

.col-time {
  min-width: 200px;
  text-align: center;
}

.col-desc {
  min-width: 120px;
  text-align: center;
}

html.dark-theme .service-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.service-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.s-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
}

.s-badge.hq,
.s-badge.refill,
.s-badge.nr,
.s-badge.nd {
  background: var(--cream);
  color: var(--orange);
  border: 1px solid var(--orange);
  cursor: help;
}

html.dark-theme .s-badge.hq,
html.dark-theme .s-badge.refill,
html.dark-theme .s-badge.nr,
html.dark-theme .s-badge.nd {
  border: 1px solid var(--border-color);
}

.service-name {
  font-weight: 400;
  color: var(--text-dark);
  font-size: 14px;
}

.view-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  width: 90px;
  transition: all 0.2s;
  cursor: pointer;
}

html.dark-theme .view-btn {
  background: #8f542e;
  color: #fff !important;
  border: 1px solid rgba(255, 138, 61, 0.45);
}

html.dark-theme .view-btn:hover {
  background: var(--orange-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.view-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* ══ REFUNDS ══ */
.refunds-notice {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--border-color);
  color: #f7f2f2;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

html.dark-theme .refunds-notice {
  background: #8f542e;
  color: #fff;
}

html.dark-theme .refund-status-btn.active {
  position: relative;
  overflow: hidden;
}

html.dark-theme .refund-status-btn.active::after,
html.dark-theme .filter-btn::after,
html.dark-theme .search-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.4;

  box-shadow:
    0px 4px 4px 0px #ff8a3d29,
    0px 24.72px 32.26px 0px #ff8a3d33,
    0px 1px 4px 2px #ffeddb inset,
    0px 1px 16px 2px #ffeddb inset;
}

.service-tab.active::before {
  box-shadow:
    0px 4px 4px 0px #ff8a3d29,
    0px 24.72px 32.26px 0px #ff8a3d33,
    0px 1px 4px 2px #ffeddb inset,
    0px 1px 16px 2px #ffeddb inset;
}

.refunds-status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.refund-status-btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: var(--common-border);
  border-radius: 12px;
  background: url(https://cdn.itorm.net/smmfollowom/img/button-bg-light.svg)
    center/cover no-repeat;
  color: var(--no-primary);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.refund-status-btn iconify-icon {
  font-size: 18px;
}

.refund-status-btn.active {
  border-color: transparent;
  color: white !important;
  background-image:
    url("https://cdn.itorm.net/smmfollowom/img/active-button-bg.svg"),
    linear-gradient(
      180deg,
      rgba(254, 101, 17, 0.5) 0%,
      rgba(255, 138, 61, 0.5) 100%
    ) !important;
  background-position: center;
  background-size: cover, auto;
  background-repeat: no-repeat;
  box-shadow: 0px 18px 24px 0px #ff8a3d2e;
}

.refund-status-btn:hover {
  transform: translateY(-1px);
}

.refunds-table tbody td {
  border-bottom: none;
}

.refunds-table {
  --refund-row-border: rgba(143, 84, 46, 0.72);
}

.refunds-table tbody tr:not(:last-child) td {
  background-image: linear-gradient(
    var(--refund-row-border),
    var(--refund-row-border)
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

.refunds-table tbody tr:not(:last-child) td:first-child {
  background-position: right bottom;
  background-size: calc(100% - 28px) 1px;
}

.refunds-table tbody tr:not(:last-child) td:last-child {
  background-size: calc(100% - 28px) 1px;
}

.refunds-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 31px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: #ffeaea;
  color: #dc2626;
}

html.dark-theme .refunds-table {
  --refund-row-border: rgba(255, 138, 61, 0.42);
}

.refunds-table tbody td.refunds-amount {
  color: var(--no-primary);
}

.refunds-status-badge--approved {
  background: #c0f2cc;
  color: #22973f;
}

.refunds-status-badge--rejected {
  background: #f8d7da;
  color: #721c24;
}

.refunds-status-badge.completed {
  color: #22973f;
  background: #c0f2cc;
}

.refunds-status-badge.pending {
  color: #946200;
  background: #ffe8a3;
}

.refunds-status-badge.inprogress {
  color: #0a6c86;
  background: #bdefff;
}

.refunds-status-badge.processing {
  color: #0a58ca;
  background: #cfe2ff;
}

.refunds-status-badge.partial,
.refunds-status-badge.default {
  color: #5c6166;
  background: #e9ecef;
}

.refunds-status-badge.canceled {
  color: #a61b29;
  background: #f8d7da;
}

.my-orders-table thead th,
.my-orders-table tbody td {
  padding: 30px 22px;
  font-size: 16px;
}

.my-orders-table tbody td {
  white-space: nowrap;
  font-size: 14px !important;
}

.my-orders-table tbody td:nth-child(2),
.my-orders-table tbody td:nth-child(8) {
  white-space: normal;
  line-height: 1.35;
}

.my-orders-table th.my-orders-id-col,
.my-orders-table td.my-orders-id-col {
  min-width: 120px;
  width: 120px;
  white-space: nowrap;
}

.my-orders-table-wrap {
  position: relative;
  overflow: hidden;
}

.orders-id-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-weight: inherit;
  user-select: none;
  white-space: nowrap;
}

.orders-select-check {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--orange, #ff8a3d);
  border-radius: 4px;
}

.orders-id-value {
  font-weight: 600;
}

.orders-copy-actions {
  position: absolute;
  left: 22px;
  top: 110px;
  transform: translateY(calc(-100% - 8px));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.orders-copy-actions[hidden] {
  display: none !important;
}

.orders-copy-ids-btn {
  gap: 6px;
  min-width: auto;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.orders-copy-ids-btn iconify-icon {
  font-size: 14px;
}

.orders-copy-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.child-panel-action-alert {
  border-radius: 12px;
  margin: 0;
}

.child-panel-action-alert__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.child-panel-table th:nth-child(1),
.child-panel-table td:nth-child(1) {
  min-width: 180px;
}

.child-panel-table th:nth-child(5),
.child-panel-table td:nth-child(5) {
  min-width: 100px;
}

.my-orders-table th:nth-child(2),
.my-orders-table td:nth-child(2) {
  min-width: 120px;
}

.my-orders-table th:nth-child(3),
.my-orders-table td:nth-child(3) {
  min-width: 200px !important;
  word-break: break-all;
}

.my-orders-table th:nth-child(4),
.my-orders-table td:nth-child(4),
.my-orders-table th:nth-child(5),
.my-orders-table td:nth-child(5),
.my-orders-table th:nth-child(6),
.my-orders-table td:nth-child(6),
.my-orders-table th:nth-child(7),
.my-orders-table td:nth-child(7) {
  min-width: 80px;
}

.my-orders-table th:nth-child(8),
.my-orders-table td:nth-child(8) {
  min-width: 200px;
}

.my-orders-table th:nth-child(9),
.my-orders-table td:nth-child(9) {
  min-width: 80px;
}

.my-orders-table th:nth-child(10),
.my-orders-table td:nth-child(10) {
  min-width: 84px;
}

.my-orders-table td iconify-icon {
  font-size: 18px;
  vertical-align: middle;
  color: var(--orange);
}

.my-orders-table td .badge + span {
  margin-left: 8px;
  display: inline-flex;
  vertical-align: middle;
  cursor: help;
}

.my-orders-link {
  color: var(--no-primary);
  text-decoration: none;
  font-weight: 500;
  white-space: break-spaces;
}

.my-orders-link:hover {
  text-decoration: underline;
}

.my-orders-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 280px;
}

.my-orders-service__name {
  font-weight: 500;
  line-height: 1.35;
}

.my-orders-service__id {
  font-size: 13px;
  font-weight: 600;
  color: var(--no-primary);
  line-height: 1.2;
}

html.dark-theme .my-orders-service__id {
  color: #ff9f5a;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.my-order-action-btn {
  border: none;
  border-radius: 8px;
  min-width: 72px;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: #fff !important;
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s;
}

.my-order-action-btn:hover {
  filter: brightness(1.06);
}

html.dark-theme .my-orders-link {
  color: var(--orange);
}

/* ══ CREATE INVOICE (reuses no-page--refunds hero, no-panel / neworder form, refunds table) ══ */
.create-invoice-page .create-invoice-panel-head {
  justify-content: center;
  text-align: center;
}

.create-invoice-page .create-invoice-panel-head span {
  justify-content: center;
}

.invoice-help-title__dark {
  display: none;
}

.invoice-help-title,
.invoice-help-title__light {
  color: inherit;
}

html.dark-theme .invoice-help-title__light {
  display: inline;
  color: #f7f2f2 !important;
}

html.dark-theme .invoice-help-title__dark {
  display: none;
}

html.dark-theme .create-invoice-page .create-invoice-panel-head span,
html.dark-theme
  .create-invoice-page
  .no-panel-header.create-invoice-panel-head
  span {
  color: #f7f2f2 !important;
}

.create-invoice-page .invoice-steps,
.create-invoice-page .add-funds-steps.invoice-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.create-invoice-page .invoice-steps li,
.create-invoice-page .add-funds-steps.invoice-steps > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Step numbers — same as add-funds (orange circle background) */
.create-invoice-page .invoice-steps__num,
.create-invoice-page .add-funds-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #ff8a3d;
}

.create-invoice-page .invoice-steps__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--no-text-soft);
  padding-top: 8px;
  margin: 0;
}

html.dark-theme .create-invoice-page .invoice-steps__text {
  color: rgba(210, 210, 210, 0.9);
}

.create-invoice-table-section .service-table-card {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .service-table-header {
    display: none;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .service-item > div {
    width: 100% !important;
    text-align: left !important;
    padding: 0;
  }

  .col-id {
    font-weight: 700;
    color: var(--orange);
  }
}

/* ══ MODAL STYLES ══ */
.service-modal {
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid var(--cream-border);
  box-shadow: var(--shadow-lg);
}

html.dark-theme .service-modal {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-modal .modal-title {
  font-weight: 700;
  color: var(--text-dark);
}

.service-detail-card {
  background: rgba(143, 84, 46, 0.05);
  border-radius: 12px;
  padding: 20px;
}

html.dark-theme .service-detail-card {
  background: rgba(255, 255, 255, 0.03);
}

.detail-header {
  margin-bottom: 20px;
}

.detail-id {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.detail-header h6 {
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.detail-item label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-placeholder);
  margin-bottom: 4px;
}

.detail-item span {
  font-weight: 600;
  color: var(--text-dark);
}

.detail-divider {
  border-top: 1px solid rgba(143, 84, 46, 0.1);
  margin: 20px 0;
  opacity: 1;
}

html.dark-theme .detail-divider {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.detail-description label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-placeholder);
  margin-bottom: 8px;
}

.detail-description p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}

.btn-close-modal {
  background: #eee;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  color: #666;
  transition: all 0.2s;
}

.btn-order-modal {
  background: var(--orange);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.2s;
}

.btn-order-modal:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 138, 61, 0.3);
}

html.dark-theme .btn-close-modal {
  background: #333;
  color: #f0e8e4;
}

html.dark-theme .btn-close-modal:hover {
  background: #444;
  color: #fff;
}

html.dark-theme .service-modal .modal-header,
html.dark-theme .service-modal .modal-body,
html.dark-theme .service-modal .modal-footer {
  color: var(--text-dark-soft);
}

html.dark-theme .service-modal .modal-title,
html.dark-theme .detail-header h6,
html.dark-theme .detail-item span,
html.dark-theme .detail-description p {
  color: var(--text-dark-soft);
}

html.dark-theme .service-modal .text-muted,
html.dark-theme .service-modal label.text-muted,
html.dark-theme .detail-item label,
html.dark-theme .detail-description label {
  color: rgba(210, 210, 210, 0.72) !important;
}

html.dark-theme .service-modal-desc-html,
html.dark-theme .service-modal-desc-html p,
html.dark-theme .service-modal-desc-html li,
html.dark-theme .service-modal-desc-html span,
html.dark-theme .service-modal-desc-html div,
html.dark-theme .service-modal-desc-html strong {
  color: var(--text-dark-soft) !important;
}

html.dark-theme .service-modal-desc-html a {
  color: var(--orange) !important;
}

html.dark-theme .btn-order-modal {
  color: #fff !important;
}

/* ══ FUNDS CARD ICON ══ */
.funds-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--orange);
  position: relative;
  background: rgba(255, 138, 61, 0.1);
  z-index: 1;
  border: var(--common-border);
}

/* ══ GIVEAWAY UI ══ */
.giveaway-tasks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.giveaway-task-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.dark-theme .giveaway-task-card {
  background: #1c1717;
}

.task-logo img {
  height: 40px;
  object-fit: contain;
}

/* .task-logo--reddit {
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        } */
.task-desc {
  color: var(--text-placeholder);
  font-size: 14px;
  margin-bottom: 0;
}

.task-reward {
  font-size: 20px;
  color: var(--notify-red);
  font-weight: 600;
}

/* ── Giveaway “Learn More” modal (matches panel / no-pay palette) ── */
.giveaway-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.giveaway-detail-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.giveaway-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 32, 0.55);
  backdrop-filter: blur(4px);
}

html.dark-theme .giveaway-detail-modal__backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.giveaway-detail-modal__dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s ease;
}

.giveaway-detail-modal.is-open .giveaway-detail-modal__dialog {
  transform: translateY(0) scale(1);
}

html.dark-theme .giveaway-detail-modal__dialog {
  background: #1c1717;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.giveaway-detail-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(254, 101, 17, 0.08), transparent);
}

html.dark-theme .giveaway-detail-modal__header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 145, 71, 0.12), transparent);
}

.giveaway-detail-modal__header-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.giveaway-detail-modal__icon-slot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(254, 101, 17, 0.12);
  border: 1px solid rgba(254, 101, 17, 0.25);
  overflow: hidden;
}

html.dark-theme .giveaway-detail-modal__icon-slot {
  background: rgba(255, 145, 71, 0.14);
  border-color: rgba(255, 145, 71, 0.3);
}

.giveaway-detail-modal__icon-slot img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.giveaway-detail-modal__bar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

html.dark-theme .giveaway-detail-modal__bar-title {
  color: #f7f2f2;
}

.giveaway-detail-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-placeholder);
  font-size: 28px;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  flex-shrink: 0;
}

.giveaway-detail-modal__close:hover {
  background: rgba(254, 101, 17, 0.12);
  color: var(--orange);
}

html.dark-theme .giveaway-detail-modal__close:hover {
  background: rgba(255, 145, 71, 0.15);
}

.giveaway-detail-modal__body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1 1 auto;
  color: var(--text-placeholder);
  font-size: 14px;
  line-height: 1.55;
}

.giveaway-detail-modal__body p {
  margin: 0 0 12px;
}

.giveaway-detail-modal__body ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.giveaway-detail-modal__body li + li {
  margin-top: 8px;
}

html.dark-theme .giveaway-detail-modal__body {
  color: #c9c2bf;
}

.giveaway-detail-modal__footer {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--border-color);
}

html.dark-theme .giveaway-detail-modal__footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.giveaway-detail-modal__cta {
  width: 100%;
  text-decoration: none !important;
}

.participation-section {
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-top: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
}

.dark-theme .participation-section {
  background: #231f20;
}

.dark-theme .participation-section,
.dark-theme .giveaway-task-card,
.dark-theme .details-body {
  border: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .participation-section {
    padding: 20px;
  }
}

.participation-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--notify-red);
}

html.dark-theme .participation-title {
  color: #ff8a3d;
}

.participation-subtitle {
  color: var(--text-placeholder);
  font-size: 16px;
  margin-bottom: 40px;
}

/* Participation Stepper (User Provided) */
.participation-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.step-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  border: 2.5px solid var(--notify-red);
  color: var(--notify-red);
  background: #fdf5f0;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.dark-theme .step-circle {
  background: #231f20;
  color: #ff8a3d;
  border-color: #ff8a3d;
}

@media (max-width: 767px) {
  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .connector {
    top: 15px !important;
  }
}

.step-circle.active {
  background: var(--notify-red);
  color: #fff;
  border-color: var(--notify-red);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

html.dark-theme .step-circle.active {
  background: #ff8a3d;

  border-color: #ff8a3d;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.step-label {
  margin-top: 12px;
  text-align: center;
}

.step-label .title {
  font-size: 15px;
  font-weight: 700;
  color: var(--notify-red);
  margin-bottom: 4px;
}

html.dark-theme .step-label .title {
  color: #ff8a3d;
}

.step-label .sub {
  max-width: 320px;
  font-size: 14px;
  color: #1a1a1a;
}

.dark-theme .step-label .sub {
  color: #f7f2f2;
}

.connector {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--notify-red);
  z-index: 1;
}

html.dark-theme .connector {
  background: #ff8a3d;
}

.step-wrap:last-child .connector {
  display: none;
}

.invoice-panel {
  margin-top: 20px;
}

.details-body {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 40px;
  padding: 40px;
}

.details-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rules-heading {
  font-weight: 600;
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 0;
}

.rules-intro,
.rules-list {
  font-size: 14px;
  color: var(--text-placeholder);
  margin-bottom: 0;
}

/* Deployment signup (fragment): smooth scroll — html class set by deployment/js/script.js */
@media (prefers-reduced-motion: no-preference) {
  html.html-deployment-signup-smooth,
  html.html-deployment-signup-smooth body {
    scroll-behavior: smooth;
  }

  [data-deployment-signup] {
    scroll-behavior: smooth;
  }
}

/* ══ AUTH — Sign up (standalone page, reuses no-panel / no-label / form-control / filter-btn / theme-toggle) ══ */
/* Unlock page scroll: auth markup uses .auth-page on a div, not body.
           Global html/body { height:100%; overflow:hidden } otherwise clips tall forms on mobile. */
html:has(.auth-page),
html:has(.auth-page) body,
body.auth-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-anchor: auto;
  -webkit-overflow-scrolling: touch;
}

body.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.auth-page),
  html:has(.auth-page) {
    scroll-behavior: smooth;
  }

  body.auth-page,
  html:has(.auth-page) body {
    scroll-behavior: smooth;
  }

  .auth-page,
  .auth-shell {
    scroll-behavior: smooth;
  }
}

/* Grow with content; page scroll lives on html/body (do not trap overflow here) */
.auth-page,
div.auth-page.auth-shell {
  overflow: visible;
}

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-image: url("https://cdn.itorm.net/smmfollowom/img/sign-up-light.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

html.dark-theme .auth-shell {
  background-image: url("https://cdn.itorm.net/smmfollowom/img/sign-up-dark.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.auth-navbar {
  border-bottom: 1px solid rgba(143, 84, 46, 0.28);
  background: rgba(255, 252, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1040;
}

html.dark-theme .auth-navbar {
  border-bottom-color: rgba(255, 138, 61, 0.22);
  background: rgba(18, 14, 12, 0.82);
}

.auth-navbar-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.auth-navbar-brand {
  align-items: center;
  gap: 10px;
}

.auth-navbar-logo {
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

.auth-brand-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--orange);
}

@media (max-width: 575px) {
  .auth-brand-text {
    font-size: 0.85rem;
    max-width: 9rem;
    white-space: normal;
    line-height: 1.15;
  }
}

.auth-navbar-toggler {
  border: 1px solid rgba(143, 84, 46, 0.45);
  border-radius: 12px;
  padding: 0.4rem 0.55rem;
}

html.dark-theme .auth-navbar-toggler {
  border-color: rgba(255, 138, 61, 0.35);
}

.auth-navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 61, 0.22);
}

.auth-nav-menu {
  gap: 4px;
}

@media (min-width: 992px) {
  .auth-nav-menu {
    flex-direction: row;
    align-items: center;
  }
}

.auth-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #3d3532 !important;
  padding: 0.5rem 0.65rem !important;
  border-radius: 10px;
}

.auth-nav-link:hover {
  color: var(--orange) !important;
  background: rgba(255, 138, 61, 0.08);
}

html.dark-theme .auth-nav-link {
  color: rgba(245, 240, 236, 0.88) !important;
}

html.dark-theme .auth-nav-link:hover {
  color: #ffb36b !important;
  background: rgba(255, 138, 61, 0.1);
}

.auth-nav-actions {
  padding-top: 4px;
  padding-bottom: 4px;
}

.auth-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}

.auth-nav-cta:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

html.dark-theme .auth-nav-cta {
  color: #ffb36b;
}

.auth-nav-cta iconify-icon {
  font-size: 20px;
}

.auth-theme-toggle {
  flex-shrink: 0;
}

/* Sign-in (and similar): compact top bar — Back + theme */
.auth-top-bar {
  position: sticky;
  top: 0;
  z-index: 1040;
  padding: 14px 0 6px;
  background: transparent;
}

.auth-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-top-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Shared control height so Back + theme toggle align */
.auth-top-bar-actions .auth-back-btn,
.auth-top-bar-actions .theme-toggle {
  height: 44px;
  box-sizing: border-box;
}

.auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  background: rgba(18, 14, 12, 0.88);
  border: 1px solid rgba(143, 84, 46, 0.42);
  color: #f7f2f2;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.15s ease;
}

.auth-back-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.auth-back-btn__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}

html.dark-theme .auth-back-btn {
  background: rgba(12, 10, 9, 0.92);
  border-color: rgba(255, 138, 61, 0.32);
}

html.dark-theme .auth-back-btn:hover {
  border-color: rgba(255, 138, 61, 0.45);
}

/* Theme switch scaled to match Back pill (44px) */
.auth-top-bar .theme-toggle {
  width: 86px;
  height: 44px;
  flex-shrink: 0;
}

.auth-top-bar .theme-toggle label {
  border-radius: 999px;
  padding: 6px;
  height: 100%;
}

.auth-top-bar .theme-toggle .toggle-circle {
  width: 32px;
  height: 32px;
}

.auth-top-bar .theme-toggle .toggle-circle i {
  font-size: 0.72rem;
}

.auth-top-bar .theme-toggle input:checked + label .toggle-circle {
  transform: translateX(42px);
}

.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 6px 48px;
}

/* Center the card vertically only when the viewport is tall enough */
@media (min-height: 780px) {
  .auth-main {
    justify-content: center;
  }
}

.auth-main-inner {
  width: 100%;
  max-width: 556px;
  margin: 0 auto;
}

.auth-signup-card,
.auth-signin-card {
  border-radius: 22px !important;
  box-shadow: 0px 4px 8px 0px #ff8a3d40;
}

.auth-signup-body,
.auth-signin-body {
  padding: 32px 28px 28px !important;
}

@media (min-width: 576px) {
  .auth-signup-body,
  .auth-signin-body {
    padding: 40px 36px 32px !important;
  }
}

.auth-signup-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--no-primary);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  text-align: center;
}

html.dark-theme .auth-signup-title {
  color: #ff8a3d;
}

.auth-signup-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--no-text-soft);
  margin: 0 0 24px;
  text-align: center;
}

html.dark-theme .auth-signup-lead {
  color: rgba(210, 210, 210, 0.88);
}

html.dark-theme .auth-signup-card.no-panel .auth-signup-form input.form-control,
html.dark-theme
  .auth-signup-card.no-panel
  .auth-signup-form
  input.form-control:focus,
html.dark-theme
  .auth-signup-card.no-panel
  .auth-signup-form
  input.form-control:focus-visible,
html.dark-theme .auth-signin-card.no-panel .auth-signin-form input.form-control,
html.dark-theme
  .auth-signin-card.no-panel
  .auth-signin-form
  input.form-control:focus,
html.dark-theme
  .auth-signin-card.no-panel
  .auth-signin-form
  input.form-control:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-origin: border-box !important;
  background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  border: 1px solid #8f542e !important;
  box-shadow: none;
  mix-blend-mode: normal;
}

html.dark-theme .auth-signup-card.no-panel,
html.dark-theme .auth-signin-card.no-panel {
  border: 1px solid #8f542e !important;
  background: #1c1717 !important;
  background-image: none !important;
  background-origin: border-box !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.auth-google-btn {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 48px;
  padding: 12px 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600 !important;
  border: 1px solid var(--no-primary-soft);
  background: transparent !important;
  font-size: 16px !important;
}

html.dark-theme .auth-google-btn.currency-pill-btn {
  background: transparent !important;
  border: 1px solid #8f542e !important;
  overflow: hidden;
}

html.dark-theme .auth-google-btn.currency-pill-btn::before,
html.dark-theme .auth-google-btn.currency-pill-btn::after {
  content: none !important;
  display: none !important;
}

.auth-google-fa {
  font-size: 1.15rem;
  color: #ea4335;
}

/* Google auth — same pattern as my.getmyfollow.com:
           visual btn + hidden GIS widget + transparent hit button that JS-clicks Google (works on iPhone). */
.google_signin_wrapper {
  position: relative;
  width: 100%;
  height: 48px;
  min-height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.google_signin_wrapper .btn-google,
.auth-signin-body > .btn-google,
.auth-signup-body > .btn-google {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--no-primary-soft);
  border-radius: 12px;
  background: var(--cream, #fff6ed);
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.google_signin_wrapper .btn-google {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

html.dark-theme .google_signin_wrapper .btn-google,
html.dark-theme .auth-signin-body > .btn-google,
html.dark-theme .auth-signup-body > .btn-google {
  background: #1c1717;
  border: 1px solid #8f542e;
  color: #f7f2f2;
}

.google_signin_main {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 48px;
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.google_signin_wrapper.is-google-ready .google_signin_main {
  visibility: visible !important;
}

.google_signin_main .g_id_signin {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  overflow: hidden;
  opacity: 0 !important;
  pointer-events: none !important;
}

.google_signin_main .g_id_signin > div {
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.google_signin_main iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 48px !important;
  min-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.btn-google-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-google-hit:focus,
.btn-google-hit:focus-visible,
.btn-google-hit:active {
  outline: none;
  box-shadow: none;
}

.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  color: var(--no-text-soft);
  font-size: 16px;
  font-weight: 500;
}

.auth-or-divider::before,
.auth-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--orange);
}

html.dark-theme .auth-or-divider {
  color: rgba(200, 195, 190, 0.75);
}

.auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-forgot-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  text-decoration: underline;
}

.auth-forgot-link:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

html.dark-theme .auth-forgot-link:hover {
  color: #ffc48a;
}

.auth-forgot-copy {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--no-text-soft);
  margin: -8px auto 24px;
  text-align: center;
  max-width: 420px;
}

html.dark-theme .auth-forgot-copy {
  color: rgba(210, 210, 210, 0.82);
}

.auth-2fa-code {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  font-variant-numeric: tabular-nums;
  padding-left: 1rem;
  padding-right: 1rem;
}

.auth-remember-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--no-text-soft);
  cursor: pointer;
  user-select: none;
}

html.dark-theme .auth-remember-label {
  color: rgba(210, 210, 210, 0.9);
}

.auth-signin-card .auth-remember-check,
.auth-signup-card .auth-remember-check {
  border-color: #8f542e;
  background-color: transparent;
}

html.dark-theme .auth-signin-card .auth-remember-check,
html.dark-theme .auth-signup-card .auth-remember-check {
  border-color: #8f542e;
  background-color: transparent;
}

.auth-signin-card .auth-remember-check:checked,
.auth-signup-card .auth-remember-check:checked {
  background-color: var(--no-primary);
  border-color: var(--no-primary);
}

html.dark-theme .auth-signin-card .auth-remember-check:checked,
html.dark-theme .auth-signup-card .auth-remember-check:checked {
  background-color: var(--no-primary);
  border-color: var(--no-primary);
}

.auth-password-hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--no-primary);
  margin: 10px 0 0;
}

.auth-password-hint.is-hidden {
  display: none;
}

html.dark-theme .auth-password-hint {
  color: var(--no-primary-soft);
}

.auth-signup-form .filter-btn iconify-icon,
.auth-signin-form .filter-btn iconify-icon {
  color: #fff;
  font-size: 20px;
}

.auth-btn-label {
  font-size: 16px;
  font-weight: 600;
  color: #f7f2f2;
}

.auth-signin-foot {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--no-text-soft);
}

html.dark-theme .auth-signin-foot {
  color: rgba(210, 210, 210, 0.85);
}

.auth-signin-foot a {
  color: var(--orange);
  text-decoration: underline;
  margin-left: 4px;
}

.auth-signin-foot a:hover {
  color: var(--orange-dark);
}

html.dark-theme .auth-signin-foot a:hover {
  color: #ffc48a;
}

@media (max-width: 1200px) {
  .giveaway-tasks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .giveaway-tasks-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   DASHBOARD
========================= */

/* WELCOME BANNER */
.welcome-banner {
  background: url("https://cdn.itorm.net/smmfollowom/img/welcome-banner.svg")
    center / cover no-repeat;
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

.welcome-banner-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 28px;
}

.welcome-banner-text {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

/* USER INFO CONTAINER */
.user-info-container {
  background: #ff8a3d66
    url("https://cdn.itorm.net/smmfollowom/img/user-info-bg.svg");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  background-blend-mode: screen;
  border-radius: 20px;
  padding: 24px;
  border: var(--common-border);
  position: relative;
}

/* USER INFO BOX */
.user-info-box {
  border: 0.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  background: #ffffff40;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  height: 100%;
}

.user-info-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: var(--no-text-soft);
  margin-bottom: 4px;
}

.user-info-value {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--no-text);
  word-break: break-all;
}

/* PROGRESS LEVEL CARD */
.progress-level-card {
  background: #fff6ed;
  border: 0.5px solid var(--border-color, rgba(255, 138, 61, 0.25));
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.progress-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--notify-red);
  margin: 0;
}

.dashboard-progress-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.level-name {
  font-size: 16px;
  font-weight: 600;
  color: #231f20;
}

/* CUSTOM PROGRESS */
.custom-progress-track {
  background: #ffffff;
  border-radius: 20px;
  height: 36px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin: 0;
}

.custom-progress-fill {
  background: linear-gradient(90deg, #ff8a3d 0%, #ff5100 100%);
  height: 100%;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
  box-shadow: 0 2px 8px rgba(255, 138, 61, 0.4);
}

.progress-fill-37 {
  width: 37%;
}

.progress-percent-pill {
  background: #ffffff;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.progress-subtext {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 0;
  font-weight: 500;
}

/* DASHBOARD OUTLINED CARD */
.dashboard-outlined-card {
  background: #fff6ed;
  border: 0.5px solid var(--border-color, rgba(255, 138, 61, 0.25));
  border-radius: 20px;
  padding: 32px;
}

.you-are-at-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: #ff8a3d;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(255, 138, 61, 0.3);
  z-index: 2;
}

.current-level-title {
  color: #ff8a3d;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 20px;
}

.current-level-range {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
}

/* FEATURE PILL */
.feature-pill {
  background: transparent;
  border: 1px solid var(--border-color, rgba(141, 89, 69, 0.5));
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #231f20;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.feature-pill > span {
  flex: 1;
  line-height: 1.35;
}

.feature-icon {
  font-size: 20px;
}

.feature-icon--success,
.level-status-icon--success {
  color: #00d34d;
}

.feature-icon--danger,
.level-status-icon--danger {
  color: #ff4a4a;
}

/* LEVEL TABLE */
.level-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.level-table th {
  padding: 20px 10px;
  border-bottom: 0.5px solid var(--border-color);
  border-right: 0.5px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  vertical-align: middle;
}

.level-table td {
  padding: 16px 10px;
  border-bottom: 0.5px solid var(--border-color);
  border-right: 0.5px solid var(--border-color);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  vertical-align: middle;
}

.level-table thead th:first-child {
  font-size: 16px;
}

.level-table thead .th-content {
  font-size: 12px;
}

.level-table tbody td:first-child {
  font-size: 14px;
}

.level-table th:last-child,
.level-table td:last-child {
  border-right: none !important;
}

.text-orange {
  color: #ff8a3d;
}

.level-status-icon {
  font-size: 16px;
}

.dashboard-level-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* REFERRAL */
.referral-link-box {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    var(--border-gradient) border-box;
}

.referral-url {
  font-size: 14px;
  color: #574f4e;
  font-weight: 400;
  line-height: 1.4;
  word-break: break-all;
}

.referral-title {
  color: #ff8a3d;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 24px;
}

.copy-btn {
  position: relative;
  overflow: hidden;
  color: white;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
  z-index: 1;
}

/* default gradient */
.copy-btn::before,
.copy-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.copy-btn::before {
  background: linear-gradient(
    152.14deg,
    rgba(253, 245, 166, 0.7) 9.96%,
    rgba(255, 138, 61, 0.7) 100%
  );
  opacity: 1;
}

/* hover gradient */
/* .copy-btn::after {
            background: linear-gradient(0deg,
                    rgba(253, 245, 166, 0.7) 9.96%,
                    rgba(255, 138, 61, 0.7) 100%);
            opacity: 0;
        }

        .copy-btn:hover::after {
            opacity: 1;
        } */

.referral-link-actions,
.affiliate-copy-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.copy-done-msg {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange, #ff8a3d);
  white-space: nowrap;
}

.copy-done-msg[hidden] {
  display: none !important;
}

.ref-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
}

.ref-stat-row.border-bottom-0 {
  border-bottom: none !important;
}

.ref-label,
.ref-value {
  font-size: 14px;
  color: #574f4e;
  font-weight: 400;
}

/* RECENT ORDERS */
.recent-orders-card {
  padding: 32px 24px;
}

.recent-orders-title {
  color: #ff8a3d;
  font-weight: 600;
  margin: 0;
  font-size: 20px;
}

.recent-orders-see-all,
.recent-order-link {
  color: #ff8a3d;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}

.recent-order-link {
  font-size: 13px;
}

.recent-order-cell {
  color: #574f4e;
  font-size: 13px;
}

.recent-order-cell--strong {
  font-weight: 600;
}

.recent-order-date {
  line-height: 1.4;
}

.recent-order-service {
  max-width: 250px;
  white-space: normal;
}

.recent-order-status {
  font-size: 11px;
}

/* =========================
   DARK MODE
========================= */

html.dark-theme .user-info-container {
  border: none;
  z-index: 1;
  overflow: hidden;
  background-blend-mode: screen;
  background: #ffffff0a
    url("https://cdn.itorm.net/smmfollowom/img/user-info-bg-dark.svg");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

html.dark-theme .user-info-container::after,
html.dark-theme .user-info-box::after,
html.dark-theme .progress-level-card::after,
html.dark-theme .dashboard-outlined-card::after,
html.dark-theme .feature-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

html.dark-theme .user-info-box {
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  border: 0;
}

html.dark-theme .progress-level-card {
  background: #1c1717;
  border: none;
  position: relative;
  z-index: 1;
}

html.dark-theme .level-name {
  color: #f7f2f2;
}

html.dark-theme .custom-progress-track {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

html.dark-theme .dashboard-outlined-card {
  background: #1c1717;
  border: none;
  position: relative;
  z-index: 1;
}

html.dark-theme .feature-pill {
  background:
    linear-gradient(#0505058c, #050505bc),
    url(https://cdn.itorm.net/smmfollowom/img/input-bg-dark.png);
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  border: 0;
  position: relative;
}

html.dark-theme .level-table th,
html.dark-theme .level-table td {
  border-bottom: 1px solid transparent;
  border-right: 1px solid transparent;
  border-image: var(--border-gradient) 1;
}

html.dark-theme .level-table th:last-child,
html.dark-theme .level-table td:last-child {
  border-right: none !important;
  border-image: var(--border-gradient) 1 !important;
}

html.dark-theme .referral-link-box {
  border: 1px solid transparent;
  background:
    linear-gradient(#1c1717, #1c1717) padding-box,
    var(--border-gradient) border-box;
}

html.dark-theme .referral-url,
html.dark-theme .ref-value,
html.dark-theme .ref-label,
html.dark-theme .service-main-table thead th {
  color: #f7f2f2;
}

/* ══ AFFILIATES (reuses no-page / no-hero / funds-card / dashboard-outlined-card / referral-* / child-panel-faq) ══ */
.no-page--affiliates .affiliate-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
  padding: 0 4px;
}

@media (max-width: 991.98px) {
  .no-page--affiliates .affiliate-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .no-page--affiliates .affiliate-stats-grid {
    grid-template-columns: 1fr;
  }
  .details-body {
    background: var(--white);
    border: none;
    margin: 0px;
    border-radius: 0px;

    padding: 40px;
  }

  .no-pay-btn.btn {
    background-color: transparent;
    border-color: transparent;
    padding: 10px 5px;
  }
}

.no-page--affiliates .funds-card--affiliate {
  height: auto;
  min-height: 120px;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Keep metric icons a fixed square (grid row stretch must not stretch the icon pill) */
.no-page--affiliates .funds-card--affiliate .funds-card-icon {
  flex: 0 0 48px;
  align-self: flex-start;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  box-sizing: border-box;
}

.no-page--affiliates .funds-card--affiliate .funds-card-icon iconify-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.no-page--affiliates .funds-card--affiliate .funds-card-info {
  min-width: 0;
}

.no-page--affiliates .funds-card--affiliate .funds-card-label {
  color: #231f20;
  font-weight: 600;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.01em;
}

html.dark-theme .no-page--affiliates .funds-card--affiliate .funds-card-label {
  color: #ff8a3d !important;
}

.no-page--affiliates .funds-card--affiliate .funds-card-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.no-page--affiliates .funds-card-value--affiliate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.no-page--affiliates .affiliate-ref-url {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  word-break: normal;
  overflow-wrap: anywhere;
}

.no-page--affiliates .affiliate-copy-btn {
  flex-shrink: 0;
}

html.dark-theme .no-page--affiliates .funds-card--affiliate .funds-card-value,
html.dark-theme .no-page--affiliates .affiliate-ref-url {
  color: #d2d2d2;
}

.affiliate-how-wrap .no-panel-body.affiliate-how-inner {
  padding: 28px 24px 32px;
}

.affiliate-how-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #ff8a3d;
  margin: 0 0 10px;
}

.affiliate-how-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 14px;
  color: #574f4e;
  line-height: 1.55;
}

.affiliate-how-steps {
  position: relative;
  padding-top: 8px;
}

.affiliate-how-track {
  display: none;
}

@media (min-width: 768px) {
  .affiliate-how-steps {
    padding-top: 28px;
  }

  .affiliate-how-track {
    display: block;
    position: absolute;
    left: 8%;
    right: 8%;
    top: 40px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(255, 138, 61, 0.15),
      rgba(255, 138, 61, 0.85),
      rgba(255, 138, 61, 0.15)
    );
  }
}

.affiliate-how-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #ff8a3d 0%, #c63508 100%);
  box-shadow: 0 8px 24px rgba(198, 53, 8, 0.25);
  position: relative;
  z-index: 1;
}

.affiliate-how-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #ff8a3d;
  margin-bottom: 8px;
}

.affiliate-how-step-text {
  font-size: 14px;
  color: #574f4e;
  line-height: 1.55;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

html.dark-theme .affiliate-how-lead,
html.dark-theme .affiliate-how-step-text {
  color: #d2d2d2;
}

html.dark-theme .affiliate-how-track {
  background: linear-gradient(
    90deg,
    rgba(255, 138, 61, 0.2),
    rgba(255, 138, 61, 0.95),
    rgba(255, 138, 61, 0.2)
  );
}

/* Affiliates — mobile: stepper column, stacked link + copy row */
@media (max-width: 767.98px) {
  .no-page--affiliates .participation-stepper {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 0.5rem 0 1rem;
  }

  .no-page--affiliates .participation-stepper .step-wrap {
    flex: none;
    width: 100%;
  }

  .no-page--affiliates .participation-stepper .connector {
    display: none !important;
  }

  .no-page--affiliates .participation-stepper .step-circle {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .no-page--affiliates .step-label .sub {
    max-width: none;
  }

  .no-page--affiliates .funds-card-value--affiliate-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .no-page--affiliates .referral-link-box {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .no-page--affiliates .referral-link-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .no-hero {
    min-height: 150px;
  }

  .no-hero,
  .no-channel-card {
    padding: 24px 20px;
  }

  .funds-card {
    padding: 20px;
  }

  .no-hero h1,
  .contact-assist-banner p {
    font-size: 20px;
  }

  .contact-assist-illustration {
    aspect-ratio: 5 / 4;
    margin-bottom: 1rem;
    padding: 16px 12px;
  }

  .contact-assist-illustration.contact-assist-illustration--solo {
    aspect-ratio: auto;
    margin-bottom: 0;
    min-height: min(260px, 48vh);
  }

  .no-hero p,
  .no-channel-card p,
  .add-funds-quick-btn,
  .add-funds-instructions .add-funds-steps p,
  .child-panel-faq__q {
    font-size: 14px;
  }

  .no-channel-card h3,
  .no-panel-header span,
  .api-docs-section__title,
  .referral-title {
    font-size: 18px;
  }

  .no-channel-card strong {
    font-size: 16px;
  }

  .no-panel-header {
    min-height: 68px;
  }

  .service-search input,
  .refund-status-btn {
    height: 40px;
    font-size: 14px;
  }

  .no-panel select.form-select,
  .no-panel .form-control:not(.form-control.no-details-box),
  .no-action-btn,
  .no-pay-btn,
  .filter-btn,
  .currency-pill-btn,
  .contact-method-btn {
    min-height: 40px;
    max-height: 40px;
    font-size: 14px;
  }

  .search-submit {
    height: 38px;
    width: 60px;
  }

  .no-pay-btn {
    min-width: 100%;
  }

  .service-main-table tbody td {
    padding: 15px 10px;
  }

  .service-main-table thead th {
    padding: 20px 10px;
    font-size: 14px;
  }

  .child-panel-faq__icon {
    width: 30px;
    height: 30px;
  }

  /* .refunds-status-filters {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 12px;
            } */

  .service-search {
    min-width: 100%;
  }

  .service-toolbar__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .service-toolbar__actions .service-search {
    flex: 1 1 100%;
  }

  .service-toolbar {
    flex-direction: column-reverse;
  }

  .refund-status-btn {
    justify-content: flex-start;
    padding: 10px;
  }

  .refunds-table tbody tr:not(:last-child) td:first-child {
    background-size: calc(100% - 10px) 1px;
  }

  .refunds-table tbody tr:not(:last-child) td:last-child {
    background-size: calc(100% - 10px) 1px;
  }

  .filter-dropdown,
  .currency-pill-btn {
    flex: 1;
    width: 100%;
  }

  .view-btn {
    padding: 8px 12px;
  }

  .contact-social-btn {
    width: 40px;
    height: 40px;
  }

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

  .api-docs-panel .no-panel-body.api-docs-body,
  .dashboard-outlined-card {
    padding: 20px;
  }

  .dashboard-level-table-card {
    padding: 0;
    overflow: visible;
  }

  .dashboard-level-table-scroll {
    overflow-x: auto;
    width: 100%;
  }

  .dashboard-level-table-card .level-table {
    min-width: 720px;
    width: max-content;
  }

  .dashboard-level-table-card .level-table th,
  .dashboard-level-table-card .level-table td {
    padding: 14px 10px;
  }

  .dashboard-level-table-card .level-table tbody td:first-child {
    min-width: 148px;
    white-space: normal;
  }

  .contact-assist-illustration__img {
    max-width: min(100%, 320px);
    max-height: min(300px, 78%);
  }
}

.table-col--date {
  min-width: 150px;
}

/* Base styles to clean up standard list styling if needed */
.pagination {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
}

/* The Active State Style */
.pagination li.active a {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #ff6b14, #ff843d) !important;
  box-shadow: 0 3px 8px rgba(255, 107, 20, 0.25);
  border-radius: 4px;
  /* Optional: adds a slight curve to match your input fields */
}

html.dark-theme .files-label {
  color: #fff;
}

.files-wrapper {
  line-height: 1 !important;
}

/* Select with Icon/Badge Prefix */
.no-select-with-icon,
.no-select-with-badge {
  position: relative;
  display: flex;
  align-items: center;
}

.no-select-icon-prefix,
.no-select-badge-prefix {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.no-select-icon-prefix {
  font-size: 20px;
}

.no-select-with-icon .form-select {
  padding-left: 45px !important;
}

.no-select-with-badge .form-select {
  padding-left: 65px !important;
}

.s-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 6px;
  border-radius: 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 138, 61, 0.1);
  color: var(--orange);
  border: 1px solid var(--orange);
  min-width: 42px;
}

html.dark-theme .no-select-icon-prefix {
  filter: drop-shadow(0 0 2px rgba(255, 138, 61, 0.2));
}

.form-group {
  margin-bottom: 20px;
}

.select2-container .select2-selection--single {
  display: flex !important;
  align-items: center;
}
.select2-container--default .select2-results > .select2-results__options,
.select2-dropdown .select2-results {
  display: block;
  max-height: min(280px, 45vh) !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Perfect Panel nests dropdown on the container — avoid fixed/sticky viewport menu */
.main-content .select2-container.select2-container--open {
  z-index: 120;
}

.main-content
  .select2-container.select2-container--open
  .select2-dropdown.select2-dropdown--below,
.main-content
  .select2-container.select2-container--open
  .select2-dropdown.select2-dropdown--above {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0;
  width: 100% !important;
  transform: none !important;
  margin-top: 2px;
  max-height: none;
}

/* Dropdown sits inside clipped .no-panel — allow it to paint while open */
.no-panel:has(.select2-container--open),
.no-panel-body:has(.select2-container--open),
.form-group:has(.select2-container--open) {
  overflow: visible;
}

.select2-dropdown.dropdown-menu.select2-dropdown--below {
  padding: 0;
}
.select2-dropdown .select2-results__option a {
  padding: 5px 12px;
}
.select2-selection__id,
.select2-selection__id-1,
.select2-selection__id-2,
.select2-selection__id-3,
.select2-selection__id-4,
.select2-selection__id-5 {
  background: var(--no-primary-soft) !important;
}

.dropdown-menu li.select2-results__option a {
  width: 100%;
  display: inline-block;
  gap: 4px;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--no-primary-soft) !important;
}

.select2-container .dropdown-menu > li.select2-results__option.active > a {
  color: #fff !important;
}

.select2-results__option.active .select2-selection__id,
.select2-results__option.active.select2-selection__id-1,
.select2-results__option.active .select2-selection__id-2,
.select2-results__option.active .select2-selection__id-3,
.select2-results__option.active .select2-selection__id-4,
.select2-results__option.active .select2-selection__id-5 {
  background: #fff !important;
  color: var(--no-primary-soft) !important;
}
/* .select2-container.select2-container--default.select2-container--open{
            margin-top: -10px;
        } */

#currencies-list {
  height: 300px;
  overflow: auto;
  width: 130px;
}
.verified-badge {
  text-align: center;
}

@media only screen and (max-width: 550px) {
  .service-tabs-wrapper {
    padding: 18px 15px;
  }
  .service-tabs {
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  }
  textarea.form-control {
    height: 100px;
  }
  .funds-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
  .add-funds-page .add-funds-stats-grid {
    display: flex;
    grid-template-columns: none;
  }
  .add-funds-page .add-funds-stats-grid .funds-card {
    flex: 0 0 calc(100% - 28px);
    width: calc(100% - 28px);
  }
  .payment-methods-grid {
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 0px;
    padding-bottom: 0px;
    gap: 5px;
  }
  .payment-methods-grid .payment-card .payment-card-name {
    display: none;
  }
  .payment-card {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    padding: 0px;
    border: none;
    background: none;
    min-height: auto;
    box-shadow: none;
  }
  .payment-card.active {
    background: none;
    border: none;
  }
  .payment-card.active .payment-card-icon {
    background: linear-gradient(106.49deg, #ff8a3d -9.59%, #c63508 84.91%);
  }
}

/* Right-edge launcher stack, bottom to top: notifications, support, telegram. */
#sd-root,
#sd-root.sd-left {
  left: auto !important;
  right: 16px !important;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
}

#sd-win,
#sd-root.sd-left #sd-win {
  left: auto !important;
  right: 16px !important;
  bottom: calc(152px + env(safe-area-inset-bottom, 0px)) !important;
}

.integration-fixed:has(.telegram-button) {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  left: auto !important;
  right: 16px !important;
  bottom: calc(160px + env(safe-area-inset-bottom, 0px)) !important;
}

.integration-fixed:has(.telegram-button) .telegram-container,
.integration-fixed:has(.telegram-button) .telegram-button {
  width: 56px !important;
  height: 56px !important;
}

.integration-fixed:has(.telegram-button) .telegram-button {
  transform: none !important;
}

.integration-fixed:has(.telegram-button) .telegram-button svg {
  width: 56px !important;
  height: 56px !important;
}

html[dir="rtl"] #sd-root,
html[dir="rtl"] #sd-root.sd-left,
html.rtl #sd-root,
html.rtl #sd-root.sd-left {
  left: 16px !important;
  right: auto !important;
}

html[dir="rtl"] #sd-win,
html[dir="rtl"] #sd-root.sd-left #sd-win,
html.rtl #sd-win,
html.rtl #sd-root.sd-left #sd-win {
  left: 16px !important;
  right: auto !important;
}

html[dir="rtl"] .integration-fixed:has(.telegram-button),
html.rtl .integration-fixed:has(.telegram-button) {
  left: 16px !important;
  right: auto !important;
}

@media (max-width: 640px) {
  #sd-win.open,
  #sd-root.sd-left #sd-win.open,
  html[dir="rtl"] #sd-win.open,
  html[dir="rtl"] #sd-root.sd-left #sd-win.open,
  html.rtl #sd-win.open,
  html.rtl #sd-root.sd-left #sd-win.open {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
  }
}
