/*
 * Pluggie — Currency Switcher styles
 *
 * Deliberately minimal and theme-aware: reuses the CSS custom properties
 * already defined in theme.css so the switcher inherits light/dark mode
 * without any extra JS.
 */

.currency-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card, transparent);
  line-height: 1;
}

.currency-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.currency-switch__btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover, rgba(127, 127, 127, 0.08));
}

.currency-switch__btn--active {
  background: var(--accent);
  color: #fff;
}

.currency-switch__btn--active:hover {
  background: var(--accent-light, var(--accent));
  color: #fff;
}

.currency-switch__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Centred placement under the pricing grid. */
.currency-switch-row {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
}

/* Hint line under the switcher. */
.currency-switch-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  margin: -18px 0 24px;
}
