section {
    padding: 1rem 5%;
    display: block;
    justify-content: center;
}


.container {
    /* margin: 20px auto; */
    display: flex;
    gap: 20px;
    margin-top: 7rem;
}

.delivery-form,
.order-summary {
    background-color: #fff;
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    /* padding: 20px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.delivery-form {
    flex: 2;
}

.order-summary {
    flex: 3;
}






.delivery-form2 {
    /* background-image: linear-gradient(to right, #ffd5ab 0%, #FFFFFF 51%, #ECE9E6 100%); */
    transition: 0.5s;
    background-size: 200% auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 17px;
}

.delivery-form2:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.delivery-form h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-family: var(--font-family-Poppins);
}

.order-summary h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-family: var(--font-family-Poppins);
}

label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-family-Poppins);
}

/* input, */
/* select { */
/* width: 100%; */
/* padding: 10px; */
/* margin-bottom: 15px; */
/* border: 1px solid #ccc; */
/* border-radius: 4px; */
/* font-family: var(--font-family-Poppins); */
/* } */

.add-address {
    color: var(--backgroundCart);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    display: inline-block;
    font-family: var(--font-family-Poppins);
}

.delivery-charge {
    background-color: #c4e0c5;
    padding: 10px;
    border-radius: 4px;
    color: var(--backgroundCart);
    font-weight: bold;
    margin-bottom: 15px;
    font-family: var(--font-family-Poppins);
}








.complete-order {
    background-size: 200% auto;
    transition: all 0.5s ease;
    background-color: #f25b0a;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
}

.complete-order:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.complete-order a {
    color: white;
}

small {
    color: slategrey;
}

.order-summary {
    /* width: 350px; */
    /* background-image: linear-gradient(to right, #ffd5ab 0%, #FFFFFF 51%, #ECE9E6 100%); */
    transition: 0.5s;
    background-size: 200% auto;

    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    height: -webkit-fill-available;
}

.order-summary:hover {
    background-position: right center;
    text-decoration: none;
}


.order-summary_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary_main2 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-summary img {
    width: 70px;
    height: 70px;
}

.order-summary p {
    font-size: 13px;
    margin: 0;
    color: #333;
}

.order-summary .price {
    font-size: 12px;
    color: #e63946;
    font-weight: bold;
    margin: 5px 0 15px 0;
}

.order-summary .quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
    font-weight: 700;
    font-size: 12px;
    color: #555;
}



.order-summary .details_box p {
    margin: 5px 0;
    color: #555;
    font-size: 11px;
    font-family: var(--font-family-Poppins);
}

.order-summary .details_box p span {
    float: right;
    font-weight: bold;
    font-size: 11px;
    font-family: var(--font-family-Poppins);
}



.order-summary .total {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    padding-bottom: 5px;
}

.order-summary .total span {
    float: right;
}












/* ======2 */
.menu-panel {
    min-width: 250px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}



.menu-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

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

.menu-item.active {
    background-color: var(--backgroundCart);
    color: #fff;
    font-weight: bold;
}

.menu-item svg {
    margin-right: 10px;
}

.menu-item:hover {
    background-color: #c4ffc6;
}

.logout {
    /* text-align: center; */
    padding: 15px;
    color: #555;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    cursor: pointer;
}

.logout:hover {
    background-color: #f8f8f8;
}





.table_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dropdown2 {
    position: relative;
    display: inline-block;
    border: 1px solid #eee;
    padding: 9px 20px;
    border-radius: 50px;
}

.dropdown-content2 {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown2:hover .dropdown-content2 {
    display: block;
}

/* 3 */
.dropdown3_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown3 {
    position: relative;
    display: inline-block;
    border: 1px solid #eee;
    padding: 3px 20px;
    border-radius: 5px;
}

.dropdown-content3 {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 50px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    /* padding: 3px 20px; */
    z-index: 1;
    margin-left: -17px;
}

.dropdown-content3 p {
    margin-bottom: 5px;
    padding: 3px 20px;
    background-color: #f9f9f9;
}

.dropdown-content3 p:hover {
    margin-bottom: 5px;
    padding: 3px 20px;
    background-color: #d1ffca;
    cursor: pointer;
}

.dropdown3:hover .dropdown-content3 {
    display: block;
}

#search_table {
    display: flex;
    align-items: center;
    margin-top: 13px;
}

#search_table input {
    height: 35px;
    width: 300px;
    border-radius: 30px;

}








table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    border: 1px solid #ccc;
    text-align: left;
    padding: 8px;
}

th {
    background-color: #f4f4f4;
}

tr:hover {
    background-color: #f9f9f9;
}

.highlight {
    background-color: #ffd700 !important;
}









.setting_profile {
    background-color: #e3f5e4;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #28a745;
    color: var(--backgroundCart);
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: var(--font-family-sans-serif);
}

.setting_ p {
    font-size: 14px;
}

.setting_input_box {
    margin-bottom: 5px;
}

.setting_input_box label {
    font-size: 14px;
    font-weight: 700;
    padding: 0 10px;

}

.setting_input_box input {
    border-radius: 40px;
}

.setting_input_box input:focus {
    border: 2px solid var(--backgroundCart);
}



.Setting_btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: var(--backgroundCart);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 2rem;
}

.Setting_btn:hover {
    background-color: #28a745;
}

































@media(max-width:992px) {
    .container {
        display: block;
        margin-top: 7rem;
    }

    .order-summary {
        /*margin-top: 1.5rem;*/
    }

    .menu-panel {
        margin-bottom: 1.5rem;
    }

    section {
        padding: 0rem 2%;
    }

    #search_table input {
        width: 100%;
    }

    .dropdown2 {
        padding: 3px 17px;
    }

    /* .order-summary {
        order: 2;
    } */

}

@media(max-width:992px) {
    .container {
        display: flex;
        margin-top: 7rem;
        flex-flow: column-reverse;
    }
}

/*Address Cards Design Css :: Start*/
/* Container styling */
.address-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}








/* Address card styling */
.address-card {
    /* background-image: linear-gradient(to right, #ff512feb 26%, #f09819ad 51%, #ff512f54 100%); */
    /* background-image: linear-gradient(to right, #FF512F 0%, #F09819 51%, #FF512F 100%); */
    background-size: 200% auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    /* Two cards per row */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    color: black;
}

/* Hover effect */
.address-card:hover {
    background-position: right center;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Address header styling */
.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.address-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

/* Edit icon styling */
.address-edit-icon {
    background-color: red;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
}

.address-edit-icon:hover {
    background-color: white;
}

/* Address content styling */
.address-content {
    text-align: left;
}

.address-line {
    margin: 5px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .address-card {
        width: 100%;
        /* One card per row on mobile */
    }
}

@media (max-width: 480px) {
    .address-card {
        padding: 15px;
    }

    .address-title {
        font-size: 1em;
    }

    .address-line {
        font-size: 0.9em;
    }

    .address-edit-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9em;
    }
}

/* Checkbox styling */
.address-checkbox {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.address-checkbox input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

/* Aligning the checkbox and title together */
.address-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.address-title {
    flex-grow: 1;
    /* Ensures title stretches properly */
    margin-left: 10px;
    /* Add spacing after checkbox */
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

/* Add New Address Button */
.add-address-button-container {
    text-align: center;
    margin-top: 20px;
}

.add-new-address-button {
    background-color: #f25b0a;
    background-size: 200% auto;
    transition: all 0.5s ease;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.add-new-address-button:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.add-new-address-button i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.add-new-address-button:hover {
    background-color: #0056b3;
}

/*Address Cards Design Css :: End*/

small.saving {
    font-weight: 700;
    color: green;
    font-size: x-small;
}