.payment-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .payment-container {
        flex-direction: row;
    }
}

.order-summary {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-methods {
    flex: 2;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-option {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #8e44ad;
}

.payment-option.selected {
    border-color: #8e44ad;
    background-color: #f9f0ff;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

.btn {
    background-color: #8e44ad;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #7d3c98;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #8e44ad;
    margin: 10px 0;
}

.card-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Payment Success Popup Styles */
.payment-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.payment-success-popup .popup-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.payment-success-popup .popup-content-success {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    /* left: 0px !important; */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1001;
    animation: popupFadeIn 0.3s ease-out;
}

.payment-success-popup .popup-header i {
    color: #4CAF50;
    font-size: 60px;
    margin-bottom: 15px;
}

.payment-success-popup .popup-header h3 {
    color: #4CAF50;
    margin: 10px 0;
}

.payment-success-popup .popup-body {
    margin: 20px 0;
    line-height: 1.6;
}

.payment-success-popup .popup-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-success-popup .btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.payment-success-popup .btn-primary {
    background-color: #8e44ad;
    color: white;
    text-decoration: none;
}

.payment-success-popup .btn-primary:hover {
    background-color: #7d3c98;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}