.payment-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-header h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payment-header p {
    color: #666;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-option.selected {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.option-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
}

.option-icon i {
    font-size: 1.5rem;
    color: #007bff;
}

.option-icon img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.option-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.option-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.option-radio {
    position: relative;
}

.option-radio input[type="radio"] {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
}

.payment-option.selected .checkmark {
    border-color: #007bff;
}

.payment-option.selected .checkmark:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.order-summary h3 {
    margin-bottom: 1rem;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
    font-weight: 600;
    color: #333;
}

.payment-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.payment-actions button {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.edit-payment-button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.edit-payment-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .payment-container {
        margin: 1rem;
        padding: 1rem;
    }

    .option-content {
        gap: 1rem;
    }

    .option-icon {
        width: 40px;
        height: 40px;
    }

    .option-details h3 {
        font-size: 1rem;
    }

    .option-details p {
        font-size: 0.8rem;
    }
}

/* Add these styles to your existing CSS */
.cart-items {
    margin-bottom: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.item-details {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 500;
    color: #333;
}

.item-quantity {
    font-size: 0.9rem;
    color: #666;
}

.item-price {
    font-weight: 500;
    color: #333;
}

.subtotal {
    font-weight: 500;
    border-top: 2px solid #eee;
    margin-top: 1rem;
    padding-top: 1rem;
}

.summary-total {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #333;
}

.cod-charges {
    color: #dc3545;
} 