:root {
	--location-info-background: #e5e5e7;
    --header-height: 70px;
    --larger-header-height: 90px;
    --radius: 14px;
    --border:#1f2937;
    --text:#0f172a;
    --open:#2e7d32;     /* green */
    --closed:#c62828;   /* red   */
    --backdrop: rgba(15,23,42,.55);
    --prevnext-image-size: 60px;
    --currentextras-custom-delete-size: 25px;
    --a4d-color: rgb(255, 118, 12);
    --close-now-dot-size: 20px;
}

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Lucida Sans Unicode';
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

.body_image {
    background-image: url("../IMAGES/spaghetti.jpg");
}

body.smart-login-page {
    overflow: auto;
    background: #f4f4f4;
}

body.smart-login-page::before {
    content: "";
    position: fixed;
    inset: -10px;
    z-index: 0;
    background: url("../IMAGES/spaghetti.jpg") center / cover no-repeat;
    filter: blur(2px);
    transform: scale(1.03);
}

body.smart-login-page .main_container {
    position: relative;
    z-index: 1;
    flex: none;
    min-height: 100dvh;
    overflow: auto;
}

body.smart-login-page #index_body {
    display: flex;
    width: 100%;
    min-height: 100dvh;
}

.smart-login-page-content {
    display: flex;
    width: 100%;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    box-sizing: border-box;
}

.smart-login-container {
    width: min(100%, 520px);
    padding: 34px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.smart-login-logo {
    display: block;
    width: 180px;
    height: 104px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.smart-login-input-container {
    width: 100%;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.smart-login-input-container label {
    display: block;
    margin-bottom: 6px;
    font-size: 21px;
    font-weight: 600;
}

.smart-login-input-container > input,
.smart-login-password-field,
.smart-login-password-field input {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.smart-login-input-container > input,
.smart-login-password-field input {
    min-height: 54px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #777777;
    border-radius: 4px;
    font: inherit;
    font-size: 21px;
    line-height: 1.25;
}

.smart-login-password-field {
    position: relative;
}

.smart-login-password-field input {
    padding-right: 58px;
}

.smart-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #222222;
    cursor: pointer;
    transform: translateY(-50%);
}

.smart-login-password-toggle:hover,
.smart-login-password-toggle:focus-visible {
    background: #e8e8e8;
}

.smart-login-password-toggle svg {
    display: block;
    width: 100%;
    height: 100%;
}

.smart-login-stay-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 20px;
    font-size: 19px;
}

.smart-login-stay-container input {
    width: 22px;
    height: 22px;
    margin: 0;
}

.smart-login-button {
    display: block;
    width: min(100%, 250px);
    min-height: 54px;
    margin: 0 auto;
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: rgb(255, 118, 12);
    color: #111111;
    font: inherit;
    font-size: 21px;
    font-weight: 700;
    cursor: pointer;
}

.smart-login-button:hover,
.smart-login-button:focus-visible {
    background: rgb(255, 118, 12);
}

.smart-login-error {
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0 0;
    padding: 12px;
    border: 1px solid #d74747;
    border-radius: 4px;
    background: #fff0f0;
    color: #8b0000;
    text-align: center;
    font-size: 16px;
    line-height: 1.35;
}

@media only screen and (max-width: 520px) {
    .smart-login-page-content {
        align-items: flex-start;
        padding: 20px 12px;
    }

    .smart-login-container {
        padding: 20px;
    }
}

/* Must come after the legacy login selectors so both fields remain identical. */
body.smart-login-page .smart-login-input-container > input,
body.smart-login-page .smart-login-password-field input {
    width: 100%;
    min-height: 54px;
    margin: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 21px;
    line-height: 1.25;
}

body.pos-global-admin .top_header {
    background-color: var(--a4d-color) !important;
}

.pos-admin-location-container h1 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 28px;
}

.pos-admin-location-intro {
    margin: 0 0 22px;
    color: #333333;
    text-align: center;
    line-height: 1.45;
}

.pos-admin-location-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 21px;
    font-weight: 600;
}

.pos-admin-location-form select {
    display: block;
    width: 100%;
    min-height: 54px;
    margin: 0 0 22px;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #777777;
    border-radius: 4px;
    background: #ffffff;
    font: inherit;
    font-size: 20px;
}

.pos-admin-location-cancel {
    display: block;
    margin-top: 20px;
    color: #333333;
    text-align: center;
}

.bottom_border_black {
    border-bottom: 1px solid black;
}.top_header {
    text-align: center;
    border-bottom: 2px solid black;
    box-sizing: border-box;
    flex-wrap: wrap;
}.justify_centre {
    justify-content: center;
}

.justify_right {
    justify-content: right;
}

.vertical-centre {
    align-items: center;
}.login_container {
  border-radius: 30px  80px;
  padding: 16px;
}

/* Full-width inputs */
input[type=password], .login_name, .input_type_number {
  margin: 8px 0px 0px 18px;
  display: inline-block;
  box-sizing: border-box;
  font-size: 22px;
  border: 1px solid;
}

input[type=password], .login_name {
  font-size: 24px;
}

input[type=password], .login_name, .input_type_number {
  width: 90%;
}

.mult_answers_amount {
  width: 45px;
  text-align: center;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.login_label  {
  font-size: 28px;
}

/* Set a style for all buttons */
button {
  border: none;
  font-size: 3vw;
}

.login_button {
  background-color: black;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 22px;
  text-align: center;
  margin-top: 10px;
}

.login_error {
  text-align: center;
  font-size: 16px;
}

.login_changes {
  text-align: center;
  font-size: 16px;
}

.login_stay {
  font-size: 22px;
}

.login_stay_checkbox {
  padding-right: 10px;
}

.login_stay_checkbox input {
  width: 24px;
  height: 24px;
}

.main-container,
.main_container {
    overflow-y: hidden;
    flex: 1;
    display: flex;
    min-height: 0;
}

.main_container > #index_body {
    min-height: 0;
}

#index_body:has(> .location_content),
#index_body:has(> .subhdr-container + .sub-container) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* put after flexdiv */
.display-none {
    display: none;
}

.flex-grow {
    flex-grow: 1;
}

.display-block {
    display: block;
}

.black-border {
    border: 1px solid black;
}/*body {font-family: Arial, Helvetica, sans-serif;}*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

.modal td {
    padding: 0;
}.modal-header .flexdiv {
    display: flex;
    justify-content: space-between;
}

.error-info .are_you_sure {
    margin-top: 20px;
}

/* Modal Content */
.modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: auto;
}

.modal-content-confirmation, .modal-content-ok, .modal-content-pin, .modal-content-input {
    background-color: rgba(128, 128, 128, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.modal-content-confirmation-sub, .modal-content-ok-sub, .modal-content-pin-sub, .modal-content-input-sub {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
}

.modal-content-confirmation-sub .modal_header, .modal-content-confirmation-sub .close,
.modal-content-ok-sub .modal_header, .modal-content-ok-sub .close,
.modal-content-pin-sub .modal_header, .modal-content-pin-sub .close,
.modal-content-input-sub .modal_header, .modal-content-input-sub .close {
    font-size: 30px;
    line-height: 1.2;
}

.modal-content-confirmation-sub .modal_header, .modal-content-pin-sub .modal_header,
.modal-content-input-sub .modal_header {
    margin-right: 60px;
}

.modal-content-ok-sub .modal-header, .modal-content-pin-sub .modal_header {
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.modal-content-confirmation-sub .are_you_sure, .modal-content-ok-sub .are_you_sure,
.modal-content-pin-sub .are_you_sure {
    font-size: 26px;
    margin-bottom: 30px;
}

.modal-content-confirmation-sub button, .modal-content-ok-sub button,
.modal-content-pin-sub button, .modal-content-input-sub button {
    background-color: black;
    color: white;
    padding: 5px;
    font-size: 22px;
    border-radius: 20px;
    width: 100px;
}

.modal-content-confirmation-sub button.confirmation-submit-button {
    font-size: 14px;
    white-space: nowrap;
}

.modal-content-confirmation-sub .are_you_sure_button_no,
.modal-content-pin-sub .are_you_sure_button_no,
.modal-content-input-sub .are_you_sure_button_no {
    width: 100%;
}

.modal-input {
    font-size: 22px;
}

.error-info {
    z-index: 5;
}

/* The Close Button */
.close {
    appearance: none;
    background: none;
    border: none;
    color: inherit;
    float: right;
    font-size: 4vmax;
    font-weight: bold;
    margin-right: 3px;
    padding: 0;
}
.modal-body {
    padding: 5px 10px 10px 10px;
}h1.header-title {
    clear: both;
    margin: 0;
    font-weight: 600;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 24px;
}

.right_hdr_pad {
    justify-content: center;
    align-items: center;
}

.applied_discount_val {
    font-weight: 1000;
    margin: 5px;
    animation: discount_blinker 2s linear infinite;
    text-align: right;
    font-size: 20px;
    color: red;
    border: 1px solid black;
    border-radius: 5px;
    padding: 3px;
}

@keyframes discount_blinker {
    50% {
        opacity: 0;
    }
}

.modal-avail-offers {
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal-avail-offers .modal-content {
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    height: fit-content;
}

.aob-offer-list {
    padding: 5px;
    display: block;
    box-sizing: border-box;
    margin: 0 0 0 20%;
}

.aob-offer,
.aob-offer-loclist {
  display:flex;
  align-items:center;
  gap: 5px;
  background:#fff;
  border-radius:12px;
  padding: 4px 6px;
  box-sizing: border-box;
  max-width: 420px;
  justify-content: left;
}@media screen and (max-width: 450px) {
    .aob-offer-list {
        margin: 0 0 0 5%;
    }

    .aob-offer__badge-loclist {
        width: 40px;
        height: 25px;
        font-size: 9px;
    }

    .aob-offer__badge-percent-loclist {
        font-size: 13px;
    }

    .aob-offer__headline-loclist {
        font-size: 11px;
    }
}

.offers_dates {
    margin-left: 150px;
}.order_name_input, .order_phone_input, .order_email_input {
    text-align: center;
    width: 25%;
    margin-bottom: 10px;
}

.order_name_input input, .order_phone_input input, .order_email_input input {
    font-size: 20px;
    width: 90%;
    padding: 5px 2px;
}.order_transport_type {
    width: 100%;
    border-bottom: 2px solid black;
    margin-top: 15px;
    justify-content: space-between;
}

.order_transport_type label {
    font-size: 18px;
}

.order_transport_type_delivery {
    margin-bottom: 10px;
}

.order_transport_type_dinein {
    margin-bottom: 5px;
}


.order_transport_type_collection, .order_transport_type_delivery,
.order_transport_type_dinein {
    margin-right: 20px;
}

.order_transport_type_collection, .order_transport_type_delivery,
.order_transport_type_dinein {
    font-size: 18px;
    align-items: center;
}

.order_transport_type_collection input, .order_transport_type_delivery input,
.order_transport_type_dinein input {
    width: 26px;
    height: 26px;
    margin: 0 5px 0 0;
}

.order_info_personal {
    border-bottom: 2px solid black;
    flex-wrap: wrap;
    position: relative;
    padding: 10px 0;
    align-items: center;
}

.order_transport_delivery_details {
    padding-left: 30px;
    display: none;
    margin-top: 10px;
}

.order_postcode_input {
    display: flex;
}

.transport_type_container {
    display: flex;
}

.order-transport-disabled input, .order-transport-disabled div {
    color: rgba(0,0,0,0.7);
}

.fetch_order_results {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.7);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    box-sizing: border-box;
}

.fetch_order_results_dialog {
    width: min(1100px, 97vw);
    max-height: 95vh;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.fetch_order_results_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #e2e3e4;
    position: sticky;
    top: 0;
    z-index: 2;
    box-sizing: border-box;
}

.fetch_order_results_title {
    font-weight: 600;
    font-size: 18px;
    color: #0f172a;
    box-sizing: border-box;
}

.fetch_order_results_list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(95vh - 64px);
  overflow-y: auto;         /* scroll context */
  overflow-x: hidden;
  position: relative;       /* anchor sticky stacking */
  padding: 0;
  background: white;
  box-sizing: border-box;
}

/* Sticky header sits at very top of the scroll area */
.gridhead {
  position: sticky;
  top: 0;                   /* <— was 53px; make it 0 */
  z-index: 5;               /* above rows */
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr 1.4fr 1.2fr .8fr;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  background: #e2e3e4;
  box-sizing: border-box;
}

.gridhead .cell {
    text-align: center;
}

.gridrow {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr 1.4fr 1.2fr .8fr;
  gap: 12px;
  align-items: center;
  text-align: center;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 118, 12, 0.5);
  cursor: pointer;
  box-sizing: border-box;
}

.address_suggestions {
    position: fixed;
    z-index: 1000;
    width: 100%;
    background-color: white;
    box-sizing: border-box;
}

.fetch_address_results {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
}

.fetch_address_results_close_container {
    width: 100%;
    background-color: black;
    color: white;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.fetch_address_results_close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.fetch_address_results_list {
    overflow-y: scroll;
    display: block;
    font-size: 30px;
    height: -webkit-fill-available;
    box-sizing: border-box;
}

.fetch_address_results_common {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.fetch_address_match_container {
    box-sizing: border-box;
    width: 90%;
    max-width: 500px;
    margin: 10px auto;
    box-sizing: border-box;
}

.fetch_address_match {
    display: block;
    width: 100%;
    font: inherit;
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    color: black;
    padding: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    cursor: pointer;
}

.fetch_order_match {
    width: 100%;
    margin: 0px;
    padding: 10px;
}

.address_search_button {
    background-color: black;
    color: white;
    border-radius: 10px;
    text-align: center;
    padding: 5px;
    font-size: 22px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.order_address1_input input, .order_address2_input input, .order_postcode_input input {
    font-size: 22px;
    width: 90%;
    margin-bottom: 10px;
}

.order_postcode_input input {
    width: 60%;
}.order_now_button_container {
    width: 200px;
    margin: 10px 0 0 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bag-charge-at-checkout-button {
    font-size: 18px;
    background-color: black;
    color: white;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.order_now_button_container button{
    font-size: 24px;
    border-radius: 8px;
    padding: 10px;
}.are_you_sure, .are_you_sure_failed {
    font-size: 20px;
}

.orders_rejected_container {
    width: 100%;
    text-align: center;
}

.orders_rejected {
    font-size: 24px;
    background-color: rgb(212, 212, 212);
    color: black;
    border-radius: 5px;
    padding: 10px;
    width: 100px;
}.order_id_curr {
    text-align: center;
    font-size: 22px;
    margin: 0 10px 0 3px;
}

.order_name_curr {
    text-align: left;
    font-size: 22px;
}

.order_cost_curr {
    text-align: right;
    font-size: 22px;
    padding-right: 2px;
    color: blue;
}

.order_cost_curr_container {
    margin-left: auto;
}

.order_time_curr {
    font-size: 18px;
    margin-left: 5px;
}

.new_order_payment {
    width: 50%;
    text-align: center;
}

.new_order_payment img {
    max-width: 40px;
    max-height: 40px;
}

.order_reject, .order_accept {
    background: none;
    width: 25%;
}

.order_reject img, .order_accept img {
    max-width: 40px;
    max-height: 40px;
    width: 95%;
    height: 95%;
}

@keyframes order_id_background1 {
    from {background-color: white;}
    to {background-color: red;}
}.each_current_order {
    margin: 10px 4px;
    width: calc(100% - 8px);
    background-color: white;
    border: 1px solid black;
}

.each_current_order, .current_order_cancel_request {
    border-radius: 10px;
}

.each_order_title {
    align-items: center;
}

.current_order_refunded {
    text-align: center;
    font-size: 3vw;
    animation: current_order_refunded_blinker 1s linear infinite;
    width: 68%;
}

.current_order_paylink {
    text-align: center;
    font-size: 14px;
    color: white;
}

@keyframes current_order_refunded_blinker {
    0% {
        background-color: rgba(255, 0, 0, 1);
    }

    100% {
        background-color: rgba(255, 0, 0, 0);
    }
}

.current_order_object_notpaidlink {
    animation: current_order_notpaidlink_blinker 1s linear infinite;
    width: calc(100% - 12px);
    background-color: red;
}

@keyframes current_order_notpaidlink_blinker {
    0% {
        border: 3px solid black;
    }

    100% {
        border: 3px solid red;
    }
}.order_extras_qnt {
    width: 20%;
    font-size: 2vmax;
}

.order_extras_name {
    text-align: left;
    width: 40%;
    font-size: 2vmax;
}

.order_extras_amount {
    text-align: right;
    width: 30%;
    font-size: 2.3vmax;
}

.are_you_sure, .are_you_sure_failed {
    font-size: 20px;
}

.are_you_sure_button {
    width: 100%;
}

.are_you_sure_button_no {
    width: 50%;
}


.are_you_sure_button_no {
    text-align: right;
    padding-right: 20px;
}.are_you_sure_button button {
    font-size: 20px;
    margin-top: 20px;
}.custom_item_name input {
    width: 90%;
    font-size: 24px;
    margin-bottom: 20px;
}

.custom_item_cost input {
    width: 90%;
    font-size: 24px;
    margin-bottom: 20px;
}.custom_item_ok button {
    font-size: 26px;
    padding: 5px;
}.closed_message {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    text-align: center;
    background-image: url("../IMAGES/spaghetti.jpg");
    background-size: cover;
    background-position: center;
    padding-top: 10px;
    margin-top: -1vh;
    overflow: scroll;
}.reprint_order {
    width: 100%;
    background-color: transparent;
    text-align: right;
    position: relative;
}

.reprint_order img {
    max-height: 35px;
    max-width: 75px;
}

.current_order_reprint {
    height: 35px;
}

.current_order_reprint button {
    border-radius: 15px;
    width: 50px;
    margin: 0 5px 5px 20px;
}

.side_nav {
    font-size: 38px;
    cursor: pointer;
    width: 50px;
}

.header1 {
    text-align: left;
    flex-grow: 1;
}

.top_header_buttons {
    display: flex;
    justify-content: flex-end;
    padding-top: 5px;
    gap: 10px;
    margin-right: 20px;
}
/*------------------*/

.show_menu_inner {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.site_location_info {
    width: 90%;
    margin: 10px auto 20px auto;
    border-bottom: 2px solid black;
}.site_location_info_name {
    font-size: 24px;
}

.site_location_info_addr {
    font-size: 24px;
}.each_order_title_full_margin_right {
    width: 25%;
    display: block;
}.order_id_full {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
}

.order_item_id_full {
    font-size: 16px;
    width: 4%;
}

.order_qnt_full {
    font-size: 16px;
    width: 4%;
}

.order_name_full {
    font-size: 16px;
    width: 72%;
}

.order_cost_full {
    font-size: 16px;
    width: 20%;
}

.order_extras_blank {
    width: 7%;
}

.order_extras_qnt_full {
    width: 6%;
    font-size: 16px;
}

.order_extras_name_full {
    text-align: left;
    width: 67%;
    font-size: 16px;
}

.order_extras_amount_full {
    text-align: right;
    width: 20%;
    font-size: 16px;
}

.order_comments_full {
    font-size: 14px;
    border-bottom: 2px solid red;
    margin-top: 30px;
    word-break: break-all;
}.order_total_full, .order_mop_full, .order_date_full {
    font-size: 16px;
    margin-top: 10px;
}.order_state_reprint_full button {
    text-align: center;
    border-radius: 10px;
}

.order_change_state {
    margin: 5% 0 0 15%;
}.auto-accept-online-enable {
    width: 30px;
    height: 30px;
    margin: 0 4px 0 5px;
}

.auto-accept-online-label {
    font-size: 22px;
    margin: 0 5px;
}

.auto-accept-online-seconds {
    font-size: 22px;
    margin: 0 5px;
}

.auto-accept-online-period input {
    text-align: center;
    margin: 0px;
    width: 50px;
    height: 24px;
    font-size: 22px;
}

:root {
    --accent-orange: var(--a4d-color);
    --accent-orange-soft: rgba(255, 118, 12, 0.08);
    --text-main: #111111;
    --text-muted: #666666;
    --border-color: #e1e1e1;
    --bg-white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.12);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --transition-fast: 0.18s ease-out;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#cash_change_modal.modal,
#cash_change_modal_online.modal {
    background-color: rgba(0,0,0,0.8);
}

#cash_change_modal .modal-content,
#cash_change_modal_online .modal-content {
    background: var(--bg-white);
    color: var(--text-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 20px 20px 16px;
    border: none;
    font-family: var(--font-family);
    box-sizing: border-box;
    height: fit-content;
    width: 95%;
    margin: auto;
}

#cash_change_modal .modal-header,
#cash_change_modal_online .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    font-size: 26px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cash_change_modal .modal-header .close,
#cash_change_modal_online .modal-header .close {
    font-size: 48px;
    line-height: 0.7;
    cursor: pointer;
}

.cash-change-outer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cash-change-padding {
    flex-grow: 1;
}

.cash-change {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.cash-change-row,
.cash-change-given {
    justify-content: space-between;
    align-items: center;
}

.cash-change-labels {
    font-size: 36px;
    color: var(--text-muted);
}

.cash-change-values {
    font-size: 32px;
    font-weight: 500;
}

.cash-change-taken-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.cash-change-taken-title {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.cash-change-taken-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.cash-change-taken-button,
.cash-change-online-button {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    background: #fafafa;
    color: var(--text-main);
    font-size: 30px;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        color var(--transition-fast);
    text-align: center;
    width: 90px;
}

.cash-change-other-input {
    text-align: center;
}

.cash-change-taken-button:hover,
.cash-change-online-button:hover {
    background: #ffffff;
    border-color: #cfcfcf;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.cash-change-taken-button-selected {
    background: var(--accent-orange) !important;
    border-color: var(--accent-orange) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(255, 118, 12, 0.3);
}

.cash-change-given {
    padding: 10px 12px;
    margin-top: 4px;
    border-radius: 14px;
    background: var(--accent-orange-soft);
    border: 1px solid rgba(255, 118, 12, 0.3);
}

.cash-change-given-amount {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-orange);
}

.cash-change-accept-buttons {
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.cash-change-accept-buttons button {
    min-width: 90px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.cash-change-accept-buttons button:first-child {
    background: #f5f5f5;
    color: var(--text-main);
    border-color: var(--border-color);
}

.cash-change-accept-buttons button:first-child:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.cash-change-accept-buttons button:last-child {
    background: var(--accent-orange);
    color: #ffffff;
    border-color: var(--accent-orange);
}

.cash-change-accept-buttons button:last-child:hover {
    background: rgb(255, 118, 12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 118, 12, 0.4);
}

.order_info_personal_filter {
    width: 100vw;
    height: -webkit-fill-available;
}

.modal_four_digit_pin_input, .modal_four_digit_pin_error {
    font-size: 22px;
    text-align: center;
    margin: 10px;
}

.modal_four_digit_pin_error {
    color: red;
}

.accepted_payment_types {
    margin-top: 20px;
    padding-left: 10px;
}

.new-order-notifications {
    width: 100vw;
    height: 100vh;
    background-color: red;
}

.new-order-notifications-title {
    text-align: center;
    font-size: 5vmax;
    color: white;
    height: 10vh;
}

.new-order-notifications-count-container {
    height: 90vh;
}

.new-order-notifications-count {
    text-align: center;
    font-size: 10vmax;
    border: 2px solid black;
    border-radius: 50%;
    width: 15vmax;
    height: 15vmax;
    margin: 25vh auto;
    padding: 10px;
    background-color: black;
    color: white;
}

.order_state_change_container {
    font-size: 24px;
    border: 2px solid black;
    text-align: center;
    border-radius: 8px;
}.order_state_reprint_full img {
    width: 45px;
    height: 40px;
}.order_personal_info1 {
    font-size: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.order_personal_info1_phone_title {
    padding-right: 5px;
}

.order_personal_info1_email_title {
    padding-right: 5px;
}

.delivery-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.order_personal_info2 {
    font-size: 16px;
}

.order_personal_info3 {
    font-size: 16px;
    width: 50%;
}

.order_personal_info3_cost {
    font-size: 18px;
    width: 50%;
    text-align: right;
}

.modal_header {
    font-size: 28px;
    margin: auto 0 auto 3px;
}

.catch_errors {
    font-size: large;
    font-weight: 900;
    overflow-wrap: anywhere;
    background-color: white;
    position: absolute;
    z-index: 100000;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}.order_payment_inf_cost {
    font-size: 20px;
    border: 1px solid white;
    margin-top: 10px;
}

.order_payment_inf_cost_left {
    width: 150px;
    text-align: left;
}

.order_payment_inf_cost_right {
    width: 100px;
    text-align: right;
}.order_payment_type_title {
    font-size: 20px;
    text-align: center;
}

.transport_specify_container {
    font-size: 20px;
    padding: 5px;
    width: 48%;
}.transport_specify_asap_container, .transport_specify_specific_container {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 5px;
}

.transport_specify_asap_time {
    margin-left: 33px;
    font-size: 16px;
}.transport_specify_time_container input {
    font-size: 20px;
    width: 100px;
}

.flex_answers {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    overflow: scroll;
}

.cat_name_title {
    background-color: white;
    color: black;
    text-align: left;
    font-size: 26px;
    font-weight: 600;
    margin: 0 5px;
    border-radius: 0;
    border: none;
    line-height: 1;
}

.chat-notifications {
    width: 19%;
    margin: 0 1%;
}.error_info_msg {
    font-size: 3vmax;
    text-align: center;
}

.current_order_title_container {
    justify-content: center;
}

.current_order_count_title {
    font-size: 2vmax;
    color: blue;
    padding-right: 10px;
}

.current_order_count_value {
    font-size: 2vmax;
    color: blue;
    font-weight: 800;
}.stripe_container, .sumup_container {
    padding: 5px;
}.flex_buttons {
    margin: 0 3px 4px 3px;
    width: calc(20% - 6px);
}

.flex_buttons_div {
    border: 1px solid black;
    border-radius: 10px;
    width: 98%;
    margin: 5px auto;
}

.buttons_item_info {
    background-color: white;
    min-height: 15vmax;
    border-radius: 10px;
}

.cash-change-status {
    min-height: 1.5em;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.buttons_item_info_search {
    border-radius: 10px;
    overflow: hidden;
}

.modalChangeOrderMOP_left {
    width: 50%;
    text-align: right;
    padding-right: 10px;
    font-size: 22px;
}

.modalChangeOrderMOP_right {
    width: 50%;
    text-align: left;
    padding-left: 10px;
    font-size: 24px;
}

.modalChangeOrderMOP_to {
    font-size: 26px;
    text-align: center;
}

.modalChangeOrderMOP_cancel, .modalChangeOrderMOP_continue {
    width: 30%;
    margin-top: 20px;
}

.modalChangeOrderMOP_msg {
    font-size: 26px;
    text-align: center;
}

.modalChangeOrderMOP_disabled {
    background-color: #77b0f2;
    color: gray;
}

.search_results {
    overflow: scroll;
    flex: 1;
    min-height: 0;
}

.txns_table_row_count {
    font-size: 2vmax;
}.txns_search_cols_count {
    width: 10%;
    text-align: center;
    font-size: 2vmax;
}

.padding-left-1 {
    padding-left: 40px;
}

.padding-left-2 {
    padding-left: 80px;
}

.padding-left-3 {
    padding-left: 120px;
}

.header-1 {
    font-size: 24px;
}

.header-2 {
    margin: 10px 0;
    font-size: 20px;
}

.header-3 {
    font-size: 16px;
}

.txns-divider {
    content: "";
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.3));
}

.txns-sub-divider {
    content: "";
    width: 80%;
    height: 2px;
    margin: 5px 5px 5px 20%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 1));
}

.txns-group-header {
    display: flex;
    width: 100%;
    padding-left: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.txns-title {
    width: 20%;
    padding-left: 10px;
}

.txns-data {
    width: 40%;
    text-align: center;
}

.txns-data-left {
    border-right: 1px solid black;
}.total_income {
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    text-align: left;
    margin: 10px auto 20px auto;
    font-size: 20px;
    width: fit-content;
    background-color: white;
    display: flex;
    box-sizing: border-box;
    max-width: 500px;
}

.total_income_completed_title {
    padding-right: 15px;
}

.total_income_completed_data {
    display: flex;
}

.total_income_completed_data_amount {
    font-weight: 800;
    padding-right: 5px;
}

.live_title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.reports_button {
    margin: 10px auto;
    width: 95%;
    border: 1px solid black;
    border-radius: 12px;
    padding: 3px 10px;
    box-sizing: border-box;
    text-align: center;
    background-color: white;
    font-size: 22px;
}

.toggle_menu_button {
    width: 100%;
    padding: 5px;
    background-color: whitesmoke;
    border: 1px solid black;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 24px;
}.txns_summary_detail_table {
    font-size: 20px;
    text-align: center;
}

.txns_summary_detail_table, .txns_summary_detail_table th,
.txns_summary_detail_table td {
    border: 1px solid black;
}.stock-title-container {
    margin: 10px;
}

.stock_title {
    text-align: left;
    font-size: 24px;
    margin-left: 20px;
}

.stock_filter, .edititems_filter {
    text-align: right;
    font-size: 20px;
    margin-right: 20px;
}

.stock_filter input {
    width: 90%;
    font-size: 20px;
}

.edititems_filter input {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 18px;
}

.stock_item {
    background-color: white;
    border: 1px solid #dee2e6;
    margin: 10px auto;
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow .2s;
}

.stock_item:hover {
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
}.stock_item_set, .stock_item_alert {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    justify-content: flex-start !important; /* left-align everything */
}

.stock_item_set_input, .stock_item_alert_input {
    text-align: center;
    width: 50px;
    font-size: 16px;
    margin: 3px;
}

/* Chrome, Safari, Edge, Opera */
.stock_item_set_input::-webkit-outer-spin-button,
.stock_item_set_input::-webkit-inner-spin-button,
.stock_item_alert_input::-webkit-outer-spin-button,
.stock_item_alert_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.stock_item_set_input[type="number"],
.stock_item_alert_input[type="number"] {
    appearance: textField;
  -moz-appearance: textfield;
}

/* Standard */
.stock_item_set_input,
.stock_item_alert_input {
  appearance: none;
}

.stock_item_set_text, .stock_item_alert_text {
    font-size: 18px;
    margin: 0 5px;
    flex: 0 0 120px;    /* reserve 120px for the label – tweak as needed */
}

.stock_item_alert_text {
    color: rgb(255, 66, 66);
}

.btn-plusminus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 26px;
    line-height: 1;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background .15s, border-color .15s;
    margin: 0 3px;
}

.btn-plusminus:hover {
    background: #e9ecef;
}

.btn-plusminus .plus-minus {
    font-weight: bold;
    color: #000;
}

.stock_item_set_image {
    width: 70px;
    height: 70px;
}

.stock_item_name, .stock_item_name_searched {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
    margin: 3px auto;
    border-bottom: 1px solid aliceblue;
}

.stock_item_count {
    margin: 3px auto;
    text-align: center;
    font-size: 20px;
}

.chats {
    background-color: white;
}

.chat-hr {
    height: 0px;
    border: 1px solid rgb(255, 118, 12);
}.open-chat-msgs {
    height: 50vh;
    background-color: black;
    padding: 5px;
    overflow-y: scroll;
    color: white;
    width: 100%;
}.end-chat {
    font-size: var(--chat-font-large);
    margin: 10px auto 20px 10px;
    background-color: white;
    color: black;
    border-style: solid;
    padding: 5px;
}.open-chat-send {
    background-image: url("../IMAGES/send-chat-trans.png");
}

.open-chat-send-disabled {
    background-image: url("../IMAGES/send-chat-disabled-trans.png");
}.chat-list-name, .chat-list-order-state {
    width: max-content;
}

.chat-list-order {
    width: 98%;
    margin: 0 1%;
    justify-content: center;
}

.chat-list-order img {
    width: 20px;
    height: 30px;
    margin-right: 10px;
}

.view-chat-list {
    font-size: 18px;
    text-align: center;
    margin: 20px 10px 20px 5px;
}

.view-chat-list-item, .view-chat-list-item-selected {
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 10px;
}

.view-chat-list-item-selected {
    background-color: black;
    color: white;
    width: calc(100% + 10px);
}

.chat-notifications {
    justify-content: center;
    border: 1px solid black;
    background-color: white;
    border-radius: 10px;
}

.chat-notifications-label {
    font-size: 20px;
    margin: auto 5px;
}

.chat-notifications-number {
    font-size: 22px;
    margin: auto 0;
}

.chat-notifications-highlight {
    -webkit-animation-name: chatNotifications;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-name: chatNotifications;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.delivery_costs_info_text, .delivery_costs_min_container,
.delivery_costs_min_container input, .delivery_costs_column_label,
.delivery_costs_cost_input, .delivery_costs_postcode_input,
.delivery_costs_postcodes_left_label, .delivery_costs_postcodes_right_label,
.delivery_costs_amount_left_label, .delivery_costs_amount_right_label,
.delivery_costs_distance_input, .delivery_costs_distance_label,
.delivery_costs_distance_label_right {
    font-size: 20px;
}

.delivery_costs_min_container {
    justify-content: space-between;
}

.delivery_costs_min_container input {
    width: 70px;
    text-align: center;
    margin: auto 0px;
}

.delivery_costs_info_text {
    margin: 10px 0;
    color: rgb(255, 118, 12);
    text-align: center;
}

.delivery_costs_postcodes_left_label, .delivery_costs_postcodes_right_label,
.delivery_costs_amount_left_label, .delivery_costs_amount_right_label {
    text-align: center;
}

.delivery_costs_postcodes_container {
    justify-content: space-evenly;
    width: 100%;
    flex-wrap: wrap;
}

.delivery_costs_column1_container {
    width: 50%;
}

.delivery_costs_column2_container {
    width: 50%;
}

.delivery_costs_postcodes_column_container {
    width: 75%;
}

.delivery_costs_amount_column_container {
    width: 25%;
    text-align: center;
}

.delivery_costs_postcode_input {
    width: calc(100% - 20px);
    margin: 5px 10px;
}

.delivery_costs_cost_input {
    width: calc(100% - 20px);
    margin: 5px 10px;
    text-align: center;
}

.delivery_costs_divider {
    height: 3px;
    background-color: black;
    color: black;
}

.delivery_costs_distance_input, .delivery_costs_distance_label,
.delivery_costs_distance_label_right {
    width: 85px;
    text-align: center;
}

.delivery_costs_distance_input {
    margin: 5px 10px;
}
.current_order_specific_time {
    font-size: 16px;
    color: red;
    text-align: center;
}

.current_order_specific_time img {
    width: 25px;
    height: 25px;
}

.transport_info_all_days {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.transport_info_day_container {
    font-size: 20px;
    border: 1px solid black;
    padding: 5px;
    margin: 5px;
    width: fit-content;
    border-radius: 5px;
}

.transport_info_day_values {
    justify-content: center;
}

.transport_info_day {
    text-align: center;
    width: 120px;
}

.transport_info_day_from input, .transport_info_day_to input {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.transport_info_day_arrow {
    margin: 0 5px;
}

.transport_info_day_units {
    text-align: center;
    font-size: 14px;
}

 .location-relatives-container {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    padding: 0px;
    font-size: 20px;
    font-weight: bold;
    color: black;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    width: fit-content;
    padding-right: 15px;
}

.location-relatives-option {
    border: none;
}

.location-relatives-container-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    background-color: transparent;
}

.location-relatives-container-wrapper::after {
    content: '▼';
    position: absolute;
    right: 3px; /* Position arrow inside the padding */
    font-size: 14px;
    color: black;
    pointer-events: none; /* Make sure the arrow isn't clickable */
}

.current_order_cancel_request {
    text-align: center;
    font-size: 24px;
    background-color: black;
    color: white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    animation: current_order_cancel_request_flash 1s infinite;
}

.current_order_pre_order_min {
    text-align: center;
    font-size: 18px;
}

@keyframes current_order_cancel_request_flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.order_full_cancel_request {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding: 10px;
    max-width: 100%;
    margin-bottom: 30px;
    background-color: #ff5c5c;
}

.order_full_cancel_request_title {
    font-size: 26px;
    font-weight: bold;
}

.order_full_cancel_request_button {
    border-radius: 5px;
    padding: 5px;
    font-size: 26px;
    font-weight: bold;
}

.please_wait_dialog_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.please_wait_dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 200px;
}

.please_wait_loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px auto;
    animation: please_wait_spin 2s linear infinite;
}

@keyframes please_wait_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes please_wait_spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

/* Add Animation */
@-webkit-keyframes chatNotifications {
    from {
        background-color: white;
        color: black;
    }

    to {
        background-color: black;
        color: white;
    }
}

@keyframes chatNotifications {
    from {
        background-color: white;
        color: black;
    }

    to {
        background-color: black;
        color: white;
    }
}

.new-order-flashing {
    animation: newOrderFlashing 1s infinite linear alternate;
}

@keyframes newOrderFlashing {
    0% {
      background-color: red;
    }
    50% {
      background-color: #984444;
    }
}

.follow-payment-terminal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.follow-payment-terminal .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.cancel-teya-payment {
    color: black;
    background-color: #f3f3f3;
    border: 1px solid black;
    border-radius: 8px;
    font-size: 20px;
}

.teya-refund {
    width: 100%;
    text-align: right;
    margin: 10px 0;
}

.teya-refund button {
    background-color: black;
    color: white;
    font-size: 20px;
    border-radius: 5px;
    padding: 5px;
}

.location-select-container {
    font-size: 22px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid black;
    padding: 10px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.location-select-container-offers {
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid black;
    padding: 10px 0;
}

.location-select-container-offers-sub {
    font-size: 22px;
    font-weight: bold;
    width: 80%;
    text-align: center;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    border: 1px solid white; /* just to make it align with the online card, online cash, etc buttons vertically */
}

.location-select-option {
    border: none;
}

.location-select-container-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    background-color: transparent;
}

.location-select-container-wrapper::after {
    content: '▼';
    position: absolute;
    right: 3px; /* Position arrow inside the padding */
    font-size: 24px;
    color: black;
    pointer-events: none; /* Make sure the arrow isn't clickable */
}

.location-select-container-select {
    font-size: 22px;
    padding: 5px;
    border-radius: 8px;
}

.location-select-container-select-offers {
    flex: 1;
    min-height: 0;
    margin: 0 0 0 10px;
}

.please-wait-dialog-container {
	position: absolute;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
}

.please-wait-dialog {
	height: fit-content;
	margin: 41vh 0;
}

.custom_range_items {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}.txns_summary_input_button button {
	font-size: 20px;
	border-radius: 5px;
	padding: 0 5px;
}

.current-order-locname, .new-order-locname {
    font-size: 20px;
    text-align: center;
}

.full-order-loc-name {
    text-align: center;
    font-size: 22px;
}

/* Dropdown Container */
.location_relatives_dropdown-container {
    position: relative;
    user-select: none;
    max-width: 400px;
    background-color: transparent;
    padding: 2px;
}

.location_relatives_dropdown-container-selected {
    background-color: white;
}

/* Dropdown Toggle Button */
.location_relatives_dropdown-toggle, .location_relatives_dropdown-option {
    font-size: 18px;
}

.location_relatives_dropdown-toggle {
    background-color: white;
    color: black;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    border: 2px solid black;
}

.location_relatives_dropdown-toggle::after {
    content: '▼';
    right: 5px;
    font-size: 16px;
    color: black;
    pointer-events: none;
    top: 6px;
    float: right;
}

/* Dropdown Options */
.location_relatives_dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: inherit;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

.location_relatives_dropdown-option {
    padding: 5px;
    color: white;
    background-color: black;
    cursor: pointer;
    transition: background 0.2s;
    margin: 5px;
    border-radius: 8px;
}

.location_relatives_dropdown-option:hover {
    background-color: #444;
}

.order-clear-fields {
    font-size: 20px;
    background-color: black;
    color: white;
    width: fit-content;
    border-radius: 8px;
    margin: 0 0 10px 10px;
    padding: 5px;
}

.apply-at-checkout {
    width: 75px;
    text-align: right;
}

.apply-at-checkout input {
    margin-right: 0;
}

.adorders-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
}

.preset-container {
    border: 1px solid black;
    border-radius: 8px;
    padding: 5px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.delete-preset, .name-preset {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.name-preset {
    margin-top: 10px;
    margin-left: 35px;
}

.delete-preset input, .question-preset input {
    width: 20px;
    height: 20px;
}

.name-preset input {
    font-size: 20px;
    padding: 5px;
}

.questions-preset p {
    font-size: 20px;
}

.questions-preset {
    margin-left: 30px;
}

.question-preset-container {
    margin-bottom: 20px;
}

.question-preset {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.answers-preset-container {
    margin-left: 35px;
    font-size: 16px;
}

.answers-preset {
    font-size: 17px;
    padding-left: 0;
}

.answers-preset input {
    width: 20px;
    height: 20px;
}

.answers-preset-all {
    font-size: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.answers-preset-all input {
    width: 25px;
    height: 25px;
}

.answers-type-container, .answers-type-container select {
    font-size: 18px;
    padding: 5px;
}

.must-answer-presets, .answer-type-presets {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.preset-answer {
    display: flex;
    gap: 10px;
}

/* Container for all notifications */
.notifications-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual notification styling */
.notification {
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    /* Start off-screen to the right */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

    /* We position this relative so the close (X) button can be absolute */
    position: relative;
}

/* When we add "slide-in", the notification slides into view */
.notification.slide-in {
    transform: translateX(0);
}

.notification-text {
    margin: 10px 0;
}

/* Close button at the top-right */
.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    display: block;
    width: 100%;
    display: flex;
    justify-content: right;
    line-height: 1;
}

/* "OK" button styling */
.notification-ok {
    background: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 10px;
}

.notification-text-10, .notification-close-10, .notification-ok-10 {
    font-size: 16px;
}

.notification-text-20, .notification-close-20, .notification-ok-20 {
    font-size: 32px;
}

.notification-buttons-container {
    display: flex;
    justify-content: right;
}

.offers-inshop-enabled {
    font-size: 22px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offers-inshop-enabled input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.checkout-info {
    padding-top: 0px;
    display: flex;
    flex-direction: column;
}

.checkout-info-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.checkout-discount-container {
    width: 100%;
    font-size: 20px;
    margin: 10px 0;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
}

.checkout-discount-title {
    margin: 0 10px 0 0;
}

.checkout-discount-layout {
    display: flex;
    align-items: baseline;
}

.order-payment-type-container div {
    font-size: 20px;
}

.checkout-discount-choices-container {
    margin-bottom: 10px;
}

.checkout-discount-choices {
    width: 24px;
    height: 24px;
}

.checkout-discount-container label {
    margin-right: 20px;
}

.checkout-discount-container input[type="number"] {
    font-size: 20px;
    width: 50px;
    text-align: center;
    margin-right: 5px;
}

.checkout-discount-other-percent {
    margin-right: 20px;
}

.copy-extra-button {
    background-color: black;
    color: white;
    padding: 5px;
    border-radius: 8px;
    width: fit-content;
    margin: 5px 20px 5px 20px;
}

.dinein-table {
    align-items: center;
    margin-top: 30px;
}

.dinein-table div {
    margin: 0 10px 0 20px;
}

.dinein-table input {
    width: 90px;
    height: fit-content;
    padding: 3px 10px;
    text-align: center;
    font-size: 26px;
    border-radius: 8px;
}

.cid-notification-name, .cid-notification-email,
.cid-notification-address {
    font-size: 24px;
}

.order-checkout-close {
    font-size: 40px;
}

.build-menu-edit-item {
    padding-top: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.build-menu-edit-item .modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: scroll;
}

.build-menu-edit-item.build-menu-preset-mode .modal-body {
    overflow: hidden;
}

.build-menu-edit-item.build-menu-preset-mode .modal-body > form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.build-menu-edit-item.build-menu-preset-mode .optional_extras,
.build-menu-edit-item.build-menu-preset-mode .optional_extras_content,
.build-menu-edit-item.build-menu-preset-mode #fixed_extras {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.build-menu-edit-item.build-menu-preset-mode #fixed_extras {
    flex-direction: column;
}

.build-menu-edit-item.build-menu-preset-mode #fixed-extras-list {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.build-menu-edit-item.build-menu-preset-mode .scroll-controls,
.build-menu-edit-item.build-menu-preset-mode #fixed-extras-list-search {
    flex: 0 0 auto;
}

.optional_extras_content,
.optional_extras_content #current_extras,
.optional_extras_content #fixed_extras,
.optional_extras_content #custom_extras,
.optional_extras_content #create_fixed_extras,
.fixed-extras-list,
.custom-extras-container {
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.optional_extras_content,
.optional_extras_content #current_extras,
.fixed-extras-list,
.custom-extras-container {
    display: flex;
}

.fixed-extras-list,
.custom-extras-container,
.optional_extras_content #create_fixed_extras {
    overflow: scroll;
}

.item-extra-row1 {
    margin-bottom: 10px;
}

.item-extra-label {
    font-size: 20px;
    margin-right: 5px;
    width: 130px;
}

.item-extra-label-currency {
    margin-right: 0;
    width: 12px;
}

.item-extra-input-name input, .item-extra-input-cost input,
.item-extra-description input, .item-extra-barcode input {
    font-size: 18px;
    padding: 2px 5px;
    border: none;
    border-bottom: 1px solid blue;
    border-radius: 0;
}

.optional_extras {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.optional_extras_buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.optional_extras_buttons button {
    padding: 5px 10px;
}

.item-extra-input-name input {
    width: 250px;
}

.item-extra-input-cost input {
    width: 75px;
}

.item-extra-description input {
    flex-grow: 1;
}

.item-extra-barcode, .item-extra-input-cost {
    flex-wrap: wrap;
}

.item-extra-barcode input {
    width: 250px;
}

.current-item-barcode-max {
    font-size: 18px;
    margin-left: 10px;
}

.item-extra-input-cost select {
    font-size: 18px;
    width: 80px;
}

.item-extra-description {
    margin-bottom: 10px;
}

.current-extras-label {
    justify-content: left;
    gap: 20px;
    align-items: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.existing_extra_input {
    font-size: 18px;
}

.existing_extra_input {
    padding: 2px 8px;
}

.existing_extras_answer_container {
    display: block;
    border-top: 3px solid black;
    padding: 35px 5px;
}

.existing_extras_answer_row2 {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
}

.existing_extra_pulldown {
    font-size: 18px;
    padding: 0;
    border-radius: 8px;
}

.existing_extra_num_answers {
    width: 50px;
}

.existing_extra_num_answers input {
    font-size: 18px;
    margin: 0;
    padding: 4px;
    text-align: center;
    line-height: 0.6;
}

.existing_extras_add_answer {
    justify-content: right;
}

.existing_extras_add_answer button {
    background-color: black;
    color: white;
    border-radius: 8px;
    font-size: 24px;
    padding: 2px 5px;
    margin-bottom: 10px;
}

.existing_item_submit {
    margin-top: 10px;
}

.existing_item_submit button {
    padding: 8px;
    font-size: 26px;
}

.itemextras_order_navigate {
    background-color: white;
}

.itemextras_order_navigate img {
    width: var(--prevnext-image-size);
    height: var(--prevnext-image-size);
}

.must-answer-container {
    align-items: center;
    margin: 10px 0 10px 5px;
}

.must-answer-container, .must-answer-container select {
    font-size: 20px;
}

.answer-type-container {
    margin-bottom: 10px;
    margin-left: 5px;
    align-items: center;
}

.answer-type-container, .answer-type-container input, .answer-type-container select {
    font-size: 20px;
}

.answer-type-container input {
    margin: 0 0 0 10px;
    width: 75px;
    text-align: center;
}

.num-answers-container {
    margin: 0 0 10px 5px;
    align-items: center;
}

.num-answers-container, .num-answers-container input {
    font-size: 20px;
}

.num-answers-container input {
    width: 75px;
    text-align: center;
    margin: 0 0 0 10px;
}

.answer-row {
    margin-left: 30px;
}

.answer-row ul, .answer-row li, .answer-row input {
    list-style: none;
    font-size: 20px;
    margin: 0;
    padding: 0;
}

.custom-extra-answer-name {
    width: 150px;
}

.custom-extra-answer-cost {
    width: 100px;
}

.submit-next-info {
    font-size: 20px;
    color: red;
    text-align: center;
    margin-bottom: 20px;
}

/* CHAT GPT'S Stock Management */
/* Base page & wrapper */
#stock_management_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header */
.stock-header {
    flex: 0 0 auto;
}

.container-fluid.stock-container {
    padding: 10px;
}

.flexdiv.space_around {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.stock_title {
    font-size: 18px;
    font-weight: 600;
}

.stock_filter input {
    max-width: 250px;
    width: 100%;
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 18px;
}

/* Scrollable content */
.stock-content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 10px;
    background: #f7f7f7;
    min-height: 0;
}

/* Accordion details */
details {
    border-radius: 8px;
    margin-bottom: .75rem;
    background: #fff;
    overflow: hidden;
    margin: 0 5px 10px 5px;
}

details summary {
    cursor: pointer;
    padding: 10px;
    font-weight: 500;
    background: #f8f9fa;
    list-style: none;
    font-size: 22px;
}

details summary::-webkit-details-marker,
summary::-moz-list-marker {
    display: none;
}

details[open] summary {
    background: #e9ecef;
}

details .stock-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
}

.stock_item_count {
    margin-bottom: 5px;
    color: #495057;
}

.stock_items_search_container {
    height: 0vh;
    overflow-y: scroll;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
/**********************************/

.edit-allergen-button {
    background-color: rgb(255, 118, 12);
    color: black;
    padding: 6px;
    border-radius: 16px;
    margin-left: 15px;
    font-size: 22px;
}

.edititems-header, .edititems-header-name, .edititems-header-allergens, .edititems-header-hide {
    font-size: 20px;
    text-align: center;
}

.edititems-header, .edititems-row {
    flex: 1 1 0;
    padding: 4px;
    min-height: 0;
}

.edititems-header-hide, .edititems-header-allergens,
.edititems-row-hide, .edititems-row-allergens {
    flex: 2 2 0;
    padding: 4px;
}

.edititems-header-name, .edititems-row-name, .edititems-row-name-searched {
    flex: 3 3 0;
    padding: 4px;
}

.edititems-row, .edititems-row-name, .edititems-row-allergens, .edititems-row-hide, .edititems-row-name-searched {
    font-size: 18px;
    text-align: center;
}

.edititems-row-name, .edititems-row-name-searched {
    text-align: left;
}

.edititems-hide-checkbox {
    width: 25px;
    height: 25px;
}

.edititems-allergen-button {
    padding: 6px;
    font-size: 16px;
}

.edit-category-row--header {
    border-bottom: 2px solid #CCC;
    padding-bottom: 8px;
}

/* Separator under each row */
.edit-category-separator {
    width: 100%;
}

.edit-category-separator hr {
    margin: 4px 0;
    border: none;
    border-bottom: 1px solid #DDD;
}

.modal-edititems {
    overflow: hidden;
}

.modal-header-edititems {
    display: flex;
    justify-content: space-between;
}

.modal-header-edititems .modal_header, .modal-header-edititems .modal_header {
    margin: auto 0px;
    font-size: 28px;
}

.modal-content-edititems {
  /* Use flex to lay out header and body vertically **/
  display: flex;
  flex-direction: column;

  /* Set a max‐height so it never grows taller than the viewport*/
  max-height: 100vh;

  /* Optional: fix its width or let it be responsive */
  margin: auto;           /* center horizontally/vertically */
  background: #fff;       /* white background for the dialog */
  overflow: hidden;       /* ensure children cannot “leak” outside */
  padding-top: 10px;
}

.modal-body-edititems {
  /* Let the body take all remaining vertical space (beneath the header) */
  flex: 1 1 auto;
  min-height: 0;

  /* Allow vertical scrolling only inside the body */
  overflow-y: auto;
  overflow-x: hidden;

  /* Optional padding so content isn’t glued to the edges */
  padding: 8px;
}

.accordion-wrapper {
  /* Let the accordion fill whatever space is left in .modal-body-edititems */
  /* Since .modal-body-edititems is already “overflow-y: auto,”
     the entire .modal-body will scroll if the accordion is too tall. */

  /* If you want ONLY the accordion portion to scroll (and have the “Edit Allergen List”
     button stay sticky at the top of modal-body), you can do this instead: */
  max-height: calc(90vh - /* header’s height */ 50px - /* button’s height + margins */ 48px);
  /*
     Explanation:
     - 90vh is the max‐height of the modal‐content.
     - Subtract roughly 50px (whatever your header actually is) + 48px for the “Edit Allergen List”
       button area (you can adjust these pixel values to match your real measurements).
     - The result is “the remaining vertical space for the accordion,” so it will scroll
       inside that area.
  */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px; /* avoid horizontal scroll glitches when vertical scrollbar appears */
}

.edititems_search_container {
    height: 0vh;
    overflow-y: scroll;
    margin: 20px 0px 0px 20px;
}

.close-now-container {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: right;
    min-height: 0;
}

.close-now-container button {
    font-size: 22px;
}

/* All of your “close” option buttons */
button.close-opt {
  display: inline-block;
  padding: 10px;
  font-size: 26px;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
button.close-opt:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Your “Cancel” button */
button.close-cancel {
  display: inline-block;
  margin: 10px 0;
  padding: 8px;
  font-size: 26px;
  border: none;
  border-radius: 8px;
  background-color: #aaa;
  color: #fff;
  cursor: pointer;
}
button.close-cancel:hover {
  background-color: #888;
}

.close-now-status {
    color: red;
    font-weight: 800;
    font-size: 20px;
}

.overflow-break {
    overflow-wrap: break-word;
}

.cta-text {
    color: black;
}

.store-status{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: right;
    padding-right: 10px;
    box-sizing: border-box;
}

/* Original button + status */
.cta{
display:flex; align-items:center; gap:5px;
padding:5px 10px; background:#fff; border:2px solid var(--border);
border-radius: var(--radius); cursor:pointer; font-size:20px;
line-height:1; box-shadow:0 0 0 1px #00000008; transition:transform .06s ease;
}
.cta:active{ transform: translateY(1px); }
.dot{
width: var(--close-now-dot-size);
height: var(--close-now-dot-size);
min-width: var(--close-now-dot-size);
min-height: var(--close-now-dot-size);
max-width: var(--close-now-dot-size);
max-height: var(--close-now-dot-size);
border-radius:50%; display:inline-block;
box-shadow: inset 0 0 0 1px #00000014;
}

.close-now-status {
    font-size:22px;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 7px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.close-now-status .label{margin-right:0px;}
.close-now-status .value{font-weight:700;}
.close-now-status .until{display:block; font-size:14px; opacity:.75; margin-top:4px;}

.store-status[data-state="open"] .dot{ background: var(--open); }
.store-status[data-state="open"] .close-now-status .value{ color: var(--open); }
.store-status[data-state="closed"] .dot{ background: var(--closed); }
.store-status[data-state="closed"] .close-now-status .value{ color: var(--closed); }.opening_hours, .receipt_information, .transport_info, .order_charges, .receipt_settings, .api_keys, .scanner_type, .postcodes_info {
    display: none;
    width: 90%;
    margin: 20px auto;
    max-width: 600px;
}

.order_charges .flexdiv {
    padding: 10px 0;
}

.site-info-group {
    border: 0;
    border-bottom: 2px solid rgb(255, 118, 12);
    margin: 0;
    padding: 10px 0;
}

.site-info-group:last-child {
    border-bottom: 0;
}

.site-info-group-title {
    box-sizing: border-box;
    font-weight: 700;
    padding: 8px 10px;
    width: 100%;
}

.site-info-group > label {
    display: block;
    font-size: 20px;
    padding: 7px 10px;
}

.site-info-setting {
    align-items: center;
    box-sizing: border-box;
    gap: 12px;
    min-height: 52px;
    width: 100%;
}

.site-info-setting-control {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding-right: 10px;
}

.site-info-setting-control input[type="number"],
.site-info-setting-control input[type="text"],
.site-info-setting-control select {
    box-sizing: border-box;
    font-size: 18px;
    max-width: 150px;
    min-height: 38px;
}

.site-info-delivery-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 12px 0;
}

.site-info-delivery-row {
    border: 1px solid #999;
    border-radius: 5px;
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(90px, 1fr) minmax(80px, 1fr);
    padding: 10px;
}

.site-info-delivery-row input {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.orders-empty-state {
    box-sizing: border-box;
    color: #333;
    font-size: 20px;
    padding: 32px 20px;
    text-align: center;
    width: 100%;
}

.delivery_costs_info_text {
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

.transport_info_collection_container[aria-disabled="true"] {
    opacity: .65;
}

.location_info_button {
    width: 90%;
    margin: 0 auto;
    border-radius: 5px;
    max-width: 600px;
}

.location_info_button button {
    background-color: black;
    color: white;
}.opening_hours_day {
    width: 50px;
    font-size: 24px;
}

.opening_hours_checkbox {
    box-sizing: border-box;
    margin: auto 0;
}

.opening_hours_openclose_checkbox {
    margin-right: 10px;
}

.opening_hours_block {
    border-bottom: 1px solid gray;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.opening_hours_select {
    height: 25px;
    width: 25px;
    margin: 6px 0 0 5px;
    position: relative;
}

.opening_hours_hdr {
    font-size: 22px;
    margin-bottom: 20px;
}

.service_charge_choices_container {
    justify-content: right;
}

.order_prints_title, .transport_info_min_order_input_pound, .transport_info_max_delivery_distance,
.transport_info_min_order_input input, .order_prints_input input, .service_charge_choices label,
.stripe_input input {
    font-size: 22px;
}

.order_prints_title {
    width: 80%;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.order_prints_title_sub {
    padding-left: 30px;
    width: calc(80% - 20px);
}

.order_prints_title_sub2 {
    font-size: 20px;
    padding-left: 50px;
    width: calc(80% - 40px);
}

.opening_hours_openclose {
    /*width: 180px;
    min-width: 180px;
    max-width: 180px;
    box-sizing: border-box;*/
    margin-right: 20px;
}

.opening_hours_times_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.opening_hours_times_sub_container {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid black;
}

.opening_hours_to {
    margin: auto 0;
}

.opening_hours_to img {
    width: 25px;
    height: 70%;
}

.opening_hours_day_container {
    border: 1px solid rgba(0,0,0,0.8);
    margin: 0 10px;
    padding: 3px 6px;
    border-radius: 5px;
}

.transport_notification_sound, .receipts_bigger_items_input, .service_charge_choices input {
    width: 26px;
    height: 26px;
}

.order_prints_input input {
    border-radius: 5px;
    margin: 5px 0 5px 5px;
    width: 70px;
    text-align: center;
}

.service_charge_choices {
    width: min-content;
    margin-left: 10px;
}

.service_charge_choices_label
{
    display: flex;
    margin-block-start: 0;
    margin-block-end: 0;
}

.service_charge_choices_scanner {
    width: 320;
}

.time_input {
    width: 120px;
    margin: auto 10px;
}

.time_input input {
    width: 100%;
    text-align: center;
    font-size: 24px;
    height: 25px;
}.transport_info_delivery_title, .transport_info_collection_title {
    padding-left: 10px;
    margin-right: 20px;
    font-size: 22px;
}.transport_info_min_order_input {
    justify-content: right;
    padding: 0;
    display: flex;
}

.transport_info_min_order_input input {
    text-align: center;
    margin: 5px 5px 0 0;
    width: 80px;
}

.transport_info_min_order_input_pound {
    margin-block-start: 0;
    margin-block-end: 0;
    margin: auto 3px 0 auto;
}

.transport_info_max_delivery_distance {
    width: 60px;
    margin: 5px 5px 0 0;
    text-align: center;
}

.scanner_type {
    margin: 0 auto;
    width: fit-content;
}.stripe_input input {
    width: 100%;
    margin: 10px 0;
}

.home_body {
    background-image: url("../IMAGES/market.jpg");
}.modal_header {
    color: black;
}.items_for_cat {
    background-color: #E0E0E0;
}.cats_container {
    border: 1px solid black;
}.location_header_button {
    border-bottom: 2px solid rgb(224, 223, 223);
}

.login_container {
    background-color: #E1E1E1;
}.modal_cancel_multiple_orders {
    overflow: hidden;
}

.modal-content_cancel_multiple_orders {
    background-color: white;
    color: black;
    border-radius: 0;
}.action_order_button_submit {
    background-color: black;
}

.top_header, .footer, .login_container {
    background-color: white;
}

.top_header, .footer, .login_container, .login_changes {
    color: black;
}.rounded_button, button, .back_button {
    background-color: black;
    color: white;
    border-radius: 6px;
}.items_for_cat, .category_buttons, .order_qnt, .small_order_qnt {
    color: black;
}

.items_for_cat {
    background-color: #E0E0E0;
}.select_all_checkbox, .other_checkbox {
    color: lightgreen;
}

input[type=password], .login_name, .input_type_number {
    border-color: #0C0C0C;
}.search_input {
    background-color: rgb(255, 118, 12);
    color: black;
}

.new_order_details {
    background-color: #BBBBBB;
}/* Project-specific popup sizing and positioning */
.popup .popuptext {
  /* width: 200%; */
  padding: 8px;
  z-index: 1;
  /* left: 50%; */
  margin-left: -190%;
  font-size: 18px;
}

.category_icons {
    width: 20px;
    height: 20px;
}.item_allergens_allergy_hdr, .item_allergens_allergy_col {
    width: 20%;
}

.item_allergens_desc_col p {
    margin: 0 0 0 5%;
}.column_header_text {
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
} .input_new_cat, .input_new_item {
     text-align: right;
     width: 10%;
 }

.new_input {
    width: 80%;
}.cats {
    width: 25%;
}.items_for_cat {
    margin-bottom: 10px;
}.item_ticket_printer {
    margin-left: 10px;
    background-color: white;
}

.item_ticket_printer img {
    width: 40px;
}.existing_extras_extra {
    padding: 5px;
}

.existing_extras_extra {
    margin-bottom: 20px;
}

.existing_extras {
  border-top: 1px solid black;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;          /* critical */
}

/* Scroll area */
.existing-extras-container {
  flex: 1 1 auto;
  min-height: 0;          /* critical */
  overflow-y: auto;       /* prefer auto */
  overflow-x: hidden;
  display: block;         /* important: remove flex here */
}.edit_cats_width {
    width: 5px;
}

.edit_cats_input {
    width: 80%;
    margin: 0 10%;
    font-size: medium;
}

.edit_cats_input_title {
    font-size: large;
}.rounded_button {
    font-size: 2vw;
}

.menu_not_selected, .menu_selected {
    font-size: 2vw;
}.cat_checkboxes_list, .input_text {
    font-size: 18px;
    padding: 5px;
}

.select_all_checkbox, .other_checkbox {
    font-size: 3vmax;
}.optional_extras_title {
    font-size: 22px;
    margin-bottom: 10px;
}.search_input {
    font-size: 2vw;
}.custom-question-input {
    font-size: 20px;
}

.top_header, .footer, .login_container {
    background-color: white;
}

.top_header, .footer, .login_container, .login_changes {
    color: black;
}

.no_items {
    color: red;
}

.rounded_button, button, .back_button {
    background-color: black;
    color: white;
    border-radius: 6px;
}

/* menu colour changes should be below the above rounded button colours */
.menu_selected {
    background-color: white;
    color: black;
}

.cat_button_text {
    color: white;
}

.cat_button_text_selected {
    color: black;
}

.items_for_cat, .category_buttons, .order_qnt, .small_order_qnt {
    color: black;
}

.items_for_cat {
    background-color: #E0E0E0;
}

.item_info, .order, .order_button {
    background-color: white;
}

.select_all_checkbox, .other_checkbox {
    color: lightgreen;
}

input[type=password], .login_name, .input_type_number {
    border-color: #0C0C0C;
}

.order_item {
    border-top: solid 1px rgb(255, 118, 12);
}

.search_input {
    background-color: rgb(255, 118, 12);
    color: black;
}

.new_order_details {
    background-color: #BBBBBB;
}

.current_orders_title, .new_orders_title {
    border-bottom: solid black;
}

.alternate_row_colour {
    background-color: #5f7585;
}

.each_new_order {
    background-color: white;
    border: 3px solid blue;
    margin-bottom: 40px;
}

.items {
    width: 73%;
    margin-left: 2%;
}

.cat_table, .item_table {
    margin-bottom: 7vh;
}

.opening_hours, .receipt_information, .transport_info, .order_charges, .receipt_settings, .api_keys, .scanner_type, .postcodes_info {
    display: none;
    width: 90%;
    margin: 20px auto;
    max-width: 600px;
}

.order_charges .flexdiv {
    padding: 10px 0;
}

.location_info_button {
    width: 90%;
    margin: 0 auto;
    border-radius: 5px;
    max-width: 600px;
}

.location_info_button button {
    background-color: black;
    color: white;
}

.opening_hours_margin {
    width: 0%;
}

.opening_hours_day {
    width: 50px;
    font-size: 24px;
}

.opening_hours_checkbox {
    box-sizing: border-box;
    margin: auto 0;
}

.opening_hours_openclose_checkbox {
    margin-right: 10px;
}

.opening_hours_block {
    border-bottom: 1px solid gray;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.opening_hours_select {
    height: 25px;
    width: 25px;
    margin: 6px 0 0 5px;
    position: relative;
}

.opening_hours_hdr {
    font-size: 22px;
    margin-bottom: 20px;
}

.service_charge_choices_container {
    justify-content: right;
}

.order_prints_title, .transport_info_min_order_input_pound, .transport_info_max_delivery_distance,
.transport_info_min_order_input input, .order_prints_input input, .service_charge_choices label,
.stripe_input input {
    font-size: 22px;
}

.order_prints_title {
    width: 80%;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.order_prints_title_sub {
    padding-left: 30px;
    width: calc(80% - 20px);
}

.order_prints_title_sub2 {
    font-size: 20px;
    padding-left: 50px;
    width: calc(80% - 40px);
}

.opening_hours_openclose {
    /*width: 180px;
    min-width: 180px;
    max-width: 180px;
    box-sizing: border-box;*/
    margin-right: 20px;
}

.opening_hours_times_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.opening_hours_times_sub_container {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid black;
}

.opening_hours_to {
    margin: auto 0;
}

.opening_hours_to img {
    width: 25px;
    height: 70%;
}

.opening_hours_day_container {
    border: 1px solid rgba(0,0,0,0.8);
    margin: 0 10px;
    padding: 3px 6px;
    border-radius: 5px;
}

.transport_notification_sound, .receipts_bigger_items_input, .service_charge_choices input {
    width: 26px;
    height: 26px;
}

.order_prints_input input {
    border-radius: 5px;
    margin: 5px 0 5px 5px;
    width: 70px;
    text-align: center;
}

.service_charge_choices {
    width: min-content;
    margin-left: 10px;
}

.service_charge_choices_label
{
    display: flex;
    margin-block-start: 0;
    margin-block-end: 0;
}

.service_charge_choices_scanner {
    width: 320;
}

.time_input {
    width: 120px;
    margin: auto 10px;
}

.time_input input {
    width: 100%;
    text-align: center;
    font-size: 24px;
    height: 25px;
}

.extras_answer_delete {
    text-align: right;
}

.transport_info_delivery_container {
    border-bottom: 2px solid rgb(255, 118, 12);
    margin-top: 10px;
    padding-bottom: 10px;
}

.transport_info_delivery_title, .transport_info_collection_title {
    padding-left: 10px;
    margin-right: 20px;
    font-size: 22px;
}

.transport_info_delivery_from_container, .transport_info_collection_from_container {
    padding-left: 30px;
}

.delivery_location_from_title, .delivery_location_to_title,
.collection_location_from_title, .collection_location_to_title {
    width: 28%;
}

.delivery_location_from_input, .delivery_location_to_input,
.collection_location_from_input, .collection_location_to_input {
    width: 15%;
}

.delivery_location_from_input input, .delivery_location_to_input input,
.collection_location_from_input input, .collection_location_to_input input {
    font-size: 2vmax;
    width: 90%;
    text-align: center;
}

.delivery_location_to_minutes, .collection_location_to_minutes {
    font-size: 2vmax;
    margin-left: 20px;
}

.transport_info_collection_container {
    border-bottom: 2px solid rgb(255, 118, 12);
    margin-top: 10px;
    padding-bottom: 10px;
}

.transport_info_min_delivery_container {
    margin-top: 10px;
}

.transport_info_min_order_input {
    justify-content: right;
    padding: 0;
    display: flex;
}

.transport_info_min_order_input input {
    text-align: center;
    margin: 5px 5px 0 0;
    width: 80px;
}

.transport_info_min_order_input_pound {
    margin-block-start: 0;
    margin-block-end: 0;
    margin: auto 3px 0 auto;
}

.transport_info_max_delivery_distance {
    width: 60px;
    margin: 5px 5px 0 0;
    text-align: center;
}

.scanner_type {
    margin: 0 auto;
    width: fit-content;
}

.api_keys {
    display: none;
}

.stripe_input input {
    width: 100%;
    margin: 10px 0;
}

.all-orders {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.new_orders_list {
    flex: 0 0 auto;
    min-height: auto;
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
    box-sizing: border-box;
    padding-bottom: 12px;
    scroll-padding-bottom: 12px;
}

.current_orders_list {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-height: 0;
    overflow-y: visible;
    overflow-x: hidden;
}

.order_state {
    width: 60%;
    text-align: center;
}.current_order {
    margin-bottom: 20px;
    font-size: 2vmax;
}.orders_actions_custom {
    padding-top: 3px;
}.orders_actions_custom img {
    width: 65px;
    min-width: 65px;
    max-width: 65px;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
}.order_comments {
    font-size: 20px;
    word-break: break-all;
}.order_id {
    font-size: 2vmax;
}.content-container {
    display: flex;
    flex: 1;
    min-height: 0;
}

.menu-content-container {
    flex: 75;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

/*.menu-content-container-disabled {
    position: relative;
    pointer-events: none;
}

.menu-content-container-disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}*/

.search_input_container {
    align-items: center;
}

.orders-content-container {
    flex: 25;
    border-left: 2px solid black;
    display: flex;
    flex-direction: column;
}.current_order_details_container, .amount_paid_or_not {
    margin: auto 0;
}

.curr_order_state_sel, .curr_order_state_not_sel, .curr_order_state_ready, .curr_order_state_pending {
    background: none;
    width: 85px;
    margin: 5px;
    border: 1px solid black;
    border-radius: 10px;
}

.curr_order_state_sel,
.curr_order_state_pending {
    background: var(--open);
    color: #fff;
    border-color: var(--open);
    box-shadow: 0 0 0 1px rgba(46, 125, 50, 0.2);
}

.curr_order_state_sel img,
.curr_order_state_pending img {
    filter: grayscale(1) brightness(0) invert(1);
}

.curr_order_state_pending {
    cursor: wait;
    opacity: 0.8;
}

.curr_order_state_ready {
    background: var(--closed);
    color: #fff;
    border-color: var(--closed);
    box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.2);
    animation: curr_order_state_ready_blinker 1.2s infinite;
}

.curr_order_state_ready img {
    filter: grayscale(1) brightness(0) invert(1);
}

@keyframes curr_order_state_ready_blinker {
    50% {
        opacity: 0;
    }
}

.amount_paid_or_not_img {
    height: 40px;
    width: 30px;
}

.current_order_state_container {
    display: flex;
}

.dot-flashing-group {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.dot-flashing-1, .dot-flashing-2, .dot-flashing-3 {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: blue;
    color: red;
    animation: dotFlashing 1s infinite linear alternate;
}

.dot-flashing-1 {
    animation-delay: 0s;
}

.dot-flashing-2 {
    animation-delay: 0.5s;
}

.dot-flashing-3 {
    animation-delay: 1s;
}

@keyframes dotFlashing {
    0% {
      background-color: blue;
    }
    50%,
    100% {
      background-color: red;
    }
}

header {
    width: 100%;
    height: 11vh;
    min-height: 11vh;
    max-height: 11vh;
    position: fixed;
    overflow: hidden;
    display: flex;
    background-color: #e2e0e0;
    border-bottom: 1px solid black;
    text-align: center;
}

.adorders_column {
    width: 10%;
    height: 100%;
}

.adorders_img {
    width: 95%;
    max-height: 10vh;
}

.relative_pos {
    position: relative;
}

.basket-cnt {
    border-radius: 5px;
    background-color: rgb(255, 118, 12);
    color: black;
    height: fit-content;
    font-size: 26px;
    line-height: 1;
    position: absolute;
    top: 1px;
    left: 20px;
    text-align: center;
    padding: 0 2px;
    width: 36px;
}

.page_column {
    width: 70%;
}.page_title_container {
    border-bottom: 1px solid black;
}

.page_title {
    text-align: center;
    font-size: 2vw;
    font-weight: 800;
    width: 80%;
}.login_text {
    font-size: 2vw;
    font-weight: 500;
    padding-left: 5px;
    padding-right: 10px;
    width: 100%;
    text-align: right;
}h2 {
    font-size: 2vw;
    margin-block-start: 0px;
    margin-block-end: 0px;
    display: inline;
}

.location_header {
    border-radius: 5px;
    text-align: center;
    max-height: 80vh;
    overflow-y: scroll;
}

.content {
    width: 100%;
    max-height: 88vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.show_menu_inner_headers {
    height: 5vmax;
    min-height: 5vmax;
    max-height: 5vmax;
}

.cats, .items {
    height: 83vh;
    min-height: 83vh;
    max-height: 83vh;
}

.menu-container {
    width: 99%;
    margin: 0 0.5%;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.menu-content-container .menu-container > .cats {
    flex: 1;
    height: auto;
    min-height: 0;
    max-height: none;
    box-sizing: border-box;
}

.menu-content-container .menu-container > .items_container {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.menu-content-container .menu-container > .items_container > .items_cats {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
}

.sub-container {
    display: flex;
    flex: 1;
    min-height: 0;
}

.loc-body {
    width: 100%;
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
}

.location_content {
    display: flex;
    flex: 1;
    min-height: 0;
}

.location_content:has(> .subhdr-container + .sub-container) {
    flex-direction: column;
    overflow: hidden;
}

.orderby_selections, .location_header {
    margin: 0 10px;
}

.orderby_selections select{
    font-size: 2vw;
    height: 100%;
}

.orderby_postcode input {
    font-size: 2vw;
    height: 90%;
}

.orderby_submit button {
    padding-left: 10px;
    font-size: 2vw;
    height: 100%;
}.location_button {
    margin: 4vh 3% 0 17%;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    width: 80%;
}

.location_button_margin {
    margin-bottom: 30vh;
}

.location_header_button {
    cursor: pointer;
    width: 80%;
    margin: 10px 10%;
}

.location_header_name {
    font-size: 1.5vmax;
    font-weight: 600;
    text-align: center;
}

.locations_list {
    display: flex;
    flex-flow: column;
}

.location_logo {
    margin-top: 0;
    margin-left: -14%;
    width: 28%;
    text-align: center;
}

.min_order_image {
    width: 5vw;
    height: 5vw;
}

.location_logo_image {
    border-radius: 5px;
    border: 2px solid black;
    width: 95%;
    height: 90%;
    max-width: 100px;
    max-height: 100px;
}

.location_logo_left {
    width: 72%;
}

.location_logo_right {
    width: 35%;
}.location_name {
    font-size: 2vmax;
    font-weight: 1000;
    text-align: left;
    padding-left: 5px;
    width: 60%;
}

.location_summary {
    padding-left: 5px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    width: 80%;
}

.location_address {
    font-size: 1.5vmax;
    width: 40%;
    text-align: right;
    padding-right: 5px;
}

.location_transport {
    padding-left: 5px;
    width: 25vw;
}.rounded_button {
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 40px;
    background-color: black;
    color: white;
}

.basket_block {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 5px;
}

.basket_allergen_button {
    font-size: 2vmax;
}.cats_container {
    padding: 5px;
}.location_delivery {
    text-align: right;
    font-size: 1.5vmax;
}

.search_input, .clear_search {
    font-size: 32px;
    padding: 2px 5px;
    border-width: 0px;
    text-align: center;
    border-radius: 5px;
    background-color: black;
    color: white;
}.search_input {
    margin: 0 5px;
    width: 220px;
}

.clear_search {
    margin-right: 5px;
}

.order_buttons {
    width: 100%;
    flex-wrap: wrap;
}

.order_header {
    font-size: 3vmax;
}.order_button_img {
    border-radius: 5px;
    width: 3vmax;
    height: 3vmax;
}

.items_for_cat {
    margin-bottom: 30px;
}

.item_info {
    margin-bottom: 10px;
    cursor: pointer;
}

.item_number {
    width: 10%;
    font-size: 2vmax;
}

.item_name {
    font-size: 1.6vmax;
    font-weight: bold;
    text-align: center;
    padding: 10px 15px;
}

.item_name_search {
    font-size: 1.6vmax;
    font-weight: bold;
    text-align: left;
    padding: 10px 15px;
    width: 69%;
    margin-left: 1%;
}

.item_name_search div {
    display: flex;
}

.item_description {
    font-size: 1.5vmax;
}

.item_cost {
    font-size: 2vmax;
    text-align: center;
    padding: 1px 5px;
}

.item_cost_search {
    font-size: 2vmax;
    text-align: right;
    padding: 1px 5px;
    margin-right: 1%;
    width: 29%;
}

.order_headers {
    border-radius: 5px;
    text-align: center;
    font-size: 1.6vw;
}

.order_header_no {
    margin: 10px 0 10px 0;
}

.order_header_items {
    margin: 10px 2% 10px 2%;
}

.order_items {
    height: 50vh;
    min-height: 50vh;
    max-height: 50vh;
    overflow-y: auto;
}

/* width */
.order_items::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.order_items::-webkit-scrollbar-track {
    background: gray;
}

/* Handle */
.order_items::-webkit-scrollbar-thumb {
    background: black;
}.no_items_container {
    font-size: 3vmax;
    padding-top: 50px;
}.order_qnt, .small_order_qnt {
    width: 20%;
    text-align: right;
    padding-left: 2%;
}

.order_qnt {
    font-size: 3vmax;
}

.small_order_qnt {
    font-size: 1.5vmax;
}

.order_qnt_new {
    width: 15%;
    text-align: right;
    font-size: 1.5vmax;
    padding-left: 0%;
}

.extras_order_col1, .small_extras_order_col1, .order_id, .small_order_id.order_header_no {
    width: 10%;
}

.order_header_items, .order_item_container, .small_order_item_container, .extras_item_container, .small_extras_item_container {
    width: 70%;
}

.order_header_cost, .order_cost, .small_order_cost, .extras_order_cost, .small_extras_order_cost {
    width: 20%;
}

.allergen_container {
    min-width: 30%;
}

.order_buttons_container {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.order_id, .small_order_id {
    text-align: center;
}

.order_id {
    font-size: 3vmax;
}

.small_order_id {
    font-size: 1.5vmax;
    width: 10%;
}

.order_name, .small_order_name {
    text-align: left;
    width: 80%;
}

.order_name {
    font-size: 3vmax;
}

.small_order_name {
    font-size: 1.5vmax;
}

.order_name_new {
    text-align: left;
    width: 55%;
    font-size: 1.5vmax;
}

.order_cost, .small_order_cost {
    text-align: right;
    padding-left: 2%;
}

.order_cost {
    font-size: 3vmax;
}

.small_order_cost {
    font-size: 1.5vmax;
    width: 22%;
}

.order_cost_new {
    text-align: right;
    font-size: 1.5vmax;
    padding-left: 1%;
    width: 30%;
}

.order_total_amount, .small_order_total_amount {
    font-weight: 800;
    margin: 1px 0;
}

.order_total_amount {
    font-size: 3vmax;
}

.small_order_total_amount {
    font-size: 2vmax;
}

.order_comment {
    border-bottom: 2px solid black;
    width: 100%;
    height: fit-content;
    padding: 10px 0;
}

.order_comment textarea {
    resize: none;
    background: none;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 20px;
    color: black;
}.extras_order_qnt, .small_extras_order_qnt {
    width: 20%;
    text-align: right;
    font-size: 1.5vw;
    padding-left: 5%;
}

.extras_order_name, .small_extras_order_name {
    text-align: left;
    width: 75%;
    font-size: 2vw;
}

.extras_order_cost, .small_extras_order_cost {
    text-align: right;
}

.extras_order_cost {
    font-size: 2.3vmax;
}

.small_extras_order_cost {
    font-size: 1.2vmax;
}

.order_payment_type input {
    visibility: hidden;
    position: absolute;
}

.order_payment_type img {
    width: 120px;
    height: 120px;
}

.order_payment_type > input + img { /* IMAGE STYLES */
    cursor:pointer;
    border:2px solid transparent;
}

.order_payment_type label > input { /* HIDE RADIO */
  visibility: hidden; /* Makes input not-clickable */
  position: absolute; /* Remove input from document flow */
}
.order_payment_type label > input + img { /* IMAGE STYLES */
  cursor:pointer;
  border:2px solid transparent;
}

.order_payment_type_label {
    font-size: 2vmax;
    text-align: center;
}

.order_payment_type_label div {
    border-radius: 5px;
    text-align: center;
}

.order_payment_type {
    margin-top: 10px;
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 50px;
    gap: 40px;
}

.action_order_button_cancel, .action_order_button_submit {
    font-size: 28px;
    border-radius: 10px;
    padding: 3px 10px;
    border: none;
}

.action_order_button_submit:disabled {
    color: gray;
    background-color: rgb(73, 73, 239);;
}

.cat_title, .items_title {
    width: 100%;
    font-size: 2vw;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.items_title {
    margin-left: 20%;
    margin-right: 20%;
    width: 60%;
}

.itemextras_order_question_highlighted {
    font-size: 3vmax;
    color: red;
}

.extras_order_qnt, .extras_order_name {
    font-size: 2.3vmax;
}

.small_extras_order_qnt, .small_extras_order_name {
    font-size: 1.2vmax;
}.curr-order-button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.curr-order-button-container .reprint_order {
    margin: 0;
    height: 35px;
}

.curr-order-button-container .curr_order_state_not_sel,
.curr-order-button-container .curr_order_state_sel,
.curr-order-button-container .curr_order_state_ready {
    margin: 0 5px;
}

.curr-order-details-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.curr-order-coll-id {
    font-size: 18px;
    font-weight: 700;
    padding-right: 5px;
}

.current-orders-details {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.current-orders-details button {
    background-color: var(--a4d-color);
    color: black;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    padding: 5px;
    border-color: var(--a4d-color);
    border-radius: 8px;
}

.current-orders-details-count {
    display: flex;
}

/* make sure this is AFTER .current-orders-details-count */
.current-orders-details-hidden {
    display: none;
}

@keyframes basketNewItemsFrames {
    0% {
        color:black;
    }
    /*10% {
        color:white;
    }
    20% {
        color:black;
    }
    30% {
        color:white;
    }
    40% {
        color:black;
    }*/
    50% {
        color:white;
        background-color: rgba(85, 55, 0, 0.8);
    }
    /*60% {
        color:black;
    }
    70% {
        color:white;
    }
    80% {
        color:black;
    }
    90% {
        color:white;
    }*/
    100% {
        color:black;
        background-color: rgba(255, 118, 12, 0.8);
    }
 }

@media only screen and (max-width: 800px) {
    .each_order_title_full_margin {
        width: 0%;
    }

    .each_order_title_full_margin_right {
        width: 100%;
        display: flex;
    }

    .each_current_order {
        margin-bottom: 20px;
    }

    .order_id_curr, .order_name_curr, .order_cost_curr {
        font-size: 2.2vmax;
    }

    .each_order_title_full {
        width: 100%;
    }

    .order_state_reprint_full {
        width: 20%;
    }

    .order_change_state {
        margin: 0 5% 10px 5%;
        width: 35%;
    }

    .order_edit {
        margin: 0 0 10px 5%;
    }

    .order_reject, .order_accept {
        width: 20%;
    }

    .new_order_payment {
        width: 60%;
    }

    .order_id_new {
        font-size: 3vmax;
    }

    .new_order_total {
        font-size: 2.5vmax;
    }
}

@media only screen and (max-height: 500px) {
  .login_inner_page {
    margin-top: 0%;
  }

  .login_container {
    padding: 0 16px;
  }
}
@media only screen and (max-width: 1200px) {
  .transport_specify_container {
    width: 37%;
  }
}

@media only screen and (max-width: 1100px) {

}

@media only screen and (max-width: 1000px) {
    .address_search_button, .order_address1_input input,
    .order_address2_input input, .order_postcode_input input {
        font-size: 20px;
    }

    .checkout-discount-layout {
        display: block;
    }

    .order_name_curr {
        font-size: 20px;
    }
}

@media only screen and (max-width: 950px) {
    .address_search_button {
        font-size: 18px;
    }

    .order_name_curr {
        font-size: 18px;
    }
}

@media only screen and (max-width: 900px) {
    h1.header-title {
        font-size: 22px;
    }

    .transport_specify_container {
      width: 25%;
    }

    .closed_hours {
        width: 92%;
        margin-left: 0;
    }

    .delivery_costs_cost_input, .delivery_costs_postcode_input,
    .delivery_costs_distance_input {
        font-size: 18px;
    }

    .order_item_id_full {
        width: 5%;
    }

    .order_qnt_full {
        width: 5%;
    }

    .order_name_full {
        width: 70%;
    }

    .order_extras_blank {
        width: 6%;
    }

    .order_extras_qnt_full {
        width: 7%;
    }

    .order_extras_name_full {
        width: 67%;
    }

    .location_relatives_dropdown-toggle, .location_relatives_dropdown-option {
        font-size: 15px;
    }

    .location_relatives_dropdown-toggle::after {
        font-size: 13px;
    }

    .address_search_button {
        font-size: 16px;
    }

    .order_now_button_container {
        width: 300px;
    }

    .cat_name_title {
        font-size: 24px;
    }
}

@media only screen and (max-width: 850px) {
    .location_relatives_dropdown-toggle, .location_relatives_dropdown-option {
        font-size: 14px;
    }

    .location_relatives_dropdown-toggle::after {
        font-size: 12px;
    }

    .order_name_curr {
        font-size: 16px;
    }
}

@media only screen and (max-width: 800px) {
    .close {
        font-size: 6vmax;
    }

    .issue_order_right_margin {
        width: 80%;
    }

    .each_order_title_full_margin {
        width: 0%;
    }

    .each_order_title_full_margin_right {
        width: 100%;
        display: flex;
    }

    .each_current_order {
        margin-bottom: 20px;
    }

    .order_id_curr, .order_name_curr, .order_cost_curr {
        font-size: 2.2vmax;
    }

    .each_order_title_full {
        width: 100%;
    }

    .order_state_reprint_full {
        width: 30%;
    }

    .order_change_state {
        margin: 0 5% 10px 5%;
        width: 60%;
    }

    .order_reject, .order_accept {
        width: 20%;
    }

    .new_order_payment {
        width: 60%;
    }

    .order_id_new {
        font-size: 3vmax;
    }

    .new_order_total {
        font-size: 2.5vmax;
    }

    .delivery_costs_postcodes_column_container {
        width: 70%;
    }

    .delivery_costs_amount_column_container {
        width: 30%;
    }

    .order_item_id_full {
        width: 4%;
    }

    .order_qnt_full {
        width: 4%;
    }

    .order_name_full {
        width: 72%;
    }

    .order_extras_blank {
        width: 7%;
    }

    .order_extras_qnt_full {
        width: 6%;
    }

    .order_extras_name_full {
        width: 67%;
    }
}

@media only screen and (max-width: 700px) {
    .delivery_costs_cost_input, .delivery_costs_postcode_input,
    .delivery_costs_distance_input {
        font-size: 16px;
    }

    .delivery_costs_distance_input, .delivery_costs_distance_label,
    .delivery_costs_distance_label_right {
        width: 65px;
    }

    .txns_summary_detail_table {
        font-size: 18px;
    }

    .location_relatives_dropdown-container {
        max-width: 300px;
    }

    /* Override previous values when browser width is smaller */
    .main_title {
        font-size: 6vw;
    }

    .main_title_sub {
        font-size: 2vw;
    }

    .add_item_label, .add_item_value, .existing_cats {
        font-size: 3vw;
    }

    .existing_cats {
        margin: 0px 0px 0px 0px;
    }

    label {
        font-size: 16px;
    }

    button {
        font-size: 4vw;
        padding: 2px 5px;
    }

    .rounded_button {
        font-size: 3vw;
    }

    .outer_widths {
        min-width: 5%;
        max-width: 5%;
        width: 5%;
    }

    .cat_checkboxes_list, .input_text {
        font-size: 3vw;
    }

    .select_all_checkbox, .other_checkbox {
        font-size: 3vmax;
    }

    .cat_button_text, .cat_button_text_selected {
        font-size: 3vw;
    }

    .category_icon_add {
        width: 4vw;
        height: 4vw;
    }

    .modal-content {
        width: 100%;
    }

    .input_checkbox, .cat_checkboxes {
        width: 20px;
    }

    .location_choices {
        font-size: 4vw;
    }

    .back_button {
        padding: 3px 5px;
        margin-right: 0px;
    }

    .items {
        width: 58%;
        margin-left: 2%;
    }

    .cats {
        width: 40%;
    }

    .site_label {
        font-size: 4vw;
    }

    .offers_dates {
        margin-top: 20px;
        margin-left: 0px;
    }
}

@media only screen and (max-width: 600px) {
    .delivery_costs_column1_container {
        width: 100%;
    }

    .delivery_costs_column2_container {
        width: 100%;
    }

    .delivery_costs_postcodes_column_container {
        width: 75%;
    }

    .delivery_costs_amount_column_container {
        width: 25%;
    }

    .delivery_costs_cost_input, .delivery_costs_postcode_input,
    .delivery_costs_distance_input {
        font-size: 20px;
    }

    .delivery_costs_distance_input, .delivery_costs_distance_label,
    .delivery_costs_distance_label_right {
        width: 85px;
    }

    .delivery_costs_postcodes_right_label, .delivery_costs_amount_right_label,
    .delivery_costs_distance_label_right {
        display: none;
    }

    h1.header-title {
        font-size: 18px;
    }

    .txns_summary_detail_table {
        font-size: 15px;
    }

    .edititems-header, .edititems-header-name, .edititems-header-allergens, .edititems-header-hide {
        font-size: 16px;
    }

    .edititems-row, .edititems-row-name, .edititems-row-allergens, .edititems-row-hide, .edititems-row-name-searched {
        font-size: 14px;
    }
}

@media only screen and (max-height: 600px) {
    .admin_locations {
        height: 74vh;
        min-height: 74vh;
        max-height: 74vh;
    }
}

@media only screen and (max-width: 600px) {
    .chat-notifications-label {
        font-size: 16px;
    }

    .chat-notifications-number {
        font-size: 18px;
    }

    .order_item_id_full {
        width: 5%;
    }

    .order_qnt_full {
        width: 5%;
    }

    .order_name_full {
        width: 70%;
    }

    .order_extras_blank {
        width: 6%;
    }

    .order_extras_qnt_full {
        width: 7%;
    }

    .order_extras_name_full {
        width: 67%;
    }
}

@media only screen and (max-width: 550px) {
    .name-preset {
        margin-left: 0px;
    }

    .questions-preset {
        margin-left: 10px;
    }
}

@media only screen and (max-width: 510px) {
    .chat-notifications-label {
        font-size: 14px;
    }

    .chat-notifications-number {
        font-size: 16px;
    }

    .order_item_id_full {
        width: 6%;
    }

    .order_qnt_full {
        width: 6%;
    }

    .order_name_full {
        width: 68%;
    }

    .order_extras_blank {
        width: 6%;
    }

    .order_extras_qnt_full {
        width: 8%;
    }

    .order_extras_name_full {
        width: 66%;
    }

    .total_income {
        font-size: 18px;
    }

    .custom_range_items {
		display: block;
		text-align: center;
	}

    .txns_summary_detail_table {
        font-size: 12px;
    }

    .location_relatives_dropdown-toggle, .location_relatives_dropdown-option,
    .location_relatives_dropdown-toggle::after {
        font-size: 14px;
    }

    .edititems-header, .edititems-header-name, .edititems-header-allergens, .edititems-header-hide {
        font-size: 13px;
    }

    .edititems-row, .edititems-row-name, .edititems-row-allergens, .edititems-row-hide, .edititems-row-name-searched {
        font-size: 11px;
    }
}

@media only screen and (max-width: 450px) {
    .answers-preset-container {
        margin-left: 0;
    }
}

@media only screen and (max-width: 420px) {
    .order_item_id_full {
        width: 7%;
    }

    .order_qnt_full {
        width: 8%;
    }

    .order_name_full {
        width: 65%;
    }

    .order_extras_blank {
        width: 6%;
    }

    .order_extras_qnt_full {
        width: 10%;
    }

    .order_extras_name_full {
        width: 64%;
    }

    .total_income {
        font-size: 16px;
    }

    h1.header-title {
        font-size: 14px;
    }

    .toggle_menu_button {
        font-size: 21px;
    }

    .txns_summary_detail_table {
        font-size: 10px;
    }

    .location_relatives_dropdown-toggle, .location_relatives_dropdown-option,
    .location_relatives_dropdown-toggle::after {
        font-size: 13px;
    }

    .existing_extra_pulldown {
        font-size: 16px;
    }

    .name-preset {
        display: block;
    }

    .answers-preset {
        font-size: 14px;
    }

    .answers-type-container, .answers-type-container select {
        font-size: 14px;
    }

    .answer-type-presets {
        display: block;
    }
}

@media only screen and (max-width: 350px) {
    .order_item_id_full {
        width: 8%;
    }

    .order_qnt_full {
        width: 10%;
    }

    .order_name_full {
        width: 62%;
    }

    .order_extras_blank {
        width: 6%;
    }

    .order_extras_qnt_full {
        width: 12%;
    }

    .order_extras_name_full {
        width: 62%;
    }

    .total_income {
        font-size: 13px;
    }

    .toggle_menu_button {
        font-size: 19px;
    }
}

@media only screen and (max-width: 280px) {
    .go_to_top img {
        width: 4vmax;
        height: 4vmax;
    }
}

@media only screen and (min-width: 1200px) and (max-height: 600px) {
    .adorders_column {
        width: 7%;
    }

    .page_column {
        width: 81%;
    }
}

@media only screen and (max-height: 500px) {
	.please-wait-dialog {
		margin: 36vh 0;
	}
}

@media only screen and (max-height: 350px) {
	.please-wait-dialog {
		margin: 25vh 0;
	}
}

@media only screen and (max-width: 1000px) {
    .opening_hours_hdr {
        font-size: 18px;
    }
}

@media only screen and (max-width: 600px) {
    .site-info-delivery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-info-setting {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-info-setting .order_prints_title,
    .site-info-setting-control {
        box-sizing: border-box;
        width: 100%;
    }

    .site-info-setting-control {
        justify-content: flex-start;
        padding: 0 10px 10px;
    }

    .order_prints_title, .transport_info_delivery_title, .transport_info_collection_title,
    .transport_info_min_order_input_pound, .transport_info_max_delivery_distance,
    .transport_info_min_order_input input, .order_prints_input input, .service_charge_choices label,
    .stripe_input input {
        font-size: 20px;
    }

    .transport_notification_sound, .receipts_bigger_items_input, .service_charge_choices input {
        width: 24px;
        height: 24px;
    }

    .transport_info, .delivery_location_to_minutes, .collection_location_to_minutes {
        font-size: 1.5vmax;
    }

    .opening_hours_hdr_block {
        display: none;
    }

    .order_prints_title {
        width: 70%;
    }

    .order_prints_title_sub {
        width: calc(70% - 20px);
    }

    .order_prints_title_sub2 {
        width: calc(70% - 40px);
    }
}

@media only screen and (max-width: 530px) {
    .opening_hours_block {
        display: block;
    }
}

@media only screen and (max-width: 400px) {
    .time_input {
        width: 95px;
    }

    .time_input input {
        font-size: 20px;
    }

    .order_prints_title, .transport_info_delivery_title, .transport_info_collection_title,
    .transport_info_min_order_input_pound, .transport_info_max_delivery_distance,
    .transport_info_min_order_input input, .order_prints_input input, .service_charge_choices label,
    .stripe_input input {
        font-size: 17px;
    }

    .transport_notification_sound, .receipts_bigger_items_input, .service_charge_choices input {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 1100px) {
  .popup .popuptext {
    margin-left: -183%;
    font-size: 18px;
  }
}

@media only screen and (max-width: 1000px) {
  .popup .popuptext {
    margin-left: -177%;
    font-size: 17px;
  }
}

@media only screen and (max-width: 900px) {
  .popup .popuptext {
    margin-left: -163%;
    font-size: 15px;
  }
}

@media only screen and (max-width: 800px) {
  .popup .popuptext {
    margin-left: -146%;
    font-size: 13px;
  }
}

@media only screen and (max-width: 700px) {
  .popup .popuptext {
    margin-left: -163%;
    font-size: 15px;
  }
}

@media only screen and (max-width: 400px) {
  .popup .popuptext {
    margin-left: -139%;
    font-size: 12px;
  }
}

@media only screen and (min-width: 1300px) {
    .cat_checkboxes_list, .input_text {
        font-size: 1.1vw;
    }

    .select_all_checkbox, .other_checkbox {
        font-size: 3vmax;
    }
}

@media only screen and (max-width: 1000px) {
    .opening_hours_hdr {
        font-size: 18px;
    }
}

@media only screen and (max-width: 600px) {
    .order_prints_title, .transport_info_delivery_title, .transport_info_collection_title,
    .transport_info_min_order_input_pound, .transport_info_max_delivery_distance,
    .transport_info_min_order_input input, .order_prints_input input, .service_charge_choices label,
    .stripe_input input {
        font-size: 20px;
    }

    .transport_notification_sound, .receipts_bigger_items_input, .service_charge_choices input {
        width: 24px;
        height: 24px;
    }

    .transport_info, .delivery_location_to_minutes, .collection_location_to_minutes {
        font-size: 1.5vmax;
    }

    .opening_hours_hdr_block {
        display: none;
    }

    .order_prints_title {
        width: 70%;
    }

    .order_prints_title_sub {
        width: calc(70% - 20px);
    }

    .order_prints_title_sub2 {
        width: calc(70% - 40px);
    }
}

@media only screen and (max-width: 530px) {
    .opening_hours_block {
        display: block;
    }
}

@media only screen and (max-width: 400px) {
    .time_input {
        width: 95px;
    }

    .time_input input {
        font-size: 20px;
    }

    .order_prints_title, .transport_info_delivery_title, .transport_info_collection_title,
    .transport_info_min_order_input_pound, .transport_info_max_delivery_distance,
    .transport_info_min_order_input input, .order_prints_input input, .service_charge_choices label,
    .stripe_input input {
        font-size: 17px;
    }

    .transport_notification_sound, .receipts_bigger_items_input, .service_charge_choices input {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 800px) {
    .menu-content-container {
        display: none;
    }

    .search_input_text_container {
        display: none;
    }

    .orders-content-container {
        flex: 100; /* meaning 100%, could just use 1 here but trying to be more specific */
        border-left: none;
    }

    .top_header_buttons, .orders_actions_custom, .basket {
        display: none;
    }

    .top_header_buttons {
        width: 0;
    }

    .order_full_container {
        flex-flow: column-reverse;
    }
}

@media only screen and (max-width: 500px) {
    h2 {
        font-size: 3.2vw;
    }

    .login_text {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 800px) {
    .content {
        width: 90%;
    }
}

@media only screen and (min-width: 1000px) {
    .content {
        width: 85%;
    }
}

@media (orientation: landscape) {
    .page_column {
        width: 75%;
    }

    @media only screen and (min-width: 1200px) and (max-height: 600px) {
        .adorders_column {
            width: 7%;
        }

        .page_column {
            width: 81%;
        }
    }

    @media only screen and (min-width: 1300px) {
    }
}

@media (orientation: portrait) {
    .page_column {
        width: 67%;
    }

    @media only screen and (min-height: 640px)  {
        header {
            height: 9vh;
            min-height: 9vh;
            max-height: 9vh;
        }

        .adorders_img {
            max-height: 10vh;
        }

        .location_header {
            max-height: 82vh;
        }

        .content {
            max-height: 90vh;
        }

        .show_menu_inner_headers {
            height: 4vmax;
            min-height: 4vmax;
            max-height: 4vmax;
        }

        .cats, .items {
            height: 87vh;
            min-height: 87vh;
            max-height: 87vh;
        }
    }
}

 @media only screen and (max-width: 1000px) {
    .order_payment_type img {
        width: 90px;
        height: 90px;
    }

    .order_payment_type {
        gap: 25px;
    }

    .curr_order_state_sel, .curr_order_state_not_sel, .curr_order_state_ready, .curr_order_state_pending {
        width: 70px;
    }

    .curr_order_state_not_sel img, .curr_order_state_sel img, .curr_order_state_ready img {
        width: 70%;
        height: 25px;
    }
}

@media only screen and (max-width: 900px) {
    .search_input, .clear_search {
        font-size: 24px;
    }

    .search_input {
        width: 170px;
    }

    .order_payment_type img {
        width: 70px;
        height: 70px;
    }

    .order_payment_type {
        gap: 20px;
    }

    .curr_order_state_sel, .curr_order_state_not_sel, .curr_order_state_ready, .curr_order_state_pending {
        width: 60px;
    }

    .curr_order_state_not_sel img, .curr_order_state_sel img, .curr_order_state_ready img {
        width: 80%;
        height: 25px;
    }
}

@media only screen and (max-width: 800px) {

}

@media only screen and (max-width: 800px) {
    .order_qnt_new, .order_name_new, .order_cost_new {
        font-size: 2vmax;
    }
}

@media only screen and (max-width: 500px) {
    .location_summary {
        width: 98%;
    }

    .logo_image {
        width: 100%;
        max-width: 32px;
        height: 100%;
        max-height: 32px;
    }

    .itemextras_order_submit {
        margin: 4% 4% 4% 43%;
        width: 50%;
    }

    .order_headers {
        font-size: 3.6vw;
    }

    .order_total_amount {
        font-size: 2vmax;
    }
}

@media (orientation: landscape) {
    @media only screen and (max-height: 420px) {
        .order_header_no, .order_header_items, .order_header_cost {
            margin-top: 0;
        }

        .order_items {
            height: 40vh;
            min-height: 40vh;
            max-height: 40vh;
            overflow-y: auto;
        }
    }

    @media only screen and (max-height: 280px) {
        .order_items {
            height: 35vh;
            min-height: 35vh;
            max-height: 35vh;
            overflow-y: auto;
        }

        .order_buttons {
            margin-top: 4vh;
        }

        .action_order_button_cancel, .action_order_button_submit {
            font-size: 3vw;
        }
    }
}

.company_image {
    border-radius: 5px;
    max-width: 100%;
    max-height: 10vh;
}

.items_header {
    padding-top: 0;
    padding-bottom: 0;
}

.cats {
    overflow-x: hidden;
}

.cats, .items {
    margin-top: 4px;
    overflow-y: scroll;
    padding-bottom: 5vh;
}

.cat_table, .item_table {
    margin-bottom: 40vh;
    position: relative;
}

.items_header {
    overflow: hidden;
}

.items_container {
    overflow: scroll;
}

.column_header_text {
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.items_for_cat {
    color: black;
}

.items_for_cat {
    background-color: #E0E0E0;
}

.items_for_cat {
    margin-bottom: 10px;
}

.category_list, .category_list_selected {
    padding: 0;
    border-radius: 8px;
}

.category_list, .category_list_selected {
    margin-bottom: 20px;
}

.cat_button_text {
    color: white;
}

.cat_button_text_selected {
    color: black;
}

.category_buttons, .cat_button_text, .cat_button_text_selected {
    background: none;
    margin: 0;
}

.cat_button_text, .cat_button_text_selected {
    width: 100%;
    border: none;
}

.cat_button_text:focus, .cat_button_text_selected:focus {
    outline: none;
}

.cat_button_text, .cat_button_text_selected, .category_buttons {
    font-size: 12.5px;
    font-weight: 800;
}

.cat_button_text, .cat_button_text_selected {
    height: 8vmax;
}

.cat_list_iframe {
    width: calc(25% - 6px);
    margin: 0 3px 4px 3px;
}

@media only screen and (max-width: 700px) {
    .cats {
        width: 39.5%;
        padding-left: 0.5%;
    }

    .items_header, .items_container {
        width: 58.5%;
        margin-left: 1%;
        padding-right: 0.5%;
    }

    .cat_button_text, .cat_button_text_selected {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 900px) {
    .cat_button_text, .cat_button_text_selected, .category_buttons {
        font-size: 14px;
    }
}

@media only screen and (min-width: 950px) {
    .cat_button_text, .cat_button_text_selected, .category_buttons {
        font-size: 15px;
    }
}

@media only screen and (min-width: 1000px) {
    .cat_button_text .cat_button_text_selected, .category_buttons {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1100px) {
    .cat_button_text, .cat_button_text_selected, .category_buttons {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1200px) {
    .cat_button_text, .cat_button_text_selected, .category_buttons {
        font-size: 20px;
    }
}

.company_logo {
    width: 25%;
    text-align: left;
    font-size: 4vw;
}

.scrolling_cats_iframe_show {
    width: 100%;
    display: flex;
    flex: 1;
    min-height: 0;
}

.scrolling_cats_iframe_hidden {
    display: none;
}

.scrolling_items_iframe_show {
    display: flex;
}

.scrolling_items_iframe_hidden {
    display: none;
}.category_list_iframe {
    background-color: #2c7c6f;
    border: 1px solid black;
    border-radius: 10px;
}

.item_back_iframe {
    align-items: center;
    margin-left: 5px;
}

.item_back_iframe button {
    background: none;
    border: none;
    border-radius: 0;
    display: flex;
    padding: 0;
}

.item_back_iframe img {
    width: 60px;
    height: 60px;
}

.search_input_iframe {
    margin: 0 5px;
    justify-content: flex-end;
    flex-grow: 1;
}

.home_body {
    background-image: url("../IMAGES/market.jpg");
}

.location_header, .slogan {
    background-color: #b4b4b4;
}

.login_text {
    color: blue;
}

.modal-content, .popup .popuptext {
    background-color: white;
}

.popup .popuptext, .modal-content {
    color: black;
}

.modal_header {
    color: black;
}

.items_for_cat, .category_buttons, .order_qnt, .small_order_qnt {
    color: black;
}

.items_for_cat {
    background-color: #E0E0E0;
}

.item_info, .order {
    background-color: white;
}

.order_item, .small_order_item {
    border-bottom: solid 1px rgb(255, 118, 12);
}

.small_order_item {
    padding: 10px 0;
}

.cat_title, .items_title {
    background-color: rgb(255, 118, 12);
    border: 1px solid black;
}

.cats_container {
    border: 1px solid black;
}

.about_content {
    background-color: rgb(209, 209, 209);
    box-shadow: 5px 10px 18px #888888;
}

.location_button {
    background-color: white;
    border-radius: 1vmax;
    border: 3px solid black;
}

.location_header_button {
    border-bottom: 2px solid rgb(224, 223, 223);
}

.login_container {
    background-color: #E1E1E1;
}

.login_container, .login_changes {
    color: #303030;
}

.modal_cancel_multiple_orders {
    overflow: hidden;
}

.modal-content_cancel_multiple_orders {
    background-color: white;
    color: black;
    border-radius: 0;
}

.order_headers, .order_total, .order_header_items_div {
    border: 1px solid black;
    height: fit-content;
}

.order_payment_type label > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
    border:2px solid #f00;
}

.order_payment_type > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
    border:2px solid #f00;
}

.action_order_button_cancel {
    background-color: red;
}

.action_order_button_submit {
    background-color: black;
}

/* FOR THE TXNS RANGE RADIO BUTTONS */
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');


:root {
	--white: #ffffff;
	--light: #f0eff3;
	--black: #000000;
	--dark-blue: #1f2029;
	--dark-light: #353746;
	--red: #da2c4d;
	--yellow: rgb(255, 118, 12);
	--grey: #ecedf3;
}.checkbox-budget:checked + label,
.checkbox-budget:not(:checked) + label{
	position: relative;
	display: inline-block;
	padding: 5px;
	/*padding-top: 5px;
	padding-bottom: 5px;*/
	width: 25%;
	font-size: 2vmax;
	line-height: 2vmax;
	font-weight: 700;
	letter-spacing: 1px;
	/*margin: 0 auto;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;*/
	text-align: center;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	text-transform: uppercase;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
	-webkit-text-stroke: 1px var(--white);
    /*text-stroke: 1px var(--white);*/
    -webkit-text-fill-color: transparent;
    /*text-fill-color: transparent;*/
    color: transparent;
}.checkbox-budget:checked + label::before,
.checkbox-budget:not(:checked) + label::before{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 4px;
	background-image: linear-gradient(138deg, var(--red), var(--yellow));
	z-index: -1;
}/* FOR THE TXNS RANGE RADIO BUTTONS - END END END*/

.txns-chart-title {
	font-size: 16px;
	text-align: center;
	font-weight: bold;
	background-color: black;
	color: white;
}

.txns_barcharts g {
	font-size: 12px;
}

.txns_barcharts_container {
    margin: 20px 1%;
    align-items: center;
    flex-flow: wrap;
    display: flex;
    justify-content: space-evenly;
	align-items: flex-start;
}

.charts_container {
	border: 1px solid black;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
	min-width: 300px;
	margin: 20px 5px;
}

.txns_orders_title {
	text-align: center;
	font-size: 3vmax;
}

.txns_orders_table {
	width: 98%;
	border: 2px solid black;
	margin: 10px 1% 200px 1%;
	text-align: center;
	background-color: white;
	font-size: 1.5vmax;
}

.txns_orders_table thead {
	border-bottom: 4px solid black;
}

.txns_orders_table th, .txns_orders_table td {
	border-right: 1px solid black;
}

.txns_orders_table td {
	padding: 10px 0;
}

.txns_orders_table tr:nth-child(even) {
	background-color: gray;
	color: white;
}

.txns_summary {
	width: 100%;
	padding: 15px 0;
}

.txns_summary_items {
	flex-wrap: wrap;
	justify-content: center;
}

.txns_summary_date_from, .txns_summary_date_to {
	font-size: 20px;
	width: fit-content;
	margin: auto 5px;
}

.txns_summary_input {
	text-align: center;
	width: fit-content;
	margin: auto 5px;
}

.txns_summary_input input, .txns_summary_input_input {
	font-size: 20px;
	width: 210px;
	border: 1px solid black;
	margin: 10px;
}

.txns_summary_submit {
	width: fit-content;
	margin: auto 5px;
}

.txns_summary_submit button {
	font-size: 22px;
	border-radius: 5px;
	background-color: black;
	color: white;
	padding: 5px;
}

.show_details {
	margin: auto 0;
}

.show_details button {
	font-size: 22px;
	padding: 5px 10px;
	border-radius: 15px;
	border: 1px solid black;
	background-color: rgb(255, 118, 12);
}

.txns_summary_container {
	max-width: 500px;
	margin: auto;
}

.txns_summary_divider {
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.1));
}

.txns_summary_title {
	font-size: 20px;
}

.txns_summary_title .from, .txns_summary_title .to {
	width: 80px;
}

.txns_summary_title .from-date, .txns_summary_title .to-date {
	font-weight: bold;
}.txns_summary_print img {
	width: 50px;
	height: 40px;
}

.txns_summary_email {
	margin: auto 0 auto 20px;
}

.txns_summary_email img {
	width: 35px;
	height: 25px;
}

.txns_summary_heading {
	text-align: center;
	font-size: 24px;
	font-weight: 900;
	color: rgb(255, 118, 12);
	margin: 10px 0;
}

.txns_summary_subheading {
	text-align: left;
	font-size: 20px;
	font-weight: 500;
	width: 75px;
}

.txns_summary_sub_subheading {
	text-align: right;
	font-size: 20px;
	width: 40%;
}

.txns_summary_count {
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	width: 30%;
}

.txns_summary_value {
	text-align: right;
	font-size: 20px;
	font-weight: 500;
	flex-grow: 1;
}

.txns_summary_completed_only {
	text-align: center;
	font-size: 20px;
	color: black;
	margin: 10px 0;
}

.txn_range_buttons {
	margin-top: 20px;
}

.live_graphs {
	padding: 20px 0;
	background-color: #f0f0f0;
}

.txns_search {
	background-image: url('../IMAGES/magnifying-glass.png');
	background-size: 3vmax;
	background-position: 10px 10px;
	background-repeat: no-repeat;
	width: 40%;
	font-size: 2vmax;
	padding: 12px 20px 12px 100px;
	border: 1px solid #ddd;
	margin-bottom: 1%;
	margin-left: 1%;
}

.txns_search_cols {
	margin-left: 1%;
	font-size: 2vmax;
	padding: 0 15px;
}

.txns_search_cols_container {
	margin-bottom: 10px;
}

.cancel_multiple_orders_checkbox {
	width: 80%;
	height: 80%;
	margin: 0;
	padding: 0;
}

.cancel_multiple_orders_table {
	margin-bottom: 50px;
	height: 100vh;
	overflow-y: scroll;
}

.cancel_multiple_orders_table > div:last-child {
	margin-bottom: 50vh;
}

.cancel_multiple_orders_orders {
	font-size: 2vmax;
	text-align: center;
	border-bottom: 1px solid lightgray;
}

.cancel_multiple_orders_width_col1, .cancel_multiple_orders_width_col2,
.cancel_multiple_orders_width_col3, .cancel_multiple_orders_width_col4 {
	border-right: 1px solid whitesmoke;
}

.cancel_multiple_orders_width_col1, .cancel_multiple_orders_width_col2,
.cancel_multiple_orders_width_col3, .cancel_multiple_orders_width_col4,
.cancel_multiple_orders_width_col5 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.cancel_multiple_orders_width_col1 {
	width: 7%;
}

.cancel_multiple_orders_width_col2 {
	width: 23%;
}

.cancel_multiple_orders_width_col3 {
	width: 18%;
}

.cancel_multiple_orders_width_col4 {
	width: 30%;
}

.cancel_multiple_orders_width_col5 {
	width: 22%;
}

.cancel_multiple_orders_buttons {
	width: 50%;
	margin: 20px auto;
	justify-content: space-evenly;
}

.cancel_multiple_orders_buttons button {
	padding: 4px;
	border-radius: 6px;
}

.cancel_multiple_orders_table_title {
	font-size: 2.5vmax;
}

@media only screen and (max-width: 800px) {
	/*.txns_barcharts {
		width: 95%;
	}*/
}

@media only screen and (max-width: 700px) {
	.txns_summary_input input, .txns_summary_input_input {
		font-size: 16px;
		width: 170px;
	}
}

@media only screen and (max-width: 600px) {
	.txns_orders_table {
		width: 100%;
		margin: 10px 0% 200px 0%;
		font-size: 1.1vmax;
	}
}

@media only screen and (max-width: 510px) {
	.cancel_multiple_orders_width_col1, .cancel_multiple_orders_width_col2,
	.cancel_multiple_orders_width_col3, .cancel_multiple_orders_width_col4,
	.cancel_multiple_orders_width_col5 {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.cancel_multiple_orders_width_col3 {
		width: 23%;
	}

	.cancel_multiple_orders_width_col5 {
		width: 18%;
	}

	.txns_summary_items {
		display: block;
	}

	.txns_summary_input, .txns_summary_date_to, .txns_summary_submit {
		width: 100%;
		text-align: center;
		margin: 0;
	}

	.txns_summary_submit {
		margin-top: 10px;
	}
}

@media only screen and (max-width: 400px) {
	.cancel_multiple_orders_orders {
		font-size: 1.5vmax;
	}

	.txns_summary_subheading, .txns_summary_value, .txns_summary_count {
		font-size: 16px;
	}
}

.sidenav, .basket_area {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    transition: 0s;
}

.basket_area_show, .sidenav_show {
  width: 100%;
}

.sidenav {
  z-index: 2;
  background-color: black;
}

.basket_area {
  background-color: #F0F0F0;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Location Information: scoped layout overrides the legacy shared form rules. */
.site-info-page {
    box-sizing: border-box;
    color: #172033;
    margin: 0 auto;
    max-width: 960px;
    padding: 18px clamp(12px, 3vw, 30px) 40px;
    width: 100%;
}

.site-info-page .location-select-container {
    background: #ffffff;
    border: 1px solid #d9e0e8;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
    margin-bottom: 16px;
    padding: 14px 18px;
}

.site-info-page .location-select-container-select {
    background: #ffffff;
    border: 1px solid #94a3b8;
    box-sizing: border-box;
    max-width: 420px;
    min-height: 44px;
}

.site-info-page .site_location_info {
    background: linear-gradient(135deg, #fff7ed, #ffffff 70%);
    border: 1px solid #fed7aa;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .07);
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 18px 20px;
    width: 100%;
}

.site-info-page .site_location_info > * {
    text-align: left;
}

.site-info-page .site_location_info_label {
    color: #c2410c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.site-info-page .site_location_info_name {
    color: #111827;
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 7px;
}

.site-info-page .site_location_info_addr {
    color: #475569;
    font-size: 18px;
    font-style: normal;
    line-height: 1.45;
    margin: 0;
}

.site-info-page .site-info-sections {
    width: 100%;
}

.site-info-page .location_info_button {
    margin: 12px 0 0;
    max-width: none;
    width: 100%;
}

.site-info-page .site-info-section-toggle {
    align-items: center;
    background: #1f2937;
    border: 1px solid #1f2937;
    border-radius: 10px;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    font-size: 21px;
    font-weight: 700;
    justify-content: space-between;
    margin: 0;
    min-height: 54px;
    padding: 11px 16px;
    text-align: left;
    transition: background-color .15s ease, border-radius .15s ease;
    width: 100%;
}

.site-info-page .site-info-section-toggle:hover,
.site-info-page .site-info-section-toggle:focus-visible {
    background: #111827;
}

.site-info-page .site-info-section-toggle-open {
    background: #c2410c;
    border-color: #c2410c;
    border-radius: 10px 10px 0 0;
}

.site-info-page .site-info-section-chevron {
    display: inline-block;
    font-size: 25px;
    line-height: 1;
    transition: transform .15s ease;
}

.site-info-page .site-info-section-toggle-open .site-info-section-chevron {
    transform: rotate(180deg);
}

.site-info-page .opening_hours,
.site-info-page .order_charges,
.site-info-page .transport_info,
.site-info-page .postcodes_info,
.site-info-page .receipt_settings,
.site-info-page .scanner_type,
.site-info-page .api_keys {
    background: #ffffff;
    border: 1px solid #d9e0e8;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .06);
    box-sizing: border-box;
    margin: 0 0 14px;
    max-width: none;
    padding: 14px;
    width: 100%;
}

.site-info-page .site-info-group {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.site-info-page .site-info-setting {
    border-radius: 8px;
    padding: 5px 0;
}

.site-info-page .site-info-setting:nth-child(even) {
    background: #f8fafc;
}

.site-info-page .site-info-setting .order_prints_title {
    box-sizing: border-box;
    flex: 1 1 55%;
    font-size: 18px;
    line-height: 1.35;
    padding: 8px 10px;
    width: auto;
}

.site-info-page .site-info-setting-control {
    flex: 0 1 42%;
    min-width: 190px;
}

.site-info-page input[type="checkbox"] {
    box-sizing: border-box;
    flex: 0 0 24px;
    height: 24px !important;
    margin: 0;
    max-height: 24px;
    max-width: 24px;
    min-height: 24px;
    min-width: 24px;
    width: 24px !important;
}

.site-info-page input[type="radio"] {
    accent-color: #ea580c;
    box-sizing: border-box;
    height: 22px;
    min-height: 22px;
    min-width: 22px;
    width: 22px;
}

.site-info-page input[type="number"],
.site-info-page input[type="text"],
.site-info-page select {
    border: 1px solid #94a3b8;
    border-radius: 7px;
    padding: 6px 8px;
}

@media only screen and (max-width: 600px) {
    .site-info-page {
        padding: 12px 8px 32px;
    }

    .site-info-page .location-select-container {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .site-info-page .location-select-container-select {
        max-width: none;
        width: 100%;
    }

    .site-info-page .site-info-section-toggle {
        font-size: 18px;
    }

    .site-info-page .site-info-setting-control {
        min-width: 0;
    }
}

#small_basket_area {
  box-sizing: border-box;
  display: none;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  position: static;
  width: 100%;
  z-index: auto;
}

#small_basket_area.small_basket_area_show {
  display: block;
}

.basket_editing, .small_basket_editing {
  padding-top: 16px;
  color: transparent;
}

.basket_editing {
  font-size: 4vmax;
}

.small_basket_editing {
  font-size: 2vmax;
}

.sidenav_link {
  padding: 16px 4%;
  text-decoration: none;
  font-size: 24px;
  color: white;
  display: block;
  transition: 0s;
  position: relative;
}

.sidenav_link:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 92%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 4%;
}

.sidenav_close {
  font-size: 36px;
  text-align: right;
}@media screen and (max-width: 500px) {
  .sidenav_link {
    padding: 8px 4%;
    font-size: 22px;
  }

  .sidenav_close {
    font-size: 36px;
  }
}

@media screen and (max-width: 300px) {

}

@media screen and (max-height: 450px) {

}

@media screen and (max-width: 500px) {
  .basket_close, .order_header {
    font-size: 7vw;
  }

  .basket_editing {
    font-size: 2vmax;
    padding-top: 12px;
  }
}

.itemextras_one {
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.currentextras-order {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    background: white;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.currentextras-order-dialog {
    width: 95vw;
    max-height: 95vh;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 980px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06), 0 2px 6px rgba(0, 0, 0, .04);
}

.currentextras-order-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #e2e3e4;
    position: sticky;
    top: 0;
    z-index: 2;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.currentextras-order-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.currentextras-order-body.modal-body {
    padding: 5px 0 10px 0;
}

.currentextras-order-body .scrollable_extras {
    overflow: hidden;
    height: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.currentextras-order-title {
    font-weight: 800;
    font-size: 20px;
    color: #0f172a;
    box-sizing: border-box;
}

.currentextras-order-item {
    font-size: 22px;
    gap: 20px;
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding-left: 10px;
}

.currentextras-order-item-title {
    flex: 1;
    text-align: left;
    min-height: 0;
}

.currentextras-order-item-cost {
    font-weight: 600;
}

.currentextras-order-question .question {
    font-weight: 700;
    padding-left: 10px;
    font-size: 26px;
}

.currentextras-order-question .choose-container {
    padding-left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.currentextras-order-question .choose {
    background: rgba(255, 118, 12, 0.16);
    color: rgb(255, 118, 12);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 18px;
    width: fit-content;
}

.choose-container .selected {
    display: flex;
    align-items: center;
    gap: 5px;
}

.currentextras-order-item-show-desc {
    font-size: 20px;
    padding: 5px;
    margin-right: 10px;
    width: 145px;
}

.currentextras-hr {
    flex: 0 0 auto;
}

.currentextras-order-buttons, .currentextras-order-buttons-last {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    gap: 40px;
    margin-top: 10px;
}

.itemextras_add_to_order {
    display: none;
}

.currentextras-order-buttons-last .itemextras_add_to_order {
    display: flex;
    border: 0;
    background: rgb(255, 118, 12);
    color: black;
    font-weight: 800;
    padding: 0px 18px;
    border-radius: 12px;
    width: 145px;
    margin-right: 5px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.currentextras-order-buttons-prev, .currentextras-order-buttons-next {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: right;
  min-height: 0;
}

/* If the side node exists but you want it to collapse when empty: */
.currentextras-order-buttons-prev:empty, .currentextras-order-buttons-next:empty {
  visibility: hidden;
}

.currentextras-order-buttons-last .currentextras-order-buttons-prev {
    justify-content: left;
}

.currentextras-order-buttons-last .currentextras-order-buttons-next {
    justify-content: right;
}

.currentextras-middle-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 145px;
    margin-right: 10px;
}

.itemextras_order_question_container {
    margin-top: 0px;
    display: block;
}

.currentextras-question {
    overflow: hidden;
    flex-direction: column;
}

.currentextras-question .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.currentextras-order-question.itemextras_order_navigate {
    padding: 0;
    margin: 0;
}

.show-desc-namecost {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 18px;
    margin-bottom: 20px;
}

.show-desc-namecost .cost {
    font-weight: 700;
}

.show-desc-desc {
    font-size: 22px;
    text-align: left;
}

.itemextras_answers {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.custom_extras_names {
    height: auto;
    width: auto;
    flex: 0 0 70%;
    text-align: center;
    font-size: 22px;
}

.custom_extras_costs {
    flex: 0 0 20%;
    text-align: center;
    font-size: 22px;
}

.custom_extras_dels {
    flex: 0 0 10%;
    justify-content: center;
    display: flex;
    padding: 10px 0;
}

.currentextras-custom-button {
    height: calc(var(--currentextras-custom-delete-size) + 8px);
    padding: 4px 8px;
    background-color: white;
    border: none;
}

.currentextras-custom-delete {
    width: var(--currentextras-custom-delete-size);
    height: var(--currentextras-custom-delete-size);
}

.itemextras_order_table {
    border: 1px solid black;
    border-radius: 8px;
    width: 368px;
    font-size: 18px;
    margin: 5px;
}

.currentextras-answer {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 20px;
    width: 48%;
    margin: 10px 1%;
    box-sizing: border-box;
    /*height: 135px;*/
    min-height: 72px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .015), transparent);
    cursor: pointer;
    position: relative;
    outline: none;
}

.currentextras-answer-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 6px;
    text-align: center;
    font-weight: 750;
    min-height: 0;
}

.currentextras-answer-quantity {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    padding: 6px;
    background-color: white;
    gap: 10px;
}

.currentextras-answer-info-cost {
    display: flex;
    font-size: 20px;
    font-weight: 700;
    justify-content: right;
    margin-top: 10px;
    align-items: center;
    padding-right: 5px;
}

.currentextras-answer-quantity-change {
    background-color: white;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    /*height: 38px;
    font-size: 26px;
    line-height: 0;*/
    cursor: pointer;
}

.currentextras-answer-quantity-change-plus {
    color: rgb(255, 118, 12);
}

.currentextras-answer-quantity-value {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.currentextras-answer-quantity-change-minus {
    color: #b91c1c;
}

.ad-field label {
    display: block;
    font-size: 18px;
    margin-bottom:6px;
    text-align: left;
}

.ad-input{
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding:10px 12px;
  font-size: 18px;
  color:#0f172a;
  outline:none;
  background:#fff;
}

.ad-btn{ border:1px solid #e5e7eb; background:#fff; padding:10px 14px; border-radius:10px; font-weight:700; cursor:pointer; }
.ad-btn--primary{ background:#0f172a; color:#fff; border-color:#0f172a; }
.ad-error{ color:#b91c1c; font-size:12px; min-height:16px; }

.itemextrasfilter {
    font-size: 18px;
    text-align: center;
    padding: 3px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.custom_extra_add {
    font-size: 20px;
    border-radius: 8px;
    padding: 5px;
    width: 100%;
}

.edit_order_item {
    z-index: 3;
}

.edit_order_item .currentextras-order-dialog {
    width: 70vw;
    height: 40vw;
}

.currentextras-order-dialog:has(.editextras-currentextras) {
    height: 90vw;
}

.editextras-body {
    flex: none;
}

.editextras-namecost, .editextras-currentextras-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 24px;
    padding: 10px;
    gap: 20px;
}

.editextras-name {
    flex: 1;
    text-align: left;
    min-height: 0;
}

.editextras-cost {
    font-weight: 700;
    text-align: right;
}

.editextras-quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 24px;
    padding: 10px;
}

.editextras-quantity-title {
    flex: 1;
    min-height: 0;
}

.editextras-quantity-value {
    font-size: 26px;
    font-weight: 700;
    border: 1px solid black;
    padding: 0 20px;
    height: 100%;
    box-sizing: border-box;
    line-height: 1.2;
}

.editextras-button {
    background-color: white;
    line-height: 0;
}

.editextras-button-plus {
    background-color: #fafafa;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border: 1px solid black;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.editextras-button-minus {
    background-color: #fafafa;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border: 1px solid black;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.editextras-currentextras-container {
    font-size: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

.editextras-currentextras-title {
    flex: 1;
    min-height: 0;
}

.editextras-currentextras {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    flex: 1;
    min-height: 0;
    overflow-y: scroll;
}

.editextras-currentextras-extra {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
}

.editextras-currentextras-extra-qnt {
    flex: 1;
    text-align: center;
    min-height: 0;
}

.editextras-currentextras-extra-name {
    flex: 8;
    text-align: left;
}

.editextras-currentextras-extra-cost {
    flex: 1;
    text-align: center;
    min-height: 0;
}

@media screen and (max-width: 600px) {
  .currentextras-answer {
    width: 96%;
  }
}

.offers-header {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
    border-bottom: 1px solid rgb(255, 118, 12);
    padding-bottom: 10px;
    width: 100%;
}

.offers-container-dialog {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.offers-container-online, .offers-container-inshop {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto;
    width: 96%;
    max-width: 600px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 20px;
    height: 97vh;
}

.offers-container-online:has(.empty-state), .offers-container-inshop:has(.empty-state) {
    height: 270px;
}

.offers-container-online-bar {
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    background-color: #d7d7d7;
    padding: 10px;
}

.offers-close-button {
    appearance: none;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 44px;
    float: none;
    font-size: 36px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-width: 44px;
    padding: 0;
    text-align: center;
    width: 44px;
}

.offers-close-button:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.offers-close-button:focus-visible {
    outline: 3px solid rgb(255, 118, 12);
    outline-offset: 2px;
}

.offers-close-button svg {
    display: block;
    flex: 0 0 24px;
    height: 24px;
    margin: 0;
    width: 24px;
}

.offers-close-glyph {
    display: block;
    line-height: 1;
    text-align: center;
    width: 1em;
}

.offers-container-online-bar .close {
    width: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0;
    font-size: 36px;
    line-height: 1;
}

.offers-container-online-discounts {
    overflow: scroll;
    padding: 10px;
}

.offers-form-container {
    overflow: hidden;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offers-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: scroll;
}

.offers-form-body {
    flex: 1;
    overflow-y: scroll;
    flex-direction: column;
    display: flex;
    min-height: 0;
}

.offers-form-container button {
    width: 80%;
    margin: 10px auto;
    background-color: #f7f3f3;
    color: black;
    border: 1px solid black;
    padding: 10px;
    font-size: 22px;
}

.offers-percentage-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.offers-container-title {
    font-size: 22px;
    text-align: center;
}

.offers-container-desc {
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

.price_discounts {
    margin: 10px auto;
    padding: 10px;
    width: 94%;
    max-width: 800px;
    border: 1px black solid;
    font-size: 20px;
    border-radius: 12px;
    box-sizing: border-box;
}

.price_discount_choices {
    width: 20px;
    height: 20px;
}

.price_discount_date {
    font-size: 14px;
}

.price_discount_apply {
    text-align: center;
    padding: 10px 0;
}

.price_discount_apply button {
    font-size: 25px;
    padding: 5px 10px;
    background-color: rgb(255, 118, 12);
    color: black;
    font-weight: 600;
    text-align: right;
    width: fit-content;
}

.price_discount_choices {
    padding: 10px;
    border-radius: 8px;
    font-size: 20px;
}

.inshop-discount-value {
    font-size: 20px;
    margin-top: 10px;
}

.price_discount_other {
    display: none;
    margin: 10px 0 0 0;
}

.price_discount_other input {
    margin-right: 10px;
    font-size: 18px;
    text-align: center;
    border-radius: 8px;
}

/* Empty state (inline, works inside the grid/container) */
.empty-state {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 12px;
  width: 95%;
  max-width: 800px;
  box-sizing: border-box;
  border-radius: 12px;
  margin: 0 auto;
}

.empty-state__title {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  color: rgb(255, 118, 12);
}

.empty-state__desc {
  margin: 0;
  font-size: 18px;
}

.empty-state__icon {
  width:40px; height:40px; opacity:.7;
}

.empty-state button, .offers-container-online button {
  margin-top: 10px;
  width: fit-content;
  background-color: rgb(255, 118, 12);
  color: black;
  font-weight: 800;
}

.offers-container-online-card-dialog-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    background-color: rgba(1,1,1,0.5);
    justify-content: center;
    align-items: center;
}

.offers-container-online-card-dialog {
    border: 1px solid black;
    border-radius: 12px;
    width: 95%;
    max-height: 95%;
    overflow-y: scroll;
    max-width: 350px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 22px;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.offers-container-online-card-dialog h2 {
    font-size: 22px;
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid black;
}

.offers-container-online-dialog-form {
    font-size: 18px;
}

.offers-container-online-dialog-form label {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: right;
}

.offers-container-online-dialog-form .dt-label {
    display: block;
}

.offers-container-online-dialog-form .dt-date,
.offers-container-online-dialog-form .dt-time,
.offers-container-online-dialog-form .dt-clear {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: right;
}

.offers-container-online-dialog-form-button {
    font-size: 18px;
    margin-bottom: 15px;
}

.offers-container-online-dialog-form .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.offers-container-online-dialog-form .title,
.offers-container-online-dialog-form #valueLabel {
    width: 160px;
}

.offers-container-online-dialog-form .sub-title {
    font-size: 18px;
    width: 160px;
    text-align: right;
}

.offers-container-online-dialog-form .sub-title:has(.coupon-name) {
    width: 95%;
}

.offers-container-online-dialog-form .sub-title .coupon-name {
    width: 100%;
}

.offers-container-online-dialog-form .row {
    border-bottom: 1px solid rgb(255, 118, 12);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.offers-container-online-dialog-form #valueLabel {
    font-size: 18px;
    padding: 5px 10px 0 0;
    text-align: right;
    box-sizing: border-box;
}

.offers-container-online-dialog-form select {
    font-size: 18px;
    padding: 5px;
    border-radius: 8px;
    width: 130px;
    text-align: center;
}

.offers-container-online-dialog-form input {
    font-size: 18px;
    border-radius: 8px;
    width: 100px;
    box-sizing: border-box;
    padding: 5px;
    margin: 5px 0;
    text-align: center;
}

.offers-container-online-dialog-form input[type="date"],
.offers-container-online-dialog-form input[type="time"] {
    width: 150px;
}

.offers-container-online-dialog-form-action-btns {
    display: flex;
    justify-content: right;
    gap: 20px;
}

.offers-container-online-dialog-form-action-btns-add,
.offers-container-online-dialog-form-action-btns-close {
    font-size: 22px;
    padding: 6px;
}

.offers-container-online-dialog-form-action-btns-add {
    background-color: rgb(255, 118, 12);
}

.offers-container-online-dialog-form .error {
    color: red;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin: 10px;
}

.days{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 60px));
    gap: 10px;
    justify-content: right;
}

.days .day{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.days input{
  /* keep real control for a11y, but hide visually */
  position:absolute;
  opacity:0;
  inset:0;
  margin:0;
  cursor:pointer;
  width: 0;
  height: 0;
}

.day-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 4px;
  width: 60px;
  height: 30px;
  border:1px solid #5e5d5d;
  border-radius: 8px;
  background: white;
  color: #5e5d5d;
  user-select: none;
}

/* selected state */
.days input:checked + .day-btn{
  color: black;
  font-weight: 600;
  background: rgba(90,169,255,.15);
  border-color: rgba(90,169,255,.15);
}

/* Make label a positioning context for its error bubble */
label { position: relative; }

/* Floating error bubble */
.field-error{
  position: absolute;
  top: 100%;                 /* place under the input */
  left: 0;                   /* you can change to right:0 if you prefer */
  transform: translateY(8px);
  max-width: 260px;

  background: #2a0f12;       /* dark red tint */
  color: #ffd8d8;
  border: 1px solid rgba(255,107,107,.6);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.25;

  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  z-index: 10;
}

/* Little arrow */
.field-error::before{
  content:"";
  position:absolute;
  top: -6px;
  left: 12px;               /* move to 'auto; right:12px;' if you right-align the bubble */
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(255,107,107,.6); /* border color matches bubble border */
}
.field-error::after{
  content:"";
  position:absolute;
  top: -5px;
  left: 12px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #2a0f12; /* inner fill matches bubble bg */
}

/* Red outline on the input */
.input-error{
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(255,107,107,.25);
}

.existing-offer-card {
    border: 1px solid black;
    border-radius: 12px;
    padding: 10px;
    margin: 10px 0;
}

.existing-offer-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.existing-offer-card-top .value {
    font-weight: 700;
    font-size: 24px;
}

.existing-offer-card-top .status {
    font-size: 20px;
}

.existing-offer-card-top .status .active {
    color: green;
}

.existing-offer-card-top .status .active-in {
    color: lightgreen;
}

.existing-offer-card-top .status .not-active {
    color: red;
}

.existing-offer-card-amount-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.existing-offer-card-amount-range .paytype {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.existing-offer-card-amount-range .paytype .icon {
  width: 25px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle; /* if inline */
  display: inline-block;  /* optional */
}

.existing-offer-card-days {
    margin: 5px 0;
}

.days-line {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.day-chip {
  padding: 3px 5px;
  border-radius: 999px;
  line-height: 1;
  background: white;
  color: black;
  width: 35px;
  text-align: center;
}

.day-chip.today {
  background: rgba(90, 169, 255, 0.15);
  border: 1px solid rgba(90, 169, 255, 0.35);
  font-weight: 600;
}

.day-chip.not-today {
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.5);
}

.range-arrow{
    width: 16px; height: 16px;
    vertical-align: -3px;   /* nudge to baseline */
    margin: 0 6px;
    display: inline-block;
}

.sr-only{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
    clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.edit-choice-dialog-modal-dialog {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    position: absolute;
    top: 0;
}

.edit-choice-dialog-modal {
    width: 90%;
    background-color: white;
    border: 1px solid black;
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
}

.edit-choice-dialog-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgb(255, 118, 12);
}

.edit-choice-dialog-modal-title {
    font-size: 22px;
}

.edit-choice-dialog-modal-cancel {
    font-family: Arial, sans-serif;
    font-size: 38px;
}

.edit-choice-dialog-modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.edit-choice-dialog-modal-dismiss {
    background-color: #f2f1f1;
    border: 1px solid #555;
    border-radius: 4px;
    color: #111;
    cursor: pointer;
    font-size: 20px;
    min-height: 44px;
    padding: 7px 18px;
}

.edit-choice-dialog-modal-dismiss:focus-visible {
    outline: 3px solid rgb(255, 118, 12);
    outline-offset: 2px;
}

.edit-choice-dialog-modal-modal-actions .title {
    font-size: 20px;
    width: 220px;
}

.edit-choice-dialog-modal-modal-actions .updates,
.edit-choice-dialog-modal-modal-actions .delete-single,
.edit-choice-dialog-modal-modal-actions .delete-inactives,
.edit-choice-dialog-modal-modal-actions .delete-all {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    margin-bottom: 30px;
}

.edit-choice-dialog-modal-submit {
    background-color: #f2f1f1;
    color: black;
    border: 1px solid black;
    padding: 3px 5px;
    font-size: 20px;
}

.edit-choice-dialog-modal-delete-actions .delete-section {
    font-size: 26px;
    color: red;
    font-weight: 600;
}

.edit-choice-dialog-modal-delete-single,
.edit-choice-dialog-modal-delete-inactives {
    background-color: #f46060;
    color: white;
    border: 1px solid red;
    padding: 3px 5px;
    font-weight: 700;
    font-size: 20px;
}

.edit-choice-dialog-modal-delete-inactives {
    background-color: red;
}

@media screen and (max-width: 400px) {
    .existing-offer-card-top .value {
        font-size: 20px;
    }

    .existing-offer-card-top .status {
        font-size: 16px;
    }
}

:root {
    --server-green: #2e7d32;
    --server-red: #c62828;
}

.status-container {
    display: flex;
    align-items: center;
}

.network-status {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 3px;
    margin: 0 10px;
    box-sizing: border-box;
}

.network-status-server-container {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 5px;
}

.network-server-mini {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    position: relative;
}

.network-server-mini__bar {
    width: 6px;
    height: 10px;
    border-radius: 999px;
    background: #e0e0e0;
    transition: background 0.18s ease-out, height 0.18s ease-out;
}

.network-server-mini__bar:nth-child(2) { height: 14px; }
.network-server-mini__bar:nth-child(3) { height: 18px; }
.network-server-mini__bar:nth-child(4) { height: 22px; }

.network-server-mini--good .network-server-mini__bar--active,
.network-server-mini--fair .network-server-mini__bar--active {
    background: var(--server-green);
}

.network-server-mini--poor .network-server-mini__bar--active {
    background: var(--server-red);
}

.network-server-mini--offline::before,
.network-server-mini--offline::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;          /* size of the cross line */
    height: 3px;          /* thickness of the cross line */
    background: var(--server-red);
    transform-origin: center;
}

.network-server-mini--offline::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.network-server-mini--offline::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

:root {
    --accent-orange: rgb(255, 118, 12);
    --printer-grey: #666666;
    --printer-offline: #bdbdbd;
}

/* Container – tiny footprint */
.printer-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    margin-left: 0;
}

.printer-mini-offline::before,
.printer-mini-offline::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;          /* size of the cross line */
    height: 4px;          /* thickness of the cross line */
    background: var(--server-red);
    transform-origin: center;
}

.printer-mini-offline::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.printer-mini-offline::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.subhdr-container {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
}

.close-options {
    list-style-type: none;
}

.close-options li {
    margin: 10px 0;
}

/* All styles scoped under .fixed-extras-container */
.fixed-extras-container {
  --border: #d0d0d0;
  --bg: #ffffff;
  --panel: #f7f7f7;
  --text: #111;
  --muted: #666;
  --match-bg: #fff2a8;
  --match-current-bg: rgb(255, 118, 12);
  --match-current-outline: rgb(255, 118, 12);

  margin: 5px 10px 20px 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Search bar container */
.fixed-extras-container .searchbar {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 900px;
  padding: 12px;
}

.fixed-extras-container .searchbar-input {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Label */
.fixed-extras-container .searchbar label {
  font-weight: 600;
  white-space: nowrap;
}

/* Input */
.fixed-extras-container .searchbar input[type="text"] {
  flex: 1;
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  outline: none;
}

.fixed-extras-container .searchbar input[type="text"]:focus {
  border-color: #999;
}

/* Buttons */
.fixed-extras-container .searchbar button {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: black;
}

.fixed-extras-container .searchbar button:hover {
  background: #fafafa;
}

/* Status text */
.fixed-extras-container .status {
  font-size: 18px;
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
  padding: 5px;
}

/* Content container */
.fixed-extras-container #content {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 900px;
  line-height: 1.6;
  height: 320px;
  overflow: auto;
  background: #fff;
}

/* Highlights */
.fixed-extras-container mark.search-hit {
  background: var(--match-bg);
  padding: 0 2px;
  border-radius: 3px;
}

.fixed-extras-container mark.search-hit.current {
  background: var(--match-current-bg);
  outline: 2px solid var(--match-current-outline);
  outline-offset: 1px;
}

#fixed-extras-list details.preset-accordion {
  overflow: visible !important;
  display: block;
  height: auto;
}

#fixed-extras-list details.preset-accordion > summary.preset-accordion__summary {
  display: flex;
  position: relative;
  float: none;
}

#fixed-extras-list .preset-accordion {
  border-bottom: 1px solid #ddd;
}

#fixed-extras-list .preset-accordion__summary {
  cursor: pointer;
  padding: 10px 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

#fixed-extras-list .preset-accordion__summary::-webkit-details-marker {
  display: none;
}

#fixed-extras-list .preset-accordion__summary::after {
  content: "▸";
  margin-left: 12px;
  transition: transform 0.15s ease;
}

#fixed-extras-list details[open] > .preset-accordion__summary::after {
  transform: rotate(90deg);
}

#fixed-extras-list .preset-accordion__body {
  padding: 8px 8px 12px 8px;
  margin: 20px 0;
}

/* Style the button container */
.fixed-extras-container .scroll-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #f7f7f7;
  max-width: 900px;
}

/* Style the buttons */
.fixed-extras-container .scroll-controls .scroll-btn {
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.fixed-extras-container .scroll-controls .scroll-btn:hover {
  background: #fafafa;
}

.scroll-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.scroll-controls .scroll-btn {
    font-size: 20px;
    padding: 5px;
}

/* Scope as needed (e.g., inside .fixed-presets-container) */
details.preset-accordion {
  display: block;
  border-bottom: 1px solid #ddd;
}

details.preset-accordion > summary.preset-accordion__summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  flex-wrap: wrap;
}

details.preset-accordion > summary.preset-accordion__summary::-webkit-details-marker {
  display: none;
}

details.preset-accordion > summary.preset-accordion__summary::after {
  content: "▸";
  margin-left: 12px;
  transition: transform 0.15s ease;
}

details.preset-accordion[open] > summary.preset-accordion__summary::after {
  transform: rotate(90deg);
}

.preset-accordion__meta {
  font-weight: 400;
  opacity: 0.8;
}

.preset-accordion__meta-sep {
  padding: 0 8px;
}

.preset-accordion__body {
  padding: 8px 8px 12px 8px;
}

.name-preset-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed-preset-name {
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
}

.fixed-preset-name:focus {
    outline: none;
}

.fixed-preset-delete {
    background-color: red;
    color: white;
    padding: 5px;
    margin-right: 10px;
}

.fixed-preset-edit {
    padding: 5px;
    margin-right: 10px;
}

.fx-modal {
    z-index: 10;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.fx-modal__panel {
    background:#fff;
    width:min(900px,95vw);
    height:min(90vh,95vh);
    margin:5vh auto;
    display:flex;
    flex-direction:column;
    border-radius:12px;
    overflow:hidden;
}

.fx-modal__header,.fx-modal__footer {
    padding:12px;
    border-bottom:1px solid #ddd;
    display:flex;
    gap:10px;
    align-items:center;
    font-size: 20px;
    justify-content: space-between;
}

.fx-modal__footer {
    border-top:1px solid #ddd;
    border-bottom:0;
}

.fx-modal__body {
    padding:12px;
    overflow:auto;
    min-height:0;
}

.fx-btn {
    padding:8px 10px;
    border:1px solid #ccc;
    background:black;
    border-radius:8px;
    cursor:pointer;
}

.fx-btn-delete {
    background-color: red;
}

.fx-row {
    display:flex;
    gap:10px;
    align-items:center;
    margin:8px 0;
    font-size: 18px;
}

.fx-extra-name div, .fx-extra-name input {
    font-size: 18px;
}

.fx-row input[type="text"], .fx-row input[type="number"] {
    padding:8px;
    border:1px solid #ccc;
    border-radius:8px;
    width:100%;
    box-sizing: border-box;
    font-size: 18px;
}

.fx-row input[type="number"] {
    width: 100px;
    text-align: center;
}

.fx-row select {
    font-size: 18px;
    padding: 5px;
    border-radius: 5px;
}

.fx-col {
    display:flex;
    flex-direction:column;
    gap:8px;
}

details.fx-q {
    border:1px solid #ddd;
    border-radius:10px;
    margin:10px 0;
}

details.fx-q > summary {
    padding:10px;
    cursor:pointer;
    font-weight:600;
    list-style:none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

details.fx-q > summary::-webkit-details-marker {
    display:none;
}

.fx-q__body {
    padding:10px;
    border-top:1px solid #eee;
}

/* Build Menu (bm) */
#index_body:has(.bm-table) {
    display: flex;
    flex-direction: column;
}

.bm-table, .bm-table tbody {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.bm-cats-table {
    width: 96%;
    margin: 2%;
    box-sizing: border-box;
}

.bm-items-forcat {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.bm-cats-table tr {
    margin: 10px 0;
}

.bm-items-container {
    width: 96%;
    margin: 2%;
}

.bm-container {
    display: flex;
    overflow: scroll;
}

.bm-show {
    width: 100%;
}

.bm-hdr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 30px;
    padding: 10px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.bm-items-for-cat-show {
    width: 96%;
    margin: 2%;
    box-sizing: border-box;
}

.bm-hdr-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: rgb(255, 118, 12);
    color: black;
    font-weight: 600;
    font-size: 22px;
    padding: 10px;
}

/******************************************************************************/
/* Make sure the hidden ones are after all the above bm ones */
.bm-hidden {
    display: none;
}

.bm-cat-buttons{
    width: 100vw;
}

.bm-cat-buttons button {
    height: 100%;
    background-color: #e9e5e5;
    color: black;
    font-weight: 700;
    font-size: 20px;
}

.bm-cat-buttons.category_list_selected button {
    color: rgb(255, 118, 12);
    font-weight: 800;
    position: relative;
}

.bm-cat-buttons.category_list_selected button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  /* paint only the left edge (includes the rounded parts) */
  background: linear-gradient(to right,
    rgb(255, 118, 12) 0,              /* left colour */
    rgb(255, 118, 12) 4px,            /* width of "left border" */
    transparent 4px
  );
}

.bm-button-image {
    width: 25px;
    height: 25px;
}

.bm-items-catname {
    font-size: 20px;
    margin-bottom: 5px;
}

.bm-items-catdesc {
    font-size: 20px;
    margin-bottom: 20px;
}

.bm-items-add-button {
    width: 100%;
    text-align: right;
    margin-bottom: 30px;
}

.bm-items-add-button button {
    background-color: black;
    color: white;
    font-weight: 600;
    font-size: 22px;
    padding: 10px;
}

.bm-items-itemcontainer {
    border-bottom: 1px solid rgb(255, 118, 12);
}

.bm-items-itemdata {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-top: 5px;
}

.bm-items-itemdesc {
    font-size: 18px;
    margin-bottom: 20px;
}

.bm-items-num {
    flex: 1;
    text-align: center;
    min-height: 0;
}

.bm-items-name {
    flex: 5;
    text-align: left;
}

.bm-items-cost {
    flex: 3;
    text-align: right;
}

.bm-items-edit {
    flex: 1;
    min-height: 0;
    text-align: center;
}

.bm-items-edit button {
    background: none;
    border: none;
}

.bm-items-edit img {
    width: 30px;
    height: 30px;
}

.bm-extras-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bm-extras-button {
    background-color: rgb(255, 118, 12);
    color: black;
    font-weight: 600;
    border-radius: 10px;
    font-size: 20px;
}

.bm-extras-input-container {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 20px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.bm-extras-label {
    font-size: 20px;
    flex: 3;
    min-width: 0;
}

.bm-extras-value {
    font-size: 20px;
    padding: 5px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgb(255, 118, 12);
    flex:7;
    min-width: 0;
}

.bm-extras-value-container {
    flex:7;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: right;
    flex-wrap: wrap;
    gap: 10px;
}

.bm-extras-answer-row1 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bm-extras-answer-theanswer {
    font-size: 20px;
    padding: 5px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgb(255, 118, 12);
    flex: 45;
    min-width: 0;
}

.bm-extras-answer-plus {
    flex: 2;
    min-width: 0;
}

.bm-extras-answer-cost {
    flex: 8;
    min-width: 0;
    font-weight: 600;
    border-radius: 5px;
}

.bm-extras-answer-barcode {
    flex: 45;
    min-width: 0;
}

.existing-extra-actions {
  margin-left: auto;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.existing-extra-actions button {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  color: black;
  font-weight: 700;
}

.existing-extra-actions .del-btn {
  border-color: #d55;
}

.existing-extra-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bm-extras-answers-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
}

.bm-extras-delete-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0 0 0;
}

.bm-extras-delete-button img {
    width: 25px;
    height: 25px;
}

.bm-extras-move-button {
    font-size: 32px;
    padding: 0;
}

/******************************************************************************/

/* ===== Current Orders Details Dialog ===== */

.current-orders-details-dialog {
  border: none;
  padding: 0;
  margin: auto;
  width: 97vw;
  min-width: 97vw;
  border-radius: 14px;

  /* If supported, helps avoid edge-to-edge on some browsers */
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.current-orders-details-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

/* Surface is the inner wrapper */
.current-orders-details-dialog__surface {
  margin: 0;
  padding: 16px;
}

/* Header */
.current-orders-details-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.current-orders-details-dialog__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Close button (top-right X) */
.current-orders-details-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  color: black;
}

.current-orders-details-dialog__close:active {
  transform: translateY(1px);
}

/* Body (scrollable) */
.current-orders-details-dialog__body {
  padding: 14px 0;
  max-height: min(65vh, 560px);
  overflow: auto;

  /* Optional nicer wrapping for long strings */
  word-break: break-word;
}

/* Footer */
.current-orders-details-dialog__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;

  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* Footer buttons (applies to buttons inside the footer) */
.current-orders-details-dialog__footer button {
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: var(--a4d-color);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  color: black;
}

.current-orders-details-dialog__footer button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.current-orders-details-dialog__footer button:active {
  transform: translateY(1px);
}

/* Primary action button */
.current-orders-details-dialog__primary {
  border-color: rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.06);
}

.current-orders-details-dialog__primary:hover {
  background: rgba(0, 0, 0, 0.10);
}

/* Focus visibility (keyboard users) */
.current-orders-details-dialog button:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

/* Optional: tighten on very small screens */
@media (max-width: 420px) {
  .current-orders-details-dialog__surface {
    padding: 12px;
  }

  .current-orders-details-dialog__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .current-orders-details-dialog__footer button {
    width: 100%;
  }
}

.current-orders-details-dialog__table-wrap {
  width: 100%;
  overflow-x: auto;
}

.current-orders-details-dialog__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 20px;
}

.current-orders-details-dialog__table thead th {
  text-align: center;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(0,0,0,0.14);
  font-weight: 800;
  white-space: nowrap;
}

.current-orders-details-dialog__table tbody td {
  padding: 10px 3px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  vertical-align: top;
  text-align: center;
}

.current-orders-details-dialog__table tbody tr:hover td {
  background: rgba(0,0,0,0.03);
}

.current-orders-details-dialog__addr {
  white-space: normal;
  line-height: 1.35;
  word-break: break-word;
}

/* Responsive “wrap”: turn each row into a stacked card on narrow screens
@media (max-width: 720px) {
  .current-orders-details-dialog__table thead {
    display: none;
  }

  .current-orders-details-dialog__table,
  .current-orders-details-dialog__table tbody,
  .current-orders-details-dialog__table tr,
  .current-orders-details-dialog__table td {
    display: block;
    width: 100%;
  }

  .current-orders-details-dialog__tr {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 10px;
    background: rgba(0,0,0,0.02);
  }

  .current-orders-details-dialog__table tbody td {
    border: none;
    padding: 6px 8px;
  }

  .current-orders-details-dialog__table tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    opacity: 0.85;
    margin-bottom: 2px;
  }
}*/

.current-orders-details-dialog__table {
  width: 100%;
}

/* Small fixed columns */
.current-orders-details-dialog__col-order { width: 60px; }
.current-orders-details-dialog__col-code  { width: 100px; }

/* “Medium” fixed columns */
.current-orders-details-dialog__col-amount { width: 150px; }
.current-orders-details-dialog__col-time   { width: 120px; }
.current-orders-details-dialog__col-name   { width: 160px; }

/* Address gets the remaining width */
.current-orders-details-dialog__col-address { width: auto; }

/* Make sure long content wraps instead of forcing the column wider */
.current-orders-details-dialog__table td,
.current-orders-details-dialog__table th {
  overflow: hidden;
  text-overflow: ellipsis; /* optional; remove if you prefer pure wrapping */
  white-space: nowrap;     /* default for compact cols */
}

/* Allow wrapping for address */
.current-orders-details-dialog__table td.current-orders-details-dialog__addr,
.current-orders-details-dialog__table th.current-orders-details-dialog__th-address {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
}

@media (max-width: 800px) {
    .current-orders-details-dialog__table {
        font-size: 18px;
    }

    .current-orders-details-dialog__col-order { width: 40px; }
    .current-orders-details-dialog__col-code  { width: 100px; }
    .current-orders-details-dialog__col-amount { width: 80px; }
    .current-orders-details-dialog__col-time   { width: 80px; }
    .current-orders-details-dialog__col-name   { width: 120px; }
}

@media (max-width: 600px) {
    .current-orders-details-dialog__table {
        font-size: 16px;
    }

    .current-orders-details-dialog__col-order { width: 30px; }
    .current-orders-details-dialog__col-code  { width: 70px; }
    .current-orders-details-dialog__col-amount { width: 55px; }
    .current-orders-details-dialog__col-time   { width: 55px; }
    .current-orders-details-dialog__col-name   { width: 80px; }
}

/* Modal shell */
.a4d-modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;            /* show via JS when opening */
}

.a4d-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.a4d-modal__panel{
  position: relative;
  margin: 6vh auto 0;
  width: min(720px, calc(100% - 24px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.25);
  overflow: hidden;
}

.a4d-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.a4d-modal__title{
  font-size: 24px;
  font-weight: 800;
}

.a4d-modal__close{
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 10px;
  font-size: 48px;
  line-height: 0;
  cursor: pointer;
}

.a4d-modal__body{
  padding: 14px 16px 16px;
}

.a4d-custom-grid{
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.a4d-custom-grid--head{
  margin-top: 0;
  font-weight: 800;
  font-size: 22px;
  color: rgba(0,0,0,0.65);
}

.a4d-custom-grid input{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 20px;
  outline: none;
}

.a4d-custom-grid input:focus{
  border-color: rgba(0,0,0,0.45);
}

.a4d-modal__actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.a4d-btn{
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.a4d-btn--secondary{
  background: rgba(0,0,0,0.08);
}

.a4d-btn--primary{
  background: #000;
  color: #fff;
}

.a4d-modal__hint{
  margin-top: 10px;
  font-size: 18px;
  color: rgba(0,0,0,0.55);
}

/* Outer wrapper */
.close-now-dialog{
  text-align: center;              /* good default for title/Cancel if they’re inside */
}

/* The options list */
.close-now-dialog .close-options{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;

  display: flex;
  flex-direction: column;
  align-items: center;             /* centers each <li> (and its button) */
  gap: 10px;                     /* spacing between buttons */
}

/* Each list item becomes "shrink-to-content" and is centered by align-items */
.close-now-dialog .close-options li{
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;         /* centers the button within the li */
}

/* Option buttons */
.close-now-dialog .close-opt{
  display: inline-block;           /* width based on content, but centerable */
  text-align: center;
  max-width: 100%;
  white-space: normal;             /* allow wrap for long labels */
}

/* Cancel button */
.close-now-dialog .close-cancel{
  display: block;                  /* easy to center */
  margin: 10px auto 0;           /* centers horizontally */
  text-align: center;
}

.admin-sidenav {
    color: rgb(255, 118, 12);
}

.edit-basket-item-close {
    text-align: right;
    margin: 10px 10px 10px auto;
    padding: 8px;
    background-color: var(--a4d-color);
    border-radius: 10px;
    width: fit-content
}
