/* =========================
  ScanWin — dashboard.css
========================= */

/* =========================
  Dashboard — Welcome Hero Card Start
========================= */
.sw-hero {
  background: linear-gradient(
    25.59deg,
    #4a3dc4 31.7%,
    var(--sw-violet-500) 75.62%,
    #9c8ff7 104.9%
  );
  color: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8.9px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sw-hero::before,
.sw-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  filter: blur(0.5px);
}

.sw-hero::before {
  width: 220px;
  height: 220px;
  right: -100px;
  top: -80px;
}

.sw-hero::after {
  width: 140px;
  height: 140px;
  right: -50px;
  bottom: -60px;
}

.sw-hero__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.sw-hero__greet {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.32px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin: 0;
}

.sw-hero__lvl-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.sw-hero__lvl-tag:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.sw-hero__lvl-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.sw-hero__lvl-badge svg {
  width: 13px;
  height: 13px;
}

.sw-hero__lvl-badge--bronze {
  background: #c17f4a;
}
.sw-hero__lvl-badge--silver {
  background: #9ca3af;
}
.sw-hero__lvl-badge--gold {
  background: #e0a82e;
}
.sw-hero__lvl-badge--platinum {
  background: #e5e7eb;
  color: #6b7280;
}

.sw-hero__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2px 0;
  position: relative;
  z-index: 1;
}

.sw-hero__amount {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -1.32px;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 1;
}

.sw-hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.sw-hero__trend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sw-hero__trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 8px;
  background: var(--sw-violet-800);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.sw-hero__trend-pill svg {
  width: 14px;
  height: 14px;
}

.sw-hero__trend-cap {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.sw-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--sw-surface);
  color: var(--sw-violet-500);
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sw-btn-light:hover {
  background: var(--sw-violet-50);
  color: var(--sw-violet-600);
}
/* =========================
  Dashboard — Welcome Hero Card End
========================= */

/* =========================
  Dashboard — Tier Progress Card Start
========================= */
.sw-tier {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border-default);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.sw-tier__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-tier__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--sw-text-primary);
}

.sw-tier__more {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-text-secondary);
  background: none;
  border: 0;
  padding: 0;
}

.sw-tier__more:hover {
  color: var(--sw-text-primary);
}

.sw-tier__rail {
  display: flex;
  align-items: center;
  width: 100%;
}

.sw-tier__step {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  position: relative;
}

.sw-tier__step--iron {
  background: #4B5563;
}

.sw-tier__step--bronze {
  background: #C17F4A;
}
.sw-tier__step--silver {
  background: #9CA3AF;
}
.sw-tier__step--gold {
  background: #E0A82E;
}
.sw-tier__step--platinum {
  background: #E5E7EB;
  color: var(--sw-text-tertiary);
}

.sw-tier__step--current::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(224, 168, 46, 0.28);
  pointer-events: none;
}

.sw-tier__star {
  width: 18px;
  height: 18px;
}

.sw-tier__line {
  flex: 1;
  height: 2px;
  margin: 0 0px;
  border-radius: 1px;
  background: #e5e7eb;
}

.sw-tier__line--done {
  background: var(--sw-violet-500);
}

/* Progress block */
.sw-tier__progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.sw-tier__progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}

.sw-tier__current-val {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: var(--sw-text-primary);
}

.sw-tier__target {
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  color: var(--sw-text-tertiary);
}

.sw-tier__bar {
  height: 8px;
  background: #eaeaef;
  border-radius: 999px;
  overflow: hidden;
}

.sw-tier__bar-fill {
  height: 100%;
  background: var(--sw-violet-500);
  border-radius: 999px;
  transition: width 0.4s ease-out;
}

.sw-tier__hint {
  font-size: 11px;
  line-height: 14px;
  color: var(--sw-text-secondary);
  margin: 0;
}

@media (max-width: 1199px) {
  .sw-tier {
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .sw-tier {
    padding: 18px;
    gap: 14px;
    border-radius: 16px;
  }
  .sw-tier__step {
    width: 32px;
    height: 32px;
  }
  .sw-tier__star {
    width: 16px;
    height: 16px;
  }
  .sw-tier__line {
    margin: 0 0px;
  }
  .sw-tier__step--current::after {
    inset: -3px;
  }
}
/* =========================
  Dashboard — Tier Progress Card End
========================= */

/* =========================
  Dashboard — Stat Cards Start
========================= */
.sw-stat {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border-default);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.sw-stat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-stat__head-l {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sw-stat__iconbox {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sw-stat__iconbox--violet {
  background: var(--sw-brand-soft);
  color: var(--sw-violet);
}
.sw-stat__iconbox--green {
  background: var(--sw-success-soft);
  color: var(--sw-success-text);
}
.sw-stat__iconbox--yellow {
  background: var(--sw-warning-soft);
  color: var(--sw-warning-text);
}

.sw-stat__label-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 11px;
  line-height: 100%;
  font-weight: 400;
  color: #9CA3B0;
}

.sw-stat__label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--sw-text-secondary);
}

.sw-stat__more {
  width: 18px;
  height: 18px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--sw-text-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sw-stat__more:hover {
  color: var(--sw-text-primary);
}

.sw-stat__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sw-stat__num-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw-stat__value {
  font-size: var(--sw-h1-size);
  line-height: var(--sw-h1-lh);
  font-weight: 700;
  letter-spacing: -0.64px;
  color: var(--sw-text-primary);
  margin: 0;
}

.sw-stat__trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sw-stat__trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}

.sw-stat__trend-pill--up {
  background: var(--sw-success-soft);
  color: var(--sw-success-text);
}
.sw-stat__trend-pill--down {
  background: var(--sw-danger-soft);
  color: var(--sw-danger-text);
}

.sw-stat__trend-cap {
  font-size: 11px;
  line-height: 14px;
  color: var(--sw-text-tertiary);
}

.sw-stat__spark {
  height: 32px;
  width: 100%;
  max-width: 64px;
  flex-shrink: 0;
}
/* =========================
  Dashboard — Stat Cards End
========================= */

/* =========================
  Dashboard — Active Campaigns Start
========================= */
.sw-campaign {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border-default);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.sw-campaign__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--sw-surface-muted);
}

.sw-campaign__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.sw-campaign__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sw-campaign__brand-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--sw-text-primary);
}

.sw-campaign__brand-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--sw-text-secondary);
}

.sw-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--sw-success-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--sw-success-text);
}

.sw-pill-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sw-success);
}

.sw-campaign__middle {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 16px;
}

.sw-campaign__earned-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--sw-text-tertiary);
}

.sw-campaign__earned-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-campaign__earned {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.32px;
  color: var(--sw-text-primary);
  margin: 0;
}

.sw-campaign__delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--sw-success-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--sw-success-text);
}

.sw-campaign__delta-icon {
  width: 14px;
  height: 14px;
}

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

.sw-campaign__scans {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.sw-campaign__scans-l {
  font-weight: 600;
  color: #6E5DF8;
}
.sw-campaign__scans-r {
  font-weight: 400;
  color: var(--sw-text-secondary);
}

.sw-campaign__bar {
  height: 12px;
  background: var(--sw-surface-muted);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.sw-campaign__bar-fill {
  height: 100%;
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18) 0 6px,
      rgba(255, 255, 255, 0) 6px 12px
    ),
    linear-gradient(180deg, var(--sw-violet-500) 0%, #9c8ff7 100%);
}

.sw-campaign__pdi {
  font-size: 12px;
  line-height: 16px;
  color: var(--sw-text-tertiary);
  margin: 0;
}

.sw-campaign__actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
}

.sw-btn-soft,
.sw-btn-ghost {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  height: 40px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.sw-btn-soft {
  background: var(--sw-violet-500);
  border: 0;
  color: #fff;
}

.sw-btn-soft:hover {
  background: var(--sw-violet-600);
  color: #fff;
}

.sw-btn-ghost {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border-default);
  color: var(--sw-text-primary);
}

.sw-btn-ghost:hover {
  background: #f9fafb;
  color: var(--sw-text-primary);
}
/* =========================
  Dashboard — Active Campaigns End
========================= */

/* =========================
  Dashboard — Earnings Overview Start
========================= */
.sw-earnings__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.sw-earnings__stat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--sw-text-secondary);
  font-weight: 500;
}

.sw-earnings__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.sw-earnings__dot--violet {
  background: #6E5CF7;
}
.sw-earnings__dot--cyan {
  background: #85CC17;
}
.sw-earnings__dot--lime {
  background: #21D4ED;
}

.sw-earnings__stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--sw-text-primary);
  letter-spacing: -0.5px;
  margin-top: 2px;
}

.sw-range-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0f1020;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
}

.sw-range-select__cal {
  flex-shrink: 0;
  color: #0f1020;
}

.sw-chart-wrap {
  width: 100%;
  height: 240px;
}

.sw-chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--sw-text-tertiary);
  margin-top: 8px;
  padding: 0 4px;
}
/* =========================
  Dashboard — Earnings Overview End
========================= */

/* =========================
  Dashboard — Recent Activity Start
========================= */
.sw-activity__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sw-activity__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--sw-surface-muted);
}

.sw-activity__item:hover {
  background: #fafafa;
}

.sw-activity__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sw-activity__icon--green {
  background: var(--sw-success-soft);
  color: var(--sw-success-text);
}
.sw-activity__icon--violet {
  background: var(--sw-brand-soft);
  color: var(--sw-violet-500);
}
.sw-activity__icon--blue {
  background: var(--sw-warning-soft);
  color: var(--sw-warning-text);
}
.sw-activity__icon--orange {
  background: var(--sw-success-soft);
  color: var(--sw-success-text);
}

.sw-activity__main {
  flex: 1;
  min-width: 0;
}

.sw-activity__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-text-primary);
}

.sw-activity__meta {
  font-size: 12px;
  color: var(--sw-text-tertiary);
  margin-top: 2px;
}

.sw-activity__amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--sw-success);
  white-space: nowrap;
}

.sw-activity__amount--neutral {
  color: var(--sw-text-secondary);
  font-weight: 600;
}

.sw-activity__pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sw-success-soft);
  color: var(--sw-success-text);
}
/* =========================
  Dashboard — Recent Activity End
========================= */

/* =========================
  Dashboard — Top Creators Leaderboard Start
========================= */
.sw-leaderboard {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border-default);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sw-leaderboard__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-leaderboard__head-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sw-leaderboard__title {
  font-size: var(--sw-h5-size);
  line-height: var(--sw-h5-lh);
  font-weight: var(--sw-h5-weight);
  letter-spacing: var(--sw-h5-ls);
  color: var(--sw-text-primary);
  margin: 0;
}

.sw-creator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--sw-border-strong2);
  border-radius: 12px;
  background: var(--sw-surface);
}

.sw-creator__rank {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.sw-creator__rank--gold {
  background: linear-gradient(135deg, #ffd44f 0%, #f59e0a 71%);
}
.sw-creator__rank--silver {
  background: #d9d9db;
}
.sw-creator__rank--bronze {
  background: #d6a673;
}
.sw-creator__rank--neutral {
  background: #fafafb;
  color: var(--sw-text-secondary);
}

.sw-creator__photo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  background: #18181b;
  flex-shrink: 0;
}

.sw-creator__avatar-text {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sw-violet-500) 0%, #9c8ff7 71%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.sw-creator__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sw-creator__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-text-primary);
}

.sw-creator__meta {
  font-size: 11px;
  font-weight: 500;
  color: var(--sw-text-tertiary);
}

.sw-creator__money {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sw-creator__earnings {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -0.15px;
  color: var(--sw-text-primary);
}

.sw-creator__scans {
  font-size: 11px;
  line-height: 14px;
  color: var(--sw-text-tertiary);
}

.sw-creator--me {
  background: var(--sw-brand-subtle);
  border-color: var(--sw-violet-500);
}

.sw-creator--me .sw-creator__name {
  color: var(--sw-violet-500);
}

.sw-leaderboard__divider {
  height: 1px;
  background: var(--sw-surface-muted);
}
/* =========================
  Dashboard — Top Creators Leaderboard End
========================= */

/* =========================
  Dashboard Page Responsive Start
========================= */
@media (max-width: 991px) {
  .sw-hero {
    padding: 22px;
  }

  .sw-hero__amount {
    font-size: 36px;
  }

  .sw-earnings__stats {
    gap: 20px;
  }

  .sw-stat__value {
    font-size: 28px;
    line-height: 100%;
  }
}

@media (max-width: 575px) {
  .sw-hero {
    padding: 20px;
  }
  
  .sw-hero__lvl-tag {
    font-size: 11px;
  }

  .sw-hero__lvl-badge {
    width: 16px;
    height: 16px;
  }

  .sw-hero__lvl-badge svg {
    width: 12px;
    height: 12px;
  }
  
  .sw-hero__label {
    font-size: 12px;
  }

  .sw-hero__amount {
    font-size: 34px;
  }

  .sw-stat {
    padding: 14px;
  }

  .sw-stat__value {
    font-size: 18px;
  }

  .sw-campaign__earned {
    font-size: 26px;
  }

  .sw-earnings__stats {
    gap: 16px;
    justify-content: space-between;
  }

  .sw-earnings__stat-value {
    font-size: 14px;
  }

  .sw-stat__head-l {
    flex-direction: column;
    align-items: flex-start;
  }

  .sw-stat__head {
    align-items: flex-start;
  }
  .sw-stat__more {
    margin-top: 9px;
  }

  .sw-stat__num-wrap .d-flex {
    flex-direction: column;
    gap: 10px;
  }
  .sw-stat__spark {
    max-width: 232px;
  }
  .sw-stat__trend-pill {
    font-size: 10px;
  }
  .sw-range-select {
    width: 100%;
    justify-content: space-between;
  }
  .sw-card__title {
    font-size: 16px;
  }
  .sw-card__subtitle {
    font-size: 12px;
  }
  .sw-earnings__stat-label {
    font-size: 10px;
  }
  
  .sw-leaderboard {
    padding: 16px;
  }
  .sw-creator__photo {
    display: none;
  }
  .sw-creator__earnings {
    font-size: 13px;
  }
  .sw-creator__avatar-text {
    width: 32px;
    height: 32px;
  }
}
/* =========================
  Dashboard Page Responsive End
========================= */

.sw-tier__step--locked {
  background: #e5e7eb;
  color: var(--sw-text-tertiary);
}

@media (min-width: 1200px) {
  .sw-stat__value {
    font-size: 26px;
    line-height: 34px;
    white-space: nowrap;
  }
  .sw-stat__spark {
    max-width: 52px;
  }
}
@media (min-width: 1440px) {
  .sw-stat__value {
    font-size: 32px;
    line-height: 40px;
    white-space: nowrap;
  }
}

/* =========================
  Earning overview — range dropdown (matches merchant)
========================= */
.sw-range {
  position: relative;
}
.sw-range-select__chev {
  transition: transform 0.18s ease;
}
.sw-range.is-open .sw-range-select__chev {
  transform: rotate(180deg);
}
.sw-range-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 184px;
  background: #fff;
  border: 1px solid var(--sw-border-default);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 16, 32, 0.12);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s linear 0.15s;
}
.sw-range.is-open .sw-range-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.sw-range-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sw-text-primary);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
}
.sw-range-option:hover,
.sw-range-option:focus-visible {
  background: #f3f4f6;
  outline: 0;
}
.sw-range-option.is-selected {
  background: var(--sw-violet-50);
  color: var(--sw-violet-500);
}
.sw-range-option__check {
  width: 14px;
  height: 14px;
  color: var(--sw-violet-500);
  opacity: 0;
  flex-shrink: 0;
}
.sw-range-option.is-selected .sw-range-option__check {
  opacity: 1;
}

.sw-leaderboard__sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--sw-text-secondary);
}
