/* Global Styles */


.payment-form-section {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.payment-form-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

/* Columns */
.delivery-info-column,
.order-summary-column {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.delivery-info-column {
    width: 60%;
}

.order-summary-column {
    width: 35%;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

/* Typography */
h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 15px;
}

/* Schedule Delivery Switch */
.form-switch {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-switch .form-check-input {
    width: 40px;
    height: 20px;
    background-color: #e0e0e0;
    border: none;
    margin-right: 10px;
}

.form-switch .form-check-input:checked {
    background-color: #4CAF50;
}

/* Date Input */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: 100%;
}

/* Payment Method */
.form-check {
    margin-bottom: 10px;
}

.form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Order Summary Styles */
.order-items {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 600px; /* Adjust this value as needed */
    min-height: 150px;
}

.order-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 4px;
}

.order-item-details {
    flex-grow: 1;
}

.order-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.order-item-price {
    color: #666;
}

.order-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background: none;
    border: 1px solid #e0e0e0;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #f5f5f5;
}

.order-item-quantity span {
    margin: 0 10px;
}

.order-total {
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.order-total p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-total .total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

/* Confirm Order Button */
.btn-primary {
    background-color: #1c2d1c;
    border: none;
    padding: 15px;
    font-weight: 600;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
}


.btn-primary:hover {
    background-color: #283e28;
}

.package-selection {
    margin-bottom: 20px;
}

#package-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

#selected-package {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
}

#package-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

#package-name {
    font-weight: bold;
    margin-bottom: 5px;
}

#package-price {
    color: #4CAF50;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-form-section .container {
        flex-direction: column;
    }

    .delivery-info-column,
    .order-summary-column {
        width: 100%;
        margin-bottom: 20px;
    }
}