/* ============================================================
   M. WELS — Currency Switcher Styles
   ============================================================ */

/* ---- Switcher widget ---- */
.currency-switcher {
  position: relative;
  z-index: 200;
}

.cs-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--light-1);
  border: 1.5px solid var(--light-2);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
  white-space: nowrap;
}

.cs-trigger:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26, 139, 196, .06);
}

.cs-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform .22s ease;
}

.cs-arrow--open {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ---- Dropdown ---- */
.cs-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  overflow: hidden;
  animation: fadeInUp .18s ease;
  z-index: 500;
}

.cs-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: background .15s;
  text-align: left;
}

.cs-option:hover {
  background: var(--light-1);
}

.cs-option--active {
  background: rgba(26, 139, 196, .08);
  color: var(--primary);
  font-weight: 700;
}

.cs-opt-code {
  font-weight: 700;
  font-size: 0.82rem;
  min-width: 36px;
  color: var(--text-main);
}

.cs-option--active .cs-opt-code {
  color: var(--primary);
}

.cs-opt-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Payout method tabs ---- */
.payout-method-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 2px solid var(--light-2);
  border-radius: var(--radius);
  background: var(--light-1);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.pm-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ---- Payout section show/hide ---- */
.payout-section {
  transition: var(--transition);
}

/* ---- Mobile money badge in payout info ---- */
.payout-mobile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 211, 102, .1);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, .2);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
}

/* ---- Nav placement ---- */
.nav__inner #currencySwitcherNav {
  margin-left: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cs-dropdown {
    right: auto;
    left: 0;
  }
}

@media (max-width: 640px) {
  .cs-trigger {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .cs-opt-name {
    display: none;
  }

  .cs-dropdown {
    min-width: 170px;
  }
}
