﻿
@font-face {
    font-family: OpenSans-Regular;
    src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: OpenSans-SemiBold;
    src: url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: Quicksand-Regular;
    src: url('../fonts/Quicksand-Regular.ttf') format('truetype');
}

@font-face {
    font-family: Quicksand-Medium;
    src: url('../fonts/Quicksand-Medium.ttf') format('truetype');
}

@font-face {
    font-family: Quicksand-SemiBold;
    src: url('../fonts/Quicksand-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: Quicksand-Bold;
    src: url('../fonts/Quicksand-Bold.ttf') format('truetype');
}

@font-face {
    font-family: ZillaSlab-Medium;
    src: url('../fonts/ZillaSlab-Medium') format('truetype');
}

@font-face {
    font-family: Bitter-Medium;
    src: url('../fonts/Bitter-Medium.ttf') format('truetype');
}




* {
    box-sizing: border-box;
    outline: none;
    margin: 0;
    padding: 0;
}

html, body {
    position: relative;
    width: 100% !important;
    height: 100vh;
    background: #fff;
    font-size: 1em;
    font-family: OpenSans-Regular;
    margin: 0;
}

a,
a:visited,
a:focus,
a:active,
a:link {
    text-decoration: none;
    outline: 0;
}

a {
    color: currentColor;
    transition: .2s ease-in-out;
}


/**/


/**/


#form-checkout, #form {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}



h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.8em;
}

h4 {
    font-size: 1em;
    padding: 2px 10px;
    background: #999;
    border-radius: 2px;
    color: #eee;
    width: fit-content;
}


ul {
    padding: 0;
    list-style: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-appearance: none;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Remove default arrow */
select {
    width: 100%;
    color: #555;
    border: none;
    padding: 2px 10px;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    background-color: transparent;
}

input {
    border: thin solid #ccc;
}

.validation-summary-errors {
    position: fixed;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    z-index: 3;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

p {
    font-family: OpenSans-SemiBold;
    font-size: 0.85em;
}



span.select-option {
    border: thin solid #ccc;
}



#pickup:before {
    content: 'Pickup';
}
/* Override Boot */

.form-group {
    display: flex;
    flex: 1;
    flex-flow: column;
    background: #fff;
    padding: 7px;
    margin: 4px 0;
    border: thin solid #ccc;
    border-radius: 7px;
}



.menu-edit.checkbox {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    padding: 0;
}

ul.conditions {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
}

    ul.conditions li {
        display: flex;
        gap: 10px;
        align-items: center;
    }

.form-row {
    display: flex;
    flex-flow: row wrap;
    gap: 7px;
}

.form-group-id {
    display: flex;
    width: 100px;
    flex-flow: column;
    background: #fff;
    padding: 7px;
    margin: 4px 0;
    border: thin solid #ccc;
    border-radius: 7px;
}

label.control-label {
    font-family: Calibri;
    padding: 0 7px;
    font-size: 0.9em;
    color: #666;
    text-transform: lowercase;
}

.form-group input, .form-group-id input {
    padding: 10px;
    margin: 7px 0;
    outline: none;
    border: none;
    color: #444 !important;
    background: #fff;
}

.bold {
    font-family: OpenSans-SemiBold;
    font-size: 1.1em;
}

.form-group textarea {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    padding: 7px;
    color: #444;
    line-height: 1.6;
}

    .form-group textarea.form-control {
        resize: none;
        overflow: hidden;
        min-height: 20px;
        height: auto;
    }




a.create-new {
    color: #777;
    font-family: OpenSans-SemiBold;
}

    a.create-new:hover {
        color: #333;
    }
/* End of Boot */



a.basket-number {
    position: absolute;
    right: 15px;
    top: 18px;
}

span.basket-counter {
    font-family: Calibri;
    font-size: 1em;
    color: #333;
    text-decoration: none;
    width: 30px;
}


img.icon-basket {
    width: 20px;
    opacity: 0.6;
}

img.icon-profile {
    width: 22px;
}

header {
    min-width: 350px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset; */
    background: #fff;
    padding: 10px;
    z-index: 9999;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.account-personaldata {
    margin: 50px auto;
    display: flex;
    justify-content: right;
    gap: 10px;
}

/* Account Manage */

.container-profile {
    position: relative;
    margin: 150px auto;
    background: #fff;
    padding: 0px 20px 20px;
}

.manage-form {
    margin-top: 100px;
}

#adminForm {
    margin-top: 100px;
}

#email-form, #change-password-form {
    min-width: 300px;
    width: 400px;
    max-width: 100%;
}


.manage-nav {
    width: 100%;
    max-width: 600px;
    padding: 10px 0 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
    background: #fff;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

#manage-nav {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

#profile-form {
}

.nav-item-user {
}




a.nav-link {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 5px;
    padding: 12px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-family: Calibri;
    font-size: 0.7em;
    text-transform: uppercase;
    color: #777;
    height: 70px
}

    a.nav-link:hover {
        color: #222 !important;
        background: #fff;
    }

    a.nav-link a:hover img.icon-user {
        opacity: 0.8;
    }



#admin-form {
    min-width: 320px;
    width: 100%;
}


#manage {
    display: flex;
    width: fit-content
}

/* Account Nav */
.status-verified {
    color: green;
    font-weight: bold;
}

.status-unverified {
    color: salmon;
}

.status-guest {
    color: gray;
}

.resend-confirmation {
    font-family: Calibri;
    font-size: 0.9em;
    padding: 4px 0;
    text-decoration: underline;
    cursor: pointer;
}



img.icon-member {
    width: 32px;
}

img.img-menu-edit {
}


img.icon-user {
    width: 22px;
    opacity: 0.6;
    margin: 0 7px;
}

img.menu-order {
    width: 100%;
    height: 600px;
    object-fit: cover;
    margin: 0 auto;
}

header a.brand {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    color: #444;
}



span.thin {
    font-weight: 500;
    color: #777;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
}

    footer a {
        font-family: Calibri;
        font-size: 0.85em;
        background: #555;
        color: #eee;
        padding: 3px 7px;
    }

.center {
    text-align: center;
}




button.logout {
    font-family: Calibri;
    font-size: 1em;
    margin: 3px 0;
    color: #777;
    background-color: transparent !important;
}


a.button {
    color: #fff;
    background: 4px 12px;
}

button.logout:hover {
    color: #333;
    background-color: transparent !important;
}

a.button.back {
    display: flex;
    align-content: center;
    align-items: center;
    font-size: 0.9em;
    padding: 0px 15px;
    background: #333;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

a.button.add {
    font-size: 1.8em;
    padding: 0px 15px;
    background: #eee;
    border-radius: 100%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

    a.button.add:hover {
        transition: .3s;
        background: #999;
        color: #fff;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

button {
    background: #666 !important;
    border: none !important;
    outline: none !important;
}

    button:hover {
        background: #333 !important;
    }


img.icon-search {
    width: 22px;
    opacity: 0.8;
}

.col-md-4 {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 7px;
    padding: 10px 0 20px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.col-md-12 {
    margin: 20px auto;
}

.account {
    display: flex;
    flex-flow: column;
    margin: 15px 0 0;
}

    .account a {
        text-align: center;
        text-decoration: none;
        padding: 3px 7px;
        color: #777;
        border-radius: 4px;
    }

        .account a:hover {
            color: #333;
        }

.index.content {
    position: relative;
}

.container-map {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
}

iframe.map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 55px;
    left: 0;
    border: 0;
    outline: 0;
}

iframe:focus, iframe:active {
    border: none;
    outline: none;
}



.container-information {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 120px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}
/* Flexbox */

.flex-container {
    width: 100% !important;
    margin: 550px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
}

.flex-items:nth-child(1) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-items:nth-child(2) {
    position: absolute;
    left: 0;
    width: 100%;
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    background-color: lightgray;
    padding: 20px;
}


button.btn.order {
    color: #eee;
}

/* Sort buttons styles */








/* Columns */



section.columns {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    min-width: 350px;
    width: 100% !important;
    gap: 0px;
    margin: 0px auto;
}

    section.columns.index {
        padding-bottom: 120px;
    }



section.order-success {
    max-width: 749px;
    min-width: 350px;
    margin: 65px auto;
}

.order-success-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


section.columns.tempdata {
    width: 100%;
    margin: 0px auto;
}

.column.tempdata {
    width: 100%;
    margin: 100px auto;
    padding: 20px;
}


section.columns.delete-page, section.columns.identity {
    margin: 70px auto;
}

#form-orderHistory {
    width: 100%;
    margin: 0 auto;
}


section.columns.restaurants, section.columns.condition {
    margin-top: 100px;
    padding: 0 7px 100px;
}

section.columns.order {
    position: relative;
    min-width: 350px;
    max-width: 500px;
    width: 100%;
    margin: 65px auto;
    height: auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 0 0 60px 0;
    box-shadow: rgba(0, 0, 0, 0.04) 0px -3px 6px;
}

section.columns.checkout {
}

.row-checkout {
    width: max-content;
    height: max-content;
    margin: 30px auto;
    display: flex;
    flex-flow: row-reverse;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    border-radius: 15px;
}

.column {
    display: flex;
    flex-flow: column; /* Effecting Order Page */
    justify-content: center;
    width: 250px;
    min-height: auto;
    background: #fff;
}

.column-account {
    width: 280px;
    height: auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.column-basket {
    width: 488px;
    height: 100vh;
    border-radius: 15px;
    border-radius: 15px;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.column.condition-page {
    min-width: 300px;
    max-width: 600px;
    width: 100%;
}

.column.order-content {
    min-width: 300px;
    max-width: 600px;
    width: 100%;
    margin: 0px auto;
    margin-bottom: 100px;
    padding: 15px;
}

.column.checkout-content {
    min-width: 350px;
    width: 100%;
    padding: 15px;
}

.column.delete, .column.details {
    margin: 75px auto;
    min-width: 350px;
    max-width: 600px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}



.column.order-history {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 0 50px;
}

.card.condition {
    padding: 10px 15px;
    margin: 0px 0 -1px;
    border: thin solid #eee;
}



.column.headline {
    width: 100%;
    display: flex;
    flex-flow: column;
    padding: 15px;
}




#product-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0 10px;
}

.product-item {
    display: flex;
}

.column-button {
    width: 100%;
    margin-top: 250px;
    display: flex;
    justify-content: center;
}


.column-input {
    min-width: 300px;
    width: 600px;
    margin: 60px auto;
    padding: 0 7px;
}


.card.inside {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 340px;
    width: 100%;
    margin: 0 auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    border: thin solid #eee;
    border-radius: 10px;
}

    .card.inside:hover {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        transition: 0.4s;
    }

.card-content {
    position: relative;
    width: 100%;
    padding: 10px;
    flex: 1;
    display: flex;
    flex-flow: column;
}

.center {
    text-align: center;
}

.justify {
    text-align: justify;
}



span.title {
    font-family: Bitter-Medium;
    font-size: 1em !important;
    color: #333;
}

span.description {
    width: 100%;
    font-size: 0.85em;
    font-family: Calibri;
    color: #444;
    height: auto;
    line-height: 1.5;
    padding: 4px 0;
}

span.status {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    display: none;
    width: fit-content;
    text-align: center;
    font-family: OpenSans-SemiBold;
    font-size: 1em;
    color: red;
    line-height: 1.6;
    padding: 10px;
    border: 2px solid red;
    background: #fff;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

    span.status[data-status="unavailable"] {
        display: block;
    }

img.img-index[data-status="unavailable"] {
    opacity: 0.3;
}

a.btn-add[data-status="unavailable"] {
    display: none;
}

.col-card-content {
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
}


.row-card-content {
    position: absolute;
    bottom: 55px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
}


span.serve-note:not(:empty), span.spicy:not(:empty) {
    width: max-content;
    border-radius: 10px;
    color: #666;
    font-size: 0.8em;
    font-family: Calibri;
    text-transform: lowercase;
}

a.price-note:not(:empty) {
    width: max-content;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8em !important;
    font-family: Calibri;
    color: #777;
    margin-top: 2px;
}


.card-basket {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: thin solid #eee;
}

.card-basket-row {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
}



a.btn-add, a.btn-price {
    font-family: OpenSans-SemiBold;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}



    a.btn-add:hover {
        background: #000;
        color: #fff !important;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
        transform: scale(1.1);
    }

a.btn-add {
    background-color: #555;
    color: #eee !important;
    border-radius: 50px;
    font-size: 1.5em;
    width: 28px;
    height: 28px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}


img.img-index {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    height: 130px;
    object-fit: cover;
    border-radius: 7px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}







.column-items {
    margin: 0 auto;
    padding: 0px 15px 15px;
    border-bottom: thin solid #ccc;
}





.menu-nav {
    display: none;
    text-align: center;
}

.card:hover .menu-nav {
    display: block;
    transition-delay: 0.3s;
}

span.title {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #333;
    padding-bottom: 4px;
}

span.description {
    font-size: 0.9em;
    font-family: OpenSans-Regular;
    color: #666;
    padding-bottom: 10px;
}

.crumb {
    display: flex;
    padding: 5px 0;
    justify-content: space-between;
    font-size: 0.8em;
    align-items: center;
}

    .crumb a.spicylevel {
        font-size: 0.8em;
        background: red;
        color: #fff;
        padding: 0px 5px;
        text-transform: uppercase;
    }

.card a.allergen {
    padding: 5px;
    font-size: 0.85em;
    color: #222;
}

    .card a.allergen:before {
        display: block;
        font-size: 0.85em;
        content: 'allergen: ';
    }

.menu-price {
    display: flex;
    padding: 3px 0;
    gap: 17px;
    border-top: thin solid #ccc;
    border-bottom: thin solid #ccc;
    background: salmon;
}

.card a.lunch a.dinner {
    font-size: 1.1em;
    color: #111;
}

.card a.lunch:before {
    content: 'LUNCH $ ';
    font-size: 0.7em;
}

.card a.dinner:before {
    content: 'DINNER $ ';
    font-size: 0.7em;
}

.card a.combo:before {
    content: 'combo add $ ';
    font-size: 0.8em;
}

/* Add your custom CSS styles here */
.basket {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 300px;
    padding: 10px;
}

    .basket img {
        max-width: 100%;
        height: auto;
    }




.button-container {
    display: flex;
    justify-content: right;
    padding: 7px;
}

.btn {
    padding: 10px 20px;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.primary {
    background-color: #007bff;
    color: white;
}

.secondary {
    background-color: #6c757d;
    color: white;
}

.btn:hover {
    opacity: 0.8;
}

.overlay-basket {
    position: fixed;
    top: 50%;
    right: 20px; /* Adjust this value as needed */
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

/* Checkout Page */


.checkout-headline a {
    width: 200px;
    padding: 10px 8px;
}


/* Custom Order */
.order-product {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    font-size: 1.2em;
    padding: 0 7px;
}

.checkout-items {
    display: flex;
    flex-flow: row nowrap;
    gap: 30px;
    line-height: 1.3;
    background: #eee;
}


.checkout-item {
    display: flex;
    flex-flow: column;
    font-family: OpenSans-SemiBold;
    font-family: 1em;
    line-height: 1.6;
}


span.customized {
    font-family: OpenSans-SemiBold;
    font-size: 0.75em;
    color: #444;
    text-transform: lowercase;
}

    span.customized:not(:empty):before {
        content: '- ';
    }


.customer-pickup {
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 10px;
}

.total {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}


.customer-submit {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.btn.send {
    flex: 1;
    padding: 10px 25px;
    font-family: Calibri;
    font-size: 0.9em;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

    .btn.send:hover {
        background-color: #0056b3;
    }









span.checkout-info {
    font-weight: 600;
    color: #444;
}

form.sendorder {
    margin: 15px 0;
    display: flex;
    flex-flow: column;
    gap: 10px;
}







span.subtotal {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 2px 7px;
    align-items: flex-end;
}

span.price {
    font-weight: bold !important;
}

span.tax-info {
    font-size: 0.85em !important;
    font-family: Calibri;
    color: #777;
    margin-top: 2px;
}


span.orders {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    font-family: OpenSans-SemiBold;
    font-size: 1em;
    color: #555;
}

#total-summary, #items {
    font-family: OpenSans-Regular;
    font-size: 1em;
    color: #555;
}

    #total-summary:before {
        content: 'total';
        padding: 0 10px;
    }




/* Order Page */










.column-submit {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 350px;
    width: 500px;
    background: #fff;
    border-radius: 30px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.10) 0px 5px 15px;
}

img.image-order {
    width: 100%;
    height: 300px;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

/* Order Condition */

/* CSS */
.order-quantity {
    min-width: 350px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px 25px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: thin solid #eee;
    -webkit-box-shadow: 0px -9px 11px -18px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -9px 11px -18px rgba(0,0,0,0.75);
    box-shadow: 0px -9px 11px -18px rgba(0,0,0,0.75);
}

.quantity-update {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

/*
.order-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    background: #555;
    padding: 3px 15px;
    margin-left: 20px;
    border-radius: 4px;
}
    */

.order-submit {
    display: flex;
    align-items: center;
    gap: 15px;
}

#submitTotal {
    color: #555;
    font-size: 0.9em !important;
    margin-right: auto;
    font-family: OpenSans-SemiBold;
}

.btn-order {
    font-size: 0.8em;
    font-family: OpenSans-SemiBold;
    color: #eee;
    text-decoration: none;
    padding: 7px 15px;
    background-color: #555 !important;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-order:hover {
        background: #111 !important;
        color: #fff;
    }


.btn-quantity {
    padding: 2px 8px;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

    .btn-quantity:hover {
        background: #ddd;
    }

.checkout-order {
    min-width: 350px;
    max-width: 600px;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0px -9px 11px -18px rgba(0,0,0,0.75);
    z-index: 1000;
}

/* check out up*/
img.icon-navigation {
    width: 22px;
    opacity: 0.7;
}

span.bottom-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

button.btn.browse {
    width: fit-content;
    margin: 15px auto;
}


button.btn.checkout.shop {
    background-color: transparent !important;
    color: #666 !important;
    text-transform: uppercase;
    padding: 0 !important;
    margin: 0 !important;
    font-family: Calibri;
    font-size: 1em;
    cursor: pointer;
}

.checkout-summary {
    width: 100%;
    padding: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
}


    .checkout-summary .details {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 20px;
    }

.checkout-information {
    min-width: 350px;
    max-width: 600px;
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 15px 30px 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: thin solid #eee;
    background: #fff;
}

    .checkout-information .details {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }

.checkout-order-button .buttons {
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.checkout-order-button .buttons-info {
    width: fit-content;
    display: flex;
    align-items: center;
    font-family: OpenSans-Regular;
    font-size: 1em;
}


.checkout-order {
    display: flex;
    flex-direction: column;
    transition: max-height 0.5s ease-out;
    max-height: 55px; /* Adjust this value based on your initial content height */
    overflow: hidden;
}

    .checkout-order.expanded {
        max-height: 600px; /* Adjust this value to accommodate your expanded content */
    }

.checkout-customer-information {
    width: 100%;
    margin: 0 auto;
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.checkout-order.expanded .checkout-customer-information {
    opacity: 1;
}
/**/
button.btn.checkout {
    color: #fff !important;
    font-family: Calibri;
    font-size: 1em;
    padding: 7px 10px;
    margin: 0;
}

#totalCheckout {
    font-size: 1em;
    margin-right: 10px;
}

#total:before {
    content: 'total';
    padding: 0 10px;
}

#total:after {
    content: 'place order';
    margin: 0 0 0 10px;
    padding: 0 10px 2px 10px;
    background: #eee;
    color: #333;
    border-radius: 5px;
}

    #total:after:hover {
        background: #000 !important;
        color: #fff !important;
    }
/**/

span.order-page.condition-name, span.order-page.condition-price {
    width: 100%;
    font-size: 0.85em;
    font-family: OpenSans-Regular;
    text-transform: lowercase;
    color: #666;
    padding-right: 8px;
}



small.order-page.condition-note {
    margin: 0px 5px 5px;
    color: #777;
    font-family: Calibri;
    font-size: 0.9em;
    text-transform: lowercase;
}

.order-page.condition {
    position: relative;
    width: 100%;
    margin-top: 0px;
    padding: 0px;
    display: flex;
    flex-flow: column;
}

span.label-category-checkout {
    font-family: Calibri;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    color: #777;
}

span.label-category {
    font-family: Calibri;
    font-size: 0.95em;
    font-weight: 600;
    text-transform: uppercase;
    color: #444;
    line-height: 2;
}

a.btn.edit {
    padding: 7px 18px;
    color: #eee;
    background: #666;
}

    a.btn.edit:hover {
        background: #222;
    }

.condition-category {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 20px 0 5px;
}

/* Menu Edit Condition */
.checkbox-group {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    font-family: OpenSans-SemiBold;
    color: #555;
    font-size: 0.9em;
    line-height: 1.6;
}

.select-all {
    margin-bottom: 10px;
    padding: 0px 20px;
}

    .select-all .form-check-input {
        margin-right: 6px;
    }

.checkbox-item {
    padding: 0 20px;
}

.edit-condition-category {
    padding: 0 20px;
}

.category-header {
    display: flex;
    align-items: center;
    font-weight: bold;
}

    .category-header input[type="checkbox"] {
        margin-right: 12px;
    }

.subcategories {
    margin-left: 25px;
    color: #666;
    font-size: 1em;
    font-family: OpenSans-Regular;
}
/**/


.condition-checkbox {
    padding: 0px 0px 0 10px;
    margin-right: 12px;
    font-family: OpenSans-Regular;
    font-size: 1em;
}

.condition-checkbox-column {
    position: relative;
    display: flex;
    flex-flow: column;
    border-bottom: thin solid #eee;
}

.condition-checkbox-row {
    width: 100%;
    line-height: 2.3;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.condition-checkbox-price {
    display: flex;
    flex-flow: row nowrap;
    font-family: OpenSans-Regular;
    font-size: 1em;
}

span.added {
    font-family: OpenSans-SemiBold;
    font-size: 0.8em;
    padding: 0 10px;
}

select.schedule {
    width: 100%;
    text-align: center;
    font-size: 1em;
    font-family: OpenSans-Regular;
}

span.select-option-pickup {
}

span.required-indicator, span.optional-indicator, span.status-indicator {
    font-size: 0.9em;
    font-family: Calibri;
    border-radius: 3px;
    color: #444;
}

    span.required-indicator:before {
        content: 'required ';
        color: #666;
    }

.row-order {
    margin-top: 10px;
    display: flex;
    padding: 15px;
    border-top: thin solid #eee;
    border-bottom: thin solid #eee;
    justify-content: space-between;
}

.row-order-checkout {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

span.order-name, span.order-price, span.order-total {
    font-family: OpenSans-SemiBold;
    font-size: 1em;
    color: #333;
}


span.order-serve {
    display: none;
}

    span.order-serve:not(:empty) {
        display: block;
        font-family: Calibri;
        font-size: 0.85em;
        text-transform: lowercase;
        background: #eee;
        color: #444;
        padding: 4px 10px;
        border-radius: 7px;
        width: fit-content;
    }

.order {
    font-size: 1.1em;
}


span.order-total:before {
    content: 'subtotal ';
    font-size: 0.85em;
    font-weight: 500;
}

#submitTotal {
    font-size: 1em;
}

button.btn.order {
    padding: 8px 15px;
    font-size: 0.85em;
    background: #555 !important;
}

    button.btn.order:hover {
        background: #222 !important;
        color: #fff;
    }

span.option {
    width: max-content;
    margin: 10px 0 0px;
    padding-right: 10px;
}





select.form-control {
    background: #fff;
    width: max-content;
    padding: 14px 0px 12px 10px;
}

    select.form-control:optional {
        width: 80%;
    }

    select.form-control.time {
        padding: 0 12px;
    }

.form-order {
    display: flex;
    flex-flow: column;
    padding: 5px 0px;
}

    .form-order.checkout {
        display: flex;
        flex-flow: row wrap;
        gap: 4px;
    }

.form-group.checkout {
    background-color: transparent;
}

    .form-group.checkout input {
        border-radius: 4px;
        color: #666 !important;
        font-family: OpenSans-Regular;
        font-size: 0.9em;
    }

.form-add {
    position: absolute;
    bottom: 60px;
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: right;
    align-items: center;
    gap: 15px;
    right: 10px;
}






img.preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    img.preview.delete {
        height: 300px;
    }

img.image-checkout {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

#orderOption {
    display: flex;
    flex-flow: row nowrap;
    gap: 4px;
}

    #orderOption input[type="radio"] {
        display: none;
    }



    #orderOption span {
        display: inline-block;
        margin: 15px 0px;
        padding: 7px;
        font-family: Calibri;
        font-size: 0.8em;
        border: thin solid #ccc;
        border-radius: 4px;
        color: #555;
        background-color: #fff;
    }

    #orderOption input[type="radio"]:checked + span {
        background-color: #555;
        color: #eee;
    }


span.option {
    background-color: transparent;
}

/* Column Checkout */
img.img-checkout {
    width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

#orderTime {
    background-color: transparent !important;
    border: none;
    outline: none;
}

span.select-option-checkout {
    width: 100%;
    flex-flow: row wrap;
    border: thin solid #ccc;
    border-radius: 7px;
    padding: 0px 7px;
    font-size: 0.95em;
}

    span.select-option-checkout .schedule {
        height: 35px;
    }

    span.select-option-checkout input {
        padding: 7px 2px;
        outline: none;
        border: none;
        text-align: center;
        color: #555;
        width: 100%;
    }


label.checkout-restaurant {
    font-family: OpenSans-SemiBold;
    font-size: 1em;
    color: #444;
    text-transform: uppercase;
    width: fit-content;
    padding: 10px;
    background: #eee;
    margin-bottom: 20px;
}


.schedule-delivery {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

span.schedule-status {
    min-height: 140px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    line-height: 0.8;
}

.address-primary {
    font-weight: 500;
    text-transform: uppercase;
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    word-break: break-word;
    line-height: 1.3;
    color: #666;
}

.address-secondary {
    font-style: normal;
    font-size: 0.85em;
    color: #666;
    font-family: OpenSans-Regular;
}

.address-detail {
    font-size: 0.85em;
    color: #666;
    font-family: OpenSans-Regular;
}



.schedule-toggle-container {
    display: flex;
    justify-content: center;
}

.address-container {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 60px; /* Adjust as needed */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

iframe.map-checkout {
    padding-top: 35px;
    width: 100%;
    height: 300px;
    border: none;
    filter: grayscale(40%);
    -webkit-filter: grayscale(40%);
    transition: all 0.3s ease;
}

    iframe.map-checkout:hover {
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }

.checkout-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

span.checkout-business-hours {
    width: fit-content;
    margin: 0px 10px 10px;
    ;
    float: left;
    color: #666;
    padding: 7px 12px 7px 4px;
    font-family: Calibri;
    font-size: 0.85em;
    border-radius: 7px;
    border: thin solid #ccc;
    display: flex;
    align-items: center;
}


/* Pika Calendar */
.pika-single {
    background: #fff !important;
    border: 1px solid #ccc !important;
}

.pika-button {
    background: #f5f5f5 !important;
    color: #333 !important;
    border: none !important;
}

.is-today .pika-button {
    color: #33aaff !important;
}

.is-selected .pika-button {
    background: #33aaff !important;
    color: #fff !important;
    box-shadow: inset 0 1px 3px #178fe5 !important;
}

.is-disabled .pika-button {
    background: #f0f0f0 !important;
    color: #999 !important;
    opacity: 0.7 !important;
}

.pika-table th {
    color: #999 !important;
    font-weight: bold !important;
}

/* Time picker */
.time-picker {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: Arial, sans-serif;
}

    .time-picker select {
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') no-repeat;
        background-position: right 5px top 50%;
        background-size: 12px;
        padding-right: 20px;
    }

        .time-picker select:focus {
            outline: none;
            border-color: #007bff;
        }

#pickupHour, #pickupMinute {
    width: 65px;
}

#amPmSelect {
    width: 55px;
}

/* Checkout Quantity */





/* */
span.condition-extra {
    font-size: 0.9em;
    color: #333;
}

span.condition-extra-note:not(:empty) {
    color: #333;
    font-family: Calibri;
    background: #eee;
}

.condition-extra.dollar {
    font-family: Calibri;
    font-size: 1em;
    color: #666;
}

.checkout-condition {
    width: 100%;
    font-family: OpenSans-Regular;
    font-size: 1em;
    line-height: 1.6;
    color: #444;
    padding: 0;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.checkout-order-details {
    width: 100%;
    margin: 40px auto;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.column.checkout-cart {
    position: relative;
    width: 100%;
    margin-bottom: -1px;
    display: flex;
    flex-flow: column;
    border: thin solid #ccc;
}

/* Checkout Note */
img.icon-account {
    width: 28px;
    opacity: 0.5;
}

.details-header {
    display: flex;
    flex-direction: column;
    font-family: OpenSans-Regular, sans-serif;
}

    .details-header .restaurant {
    }

.account.username {
    display: flex;
    align-items: center;
}

.details-header .account .username {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    padding: 0px 10px 0;
}

.details-header .account .account.username .box.username {
    display: flex;
    flex-direction: column;
    border: none;
}

.account-username {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.box.username {
    display: flex;
    flex-direction: column;
}

    .box.username .headline {
        font-family: OpenSans-SemiBold;
        font-size: 0.9em;
        color: #666;
    }

    .box.username .title {
        font-family: OpenSans-Regular;
        font-size: 0.85em;
        color: #777;
    }

.details-header .restaurant span.headline {
    font-family: OpenSans-SemiBold;
    font-size: 1em;
}

.details-header .restaurant span.title {
    font-family: OpenSans-Regular;
    font-size: 0.85em;
}

.account.row .account.username span.box.username span.headline {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #555;
}

.account.row .account.username span.box.username span.title {
    font-family: OpenSans-Regular;
    color: #555;
    font-size: 0.8em;
}


.details-header .account.row {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    padding: 0 0 15px;
    margin: 0;
    border-top: thin solid #eee;
}

.details-header .account-row-login {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    border-top: thin solid #ccc;
}

.details-header .restaurant,
.details-header .account {
    display: flex;
    flex-direction: column;
}



.button-container {
    display: flex;
    gap: 5px;
    margin: 15px 10px 10px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border: thin solid #ccc;
    border-radius: 4px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 100px; /* Ensure buttons have a minimum width */
    height: 30px; /* Set a fixed height for consistency */
}

    .btn-action:hover {
        background-color: #e0e0e0;
    }

.note-toggle {
    display: none;
}

.note-wrapper {
    overflow: hidden;
}

.note-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 15px;
    transform: translateY(-20px);
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
}

.note-toggle:checked + .note-wrapper .note-content {
    max-height: 500px; /* Adjust based on your content */
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in, transform 0.3s ease-in;
}

.text-note {
    width: 100%;
    margin: 10px auto;
    border: thin solid #ccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 0.9em;
    resize: vertical;
}

.char-count {
    font-family: Calibri;
    font-size: 0.8em;
    color: #999;
    text-align: right;
    margin-top: 5px;
}

.note-toggle:checked ~ .button-container label.btn-action {
    background-color: #e0e0e0;
}


/* replaced by details-header remove it at some point */


.restaurant-address {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

    .restaurant-address .name {
        font-family: OpenSans-SemiBold;
        font-size: 1.1em;
        color: #333;
    }

    .restaurant-address .address {
        font-family: OpenSans-Regular;
        font-size: 0.9em;
        color: #666;
    }


.column.search {
    width: 100%;
    margin: 50px auto;
    padding: 50px 0;
}

.row.search-order {
    width: 600px;
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    border: thin solid #ccc;
    padding: 5px 5px;
    border-radius: 25px;
}

.row.search-button {
    display: flex;
    gap: 5px;
}

.row.search-order-nav {
    width: 340px;
    margin: 15px auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

a.btn-menu-edit-new {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background-color: #fff !important;
}

button.button.search {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background-color: #fff !important;
}

    a.btn-menu-edit-new:hover, button.button.search:hover {
        background: #eee !important;
    }

.mobile {
}

span.checkout-name {
    font-size: 1em;
    font-family: OpenSans-SemiBold;
    color: #333;
}

.checkout-name-price {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

span.checkout-description {
    font-size: 1em;
    font-family: Calibri;
    color: #555;
}





.checkout-total {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.checkout-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    font-family: Calibri;
    color: #666;
    background-color: #eee;
    padding: 2px 10px;
}


label.quantity-label {
    font-family: Calibri;
}

span.select-option {
    width: fit-content;
    display: flex;
    justify-content: center;
    background-color: transparent;
    margin-right: 2px;
}



    span.select-option.order-history, span.select-option.menu-edit {
        display: flex;
        justify-content: center;
        background-color: transparent;
        margin-right: 2px;
        border: none;
        cursor: pointer;
        padding: 0;
    }

select.select.order-history {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #777;
    cursor: pointer;
    margin-right: 15px;
}

select.select.menu-edit {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #777;
    cursor: pointer;
    margin-right: 10px;
}

.checkout-subtotal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
}

.checkout-button-end {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    gap: 5px;
    padding: 10px;
}



/* OrderCart Page */

.table-form {
    width: 100%;
    margin: 50px auto;
    padding: 10px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    font-family: OpenSans-Regular;
    margin-bottom: 20px;
    font-size: 0.85em;
}


    .order-table th,
    .order-table td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .order-table th {
        background-color: #f2f2f2;
        font-weight: bold;
        color: #333;
        font-size: 0.8em;
        text-transform: uppercase;
    }

    .order-table tr {
        line-height: 1.6;
    }

        .order-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .order-table tr:hover {
            background-color: #e9e9e9;
        }

    .order-table a {
        color: #007bff;
        text-decoration: none;
    }

        .order-table a:hover {
            text-decoration: underline;
        }

/* Menu Page */





.text-danger {
    color: #dc3545;
}

.image-preview {
    margin-top: 20px;
    text-align: center;
}

    .image-preview img {
        max-width: 200px;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

.btn-primary {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }


/* Order Success pop-up 
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    
}
/*
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: thin solid #ccc;
    width: 80%;
    max-width: 500px;
    text-align: center;
}
*/
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.btn-add.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: white;
    margin-top: 10px;
}
/* Pop Up */

a.username, a.guest {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    font-family: OpenSans-SemiBold;
    text-decoration: none;
    color: #444 !important;
    width: fit-content;
    margin-right: 70px
}


/*
.username-text {
    margin-left: 8px;
    background: blue;
}

/* Reset default browser styles */


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0 20px;
}


.login-form h1 {
    padding-bottom: 15px;
}

.login-form h4 {
    background: none;
    color: #444;
    font-family: OpenSans-SemiBold;
}

.remember-me {
    margin-bottom: 15px;
    border: none;
}

label.remember-me {
    display: flex;
    float: left;
    align-items: center;
}

.checkbox {
    display: flex;
    align-items: center;
}

input.checkbox[type="checkbox"] {
    width: fit-content;
    margin-right: 7px;
}

.links {
    margin: 15px 0;
    text-align: center;
    line-height: 1.6;
}

    .links a {
        text-decoration: none;
        color: #007bff;
        margin: 0 10px;
        font-size: 0.9em;
    }

.btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }



/* Header Styles */


.brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

    .brand .thin {
        font-weight: normal;
    }

.nav-actions {
    display: flex;
    align-items: center;
}

/* User Menu Styles */
.username-wrapper {
    position: relative;
}


.icon-user {
    width: 20px;
    height: 20px;
    margin-right: 0.25rem;
}

/* Popup Styles */
/* Popup Styles */
.popup, .modal-schedule {
    z-index: 9999;
}

.popup {
    position: absolute;
    top: 100%;
    right: 10px;
    background-color: #fff;
    border-radius: 10px;
    border: thin solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 260px;
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

    .popup.show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

/* Rest of your existing styles remain the same */
.popup-content {
    padding: 0.75rem;
}

.popup-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.icon-member {
    width: 32px;
    height: 32px;
    margin-bottom: 0.25rem;
}

.popup-header p {
    margin: 0 auto;
    font-size: 0.8em;
    line-height: 1.7;
}

.popup-username {
    font-size: 0.9em;
    color: #444;
}

button.install-app {
    width: 100%;
    background: #333 !important;
    color: #eee;
    text-decoration: none;
    padding: 7px 15px;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    font-size: 0.85rem;
    border-radius: 12px;
    cursor: pointer;
}

.popup-nav {
    display: flex;
    flex-direction: column;
}

    .popup-nav a {
        color: #333;
        text-decoration: none;
        padding: 0.4rem 0.5rem;
        text-align: center;
        font-size: 1.1rem;
        font-family: Calibri;

    }

        .popup-nav a:hover {
            background-color: #eee;
        }

.popup-footer {
    padding: 0.75rem;
    border-top: 1px solid #eee;
}

.btn-logout {
    width: 100%;
    padding: 0.4rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

    .btn-logout:hover {
        background-color: #0056b3;
    }

/* Modal for Restaurant 

.modal {
    display: none;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 40px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 10px 20px;
    border: 1px solid #888;
    border-radius: 10px;
    line-height: 1.7;
    min-width: 350px;
    width: 749px!important;
}

.close-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: OpenSans-Regular, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .close-btn:hover {
        background-color: #e0e0e0;
    }

.modal-actions {
    margin-top: 20px;
    text-align: right;
}

.modal-actions {
    display: flex;
    margin-top: 40px;
    text-align: right;
}



.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 4px;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 0.85em;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--btn-text);
}

.btn-primary {
    background-color: var(--btn-primary);
}

.btn-secondary {
    background-color: var(--btn-secondary);
}

.btn-accent {
    background-color: var(--btn-accent);
}

.btn-danger {
    background-color: var(--btn-danger);
}

.btn:hover {
    filter: brightness(85%);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Schedule */
/* Date Select Styling 
select.form-control.date-select, select.form-control.time-select {
    width: max-content;
    padding: 10px;
    margin: 5px 0 15px;
    border-radius: 7px;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    color: #444;
    background-color: #fff;
    cursor: pointer;
}

    .date-select:focus {
        outline: none;
        border-color: #666;
    }

    .date-select option {
        padding: 10px;
        font-family: OpenSans-Regular;
    }

        /* Highlight today and tomorrow options */
.date-select option:first-child,
.date-select option:nth-child(2) {
    font-family: OpenSans-SemiBold;
    color: #333;
}

.scheduling-section {
    margin-top: 15px;
    padding: 10px 5px;
    display: flex;
    flex-flow: row wrap;
    gap: 5px;
}

    .scheduling-section .form-group.select-schedule {
        padding: 0 10px;
    }

.control-label.schedule {
    background: #eee;
}

.modal-schedule {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    overflow-y: auto;
    z-index: 1000;
}

.highlight {
    background-color: #eee; /* Yellow background */
    font-weight: bold;
}

table.schedule {
    width: 80%;
    margin: 15px auto;
    text-align: center;
    color: #555;
    line-height: 1.3;
    font-family: Calibri;
    font-size: 1em;
    padding: 15px;
}

.modal-schedule-content {
    position: relative;
    background-color: #fff;
    color: #333;
    padding: 30px 10px 80px 30px;
    width: 90%;
    max-width: 350px;
    margin: 10% auto;
    font-size: 1em;
    font-family: Calibri, sans-serif;
    line-height: 1.4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

span.restaurant {
    font-family: OpenSans-SemiBold;
    font-size: 1em;
}

.modal-schedule-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
}



.modal-schedule-content hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.schedule {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

    .schedule td {
        padding: 7px;
        border-bottom: 1px solid #e0e0e0;
    }


    .schedule .current-day {
        font-weight: bold;
        background-color: #f0f0f0;
    }


.close-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 5px 12px;
    background-color: #666;
    color: #eee;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

    .close-button:hover {
        background-color: #333;
    }
/**/

button.status-open {
    padding: 4px 10px 4px 10px;
    background: #fff !important;
    color: #333;
    border-radius: 12px;
    font-family: Calibri;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px;
}

button.status-closed {
    padding: 4px 10px 4px 10px;
    background: #fff !important;
    color: #333;
    border: thin solid salmon !important;
    border-radius: 12px;
    font-family: Calibri;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: none;
}

.current-day {
    color: red;
    font-weight: bold;
}

img.icon-button {
    width: 17px;
    opacity: 0.5;
    margin: 0 7px
}

img.icon-element {
    width: 36px;
    height: auto;
    opacity: 0.6;
}
/* Business Hours */

.business-hours {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    align-items: center;
    border: thin solid #ccc;
    border-radius: 7px;
    padding: 0 15px;
    margin-bottom: 5px;
    height: 70px;
}

.day {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #444;
}

.hours-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }

.switch input:checked + .slider {
    background-color: #2196F3;
}

.switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.switch input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 24px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.switch-label {
    font-size: 12px;
    margin-left: 5px;
}


.time-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.closed-day {
    color: #999;
    background-color: #f0f0f0;
}

/* Optionally, you can style the disabled options for browsers that don't gray them out automatically */
#deliveryDate option:disabled {
    color: #eee;
    background-color: #fff;
}

#deliveryDate {
    background-color: #fff;
}

.switch input:checked ~ .time-inputs,
.hours-control:has(.switch input:checked) .time-inputs {
    opacity: 1;
    max-height: 50px; /* Adjust this value based on your actual content height */
}

.time-inputs input[type="time"] {
    width: 140px;
    border: none;
    background: #eee;
    padding: 4px 10px;
    border-radius: 7px;
    color: #555;
    font-size: 0.9em;
    font-family: OpenSans-Regular;
}

.time-separator {
    font-size: 14px;
}


/* Duration */
.duration-input {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-bottom: 10px;
}

    .duration-input input[type="range"] {
        flex-grow: 1;
        margin-right: 10px;
    }

/* Order History */


input.form-control.search {
    width: 100%;
    margin-right: 7px;
    padding: 2px 15px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

span.search-order-date {
    display: flex;
    align-content: center;
    padding: 4px 10px;
    border: thin solid #ccc;
    border-radius: 15px;
    background-color: transparent;
}

    span.search-order-date:hover {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
        transition: 0.5s ease;
    }

span.to {
    font-family: OpenSans-SemiBold;
    font-size: 0.8em;
    padding: 4px 8px;
    color: #fff;
    background: #777;
    border-radius: 50px;
}

input.form-control.date-input {
    width: 140px;
    height: 35px;
    outline: none;
    border-radius: 17px;
    border: thin solid #ccc;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

.date-input {
    transition: color 0.5s ease;
}

    .date-input:hover, .date-input:focus {
        background-color: #f0f0f0;
    }


.card.order-history {
    width: 275px;
    height: auto;
    padding-bottom: 200px;
    position: relative;
    overflow: hidden;
    line-height: 1.6;
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    background: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

    .card.order-history:hover {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

.order-body {
    height: 330px;
}


.order-footer {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    transition: 0.5s ease-out;
}

.order-footer-button {
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    background-color: #fff;
    padding: 5px;
    border-top: thin solid #eee;
}

.card.order-history:hover .order-footer {
    bottom: 0px;
    transition: 0.5s ease-out;
    box-shadow: none;
}

/*
.card-order-history:hover .order-footer {
    opacity: 1;
    pointer-events: auto;
}
*/
a.order-action {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}





.order-header {
    padding: 7px 12px;
    display: flex;
    justify-content: space-between;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
}

.order-tag {
    display: flex;
    justify-content: space-between;
}

span.order-status {
    padding: 7px;
}

span.order-id {
    font-family: 'GeoSlab703 Md BT';
    color: #eee;
    font-size: 1.5em;
    text-align: center;
    width: 58px;
    word-break: break-all;
    padding: 4px;
    line-height: 1;
    background: #444;
    margin: 3px;
    border: thin solid #999;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.order-item {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
}


span.label {
    text-transform: lowercase;
    font-family: Calibri;
    font-size: 0.8em;
    color: #888;
}

span.value {
    font-size: 0.9em;
    color: #555;
}

    span.value.bold {
        font-size: 1em;
    }

.error-container {
    background-color: #ffebee;
    border: 1px solid #f44336;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
}

.error-message {
    color: #f44336;
    margin: 5px 0;
}

/* Delete Order Page */


.customer-info.detail {
    border: thin solid #ccc;
    border-radius: 7px;
}

.order-summary {
    margin: 10px auto;
    width: 100%;
    padding: 5px 0px;
}

.customer-info {
    padding: 5px 10px;
    margin: 10px 0;
}


.order-summary.header {
    margin: 0 0 10px 0;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.order-info, .order-summary, .order-items {
    line-height: 1.9;
    padding: 0 7px
}

.info-grid {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    border-bottom: thin solid #ccc;
}

    .info-grid.additional {
        border: none;
    }

    .info-grid.item {
        border-bottom: none;
    }

    .info-grid.customer {
        border: none;
    }

    .info-grid.total {
        flex: 1;
        margin: 10px 3px;
        padding: 5px 10px 7px;
        border: none;
        border-radius: 7px;
        background: #f1f1f1;
    }

.info-grid-total {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: none;
}

.info-grid.additional {
    padding: 0;
    padding-bottom: 10px;
}

.right {
    float: right;
    text-align: right;
}

.info-content, span.info-item {
    font-family: OpenSans-Regular;
    font-size: 1em;
    color: #333;
}

    .info-content.delete-warning {
        font-family: Calibri;
        font-size: 0.85em;
        padding: 5px;
        color: #777;
        border-top: thin solid #ccc;
        border-bottom: thin solid #ccc;
        display: flex;
        gap: 5px;
    }

.note {
    color: #777;
}

.font-larger {
    font-size: 1em;
}

.font-bold {
    font-family: OpenSans-SemiBold;
}

span.info-item {
    font-family: OpenSans-SemiBold;
}

.info-ordered {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


span.extra, span.condition {
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    color: #333;
}

.action-buttons {
    margin: 20px auto;
    float: right;
}


/* Condition Page */
.card.condition-page {
    padding: 10px 15px;
    margin: 0px 0 5px;
    border: thin solid #eee;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

    .card.condition-page:hover {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

.card.header {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: start;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    margin: 10px;
    gap: 7px;
}


.card.row {
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: start;
    gap: 7px;
    border-bottom: thin solid #ccc;
    padding: 10px 12px;
    color: #777;
}

.card.row-100 {
    width: 130px;
    display: flex;
    flex-flow: column;
    justify-content: start;
    gap: 7px;
    background: #eee;
    border-radius: 8px;
    padding: 7px 15px;
    color: #555;
}

.card.row.title {
    width: 100%;
    margin: 10px 5px 0px;
    padding: 0;
    border: none;
    box-shadow: none;
}

span.condition-info {
    font-family: OpenSans-SemiBold;
    text-transform: lowercase;
}

span.condition-name {
    font-family: OpenSans-SemiBold;
    text-transform: uppercase;
    font-size: 1em;
}

span.condition-restaurant {
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
}

.col.list-condition {
    width: 100%;
    display: flex;
    flex-flow: column;
    padding: 10px 20px;
    margin-bottom: 5px;
    border-top: thin solid #ccc;
}


.row-list-condition {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    font-family: OpenSans-Regular;
    font-size: 1em;
    color: #666;
    border-bottom: thin solid #eee;
    padding: 7px;
}

    .row-list-condition .contents {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 4px 20px 0 0;
    }

img.icon-trash {
    width: 20px;
    opacity: 0.6;
}

    img.icon-trash:hover {
        opacity: 1;
    }

a.btn-delete-condition {
    padding: 3px 4px 2px;
    border-radius: 7px;
    background-color: #fff;
}

    a.btn-delete-condition:hover {
        background-color: #eee;
    }

        a.btn-delete-condition:hover img.icon-trash {
            opacity: 1;
        }

span.list-condition.note {
    font-family: Calibri;
    font-size: 0.9em;
    color: #777;
    padding: 4px;
    line-height: 1.4;
}

    span.list-condition.note:before {
        display: block;
        content: 'note:';
        font-family: Calibri;
        font-size: 0.8em;
        padding: 2px 0;
        margin-right: 7px;
        color: #555;
    }
/* New Accordion Styles */
.accordion-btn {
    background-color: #666;
    color: #eee;
    cursor: pointer;
    padding: 7px 0;
    width: 30px;
    border: none;
    text-align: center;
    outline: none;
    font-family: OpenSans-SemiBold;
    font-size: 1em;
    transition: 0.3s;
    border-radius: 4px;
}

    .accordion-btn:hover {
        background-color: #222;
    }



.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: white;
}

/* Menu Edit Page */

.column.menu-edit-page {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 5px;
    padding: 10px;
}

.menu-edit-position {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 100%;
}


.card.menu-edit {
    position: relative;
    width: 250px;
    min-height: 300px; /* Adjust this value as needed */
    border: thin solid #eee;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    padding-bottom: 50px;
}

a.a-menu-button {
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    color: #555;
    width: 100%;
    text-align: center;
    padding: 10px;
}

    a.a-menu-button:hover {
        background: #555;
        color: #eee;
    }

.card.menu-edit:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    transition: .5s ease-in-out;
}

.img-menu-edit {
    width: 100%;
    height: 150px; /* Adjust as needed */
    object-fit: cover;
}

    .img-menu-edit:not([src]),
    .img-menu-edit[src=""],
    .img-menu-edit[src="/images/menus/"] {
        height: 20px; /* Reduced height for missing images */
        background-color: #f0f0f0; /* Light grey background */
    }

.menu-edit.content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: max-content;
    line-height: 1.5;
}

    .menu-edit.content.row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 4px;
    }

    .menu-edit.content .name {
        font-family: OpenSans-SemiBold;
        font-size: 0.85em;
        color: #333;
        padding: 4px 0;
    }

    .menu-edit.content .description {
        font-size: 0.85em;
        text-align: justify;
        line-height: 1.5;
        padding: 4px 0;
    }

    .menu-edit.content .price {
        font-family: OpenSans-SemiBold;
        font-size: 0.85em;
        color: #555;
        padding: 4px 0;
    }

        .menu-edit.content .price:before {
            display: block;
            content: 'price:';
            font-size: 0.85em;
            font-family: Calibri;
            font-weight: 300;
            color: #888;
        }

    .menu-edit.content .menu-status, .menu-tax, .menu-category {
        font-family: OpenSans-Regular;
        font-size: 0.8em;
        color: #555;
        padding: 4px 0;
    }

    .menu-edit.content .menu-tax:before {
        display: block;
        content: 'tax:';
        font-family: Calibri;
        font-size: 0.85em;
        color: #888;
    }

    .menu-edit.content .menu-category:before {
        display: block;
        content: 'category:';
        font-family: Calibri;
        font-size: 0.85em;
        color: #888;
    }

    .menu-edit.content .menu-status:before {
        display: block;
        content: 'status:';
        font-family: Calibri;
        font-size: 0.8em;
        color: #888;
    }

    .menu-edit.content .restaurant {
        font-family: OpenSans-Regular;
        color: #555;
        font-size: 0.8em;
        padding: 4px 0;
    }

        .menu-edit.content .restaurant:before {
            display: block;
            content: 'owner:';
            font-family: Calibri;
            font-size: 0.85em;
            color: #888;
        }

    .menu-edit.content .image, .updated {
        font-family: OpenSans-Regular;
        font-size: 0.8em;
        color: #555;
        padding: 4px 0;
    }

        .menu-edit.content .image:before {
            display: block;
            content: 'image name:';
            font-family: Calibri;
            font-size: 0.85em;
            color: #888;
        }

    .menu-edit.content .updated:before {
        display: block;
        content: 'last updated:';
        font-family: Calibri;
        font-size: 0.85em;
        color: #888;
    }

/* Styles for the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
/*
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}
    */
#restaurantList {
    list-style-type: none;
    padding: 0;
}

    #restaurantList li {
        padding: 10px;
        cursor: pointer;
    }

        #restaurantList li:hover {
            background-color: #f0f0f0;
        }

/* Calculate Total */
#order-summary {
    display: flex;
    flex-flow: row nowrap;
    padding: 10px 2px;
    gap: 10px;
}

    #order-summary p {
        /* Styles for each line item */
    }

/* Menu Creation Index */
img[src="/images/menus/"],
img[src="/images/menus/" i],
img[src^="/images/menus/" i]:not([src$=".jpg" i]):not([src$=".jpeg" i]):not([src$=".png" i]):not([src$=".gif" i]) {
    display: none;
}



.card.menu-edit {
    display: flex;
    flex-direction: column;
}

.img-menu-edit {
    width: 100%;
    height: 150px; /* Adjust as needed */
    object-fit: cover;
}

img:not([src]),
img[src=""],
img[src="/images/menus/"] {
    height: 20px; /* Reduced height for missing images */
    background-color: #f0f0f0; /* Light grey background */
}

.img-menu-edit[src="/images/menus/"] span.name {
    background: salmon;
}

.menu-edit.content {
    padding: 10px;
}

span.name {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.menu-edit.content .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.menu-edit-position {
    margin-top: auto;
    padding: 10px;
}

.menu-edit-button {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.a-menu-button {
    padding: 5px 10px;
    background-color: #ccc;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}
/* Basket on Index */

#basketResponsive {
    display: none;
}

.basket-summary-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.basket-summary {
    background-color: transparent;
    text-align: center;
    max-width: 300px;
    width: 90%;
}

    .basket-summary h2 {
        margin-bottom: 10px;
        font-size: 1.2em;
    }

    .basket-summary p {
        margin-bottom: 15px;
    }

.btn-primary {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 20px;
    display: inline-block;
    font-size: 1em;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.pickup {
    left: 4px;
}

.delivery {
    right: 4px;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group.error input {
        border-color: red;
    }

#loadingSpinner {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

#orderConfirmationModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/*
.modal-content {
    background-color: #fefefe;
    margin: 55px auto;
    padding: 10px;
    border: 1px solid #888;
    width: 100%;
    max-width: 500px;
}
 Instruction Note at Checkout */
.note-input {
    display: none;
    margin-top: 10px;
}

    .note-input.active {
        display: block;
    }

/* Process Order */



.order-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.order-table-container {
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .order-table th,
    .order-table td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .order-table th {
        background-color: #f2f2f2;
        font-weight: bold;
        color: #333;
    }

    .order-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.clickable-row {
    display: flex;
    flex-direction: column;
    padding: 10px;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .clickable-row:hover {
        background-color: #e9e9e9;
    }

    .clickable-row.col {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

.order-summary {
    margin-top: 20px;
    font-size: 1em;
    color: #333;
}

.no-items {
    font-size: 1em;
    color: #666;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }


/* Shopping Cart */

/* Cart Counter */
.cart-counter {
    position: absolute;
    right: 32px;
    top: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 0.85em;
    color: #444;
    transition: opacity 0.2s ease;
}

.cart-icon {
    width: 22px;
    height: 22px;
    opacity: 0.5;
}

.item-count {
    position: absolute;
    top: 11px !important;
    right: -10px !important;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 6px 6px;
    font-size: 12px;
    display: none;
}

.has-items .item-count {
    display: block;
}

/* Checkout Bar */
.fixed-checkout-bar {
    width: 100%;
    margin: 0 auto;
    display: none;
    position: fixed;
    bottom: 40px;
    left: 0;
    background-color: transparent;
    z-index: 999;
    /* Hidden by default, shown via JS when has items */
}

.checkout-content {
    width: max-content;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.checkout-button {
    display: flex;
    justify-content: center;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 1em;
    background-color: #222;
    color: white;
    padding: 15px 40px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.checkout-button:hover {
    background-color: #0056b3;
}

/* Media Queries */

/* Cart Counter */
.cart-counter {
    position: absolute;
    right: 30px;
    top: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 0.85em;
    color: #444;
    transition: opacity 0.2s ease;
}

.cart-icon {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.item-count {
    position: absolute;
    top: -8px;
    right: -20px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    display: none;
}

.has-items .item-count {
    display: block;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px; /* Start off-screen */
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease-out;
    z-index: 1001;
}

    .cart-modal.active {
        right: 0;
    }


.cart-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cart-modal-header h3 {
        margin: 0;
        font-size: 1.2em;
    }

.close-modal {
    background-color: transparent !important;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    padding: 0;
    color: #888;
}

    .close-modal:hover {
        background-color: transparent !important;
        color: #333;
    }


.cart-item-name {
    flex: 1;
    padding-right: 15px;
}

a.cart-item {
    display: flex;
    flex-direction: column;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    font-family: OpenSans-SemiBold;
    font-size: 0.9em;
    color: #333;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item-quantity {
    padding-right: 12px;
}

.cart-item-conditions {
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    color: #777;
    margin-top: 4px;
}



.cart-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.cart-empty {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* Previous CSS remains the same, add/modify these styles */

.cart-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-modal-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 10px 100px 10px; /* Increased bottom padding for total + checkout */
}

/* Modal Total and Checkout */
.cart-modal-total {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between total and button */
}

.modal-total {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
}

a.modal-checkout-button {
    width: 100%;
    max-width: 300px; /* Limit button width */
    padding: 15px;
    background: #222;
    color: white;
    border: none;
    border-radius: 20px;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.modal-checkout-button:hover {
    background: #0056b3;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

    .modal-overlay.active {
        display: block;
    }




.fixed-checkout-bar {
    position: fixed;
    bottom: 40px;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 999;
}

.checkout-content {
    max-width: 1200px;
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-button {
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 1em;
    background-color: #222;
    color: white;
    padding: 15px 40px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}

    .checkout-button:hover {
        background-color: #0056b3;
    }





.order-container {
    min-width: 350px;
    max-width: 749px;
    width: 100%;
}


/* Grid Layout 

.order-grid {
    display: flex;
    flex-direction: column;
   
}

.clickable-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
    gap: var(--spacing-sm);
}

    .clickable-row:hover {
        background-color: var(--background-light);
    }

    .clickable-row > div {
        padding: var(--spacing-sm);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Order Summary Styles */
.order-summary {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-lg);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

    .summary-item.total {
        border-top: 2px solid var(--border-color);
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
        font-family: var(--font-bold);
        font-size: clamp(1rem, 1.5vw, 1.2rem);
    }

/* Empty State */
.no-items {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--secondary-color);
}

/* Action Button */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--font-bold);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    transition: background-color 0.2s ease;
}

    .btn-primary:hover {
        background-color: #000;
    }

/* Add these styles to your existing CSS */
.restaurant-section {
    background: #fff;
    overflow: hidden;
}

    .restaurant-section h3 {
        padding: 15px;
        margin: 0;
        background-color: #eee;
        font-family: OpenSans-Regular;
        font-size: 1.1em;
        font-weight: 200;
    }

.order-date {
    display: block;
    padding: 10px;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.product-name {
    font-size: 1em;
}

.order-condition {
    font-size: 0.85em;
    color: #666;
}


/* Submit Order Button Container */
.submit-order-container {
    width: 100%;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.submit-order {
    min-width: 200px;
    padding: 15px 30px;
    font-family: OpenSans-SemiBold, sans-serif;
    font-size: 1em;
    transition: background-color 0.3s;
}





/* After Submit button Modal PopUp 
.address-display {
    background: #f8f9fa;
    border-radius: 7px;
    margin-bottom: 20px;
}

.address-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: thin solid #ccc;
}

    .address-section:last-child {
        border-bottom: none;
    }

.address-title {
    margin-bottom: 10px;
}


#restaurantName, #deliveryCustomerName {
    font-family: Calibri;
    font-size: 1.2em;
    font-weight: 600;
    color: #444;
}

.address-content p {
    color: #555;
    font-family: Calibri;
    font-size: 1em;
}
.address-content {
    background: white;
    padding: 10px 0 20px;
    border-radius: 4px;
    border: thin solid #ccc;
}
.address-content a.update-profile {
    padding: 5px 14px;
    font-family: Calibri;
    background: #666;
    color: #fff;
    border-radius: 5px;
}

.no-address {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

    .no-address a {
        color: #007bff;
        text-decoration: none;
    }

        .no-address a:hover {
            text-decoration: underline;
        }

.address-details {
    font-family: OpenSans-Regular;
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
}

.address-line {
    margin: 0;
    line-height: 1.4;
}

.address-manage {
    text-align: center;
    padding-top: 10px;
}

.btn-manage-address {
    display: inline-block;
    padding: 8px 16px;
    background: #666;
    color: white;
    border-radius: 4px;
    font-family: OpenSans-Regular;
    font-size: 0.85em;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .btn-manage-address:hover {
        background: #333;
        color: white;
        text-decoration: none;
    }
.error {
    border-color: #dc3545 !important;
}

.form-group input.error,
.form-group select.error {
    background-color: #fff8f8;
}







/* Alert Base Style */
.alert {
    position: fixed;
    top: 100px; /* Below header */
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 200px;
    max-width: 90%;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    text-align: center;
    z-index: 9999;
    animation: fadeInOut 3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

/* Success and Error variations */
.alert-success {
    color: #16a34a;
    border-left: 3px solid #16a34a;
}

.alert-error {
    color: #dc2626;
    border-left: 3px solid #dc2626;
}

/* Edit / Create Menu Condition */
.menu-edit.checkbox label {
    padding: 0 8px;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    color: #444;
}

.menu-edit.checkbox {
    padding-bottom: 5px;
}

.category-group {
    margin-bottom: 0.5rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: OpenSans-Regular;
    font-size: 0.9em;
    font-weight: 400;
    color: #444;
}

.toggle-details {
    padding: 0;
    color: #666;
    border: none;
    background: none;
}

.category-details {
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 2px solid #ccc;
}

.condition-item {
    padding: 0.25rem 0;
    font-size: 0.85em;
}

.price {
    color: #444;
    margin-left: 0.5rem;
}
/**/

.condition-item {
    padding: 0.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.condition-price {
    color: #666;
    font-size: 0.9em;
}

.chevron {
    transition: transform 0.2s;
    margin-left: auto;
    font-size: 0.8em;
}

    .chevron.rotated {
        transform: rotate(180deg);
    }

.price {
    font-size: 0.9em;
    color: #666;
    margin-left: 5px;
}

button.btn.toggle-details {
    padding: 0 5px;
    color: #666;
    border: none;
    background-color: #fff !important;
}


/* ERROR SERVER */
.error-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f8f9fa;
}

.error-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.error-title {
    font-size: 2rem;
    color: #343a40;
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-message {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-hint {
    font-size: 0.9rem;
    color: #868e96;
    margin-top: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0d6efd;
    color: white;
}

    .btn-primary:hover {
        background: #0b5ed7;
    }

.btn-secondary {
    background: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background: #5c636a;
    }

.error-details {
    color: #adb5bd;
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* Process Order */
.order-row {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.clickable-area {
    flex-grow: 1;
    width: 100%;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .clickable-area:hover {
        background-color: #f5f5f5;
    }

.order-controls {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: 1rem;
    min-width: fit-content;
}






.delete-btn {
    background-color: transparent !important;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

    .delete-btn:hover {
        background-color: transparent !important;
    }

.order-unitprice {
    min-width: 80px;
    text-align: right;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.order-condition {
    color: #666;
    font-family: OpenSans-Regular;
    font-size: 0.85em;
    padding: 2px 10px;
}


/* Modal for all */


/**/

@media (max-width: 576px) {
    .error-container {
        padding: 1rem;
    }

    .error-content {
        padding: 2rem 1rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {

    .alert {
        font-size: 1em;
        padding: 10px 15px;
    }

    .order-container {
        width: 100%;
        padding: var(--spacing-sm);
    }

    .clickable-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .summary-item {
        font-size: 0.9rem;
    }

    .order-summary {
        padding: var(--spacing-md);
    }

    .restaurant-section {
        margin-bottom: var(--spacing-md);
    }

        .restaurant-section h3 {
            font-size: 1.2rem;
        }

    .order-date {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .order-container {
        margin: var(--spacing-md) auto;
    }

    .clickable-row {
        grid-template-columns: 1fr;
        text-align: left;
        padding: var(--spacing-sm);
    }

        .clickable-row > div {
            padding: calc(var(--spacing-sm) / 2);
        }

    .order-summary {
        padding: var(--spacing-md);
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: var(--spacing-md);
    }

    .restaurant-section {
        margin-bottom: var(--spacing-sm);
    }


    .date-select {
        font-size: 0.85em;
        padding: 8px;
    }
}

/* Print Styles */
@media print {
    .btn-primary {
        display: none;
    }

    .order-container {
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .clickable-row {
        break-inside: avoid;
    }
}



/* Below is the current */
@media (max-width: 449px) {


    .checkout-content {
    }

    .schedule-status {
        font-size: 12px; /* Further reduce font size for very small screens */
    }

    .modal-schedule {
        margin: 55px auto;
    }

    .card.menu-edit {
        width: 100%;
    }

    .card.condition {
        width: 100%;
        padding: 5px;
        margin: 0;
        box-shadow: none;
        border: none;
        border-bottom: thin solid #ccc;
    }

    .card.order-history {
        width: 100%;
        margin: 0 auto;
        border-radius: 0;
        border-bottom: thin solid #eee;
        box-shadow: none;
    }

    .column.order-history {
        width: 100%;
        gap: 0;
        margin: 0 auto;
        padding: 0;
        box-shadow: none;
    }

    .column.search {
        width: 100%;
        padding: 30px 7px 0;
    }

    .order-footer-button {
        background: #555;
    }

    .order-summary.header {
        background: #eee;
    }

    /* Process Order */
    .order-title {
        font-size: 1.3em;
    }

    .order-table th,
    .order-table td {
        padding: 6px;
        font-size: 0.8em;
    }

    .order-summary,
    .no-items {
        font-size: 0.8em;
    }

    .btn-primary {
        font-size: 0.8em;
        padding: 6px 12px;
    }
}

@media (max-width: 600px) {




    #cartCounter {
        display: none;
    }

    .fixed-checkout-bar {
        display: block;
    }

    a.checkout-button {
        display: flex;
        justify-content: center;
    }

    /* Order History, Details/Receipt, Delete */
    .column.details, .column.delete {
        width: 100%;
        margin: 60px auto;
        box-shadow: none;
        padding: 15px;
        background: salmon;
    }

    .column.checkout, .address-container {
        width: 100%;
    }






    .row.search-order {
        width: 100%;
    }



    /* Order Page */
    section.columns.order {
        min-width: 350px;
        width: 100%;
        margin: 50px auto;
        box-shadow: none;
    }


    img.image-order {
        width: 100%;
        height: 300px !important;
    }

    .row-order {
        width: 100%;
    }

    .column.submit {
        bottom: 0;
        width: 70%;
        margin: 0 auto;
    }

    .form-row {
        gap: 0px;
    }


    /* Business Hours Slider */
    .business-hours {
        height: max-content;
        padding: 15px;
        grid-template-columns: 1fr;
    }

    .hours-control {
        flex-direction: column;
        align-items: flex-start;
    }

    .time-inputs {
        width: 100%;
        justify-content: space-between;
    }

        .time-inputs input[type="time"] {
            width: calc(50% - 15px);
        }
    /* End */

    iframe.map {
        padding-bottom: 30px;
        margin: 0;
    }









    .row.restaurant {
        width: 100%;
    }

    select.restaurant {
        text-align: center;
    }



    .login-form {
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding: 0;
    }

    p, a, select, span, label, span.customized, span.subtotal {
        font-size: 0.8em;
    }



        span.checkout-description {
            font-size: 0.75em;
        }

        span.checkout-name {
            font-size: 0.85em;
        }

    .popup-body {
        display: flex;
    }






    a.brand {
        font-size: 0.9em !important;
        width: 120px;
    }

    .col-md-4 {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-shadow: none;
    }


    a.username, a.guest {
        font-size: 1em;
        margin-right: 5px;
    }

    span.thin {
        font-size: 0.95em;
    }

    button.logout {
        font-size: 0.85em;
    }


    /* Checkout Page */

    section.columns.checkout {
        width: 100%;
        box-shadow: none;
    }


    .column-checkout {
        width: 100%;
        margin: 0 auto;
        border: none;
        border-bottom: thin solid #ccc;
    }

    .mobile {
        display: inline-flex;
        flex-flow: row;
        justify-content: space-between;
        background: #eee;
    }

    .column-checkout {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Index */
    .sort-buttons {
        justify-content: center;
        gap: 30px;
        font-size: 0.9em;
        background: salmon;
    }

    .restaurant-selector {
        width: 100%;
        margin: 0 7px;
    }



    .column {
        width: 100%;
        padding: 0 2px;
        margin: 0 auto;
    }



    .column-cart {
        flex: 1;
    }






    .restaurant-card {
        width: 100%;
    }

    img.image-order {
        width: 100%;
        height: 100%;
    }

    #profile-form, #email-form, #change-password-form {
        width: 100%;
    }

    .manage-form {
    }

    .container-profile {
        box-shadow: none;
    }
}


@media screen and (max-width: 768px) {

    .modal-checkout-button {
        max-width: 100%; /* Full width on mobile */
    }

    .cart-modal {
        width: 100%;
        right: -100%;
    }

    .checkout-content {
        width: 90%;
    }

    .checkout-button {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }


    .checkout-content {
    }

    .checkout-button {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }



    .column-account, .column-basket {
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .row-checkout {
        width: 100%;
    }

    .column-account, .column-basket {
        width: 100%;
    }

    section.columns, .column {
        width: 100%;
    }

    .schedule-delivery {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .address-container {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .schedule-status {
        font-size: 14px; /* Adjust as needed */
        line-height: 1.4;
        padding: 0 10px;
    }

    .address-primary {
        font-size: 1.1em;
    }

    .address-secondary, .address-detail {
        font-size: 0.9em;
    }

    /* Process Order */


    .order-container {
        padding: 10px;
    }

    .order-title {
        font-size: 1.5em;
    }

    .order-table th,
    .order-table td {
        padding: 8px;
        font-size: 0.9em;
    }

    .order-summary,
    .no-items {
        font-size: 0.9em;
    }

    .btn-primary {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}
