.checkout-section {
    padding: 50px 20px;
    min-height: 60vh;
}

.checkout-container {
    max-width: 800px;
    margin: 0 auto;
}

.product-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.credits-info {
    font-size: 1.2rem;
    color: #666;
    margin: 15px 0;
}

.price-display {
    font-size: 3rem;
    color: #dc2626;
    font-weight: 700;
    margin: 20px 0;
}

.payment-methods {
    background: #F6F7F8;
    padding: 30px;
    border-radius: 12px;
}

.payment-methods h3 {
    margin-bottom: 20px;
    text-align: center;
}

/* Email Section */
.email-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px solid #e5e7eb;
}

.email-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.email-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.email-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.email-input.error {
    border-color: #ef4444;
}

.email-input.valid {
    border-color: #10b981;
}

.email-helper {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.4;
}

.email-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 10px;
    border-left: 4px solid #dc2626;
}

/* Terms and Conditions Section */
.terms-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px solid #e5e7eb;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.terms-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #dc2626;
}

.terms-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.terms-text a {
    color: #dc2626;
    text-decoration: underline;
    font-weight: 500;
}

.terms-text a:hover {
    color: #991b1b;
}

.terms-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 10px;
    border-left: 4px solid #dc2626;
}

/* Checkbox validation states */
.terms-checkbox:invalid {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

.terms-checkbox:checked {
    outline: none;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #2c2c2c;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-option:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.payment-logo img {
    height: 40px;
    width: auto;
}

.error-section {
    padding: 100px 20px;
    text-align: center;
}

/* PayPal Smart Button Container */
.paypal-container {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #0070ba;
    display: block;
}

.paypal-container.disabled {
    opacity: 0.5;
    pointer-events: none;
}

#paypal-button-container {
    max-width: 400px;
    margin: 0 auto;
    min-height: 150px;
}

/* Loading state */
.paypal-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-section {
        padding: 30px 15px;
    }
    
    .product-summary,
    .payment-methods {
        padding: 20px;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .email-section {
        padding: 20px;
    }
}