body {
    font-family: 'Inter', sans-serif;
}

/* Copy button styles */
.summary-copy-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex-shrink: 0;
}
.summary-copy-btn:hover {
    background: #f3f4f6;
    color: #4b5563;
    transform: scale(1.05);
}

/* Theme 1: Classic (Default) */
.theme-classic {
    --bg-primary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(255, 255, 255, 0.2);
    --primary-color: #374151;
    --accent-color: #6b7280;
    --success-color: #10b981;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

/* Theme 2: Modern Dark */
.theme-dark {
    --bg-primary: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --card-bg: rgba(31, 41, 55, 0.95);
    --card-border: rgba(75, 85, 99, 0.3);
    --primary-color: #f9fafb;
    --accent-color: #d1d5db;
    --success-color: #10b981;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.theme-dark .bg-gray-50 {
    background-color: rgba(55, 65, 81, 0.5) !important;
    border-color: rgba(75, 85, 99, 0.3) !important;
}

.theme-dark .bg-white {
    background-color: rgba(31, 41, 55, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.3) !important;
}

.theme-dark .text-gray-700,
.theme-dark .text-gray-600,
.theme-dark .text-gray-500 {
    color: #d1d5db !important;
}

.theme-dark .border-gray-200 {
    border-color: rgba(75, 85, 99, 0.3) !important;
}

.theme-dark .border-gray-300 {
    border-color: rgba(75, 85, 99, 0.5) !important;
}

.theme-dark .StripeElement {
    background-color: rgba(31, 41, 55, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.5) !important;
    color: #f9fafb !important;
}

.theme-dark .StripeElement--focus {
    border-color: #6b7280 !important;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2) !important;
}

.theme-dark .StripeElement--invalid {
    border-color: #ef4444 !important;
}

.theme-dark .StripeElement--complete {
    border-color: #10b981 !important;
}

/* Stripe Elements dark theme overrides */
.theme-dark #card-number-element,
.theme-dark #card-expiry-element,
.theme-dark #card-cvc-element {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: 2px solid rgba(75, 85, 99, 0.5) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    color: #f9fafb !important;
}

.theme-dark #card-number-element:focus-within,
.theme-dark #card-expiry-element:focus-within,
.theme-dark #card-cvc-element:focus-within {
    border-color: #6b7280 !important;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2) !important;
}

.theme-dark #card-postal-code {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.5) !important;
    color: #121511 !important;
    font-family: sans-serif;
    font-size: 1em !important;
}

.theme-dark #card-postal-code::placeholder {
    color: #9ca3af !important;
}

.theme-dark .StripeElement iframe {
    background-color: transparent !important;
}

.theme-dark .StripeElement input {
    background-color: transparent !important;
    color: #f9fafb !important;
}

.theme-dark input,
.theme-dark select,
.theme-dark textarea {
    background-color: rgba(31, 41, 55, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.5) !important;
    color: #f9fafb !important;
}

.theme-dark input::placeholder,
.theme-dark select::placeholder,
.theme-dark textarea::placeholder {
    color: #9ca3af !important;
}

.theme-dark .theme-bg-accent {
    background-color: #3b82f6 !important;
}

/* Theme 3: Blue Professional */
.theme-blue {
    --bg-primary: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(59, 130, 246, 0.2);
    --primary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.15);
}

/* Theme 4: Green Nature */
.theme-green {
    --bg-primary: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(34, 197, 94, 0.2);
    --primary-color: #166534;
    --accent-color: #22c55e;
    --success-color: #16a34a;
    --shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.15);
}

/* Theme 5: Purple Elegant */
.theme-purple {
    --bg-primary: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(147, 51, 234, 0.2);
    --primary-color: #7c3aed;
    --accent-color: #a855f7;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(147, 51, 234, 0.15);
}

/* Theme 6: Orange Warm */
.theme-orange {
    --bg-primary: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(249, 115, 22, 0.2);
    --primary-color: #c2410c;
    --accent-color: #f97316;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.15);
}

/* Theme 7: Red Bold */
.theme-red {
    --bg-primary: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(239, 68, 68, 0.2);
    --primary-color: #dc2626;
    --accent-color: #ef4444;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.15);
}

/* Theme 8: Teal Ocean */
.theme-teal {
    --bg-primary: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(20, 184, 166, 0.2);
    --primary-color: #0f766e;
    --accent-color: #14b8a6;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(20, 184, 166, 0.15);
}

/* Theme 9: Pink Soft */
.theme-pink {
    --bg-primary: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(236, 72, 153, 0.2);
    --primary-color: #be185d;
    --accent-color: #ec4899;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.15);
}

/* Theme 10: Indigo Corporate */
.theme-indigo {
    --bg-primary: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(99, 102, 241, 0.2);
    --primary-color: #4338ca;
    --accent-color: #6366f1;
    --success-color: #059669;
    --shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.theme-bg {
    background: var(--bg-primary);
}

.theme-card {
    backdrop-filter: blur(20px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
}

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

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

.theme-border-accent {
    border-color: var(--accent-color);
}

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

.theme-bg-success {
    background-color: var(--success-color);
}

.input-focus:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.payment-btn {
    transition: all 0.3s ease;
}

.payment-btn.active {
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.StripeElement {
    background-color: white;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.StripeElement--focus {
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.StripeElement--invalid {
    border-color: #ef4444;
}
