/* General Cart Container Styling */
#cart-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Cart Items Container */
#cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#cart-table {
    overflow-y: hidden; /* Take full width of its container */
}
/* Each Cart Item */
.cart-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Row for each item detail */
.cart-item .cart-item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Label for item details */
.cart-item .item-label {
    font-weight: bold;
    color: #333;
}

/* Special Instructions Textarea */
.cart-item textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    resize: none;
}

/* Cart Summary Styling */
#cart-summary {
    margin-top: 20px;
    text-align: center;
}

#cart-summary p {
    font-size: 18px;
    margin: 10px 0;
}

#checkout-button {
    background-color: #28a745;
    color: white;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

#add-item-button:hover {
    background-color: #a9271d;
}

#add-item-button {
    background-color: #d42e00;
    color: white;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

#checkout-button:hover {
    background-color: #218838;
}

/* Checkout Button Container */
#checkout-container {
    text-align: center;
    margin-top: 20px;
}

/* Checkout Button Styling */
#checkout-button {
    background-color: #28a745; /* Green background */
    color: white;              /* White text */
    border: none;              /* Remove border */
    padding: 12px 20px;        /* Button padding */
    font-size: 18px;           /* Text size */
    border-radius: 5px;        /* Rounded corners */
    cursor: pointer;           /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth background change on hover */
}

#checkout-button:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Adjust margins for larger screens */
@media (min-width: 768px) {
    #checkout-container {
        margin-top: 30px;
    }
}
/* Container for the order type radio buttons */
#order-type {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

/* Label Styling */
/* #order-type label {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
} */

/* Base styling for labels */
/* Styling for labels */
.order-type-label {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

/* Active state when a label is selected */
.order-type-label.active {
    background-color: #4caf50; /* Green background for selected state */
    color: white;
    border-color: #4caf50;
}


/* Radio Button Styling */
/* #order-type input[type="radio"] {
    display: none; 
} */

/* Change background for "Pick Up" when it's selected */
#pickup:checked + label {
    background-color: #4caf50; /* Green for Pick Up */
    color: white;
    border-color: #4caf50;
}

/* Change background for "Delivery" when it's selected */
#delivery:checked + label {
    background-color: #ff9800; /* Orange for Delivery */
    color: white;
    border-color: #ff9800;
}

/* Hover effect for labels */
#order-type label:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}
h1 {
    text-align: center; /* Horizontally center the text */
    font-size: 36px;
    margin-top: 20px;
}
.cart-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-item button:hover {
    background-color: #c0392b;
}

textarea.special-instructions {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
