
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.price-container {
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: #2563eb;
}

.payment-message {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.loader {
    width: 28px;
    height: 28px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.buy-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.buy-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.buy-button:active {
    transform: translateY(0);
}

.back-button {
    display: inline-block;
    margin-top: 16px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #0f172a;
}

/* Hide Razorpay's original button off-screen */
#razorpay-container {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}