.donation-form-container * {
            box-sizing: border-box;
        }
        
        .donation-form-container {
            max-width: 600px;
            margin: 0 auto;
            font-family: Arial, sans-serif;
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }

        /* AGGRESSIVE: Maximum width on mobile - remove all useless padding */
        @media (max-width: 480px) {
            .donation-form-container {
                margin-left: 0;
                margin-right: 0;
                width: 100%;
                padding: 0;
            }
        }
        .progress-bar {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            padding: 20px;
            background: #f5f5f5;
            border-radius: 8px;
        }
        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            position: relative;
        }
        .progress-step:not(:last-child):after {
            content: '';
            position: absolute;
            top: 15px;
            right: -50%;
            width: 100%;
            height: 2px;
            background: #ddd;
            z-index: 1;
        }
        .progress-step.active:not(:last-child):after {
            background: #007cba;
        }
        .step-circle {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            margin-bottom: 8px;
            position: relative;
            z-index: 2;
        }
        .step-circle.active {
            background: #007cba;
        }
        .step-circle.completed {
            background: #28a745;
        }
        .step-label {
            font-size: 12px;
            text-align: center;
        }
        
        /* Mobile responsive adjustments for progress steps */
        @media (max-width: 768px) {
            .progress-bar {
                padding: 15px;
                margin-bottom: 20px;
            }
            .progress-step {
                gap: 0;
            }
            .step-circle {
                width: 25px;
                height: 25px;
                font-size: 12px;
                margin-bottom: 4px;
            }
            .step-label {
                font-size: 10px;
                line-height: 1.2;
                max-width: 60px;
                word-wrap: break-word;
                hyphens: auto;
            }
            .progress-step:not(:last-child):after {
                top: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .step-circle {
                width: 22px;
                height: 22px;
                font-size: 11px;
                margin-bottom: 3px;
            }
            .step-label {
                font-size: 9px;
                max-width: 50px;
            }
            .progress-step:not(:last-child):after {
                top: 11px;
            }

            /* Balanced: Maximum width with comfortable padding */
            .progress-bar {
                padding: 10px;
            }

            .form-step {
                padding: 12px !important;
            }

            .tipping-section,
            .tax-reduction-section,
            .charity-distribution-section,
            #donation-summary {
                padding: 10px !important;
            }

            /* Remove unnecessary margins */
            .form-group {
                margin-bottom: 10px;
            }

            /* Ensure text inputs take full width (but NOT radio/checkbox) */
            .form-group input[type="text"],
            .form-group input[type="email"],
            .form-group input[type="tel"],
            .form-group select {
                width: 100% !important;
                box-sizing: border-box;
            }

            /* Fix radio button alignment on mobile - single column */
            .radio-group.compact {
                grid-template-columns: 1fr !important;
                gap: 4px;
            }

            .radio-option, .checkbox-option {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 8px !important;
            }

            .radio-option input[type="radio"],
            .checkbox-option input[type="checkbox"] {
                width: auto !important;
                margin: 0 !important;
                flex-shrink: 0 !important;
            }

            .radio-option span,
            .checkbox-option span {
                display: inline !important;
                width: auto !important;
            }
        }
        .form-step {
            display: none;
            background: #f5f5f5;
            padding: 30px;
            border-radius: 8px;
            min-height: 400px;
        }
        .form-step.active {
            display: block;
        }
        .form-step h3 {
            margin-top: 0;
            margin-bottom: 20px;
        }
        .step4-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }
        .step4-header h3 {
            margin: 0;
        }
        .step4-company-checkbox {
            font-size: 13px;
        }
        .charity-options {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .charity-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: white;
            border-radius: 4px;
            cursor: pointer;
        }
        .charity-option:hover {
            background: #e9ecef;
        }

        /* Hide non-tax-eligible charities by default when tax reduction is enabled */
        .charity-option[data-tax-eligible="false"] {
            display: none;
        }

        /* Show all charities when tax reduction is disabled */
        .tax-reduction-disabled .charity-option[data-tax-eligible="false"] {
            display: flex;
        }
        .donation-amount-section {
            text-align: center;
        }
        .payment-type-toggle {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        .amount-input {
            font-size: 18px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
            width: 200px;
            background: white !important;
            background-color: white !important;
        }

        /* Make amount input full-width on mobile */
        @media (max-width: 480px) {
            .amount-input {
                width: 100% !important;
                max-width: 100%;
            }
        }
        .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }
        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        .btn-secondary {
            background: #6c757d;
            color: white;
        }
        .btn-primary {
            background: #007cba;
            color: white;
        }
        .btn:hover {
            opacity: 0.9;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        .form-group input, .form-group select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: white !important;
            background-color: white !important;
        }
        #express-checkout-element {
            margin-bottom: 20px;
        }
        .payment-divider {
            text-align: center;
            margin: 20px 0;
            position: relative;
        }
        .payment-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #ddd;
        }
        .payment-divider span {
            background: #f5f5f5;
            padding: 0 15px;
            color: #666;
            font-size: 14px;
        }
        #payment-element {
            background: white;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 10px;
        }

        /* Stripe card elements styling */
        .stripe-element {
            background: white;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .card-details-row {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        .stripe-element-half {
            flex: 1;
        }

        @media (max-width: 480px) {
            .stripe-element {
                padding: 10px;
            }

            .card-details-row {
                gap: 8px;
            }
        }
        
        /* Mobile horizontal scroll fix */
        @media (max-width: 780px) {
            .donation-form-container {
                overflow-x: hidden !important;
            }
            
            /* Safe tooltip positioning for narrow screens */
            .tip-info .tooltip {
                transform: translateX(-170px) !important;
                position: absolute !important;
                bottom: calc(100% + 10px) !important;
                top: auto !important;
                left: 50% !important;
                z-index: 9999 !important;
                background-color: #333 !important;
                color: white !important;
                max-width: 280px !important;
            }
            
            /* Safe positioning for + bubbles */
            .charity-info-bubble .tooltip {
                transform: translateX(-200px) !important;
                position: absolute !important;
                bottom: calc(100% + 10px) !important;
                top: auto !important;
                left: 50% !important;
                z-index: 9999 !important;
                background-color: #333 !important;
                color: white !important;
                max-width: 280px !important;
            }
            
            /* New Incentives - align with i bubbles */
            .charity-option input[value="new_incentives"] + span + .charity-info-bubble .tooltip {
                transform: translateX(-180px) !important;
            }
            
            /* Ensure arrows work properly */
            .charity-info-bubble .tooltip::after,
            .tip-info .tooltip::after {
                transform: translateX(+40px) !important;
                position: absolute !important;
                z-index: 10000 !important;
            }
            
            /* Ensure hover functionality */
            .charity-info-bubble:hover .tooltip,
            .tip-info:hover .tooltip {
                visibility: visible !important;
                opacity: 1 !important;
            }
            
            /* Make bubble text non-selectable */
            .tip-info,
            .charity-info-bubble {
                -webkit-user-select: none !important;
                -moz-user-select: none !important;
                -ms-user-select: none !important;
                user-select: none !important;
            }
            
            /* Fix hyperlinks in tooltips */
            .tax-reduction-section .tip-info .tooltip a {
                font-size: inherit !important;
                color: #4285f4 !important;
                text-decoration: underline !important;
            }
        }
        
        /* Global overflow prevention */
        html, body {
            overflow-x: hidden;
        }
        #payment-errors {
            color: #dc3545;
            margin-bottom: 10px;
        }

        /* Radio button and checkbox styling */
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .radio-option, .checkbox-option {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px;
            cursor: pointer;
            border-radius: 4px;
        }
        .radio-option:hover, .checkbox-option:hover {
            background-color: #f0f0f0;
        }
        .radio-option input[type="radio"],
        .checkbox-option input[type="checkbox"] {
            width: auto;
            margin: 0;
        }

        /* Compact layout for radio buttons */
        .radio-group.compact {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px 16px;
        }
        .radio-group.compact .radio-option {
            padding: 6px 8px;
            margin: 0;
        }

        /* Two-column layout for postal code and city */
        .form-row {
            display: flex;
            gap: 15px;
        }
        .form-row .form-group {
            margin-bottom: 15px;
        }
        .form-row .form-group.postal-code {
            flex: 0 0 120px; /* Fixed width for postal code */
        }
        .form-row .form-group.city {
            flex: 1; /* City takes remaining space */
        }

        @media (max-width: 480px) {
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            .form-row .form-group.postal-code {
                flex: none;
            }
            .radio-group.compact {
                grid-template-columns: 1fr;
            }
        }
        #donation-summary {
            background: white;
            padding: 20px;
            border-radius: 4px;
            margin-bottom: 20px;
        }
        .error-message {
            color: #dc3545;
            margin-bottom: 10px;
        }
        .tipping-section {
            margin-top: 30px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
        }
        .tip-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }
        .tip-title {
            font-weight: bold;
            color: #8B4513;
        }
        .tip-info {
            cursor: help;
            font-size: 14px;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #007cba;
            color: white;
            width: 20px;
            height: 20px;
            font-weight: bold;
        }

        /* Custom tooltip */
        .tip-info .tooltip {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            bottom: 130%;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 13px;
            line-height: 1.4;
            white-space: normal;
            width: 280px;
            max-width: 90vw;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
            transform: translateX(-50%) translateY(-5px);
        }

        /* Tooltip arrow */
        .tip-info .tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: #333;
        }

        /* Show tooltip on hover */
        .tip-info:hover .tooltip {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* Mobile adjustments */
        @media (max-width: 480px) {
            .tip-info .tooltip {
                width: 250px;
                bottom: 120%;
                font-size: 12px;
                padding: 10px 14px;
            }
        }

        /* Blue charity info bubbles */
        .charity-info-bubble {
            cursor: help;
            font-size: 14px;
            font-weight: bold;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #4285f4;
            color: white;
            width: 20px;
            height: 20px;
            min-width: 20px;
            min-height: 20px;
            text-align: center;
            line-height: 1;
            margin-left: 8px;
            transition: background-color 0.2s ease;
            flex-shrink: 0;
            vertical-align: middle;
        }
        
        /* Ensure consistent alignment for charity options */
        .charity-option {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .charity-option span {
            display: flex;
            align-items: center;
        }

        .charity-info-bubble:hover {
            background: #3367d6;
        }

        /* Charity info tooltip */
        .charity-info-bubble .tooltip {
            visibility: hidden;
            opacity: 0;
            position: fixed;
            background-color: #333;
            color: white;
            padding: 12px 16px;
            border-radius: 6px;
            font-size: 14px;
            line-height: 1.4;
            white-space: normal;
            width: 300px;
            max-width: calc(100% - 20px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
            pointer-events: none;
        }

        /* Desktop positioning */
        @media (min-width: 769px) {
            .charity-info-bubble .tooltip {
                position: absolute;
                bottom: 125%;
                left: 50%;
                transform: translateX(-50%) translateY(-5px);
                width: 300px;
                max-width: 90vw;
            }
            
            .charity-info-bubble:hover .tooltip {
                transform: translateX(-50%) translateY(0);
            }
        }

        /* Mobile positioning */
        @media (max-width: 768px) {
            .charity-info-bubble .tooltip {
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                width: 250px;
                max-width: calc(100vw - 40px);
                font-size: 13px;
                padding: 10px 12px;
                margin-top: 5px;
            }
            
            /* Show tooltips on left side for first few options to avoid screen edge */
            .charity-option:nth-child(2) .charity-info-bubble .tooltip,
            .charity-option:nth-child(3) .charity-info-bubble .tooltip,
            .charity-option:nth-child(4) .charity-info-bubble .tooltip {
                left: auto;
                right: calc(100% + 10px);
            }
        }

        /* Charity tooltip arrow - only on desktop */
        @media (min-width: 769px) {
            .charity-info-bubble .tooltip::after {
                content: '';
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border: 6px solid transparent;
                border-top-color: #333;
            }
        }

        /* Mobile tooltip arrows */
        @media (max-width: 768px) {
            .charity-info-bubble .tooltip::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 100%;
                transform: translateY(-50%);
                border: 6px solid transparent;
                border-left-color: #333;
            }
            
            /* Arrow for tooltips on the left side - arrow points right */
            .charity-option:nth-child(2) .charity-info-bubble .tooltip::after,
            .charity-option:nth-child(3) .charity-info-bubble .tooltip::after,
            .charity-option:nth-child(4) .charity-info-bubble .tooltip::after {
                left: auto;
                right: 100%;
                border-right-color: transparent;
                border-left-color: #333;
            }
        }

        /* Show charity tooltip on hover - desktop only */
        @media (min-width: 769px) {
            .charity-info-bubble:hover .tooltip {
                visibility: visible;
                opacity: 1;
            }
        }
        .tip-description {
            font-size: 10px;
            color: #666;
            margin-bottom: 20px;
            line-height: 1.4;
            font-style: italic;
        }

        .learn-more {
            color: #007cba;
            text-decoration: none;
        }
        .learn-more:hover {
            text-decoration: underline;
        }
        .tip-slider-wrapper {
            margin-bottom: 15px;
            position: relative;
            padding: 0 10px; /* Padding for labels */
        }

        .tip-labels {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 12px;
            color: #666;
            font-weight: 500;
        }

        .slider-container {
            position: relative;
            height: 40px;
            display: flex;
            align-items: center;
            margin: 0; /* Remove margin to allow full width */
        }

        .slider-track {
            position: absolute;
            width: calc(100% - 20px); /* Account for thumb width */
            height: 6px;
            background: linear-gradient(to right, #f0f0f0 0%, #ff6b6b 100%); /* Red gradient for visibility */
            border-radius: 3px;
            top: 50%;
            transform: translateY(-50%);
            left: 10px; /* Center the track */
        }

        .slider-marks {
            position: absolute;
            width: calc(100% - 20px);
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
            left: 10px;
        }

        .slider-mark {
            width: 2px;
            height: 10px;
            background: #333;
            border-radius: 1px;
            opacity: 0.7;
        }

        #tip-slider {
            width: 100%;
            height: 40px;
            background: transparent;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
            cursor: pointer;
            position: relative;
            z-index: 10;
            margin: 0;
            padding: 0; /* Remove any internal padding */
        }

        /* Chrome, Safari, Edge */
        #tip-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #ff6b6b;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            transition: transform 0.1s ease;
            margin-top: -7px; /* Center on track */
        }

        #tip-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        #tip-slider::-webkit-slider-track {
            background: transparent;
            height: 40px;
            border: none;
            padding: 0;
            margin: 0;
        }

        /* Firefox */
        #tip-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #ff6b6b;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            -moz-appearance: none;
            transition: transform 0.1s ease;
            margin-top: -7px;
        }

        #tip-slider::-moz-range-thumb:hover {
            transform: scale(1.1);
        }

        #tip-slider::-moz-range-track {
            background: transparent;
            height: 40px;
            border: none;
            padding: 0;
            margin: 0;
        }

        /* Mobile adjustments */
        @media (max-width: 480px) {
            .slider-container {
                height: 44px;
            }

            #tip-slider {
                height: 44px;
            }

            #tip-slider::-webkit-slider-thumb {
                width: 24px;
                height: 24px;
            }

            #tip-slider::-moz-range-thumb {
                width: 24px;
                height: 24px;
            }

            .slider-track {
                height: 8px;
            }

            .tip-slider-wrapper {
                padding: 0 12px; /* Mobile padding */
            }

            .slider-container {
                margin: 0; /* Remove margin for mobile too */
            }

            .slider-track {
                width: calc(100% - 24px);
                left: 12px;
            }

            .slider-marks {
                width: calc(100% - 24px);
                left: 12px;
            }
        }
        .tip-options {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 15px;
        }
        .tip-btn {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #ddd;
            background: white;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }
        .tip-btn:hover {
            border-color: #ff6b6b;
            background: #fff5f5;
        }
        .tip-btn.active {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }
        .skip-tip-btn {
            width: 100%;
            padding: 8px;
            background: transparent;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            color: #666;
            text-align: center;
            transition: all 0.2s;
        }
        .skip-tip-btn:hover {
            background: #f5f5f5;
            border-color: #999;
        }
        .tip-amount-display {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-weight: bold;
            color: #333;
            margin-top: 10px;
        }

        .no-tip-btn {
            padding: 6px 12px;
            background: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            color: #666;
            transition: all 0.2s ease;
        }

        .no-tip-btn:hover {
            background: #e9ecef;
            border-color: #999;
            color: #333;
        }

        .no-tip-btn:active {
            background: #dee2e6;
            transform: translateY(1px);
        }

        /* Payment type toggle buttons */
        .payment-type-toggle-buttons {
            display: flex;
            gap: 0;
            margin-bottom: 20px;
            background: #f0f0f0;
            border-radius: 25px;
            padding: 4px;
            max-width: 300px;
            margin: 0 auto 20px auto;
        }

        .payment-type-btn {
            flex: 1;
            padding: 12px 24px;
            border: none;
            background: transparent;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            color: #666;
        }

        .payment-type-btn.active {
            background: #007cba;
            color: white;
            font-weight: bold;
            box-shadow: 0 2px 4px rgba(0,124,186,0.3);
        }

        .payment-type-btn:hover:not(.active) {
            background: #e0e0e0;
        }

        /* Monthly donation message */
        .monthly-donation-message {
            background: linear-gradient(135deg, #007cba 0%, #0066a1 100%);
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            text-align: center;
            font-weight: 500;
            font-size: 15px;
            margin: 12px auto 16px;
            max-width: 70%;
            opacity: 1;
            max-height: 200px;
            overflow: visible;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(0, 124, 186, 0.25);
            position: relative;
            line-height: 1.4;
        }

        /* Arrow pointing up to Monthly button (positioned to align with Mensuel button center) */
        .monthly-donation-message::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 70%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid #007cba;
        }

        .monthly-donation-message.hidden {
            opacity: 0;
            max-height: 0;
            margin: 0;
            padding: 0;
            box-shadow: none;
        }

        .monthly-donation-message.hidden::before {
            display: none;
        }

        .monthly-message-text {
            display: none;
        }

        .monthly-message-text.active {
            display: block;
        }

        /* Responsive adjustments for monthly message */
        @media (max-width: 768px) {
            .monthly-donation-message {
                font-size: 14px;
                padding: 12px 20px;
                margin: 16px auto 12px;
                max-width: 95%;
            }

            .monthly-donation-message::before {
                left: 75%;
            }
        }

        /* Amount selection buttons */
        .amount-selection-buttons {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .amount-btn {
            flex: 1;
            min-width: 80px;
            padding: 14px 20px;
            border: 2px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            color: #333;
        }

        .amount-btn:hover {
            border-color: #007cba;
            background: #f8f9fa;
        }

        .amount-btn.active {
            border-color: #007cba;
            background: #007cba;
            color: white;
            box-shadow: 0 3px 6px rgba(0,124,186,0.2);
        }

        .amount-btn.other-btn {
            background: #f8f9fa;
            color: #666;
        }

        .amount-btn.other-btn.active {
            background: #007cba;
            color: white;
        }

        /* Custom amount input */
        .custom-amount-input {
            margin-bottom: 20px;
        }

        .custom-amount-input .amount-input {
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            padding: 12px;
            border: 2px solid #007cba;
            border-radius: 8px;
        }

        @media (max-width: 480px) {
            .amount-selection-buttons {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 8px;
                justify-content: center;
            }

            .amount-btn {
                min-width: auto;
                flex: none;
                padding: 12px 16px;
                font-size: 14px;
            }

            .payment-type-toggle-buttons {
                max-width: 100%;
            }
        }
        .loading-spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid #007cba;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 8px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .btn-processing {
            opacity: 0.7;
            cursor: not-allowed;
            pointer-events: none;
        }
        .payment-type-toggle {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        .payment-type-toggle label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-weight: normal;
        }
        .payment-methods {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }
        .payment-method {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
        }
        .payment-method:hover {
            background: #f8f9fa;
            border-color: #007cba;
        }
        .payment-method[style*="display: none"] {
            display: none !important;
        }
        #sepa-text, #bank-transfer-text {
            font-weight: bold;
        }
        .tax-reduction-section {
            margin-bottom: 30px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
        }
        .tax-reduction-section h4 {
            margin: 0 0 15px 0;
            font-size: 16px;
            color: #333;
        }
        .tax-toggle {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .toggle-label {
            position: relative;
            width: 36px !important;
            min-width: 36px;
            max-width: 36px;
            height: 20px;
            background: #ddd;
            border-radius: 10px;
            cursor: pointer;
            transition: background 0.3s;
            box-sizing: border-box;
            flex-shrink: 0;
        }
        .toggle-slider {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            box-sizing: border-box;
            flex-shrink: 0;
        }
        #tax-reduction-toggle {
            display: none;
        }
        #tax-reduction-toggle:checked + .toggle-label {
            background: #007cba;
        }
        #tax-reduction-toggle:checked + .toggle-label .toggle-slider {
            transform: translateX(16px);
            width: 16px !important;
            height: 16px !important;
            min-width: 16px;
            min-height: 16px;
            max-width: 16px;
            max-height: 16px;
            box-sizing: border-box;
            transition: transform 0.3s;
            border-radius: 50%;
            background: white;
        }
        .toggle-text {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }
        .charity-option.hidden {
            display: none;
        }
        .non-france-text {
            font-size: 14px;
            margin-left: 10px;
        }
        .tip-info .tooltip a {
            color: #4CAF50;
            text-decoration: underline;
        }
        .required {
            color: #dc3545;
            font-weight: bold;
            margin-left: 3px;
        }
        
        /* Force small font for SEPA mandate text */
        .sepa-mandate-notice,
        .sepa-mandate-notice p {
            font-size: 13px !important;
            line-height: 1.2 !important;
        }
        
        /* Charity Distribution Sliders */
        .charity-distribution-section {
            margin-top: 30px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
        }
        
        .distribution-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #333;
        }

        .distribution-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .distribution-header .distribution-title {
            margin-bottom: 0;
        }
        
        .charity-sliders-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .charity-slider-item {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 8px;
            border: 1px solid #eee;
        }

        .charity-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }
        
        .charity-name {
            flex: 1;
            font-weight: 500;
            color: #333;
            font-size: 14px;
        }

        .charity-slider-wrapper {
            width: 100%;
            position: relative;
            margin: 0;
            padding: 0 10px; /* Space for thumb at extremities */
        }
        
        .charity-slider-container {
            position: relative;
            width: 100%;
            height: 20px;
            display: flex;
            align-items: center;
        }
        
        .charity-slider-track {
            position: absolute;
            top: 50%;
            left: 10px;
            right: 10px;
            height: 6px;
            background: #ddd;
            border-radius: 3px;
            transform: translateY(-50%);
            pointer-events: none;
        }
        
        .charity-slider {
            width: 100%;
            height: 20px;
            background: transparent;
            outline: none;
            -webkit-appearance: none;
            position: relative;
            z-index: 2;
            margin: 0;
            padding: 0;
        }
        
        .charity-slider::-webkit-slider-thumb {
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #FF5722;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            margin-top: -7px; /* Center the thumb on the track */
        }
        
        .charity-slider::-webkit-slider-thumb:hover {
            background: #E64A19;
            transform: scale(1.1);
        }
        
        .charity-slider::-webkit-slider-track {
            width: 100%;
            height: 20px;
            cursor: pointer;
            background: transparent;
            border: none;
        }
        
        .charity-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #FF5722;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
        
        .charity-slider::-moz-range-thumb:hover {
            background: #E64A19;
            transform: scale(1.1);
        }
        
        .charity-slider::-moz-range-track {
            width: 100%;
            height: 20px;
            cursor: pointer;
            background: transparent;
            border: none;
        }
        
        .charity-amount-display {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 100px;
        }
        
        .currency-symbol {
            font-weight: bold;
            font-size: 16px;
            color: #333;
        }

        .charity-amount-input {
            font-weight: bold;
            font-size: 16px;
            color: #333;
            min-width: 70px;
            text-align: right;
            border: 2px solid transparent;
            border-radius: 4px;
            padding: 4px 6px;
            background-color: #f8f9fa;
            transition: all 0.2s ease;
            outline: none;
        }

        /* Hide number input spinner arrows */
        .charity-amount-input::-webkit-outer-spin-button,
        .charity-amount-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .charity-amount-input[type=number] {
            -moz-appearance: textfield;
        }

        .charity-amount-input:hover {
            background-color: #e9ecef;
            border-color: #007bff;
            cursor: pointer;
        }

        .charity-amount-input:focus {
            background-color: white;
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        .charity-amount-input:invalid {
            border-color: #dc3545;
            background-color: #fff5f5;
        }
        
        .charity-lock-icon {
            width: 20px;
            height: 20px;
            opacity: 0.9;
            cursor: pointer;
            font-size: 18px;
            margin-left: 8px;
            transition: all 0.2s ease;
        }
        
        .charity-lock-icon:hover {
            opacity: 1;
            transform: scale(1.1);
        }
        
        .distribution-info {
            margin-top: 15px;
            text-align: center;
            color: #666;
            font-style: italic;
        }
        
        /* Mobile responsive */
        @media (max-width: 768px) {
            .charity-slider-item {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }

            .charity-header {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }

            .charity-name {
                flex: none;
                text-align: center;
            }

            .charity-slider-wrapper {
                margin: 0;
            }

            .charity-amount-display {
                justify-content: center;
            }
        }