body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f7fa;
}

.container {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.radio-group label:hover {
    background-color: #f7fafc;
}

.radio-group input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

button, .btn, .button {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button:hover, .btn:hover, .button:hover {
    background-color: #4338ca;
}

.product-info {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.product-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.product-description {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 15px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 15px;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span:first-child {
    color: #4a5568;
}

.summary-row span:last-child {
    font-weight: 500;
    color: #2d3748;
}

.summary-row.total-row {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 16px;
}

.summary-row.total-row span:last-child {
    color: #4f46e5;
}

.hidden {
    display: none !important;
}

.summary {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
    border-left: 4px solid #4f46e5;
}

.summary p {
    margin: 8px 0;
    color: #4a5568;
}

.error-message {
    color: #e53e3e;
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 20px;
    display: none;
}

#payment-element {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-message h1 {
    color: #38a169;
    margin-bottom: 20px;
}

.success-message p {
    margin: 15px 0;
    font-size: 18px;
    color: #4a5568;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000431;

    margin: 0 auto 20px;
    padding: 20px;
}

.success-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive design */
@media (max-width: 640px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 20px;
        margin: 10px auto;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .success-message {
        padding: 20px 0;
    }
    
    .success-message h1 {
        font-size: 24px;
    }
    
    .success-message p {
        font-size: 16px;
    }
}