// Design tokens
$font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
$radius-sm: 10px;
$radius-xs: 6px;
$transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

.container {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.paymentMethodSelector {
  margin-top: 20px;
  margin-bottom: 4px;
}

.paymentMethodLabel {
  margin-bottom: 8px;
  color: var(--checkout-text-primary, #111827);
}

.paymentMethodTabs {
  display: flex;
  gap: 8px;
}

.paymentMethodTab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--checkout-surface, #FFFFFF);
  border: 1px solid var(--checkout-border, #E5E7EB);
  border-radius: $radius-xs;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--checkout-text-secondary, #6B7280);
  transition: all $transition-fast;

  &:hover {
    border-color: var(--checkout-accent-muted, #D1D5DB);
    background: var(--checkout-accent-soft, #F9FAFB);
  }

  &.active {
    border-color: var(--checkout-accent, var(--mantine-primary-color-filled));
    background: var(--checkout-accent-soft, var(--mantine-primary-color-light));
    color: var(--checkout-accent, var(--mantine-primary-color-filled));
  }
}

.checkoutActions {
  margin-top: 32px;
  margin-bottom: 24px;
}

.continueButton {
  width: 100%;
  height: 48px;
  border-radius: $radius-sm;
  font-family: $font-display;
  font-weight: 600;
  font-size: 16px;
  transition: transform $transition-fast, box-shadow $transition-fast;

  &:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--checkout-accent-soft, rgba(0, 0, 0, 0.15));
    filter: brightness(1.05);
  }

  &:active:not(:disabled) {
    transform: translateY(0);
  }
}

.tosNotice {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--checkout-text-secondary, #6B7280);

  a {
    color: var(--checkout-accent, var(--mantine-primary-color-filled));
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}
