.payment-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

.payment-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header i {
    font-size: 48px;
    background: linear-gradient(135deg, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.payment-header h2 {
    font-size: 24px;
    color: #1f2937;
}

.payment-info {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-row.product {
    flex-direction: column;
}

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

.info-row .amount {
    font-size: 24px;
    color: #8b5cf6;
}

.product-list {
    margin: 10px 0;
}

.product-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.payment-actions {
    text-align: center;
}

.btn-pay {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8b5cf6, #10b981);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.payment-security {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #6b7280;
}

.payment-security i {
    margin-right: 5px;
}

.payment-error {
    text-align: center;
    padding: 20px;
    background: #fee2e2;
    border-radius: 16px;
    color: #991b1b;
}

.btn-retry {
    margin-top: 15px;
    padding: 10px 20px;
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e5e7eb;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}