       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        :root {
            --primary: #635bff;
            --primary-light: #7a73ff;
            --secondary: #00a35c;
            --dark: #1a1a1a;
            --light: #ffffff;
            --gray-light: #f6f6f6;
            --gray-medium: #e0e0e0;
            --gray-dark: #888888;
            --error: #ff3e3e;
        }

        body {
            background-color: #fafafa;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: var(--dark);
            line-height: 1.5;
            /*padding: 20px;*/
        }

        /* Stripe-like Checkout Container */
        #purchasePortal {
            width: 100%;
            max-width: 500px;
            background: var(--light);
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            animation: fadeIn 0.4s ease-out;
            border: 1px solid var(--gray-medium);
        }

        .checkout-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--gray-medium);
            text-align: center;
            background: var(--gray-light);
        }

        .checkout-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--dark);
        }

        .checkout-body {
            padding: 3rem;
        }

        /* Payment Method Tabs */
        .payment-methods {
            display: flex;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--gray-medium);
        }

        .payment-tab {
            flex: 1;
            padding: 0.75rem;
            text-align: center;
            font-weight: 500;
            color: var(--gray-dark);
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 2px solid transparent;
        }

        .payment-tab.active {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
        }

        /* Card Element Styling */
        .card-element-container {
            margin-bottom: 1.5rem;
            border: 1px solid var(--gray-medium);
            border-radius: 8px;
            padding: 1rem;
            background: var(--gray-light);
        }

        /* Input Fields - Stripe Style */
        .input-row {
            margin-bottom: 1.25rem;
        }

        .input-row label, label.save-card{
            display: block;
            font-size: 0.875rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
            font-weight: 500;
        }


        .input-row input,
        .input-row select {
            width: 100%;
            padding: 0.875rem;
            border: 1px solid var(--gray-medium);
            border-radius: 6px;
            background: var(--light);
            color: var(--dark);
            font-size: 0.9375rem;
            transition: all 0.2s ease;
        }

        .input-row input:focus,
        .input-row select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 1px var(--primary);
        }

        .split-inputs {
            display: flex;
            gap: 1rem;
        }

        .split-inputs .input-row {
            flex: 1;
        }

        /* Price Summary */
        .price-summary {
            background: var(--gray-light);
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .price-line {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
            font-size: 0.9375rem;
        }

        .price-line.total {
            font-weight: 600;
            font-size: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--gray-medium);
            margin-top: 0.75rem;
        }

        /* Submit Button - Stripe Style */
        #submitBtn {
            width: 100%;
            padding: 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        #submitBtn:hover {
            background: var(--primary-light);
            transform: translateY(-1px);
        }

        #submitBtn:active {
            transform: translateY(0);
        }

        /* Error Message */
        .error-message {
            background: #fff0f0;
            color: var(--error);
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            animation: slideIn 0.3s ease-out;
        }

        .error-message .close-btn {
            cursor: pointer;
            font-size: 1rem;
            margin-left: 0.5rem;
        }

        /* Loading State */
        .loader {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(99, 91, 255, 0.2);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-10px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 480px) {
            #purchasePortal {
                border-radius: 0;
                border: none;
                box-shadow: none;
                max-width: 100%;
                height: auto;
            }
            
            .checkout-header {
                padding: 1rem;
            }
            
            .checkout-body {
                padding: 1rem;
            }
            
            .split-inputs {
                flex-direction: column;
                gap: 1rem;
            }
        }

        .blur {
            filter: blur(4px);
            transition: filter 0.3s ease;
        }