/**
 * Theme System - Component Styles & Widget Styles
 * Light/Dark/System theme switching with multiple widget types
 *
 * NOTE: CSS variables are defined in variables.css (loaded via DesignSystemAsset)
 * This file contains only component styles that USE those variables.
 */

/* ============================================
   Global Element Styling
   ============================================ */

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-colors);
}

/* Navbar */
.navbar {
    background-color: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-default);
    transition: var(--transition-colors);
}

.navbar-brand,
.nav-link {
    color: var(--text-primary) !important;
    transition: color var(--duration-300) var(--ease-in-out);
}

.nav-link:hover {
    color: var(--link-default) !important;
}

/* Cards */
.card {
    background-color: var(--bg-secondary);
    border-color: var(--border-default);
    color: var(--text-primary);
    transition: var(--transition-colors);
}

/* Forms */
.form-control,
.form-select {
    background-color: var(--bg-primary);
    border-color: var(--border-default);
    color: var(--text-primary);
    transition: var(--transition-colors);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-primary);
    border-color: var(--link-default);
    color: var(--text-primary);
    box-shadow: var(--focus-ring-shadow);
}

/* Buttons */
.btn-outline-secondary {
    color: var(--text-primary);
    border-color: var(--border-default);
}

.btn-outline-secondary:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-default);
    color: var(--text-primary);
}

/* Footer - styles moved to footer.css */

/* Tables */
.table {
    color: var(--text-primary);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: var(--bg-secondary);
}

/* Alerts */
.alert {
    background-color: var(--bg-secondary);
    border-color: var(--border-default);
    color: var(--text-primary);
}

/* Links */
a {
    color: var(--link-default);
    transition: color var(--duration-300) var(--ease-in-out);
}

a:hover {
    color: var(--link-hover);
}

/* ============================================
   Theme Switcher - Base Styles
   ============================================ */

.theme-switcher {
    z-index: 1000;
}

/* Prevent transition on page load */
.preload * {
    transition: none !important;
}

/* ============================================
   Widget Type: FLOATING
   ============================================ */

.theme-switcher-floating {
    position: fixed;
}

/* Positions */
.theme-switcher-bottom-right {
    bottom: 20px;
    right: 20px;
}

.theme-switcher-bottom-left {
    bottom: 20px;
    left: 20px;
}

.theme-switcher-top-right {
    top: 80px;
    right: 20px;
}

.theme-switcher-top-left {
    top: 80px;
    left: 20px;
}

/* Floating button */
.theme-switcher-floating .theme-switcher-btn {
    border: 2px solid var(--border-default);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--duration-300) var(--ease-in-out);
    box-shadow: var(--shadow-md);
}

.theme-switcher-floating .theme-switcher-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Floating menu */
.theme-switcher-floating .theme-switcher-menu {
    position: absolute;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 140px;
}

.theme-switcher-floating.theme-switcher-bottom-right .theme-switcher-menu,
.theme-switcher-floating.theme-switcher-bottom-left .theme-switcher-menu {
    bottom: 70px;
}

.theme-switcher-floating.theme-switcher-top-right .theme-switcher-menu,
.theme-switcher-floating.theme-switcher-top-left .theme-switcher-menu {
    top: 70px;
}

.theme-switcher-floating.theme-switcher-bottom-right .theme-switcher-menu,
.theme-switcher-floating.theme-switcher-top-right .theme-switcher-menu {
    right: 0;
}

.theme-switcher-floating.theme-switcher-bottom-left .theme-switcher-menu,
.theme-switcher-floating.theme-switcher-top-left .theme-switcher-menu {
    left: 0;
}

.theme-switcher-menu.show {
    display: block;
}

/* Theme options */
.theme-option {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color var(--duration-200) var(--ease-in-out);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.theme-option:hover {
    background-color: var(--bg-tertiary);
}

.theme-option.active {
    background-color: var(--link-default);
    color: white;
}

.theme-option-icon {
    font-size: 1.2rem;
}

/* ============================================
   Widget Type: DROPDOWN (Bootstrap)
   ============================================ */

.theme-switcher-dropdown .theme-switcher-btn {
    background-color: var(--bg-secondary);
    border-color: var(--border-default);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-switcher-dropdown .theme-switcher-btn:hover,
.theme-switcher-dropdown .theme-switcher-btn:focus {
    background-color: var(--bg-tertiary);
    border-color: var(--border-default);
    color: var(--text-primary);
}

.theme-switcher-dropdown .dropdown-menu {
    background-color: var(--bg-secondary);
    border-color: var(--border-default);
}

.theme-switcher-dropdown .dropdown-item {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-switcher-dropdown .dropdown-item:hover,
.theme-switcher-dropdown .dropdown-item:focus {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.theme-switcher-dropdown .dropdown-item.active {
    background-color: var(--link-default);
    color: white;
}

/* Dropdown Size Variations */
.theme-switcher-size-small .theme-switcher-icon {
    font-size: 0.9rem;
}

.theme-switcher-size-small .theme-switcher-label {
    font-size: 0.8rem;
}

.theme-switcher-size-large .theme-switcher-icon {
    font-size: 1.25rem;
}

.theme-switcher-size-large .theme-switcher-label {
    font-size: 1rem;
}

/* ============================================
   Widget Type: TOGGLE SWITCH
   ============================================ */

.theme-switcher-toggle {
    display: inline-block;
}

.theme-toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.theme-toggle-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--duration-300) var(--ease-in-out);
}

.theme-toggle-input {
    display: none;
}

.theme-toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-default);
    border-radius: 26px;
    transition: all var(--duration-300) var(--ease-in-out);
}

.theme-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    background-color: var(--text-primary);
    border-radius: 50%;
    transition: all var(--duration-300) var(--ease-in-out);
}

.theme-toggle-input:checked + .theme-toggle-slider {
    background-color: var(--link-default);
}

.theme-toggle-input:checked + .theme-toggle-slider::before {
    transform: translateX(24px);
    background-color: white;
}

.theme-toggle-input:checked ~ .theme-toggle-label-dark {
    color: var(--text-primary);
    font-weight: 600;
}

/* Toggle Header Style - align with nav-items */
.theme-switcher-toggle.d-flex {
    height: 100%;
}

.theme-toggle-header {
    gap: 8px;
    height: 100%;
    display: flex;
    align-items: center;
}

.theme-toggle-header .theme-toggle-icon {
    font-size: 1rem;
}

/* Match nav-link vertical alignment */
.nav-item .theme-switcher-toggle {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Toggle Size Variations */
.theme-switcher-size-small .theme-toggle-switch {
    gap: 6px;
}

.theme-switcher-size-small .theme-toggle-slider {
    width: 36px;
    height: 20px;
}

.theme-switcher-size-small .theme-toggle-slider::before {
    width: 14px;
    height: 14px;
    left: 1px;
    top: 1px;
}

.theme-switcher-size-small .theme-toggle-input:checked + .theme-toggle-slider::before {
    transform: translateX(16px);
}

.theme-switcher-size-small .theme-toggle-label {
    font-size: 0.8rem;
}

.theme-switcher-size-large .theme-toggle-switch {
    gap: 16px;
}

.theme-switcher-size-large .theme-toggle-slider {
    width: 60px;
    height: 32px;
}

.theme-switcher-size-large .theme-toggle-slider::before {
    width: 24px;
    height: 24px;
    left: 2px;
    top: 2px;
}

.theme-switcher-size-large .theme-toggle-input:checked + .theme-toggle-slider::before {
    transform: translateX(28px);
}

.theme-switcher-size-large .theme-toggle-label {
    font-size: 1rem;
}

/* ============================================
   Widget Type: SEGMENTED CONTROL
   ============================================ */

.theme-switcher-segmented {
    display: inline-block;
}

.theme-segmented-control {
    position: relative;
    display: inline-flex;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.theme-segment-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--duration-300) var(--ease-in-out);
    z-index: 2;
    font-size: 0.9rem;
}

.theme-segment-btn:hover {
    color: var(--text-primary);
}

.theme-segment-btn.active {
    color: var(--text-primary);
    font-weight: 600;
}

.theme-segment-indicator {
    position: absolute;
    background-color: var(--bg-primary);
    border-radius: 6px;
    transition: all var(--duration-300) var(--ease-out);
    box-shadow: var(--shadow-sm);
    z-index: 1;
    pointer-events: none;
}

.theme-segment-icon {
    font-size: 1.1rem;
}

/* ============================================
   Size Modifiers
   ============================================ */

/* Small */
.theme-switcher-size-small.theme-switcher-floating .theme-switcher-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.theme-switcher-size-small .theme-option {
    padding: 6px 10px;
    font-size: 0.85rem;
}

.theme-switcher-size-small .theme-segment-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Medium (default) */
.theme-switcher-size-medium.theme-switcher-floating .theme-switcher-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

/* Large */
.theme-switcher-size-large.theme-switcher-floating .theme-switcher-btn {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
}

.theme-switcher-size-large .theme-option {
    padding: 10px 14px;
    font-size: 1rem;
}

.theme-switcher-size-large .theme-segment-btn {
    padding: 10px 20px;
    font-size: 1rem;
}

/* ============================================
   Shape Modifiers
   ============================================ */

.theme-switcher-shape-circle .theme-switcher-btn {
    border-radius: 50%;
}

.theme-switcher-shape-square .theme-switcher-btn {
    border-radius: 4px;
}

.theme-switcher-shape-rounded .theme-switcher-btn {
    border-radius: 12px;
}

/* ============================================
   Style Modifiers
   ============================================ */

.theme-switcher-shadow.theme-switcher-floating .theme-switcher-btn {
    box-shadow: var(--shadow-lg);
}

.theme-switcher-shadow.theme-switcher-floating .theme-switcher-menu {
    box-shadow: var(--shadow-xl);
}

.theme-switcher-animated .theme-switcher-btn {
    transition: all var(--duration-300) var(--ease-out);
}

.theme-switcher-animated .theme-switcher-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.theme-switcher-animated .theme-option {
    transition: all var(--duration-200) var(--ease-in-out);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .theme-switcher-floating {
        bottom: 10px;
        right: 10px;
    }

    .theme-switcher-size-medium.theme-switcher-floating .theme-switcher-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .theme-switcher-menu {
        min-width: 120px;
    }
}

/* ============================================
   Header Nav-Link Style (Unified)
   ============================================ */

/* Theme icon in header nav-link - match size of language flag */
.navbar .nav-link .theme-switcher-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Theme dropdown menu in header */
.navbar .theme-switcher-menu {
    background-color: var(--bg-secondary);
    border-color: var(--border-default);
}

.navbar .theme-switcher-menu .dropdown-item {
    color: var(--text-primary);
}

.navbar .theme-switcher-menu .dropdown-item:hover {
    background-color: var(--bg-tertiary);
}

.navbar .theme-switcher-menu .dropdown-item.active {
    background-color: var(--link-default);
    color: white;
}

/* ============================================
   Design Token Utility Classes
   ============================================ */

/* Text colors using design tokens */
.text-link {
    color: var(--link-default);
    transition: color var(--duration-200) var(--ease-in-out);
}

.text-link:hover {
    color: var(--link-hover);
}

.text-accent {
    color: var(--color-secondary-500);
}

.text-primary-brand {
    color: var(--color-primary-500);
}

.text-theme-primary {
    color: var(--text-primary);
}

.text-theme-secondary {
    color: var(--text-secondary);
}

.text-theme-muted {
    color: var(--text-muted);
}

/* Background colors using design tokens */
.bg-surface {
    background-color: var(--bg-secondary);
}

.bg-surface-alt {
    background-color: var(--bg-tertiary);
}

.bg-accent {
    background-color: var(--color-secondary-500);
}

.bg-accent-subtle {
    background-color: var(--color-secondary-50);
}

.bg-primary-subtle {
    background-color: var(--color-primary-50);
}

/* Border colors using design tokens */
.border-theme {
    border-color: var(--border-default) !important;
}

.border-accent {
    border-color: var(--color-primary-500) !important;
}

.border-secondary-accent {
    border-color: var(--color-secondary-500) !important;
}

/* Badge variants using design tokens */
.badge-accent {
    background-color: var(--color-secondary-500);
    color: white;
}

.badge-primary-brand {
    background-color: var(--color-primary-500);
    color: white;
}

/* Bootstrap badge overrides for theme compatibility */
.badge.bg-secondary {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-default);
}

.badge.bg-light {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-default);
}

.badge.bg-dark {
    background-color: var(--color-neutral-800) !important;
    color: var(--color-neutral-100) !important;
}

[data-theme="dark"] .badge.bg-dark {
    background-color: var(--color-neutral-200) !important;
    color: var(--color-neutral-900) !important;
}

/* Link styles for content */
.link-accent {
    color: var(--color-secondary-600);
    transition: color var(--duration-200) var(--ease-in-out);
}

.link-accent:hover {
    color: var(--color-secondary-700);
}

/* Card hover effects */
.card-hover-accent {
    transition: border-color var(--duration-200) var(--ease-in-out),
                box-shadow var(--duration-200) var(--ease-in-out);
}

.card-hover-accent:hover {
    border-color: var(--color-primary-300);
    box-shadow: 0 4px 12px rgba(var(--color-primary-500-rgb), 0.1);
}

/* Section accent border */
.border-start-accent {
    border-left: 3px solid var(--color-primary-500);
    padding-left: var(--space-4);
}

.border-start-secondary {
    border-left: 3px solid var(--color-secondary-500);
    padding-left: var(--space-4);
}

/* Dark mode adjustments for accents */
[data-theme="dark"] .bg-accent-subtle {
    background-color: var(--color-secondary-950);
}

[data-theme="dark"] .bg-primary-subtle {
    background-color: var(--color-primary-950);
}

[data-theme="dark"] .link-accent {
    color: var(--color-secondary-400);
}

[data-theme="dark"] .link-accent:hover {
    color: var(--color-secondary-300);
}

/* ============================================
   Brand Primary Button (uses design token orange)
   ============================================ */

.btn-brand-primary {
    background-color: var(--color-primary-500);
    border-color: var(--color-primary-500);
    color: white;
    transition: all var(--duration-200) var(--ease-in-out);
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
    background-color: var(--color-primary-600);
    border-color: var(--color-primary-600);
    color: white;
}

.btn-brand-primary:active {
    background-color: var(--color-primary-700);
    border-color: var(--color-primary-700);
    color: white;
}

.btn-brand-primary:focus-visible {
    box-shadow: var(--focus-ring-shadow);
}

/* Brand Primary Outline Button */
.btn-outline-brand-primary {
    color: var(--color-primary-500);
    border-color: var(--color-primary-500);
    background-color: transparent;
    transition: all var(--duration-200) var(--ease-in-out);
}

.btn-outline-brand-primary:hover,
.btn-outline-brand-primary:focus {
    background-color: var(--color-primary-500);
    border-color: var(--color-primary-500);
    color: white;
}

/* Brand Secondary Button (uses design token fuchsia) */
.btn-brand-secondary {
    background-color: var(--color-secondary-500);
    border-color: var(--color-secondary-500);
    color: white;
    transition: all var(--duration-200) var(--ease-in-out);
}

.btn-brand-secondary:hover,
.btn-brand-secondary:focus {
    background-color: var(--color-secondary-600);
    border-color: var(--color-secondary-600);
    color: white;
}

/* Dark mode adjustments for buttons */
[data-theme="dark"] .btn-brand-primary {
    background-color: var(--color-primary-500);
    border-color: var(--color-primary-500);
}

[data-theme="dark"] .btn-brand-primary:hover {
    background-color: var(--color-primary-400);
    border-color: var(--color-primary-400);
}


/* ============================================
   Focus State Utilities
   ============================================

   Standardized focus indicators for accessibility.
   Uses tokens from variables.css for consistent styling.
*/

/* Default focus-visible styles for interactive elements */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible:not([tabindex="-1"]) {
    outline: var(--focus-ring-width) var(--focus-ring-style) var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

/* Alternative: box-shadow based focus (for elements that need rounded focus) */
.focus-ring:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring-shadow);
}

/* Remove default outline when using custom focus */
.focus-ring-custom:focus {
    outline: none;
}

/* Skip link for keyboard accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: var(--space-2) var(--space-4);
    z-index: var(--z-max);
    transition: top var(--duration-200) var(--ease-in-out);
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Select2 Theme Support (Light & Dark)
   ============================================ */

/* Select2 container - main input */
.select2-container--krajee-bs5 .select2-selection {
    background-color: var(--bg-primary) !important;
    border-color: var(--border-default) !important;
    color: var(--text-primary) !important;
}

.select2-container--krajee-bs5 .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
}

.select2-container--krajee-bs5 .select2-selection--single .select2-selection__placeholder {
    color: var(--text-muted) !important;
}

/* Select2 dropdown container */
.select2-container--krajee-bs5 .select2-dropdown {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-default) !important;
}

/* Search field inside dropdown */
.select2-container--krajee-bs5 .select2-search--dropdown .select2-search__field {
    background-color: var(--bg-primary) !important;
    border-color: var(--border-default) !important;
    color: var(--text-primary) !important;
}

/* Results list container */
.select2-container--krajee-bs5 .select2-results__options {
    background-color: var(--bg-secondary) !important;
}

/* All options - reset any zebra striping */
.select2-container--krajee-bs5 .select2-results__option {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Hover/highlighted option */
.select2-container--krajee-bs5 .select2-results__option--highlighted,
.select2-container--krajee-bs5 .select2-results__option--highlighted[aria-selected],
.select2-container--krajee-bs5 .select2-results__option:hover {
    background-color: var(--link-default) !important;
    color: white !important;
}

/* Currently selected option (not hovered) */
.select2-container--krajee-bs5 .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

/* Select2 focus state */
.select2-container--krajee-bs5.select2-container--focus .select2-selection,
.select2-container--krajee-bs5.select2-container--open .select2-selection {
    border-color: var(--link-default) !important;
    box-shadow: var(--focus-ring-shadow) !important;
}

/* Select2 arrow */
.select2-container--krajee-bs5 .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-secondary) transparent transparent transparent !important;
}

.select2-container--krajee-bs5.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--text-secondary) transparent !important;
}

/* Select2 multiple - selected tags/chips */
.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-default) !important;
    color: var(--text-primary) !important;
}

.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--text-secondary) !important;
    border-right-color: var(--border-default) !important;
}

.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--text-primary) !important;
    background-color: var(--bg-secondary) !important;
}

/* Select2 multiple - placeholder */
.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__placeholder {
    color: var(--text-muted) !important;
}

/* Select2 multiple - inline search field */
.select2-container--krajee-bs5 .select2-selection--multiple .select2-search--inline .select2-search__field {
    color: var(--text-primary) !important;
}

/* Select2 multiple - clear button */
.select2-container--krajee-bs5 .select2-selection__clear {
    color: var(--text-secondary) !important;
}

.select2-container--krajee-bs5 .select2-selection__clear:hover {
    color: var(--text-primary) !important;
}

/* Select2 - no results message */
.select2-container--krajee-bs5 .select2-results__message {
    color: var(--text-muted) !important;
}

/* ============================================
   Stripe Card Element Styling
   ============================================ */

.stripe-card-element {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md, 0.375rem);
    padding: 12px 14px;
    transition: border-color var(--duration-200) var(--ease-in-out),
                box-shadow var(--duration-200) var(--ease-in-out);
}

.stripe-card-element:hover {
    border-color: var(--text-muted);
}

.stripe-card-element.StripeElement--focus {
    border-color: var(--link-default);
    box-shadow: var(--focus-ring-shadow);
}

.stripe-card-element.StripeElement--invalid {
    border-color: var(--color-error-500, #dc3545);
}

/* Payment method options styling */
.payment-option {
    padding: 12px 16px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md, 0.375rem);
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color var(--duration-200) var(--ease-in-out),
                background-color var(--duration-200) var(--ease-in-out);
}

.payment-option,
.payment-option * {
    cursor: pointer;
}

.payment-option:hover {
    border-color: var(--text-muted);
    background-color: var(--bg-tertiary);
}

.payment-option:has(input:checked) {
    border-color: var(--link-default);
    background-color: var(--bg-secondary);
}

.payment-form-section {
    padding-left: 28px;
    margin-bottom: 16px;
}
