@font-face {
  font-family: Sans-Light;
  src: url("../assets/fonts/OpenSans-Light.ttf");
}

@font-face {
  font-family: Sans-Regular;
  src: url("../assets/fonts/OpenSans-Regular.ttf");
}

@font-face {
  font-family: Sans-Medium;
  src: url("../assets/fonts/OpenSans-Medium.ttf");
}

@font-face {
  font-family: Sans-Bold;
  src: url("../assets/fonts/OpenSans-Bold.ttf");
}

@font-face {
  font-family: Sans-Extra-Bold;
  src: url("../assets/fonts/OpenSans-ExtraBold.ttf");
}

:root {
  --color-blue: #262e63;
  --color-blue-50: rgba(38, 46, 99, 0.5);
  --color-blue-20: rgba(38, 46, 99, 0.2);
  --color-green: #4aab33;
  --color-green-50: rgba(74, 171, 51, 0.5);
  --color-green-20: rgba(74, 171, 51, 0.2);
  --theme-color: var(--color-blue);
  --theme-color-light: var(--color-blue-50);
  --theme-color-touch: var(--color-blue-20);
  --theme-color-sec: var(--color-green);
  --theme-color-sec-light: rgba(var(--color-green-50), 0.5);
  --theme-color-sec-touch: rgba(var(--color-green-20), 0.2);
  --title-color: var(--theme-color);
  --text-decoration-color: var(--color-green);
  --font-family-light: Sans-Light, serif;
  --font-family-regular: Sans-Regular, serif;
  --font-family-medium: Sans-Medium, serif;
  --font-family-bold: Sans-Bold, serif;
  --font-family-extra-bold: Sans-Extra-Bold, serif;
  --disabled: rgba(0, 0, 0, 0.1);
  --disabled-text: rgba(0, 0, 0, 0.3);
  --disabled-border: rgba(0, 0, 0, 0);
}

* {
  user-select: none;
  box-sizing: border-box;
}

p,
span,
button {
  font-family: var(--font-family-light), serif;
}

.title {
  direction: rtl;
  text-align: center;
  padding: 2vh;
  margin-top: 1rem;
  font-family: var(--font-family-bold);
  font-size: 2rem;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--text-decoration-color);
  text-underline-offset: 8px;
  color: var(--title-color);
  @media (max-width: 768px) {
    font-size: 23px;
  }
}

#popup_content div:not(.dishes-container.popup, .dishes-container.popup *) {
  background-color: white !important;
  padding: 15px 50px;
  color: var(--theme-color);
  @media (max-width: 768px) {
    padding: 0 0 2vh;
  }
}

div[data-type="popup-by-content"] {
  padding: 20px 30px !important;
  width: 100%;
}

.subtitle {
  text-align: center;
  margin-top: 1vh;
  direction: rtl;
}

.subtitle-deep {
  color: var(--theme-color);
  background-color: white;
  border: 2px solid var(--color-green-50);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 17px;
  font-family: var(--font-family-extra-bold);
  margin-top: 2rem;
}

#header_bar_wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px dashed var(--theme-color-sec);
}

.nav-title {
  letter-spacing: -0.02rem;
  font-size: 15px;
  color: black;
  transition: all 0.2s;
  font-family: var(--font-family-medium);
}

#header_bar_logo {
  position: absolute;
  left: 20px;
  font-size: 20px;
  color: var(--theme-color);
  transition: all 0.2s;
  font-family: var(--font-family-extra-bold);
  letter-spacing: -0.08rem;
}

#header_bar_logo span {
  font-size: 20px !important;
  font-family: var(--font-family-extra-bold);
  color: var(--theme-color-sec);
  cursor: default;
  user-select: none;
}

#menu_btn.disabled {
  display: none;
}

.new-menu-container label {
  color: var(--theme-color);
  font-family: var(--font-family-bold);
}

hr.fancy-line {
  border: 0;
  height: 1px;
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(117, 117, 117, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(117, 117, 117, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(117, 117, 117, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(117, 117, 117, 0.75),
    rgba(0, 0, 0, 0)
  );
  margin: 1rem;
}

.hello_msg {
  direction: rtl;
  font-size: 20px;
  margin-right: 5vw;
  margin-top: 1rem;
  font-family: var(--font-family-bold);
  color: var(--title-color);
}

.form-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.cancels-table-container {
  min-height: 11rem;
}
table.cancels-orders {
  margin-top: 2rem;
}
table.cancels-orders tbody td {
  padding: 5px !important;
  font-size: 15px;
}
table.cancels-orders thead th {
  padding: 1vh !important;
  font-size: 15px;
}
.preference-container,
.date-container,
.menu-date-container,
.preference-btns,
.dishes-container,
.submit-meal,
.thank-you,
.new-menu-header,
.new-menu-container,
.orders-summary-title,
.dates-btns-container,
.total-orders-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.total-orders-container .printer-wrapper {
  display: flex;
  justify-content: left;
  width: 40%;
  margin-top: 2rem;
}
@media (max-width: 767px) {
  .total-orders-container .printer-wrapper {
    width: 50%;
  }
}
@media (max-width: 630px) {
  .total-orders-container .printer-wrapper {
    width: 65%;
  }
}
@media (max-width: 470px) {
  .total-orders-container .printer-wrapper {
    width: 76%;
  }
}
.submit_meal {
  margin-top: 0 !important;
  padding-bottom: 5vh !important;
}

.dates-btns-container {
  padding-top: 5vh;
  padding-bottom: 5vh;
  gap: 10px;
  direction: rtl;
}

.dates-btns-container button {
  min-width: 300px !important;
}

.dates-btns-container button span:nth-child(1) {
  font-family: var(--font-family-medium);
}

.dates-btns-container button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#air-datepicker {
  z-index: 99999;
}

#air-datepicker-global-container {
  z-index: 9999999999999999999;
  direction: rtl;
}

.air-datepicker-nav--title i {
  margin-right: 0.3em;
}

.air-datepicker-nav--action {
  transform: scale(-1, 1);
}

.date-container,
.menu-date-container {
  gap: 18px;
}

.date-container {
  margin-bottom: 3vh;
}

/* .date-container {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
} */

.date-container.active {
  opacity: 1;
  visibility: visible;
  max-height: 100%;
}

.preference-btns,
.dishes-container,
.submit-meal,
.thank-you,
.new-menu-header,
.new-menu-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .thank-you {
    max-width: 60% !important;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3vh;
  }
}

.preference-btns button {
  margin: 10px;
}

.preference-btns {
  margin-bottom: 2rem;
}
.preference-btns.popup {
  flex-direction: row;
  margin-bottom: 0 !important;
  margin-top: 2rem !important;
}
#sit,
#take {
  width: 10rem;
}

#sit.no-hover,
#take.no-hover {
  pointer-events: none;
}

#submit-option {
  opacity: 0;
  cursor: default;
  transition: all 0.2s;
}

#submit-option.active {
  opacity: 1;
  cursor: pointer;
  background-color: white;
  color: var(--theme-color);
}

#submit-option.active:hover {
  @media (min-width: 767px) {
    opacity: 1;
    background-color: var(--theme-color);
    color: white;
  }
}

.existence-message {
  direction: rtl;
  color: var(--title-color);
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}
@media (max-width: 750px) {
  .ssp-button:not(.sit):not(.take):hover {
    background-color: inherit !important;
    color: inherit !important;
  }
}
@media (min-width: 767px) {
  .ssp-button:hover {
    background-color: var(--theme-color) !important;
    color: white !important;
  }
  .submit-meal button.ssp-button:hover {
    opacity: 1;
    background-color: var(--theme-color) !important;
    color: white !important;
  }
}

.dishes-container {
  margin: 0 auto;
  width: 100%;
}
.dishes-container.popup {
  width: 100%;
}
.dishes-container.popup .dish {
  width: 100%;
  background: none;
}
.dishes-container.popup .dish-details {
  width: 100%;
}
.dishes-container.popup .dish .dish-top {
  min-width: 25rem;
}
.dishes-container.popup .dish .dish-title {
  width: 100%;
  text-align: right;
}
/* .dishes-container.popup .dish .number {
  margin-right: -5rem;
} */
.dishes-container.popup .dish .number {
  gap: 0 !important;
}
.dishes-container.popup .dish .number .plus,
.dishes-container.popup .dish .number .minus {
  height: 35px;
}
.dishes-container.popup .dish .comments {
  width: 85%;
}
@media (max-width: 767px) {
  .dishes-container.popup .dish .dish-details {
    min-width: 60%;
  }
  .dishes-container.popup .dish .dish-title {
    font-size: 20px !important;
  }
  /* .dishes-container.popup .dish .number {
    margin-right: 2rem;
  } */
  .dishes-container.popup .dish .comments {
    width: 20rem;
  }
}
@media (max-width: 420px) {
  .dishes-container.popup .dish .dish-title {
    font-size: 15px !important;
  }
  /* .dishes-container.popup .dish .number {
    margin-right: 2rem;
  } */
  .dishes-container.popup .dish .comments {
    width: 15rem;
  }
  .dishes-container.popup .dish .dish-top {
    min-width: 20rem;
  }
}
.dish {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  position: relative;
  background-color: white;
  transition: all 0.2s;
  box-shadow: none;
}

.dish-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  @media (max-width: 768px) {
    max-width: 85%;
  }
}

.dish-top {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  @media (max-width: 768px) {
    gap: 5px;
    justify-content: center;
  }
}

.dish-top div:nth-child(2) {
  width: 200px;
  /* @media (max-width: 768px) {
    max-width: 40%;
  } */
}

.dish-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  direction: rtl;
}

.dish-details p:nth-child(1) {
  font-family: var(--font-family-bold), serif;
  font-size: 25px !important;
  color: var(--theme-color);
}

.dish-details p:nth-child(1) {
  font-size: 12px;
}

.image-container {
  width: 100px;
  /* Fixed width to ensure alignment */
  height: 100px;
  /* Optional: to keep aspect ratio consistent */
  display: flex;
  justify-content: center;
  align-items: center;
}

.dish img {
  height: 100px;
  border-radius: calc(130px / 3);
  width: unset;
  aspect-ratio: 1;
}

.comments {
  margin: 20px 0 0;
  opacity: 0;
  transition: all 0.5s;
  width: 100%;
  @media (max-width: 768px) {
    margin-top: 3vh;
    width: 80%;
    margin-right: 4rem !important ;
  }
}

.comments.active {
  opacity: 1;
}

.total-order-table,
.summary-container {
  border-collapse: collapse;
  margin: 5vh auto;
  direction: rtl;
}
@media (max-width: 768px) {
  .total-order-table,
  .summary-container:not(.weekly-orders) {
    width: 90%;
    margin-top: 1vh;
  }
}
.total-order-table {
  width: 40%;
  margin-bottom: 6rem;
  @media (max-width: 768px) {
    width: 40% !important;
    margin-top: 1vh;
  }
}
.consumption-table {
  border: 1;
  margin-top: 3rem;
  /* overflow-x: visible; */
}

.consumption-table td {
  vertical-align: top;
}
.consumption-table td div {
  padding-bottom: 15px !important;
}
.total-order-table tr,
.summary-container tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.consumption-table th,
.consumption-table td {
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
}
@media (max-width: 768px) {
  .consumption-table:not(.weekly-orders) th,
  .consumption-table:not(.weekly-orders) td {
    text-align: center;
  }
}
.total-order-table th,
.summary-container th {
  font-family: var(--font-family-bold), serif;
  color: var(--theme-color);
  font-size: 1.5rem;
  border-right: none;
  border-left: none;
  border-top: none;
  border-bottom: 1px solid var(--theme-color-sec);
  border-bottom-width: 2px;
  margin-bottom: 2px;
  margin-top: 5vh;
  padding: 2vh 2vh 1vh 2vh;
  letter-spacing: 0.1rem;
  text-align: center;
  @media (max-width: 768px) {
    font-size: 20px !important;
    padding: 5px !important;
  }
}

.total-order-table td,
.summary-container td {
  font-family: var(--font-family-medium), serif;
  font-size: 18px;
  border: none;
  padding: 10px 5px;
  text-align: center;
  max-width: 200px;
  @media (max-width: 768px) {
    font-size: 18px !important;
    padding: 5px !important;
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .total-order-table th,
  .summary-container th {
    padding: 15px 15px 5px 15px !important;
  }
  .total-order-table td,
  .summary-container td {
    padding: 15px !important;
  }
  .total-order-table th,
  .summary-container th:not(.weekly-orders th) {
    width: 30vw;
    text-align: right;
  }
  .cancels-table-container {
    min-height: 7rem !important;
  }
  .total-order-table td:nth-child(1),
  .total-order-table td:nth-child(3),
  .summary-container td:not(.weekly-orders td):nth-child(1),
  .summary-container
    td:nth-child(3):not(.weekly-orders td):not(.reserve-orders td) {
    width: auto;
    text-align: right;
    max-width: 130px;
  }
  table.cancels-orders {
    margin-bottom: 1rem;
  }
  table.cancels-orders tbody td {
    text-align: center !important;
  }
  .total-order-table td:nth-child(3) {
    max-width: 200px !important;
  }
  .total-order-table td:nth-child(2),
  .summary-container td:nth-child(2) {
    width: auto;
    text-align: center;
  }
}

.confirm-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem;
  padding-bottom: 7vh;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.cancle-comment {
  text-align: center;
  margin-bottom: 5vh;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

#cancle.disabled {
  background-color: var(--disabled);
  border-color: var(--disabled-border);
  color: var(--disabled-text);
  cursor: default;
}
#cancle.disabled:hover {
  background-color: var(--disabled) !important;
  border-color: var(--disabled-border) !important;
  color: var(--disabled-text) !important;
}
span {
  cursor: pointer;
}

.number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  @media (max-width: 768px) {
    gap: 2px;
  }
}

.minus,
.plus {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--theme-color);
  font-family: var(--font-family-extra-bold);
  border: 1px solid var(--theme-color-touch);
  height: 45px;
  font-size: 24px;
  line-height: calc(24px * 1.75);
  width: unset;
  aspect-ratio: 1;
  transition: 0.1s linear;
}

.minus:not(.disabled):hover,
.plus:not(.disabled):hover {
  background-color: var(--theme-color);
  color: white;
}

.minus.disabled,
.plus.disabled {
  color: var(--disabled);
  border-color: var(--disabled);
}

.minus.disabled:hover,
.plus.disabled:hover {
  cursor: default;
}

.amount {
  text-align: center;
  border: none;
  outline: none;
  width: 60px;
}

.my-orders {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5vh;
  padding-bottom: 10vh;
  gap: 20px;
}

.date button span:nth-child(1) {
  font-family: var(--font-family-medium);
}

.date button span:nth-child(2) {
  font-family: var(--font-family-light);
}

.date button span:nth-child(3) {
}

.date button {
  display: flex;
  flex-direction: row;
  gap: 10px;
  direction: rtl;
  justify-content: space-between;
  align-items: center;
}

.dates-btns-container {
  gap: 15px;
}

.date button,
.dates-btns-container button {
  background-color: white;
  border: 1px solid var(--theme-color-touch);
  min-width: 400px;
  border-radius: calc(300px * 0.1);
  padding: 20px 30px;
  font-size: 20px;
  transition: all 0.1s;
  @media (max-width: 768px) {
    min-width: unset;
    width: 85vw;
    max-width: 400px;
  }
}
@media (min-width: 767px) {
  .date button:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
  }
}

.dishes-options {
  display: flex;
  direction: rtl;
  justify-content: center;
  min-width: 300px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5vh;
  padding-bottom: 5vh;
  padding-right: 20px;
}

.dishes-options h2 {
  color: var(--theme-color);
  margin-top: 3vh;
  margin-bottom: 2vh;
  align-self: center;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--text-decoration-color);
  text-underline-offset: 7px;
}

.dishes-summary {
  @media (max-width: 768px) {
    width: 100vw;
  }
}

.dishes-options label {
  margin: 0;
  font-family: var(--font-family-light);
}

.checkbox {
  display: flex;
  align-items: center;
  position: relative;
  right: 0;
  padding-right: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  direction: rtl;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

label.checkbox {
  display: flex;
  justify-content: right;
  align-items: center;
  flex-direction: row-reverse;
}

.checkmark {
  position: absolute;
  /* top: 0;  */
  right: 0;
  height: 20px;
  width: 20px;
  border: 1px solid var(--theme-color);
  border-radius: 4px;
}

.checkbox input:checked + .checkmark {
  background-color: var(--theme-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox input:checked + .checkmark:after {
  display: block;
}

.checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.menus-list-header,
.menus-list-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.menus-list-container {
  margin: 1rem 5rem 5rem;
  opacity: 0;
  transition: all 0.3s;
  @media (max-width: 768px) {
    width: 85vw;
    margin: 2vh auto 10vh;
  }
}

.show {
  opacity: 1;
}

.daily-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: auto;
  background-color: white !important;
  border: 1px solid var(--theme-color-touch);
  min-width: 300px;
  border-radius: calc(300px * 0.1);
  padding: 20px 30px;
  font-size: 20px;
  transition: all 0.1s;
  @media (max-width: 768px) {
    width: 80vw;
    min-width: unset;
  }
}

.daily-menu span {
  cursor: default;
}

.daily-menu span:first-child {
  color: var(--theme-color);
  font-family: var(--font-family-medium);
}

.daily-menu h1 {
  text-align: right;
  margin-right: 1rem;
}

.actions {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-left: 1rem;
  color: var(--theme-color);
}

.actions i {
  transition: all 0.2s;
  font-size: 30px !important;
}

.actions i:hover {
  scale: 1.5;
  cursor: pointer;
}

#edit-menu.disabled {
  background-color: var(--disabled);
  border-color: var(--disabled-border);
  color: var(--disabled-text);
  cursor: default;
}

/* Modal Content/Box */

.modal-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 3rem;
  gap: 2rem;
  @media (max-width: 768px) {
    margin: 0;
  }
}

.modal-content h2 {
  margin-bottom: 0;
}

.modal-content p {
  margin: -0.7rem;
}

.progress-bar,
.progress-bar-myOrders,
.progress-bar_menu-list,
.progress-bar-orders-summary,
.progress-bar-weekly-orders,
.progress-bar-reserve-orders,
.progress-bar-cancels-table {
  display: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* .progress-bar-orders-summary {
  display: none !important;
} */
.consumption-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.months-pagination {
  display: flex;
  justify-content: space-around;
  padding: 0 60px;
  margin-top: 3rem;
}
.months-pagination button {
  background: none;
  border: none;
  color: var(--title-color);
  font-weight: 900;
  font-size: 20px;
}
.progress-bar-orders-table {
  display: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: -3rem;
}

.daily-menu {
  background-color: var(--theme-color);
}

.ssp-button[data-loading-display="block"] {
  background-color: transparent;
}

.ssp-button[data-loading-display="inline"] {
  background-color: transparent;
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  /* Border color */
  border-top: 4px solid var(--theme-color);
  /* Top border color (blue in this example) */
  border-radius: 50%;
  /* Makes the border circle */
  width: 50px;
  /* Width of the spinner */
  height: 50px;
  /* Height of the spinner */
  animation: spin 1s linear infinite;
  /* Animation properties */
  margin: 20px auto;
  /* Centers the spinner */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
    /* Starting position */
  }
  100% {
    transform: rotate(360deg);
    /* Ending position */
  }
}

.dates-btns-container {
  margin-bottom: 3rem;
}

.amounts-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  direction: rtl;
  width: 100%;
}

.plus,
.minus {
  display: flex;
  justify-content: center;
  align-items: center;
}

.amounts-container p:first-child {
  align-self: center;
}

.order {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.order span:nth-child(1) {
  color: var(--theme-color);
  font-family: var(--font-family-regular);
}

.order span:nth-child(2) {
  margin-right: 1px;
}

.order span:nth-child(3) {
  font-family: var(--font-family-regular);
}

.contractor-custom-select,
.serving-details-container,
.serving-form-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.serving-form-container,
.serving-details-container {
  gap: 5px;
}

.serving-form-container {
  margin-top: 8px;
  margin-bottom: 8px;
  flex-direction: row;
}

@media (max-width: 768px) {
  .serving-form-container * {
    box-sizing: border-box;
  }
  .serving-form-container {
    width: 80vw;
  }
  .serving-form-container select,
  .serving-form-container button,
  .serving-form-container input {
    width: 33vw !important;
    height: 40px;
    max-width: 33vw !important;
    min-width: unset;
    font-size: 13px;
  }
}

.serving-form-container button {
  margin: 0;
}

section[data-name="orders_summary"] p.subtitle-deep {
  margin: 0;
  border: none;
  text-decoration: underline;
  text-decoration-color: var(--theme-color-sec);
  text-decoration-thickness: 2px;
}

section[data-name="orders_summary"] div.sort {
  direction: rtl;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: -10px;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

#toggled {
  @media (max-width: 768px) {
    display: none;
  }
}

section[data-name="orders_summary"] div.sort button.ssp-button {
  zoom: 0.7;
  color: var(--theme-color);
  background-color: white;
  border: 2px solid var(--theme-color-sec);
  font-family: var(--font-family-bold);
}

section[data-name="orders_summary"]
  div.sort
  button.ssp-button[data-mode="loading"]:before {
  mix-blend-mode: unset;
}

.invisible {
  opacity: 0;
  user-select: none;
}

.serving-result-title {
  font-size: 30px;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  padding: 0;
  text-align: center;
  margin: 3px auto;
  @media (max-width: 768px) {
    width: unset;
    margin-bottom: 0 !important;
  }
}

.order-title {
  margin: 0 0 -5px 0;
  font-size: 25px;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.orders-date-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.dishes-container .gg-printer {
  @media (max-width: 450px) {
    width: 33px;
  }
}
.gg-printer {
  margin-top: 1rem;
  transition: all 0.3s;
}

.gg-printer:hover {
  transform: scale(1.5);
  cursor: pointer;
}

@media print {
  .dishes-container .sub-title {
    margin-top: 2rem !important;
  }
}
.cancle-order-container .title.subtitle.cancel-condition {
  color: red;
}
.new-dish-container {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
  gap: 1rem;
}
.dishes-container.popup .submit-meal {
  margin-bottom: 0;
  margin-top: 1rem;
}
table.weekly-orders {
  margin-bottom: 10rem !important;
  padding: 0 10px;
}
table.reserve-orders {
  margin-bottom: 6rem;
}
table.cancels-orders {
  display: none;
}
@media (max-width: 1000px) {
  .consumption-table th {
    text-align: center !important;
    padding: 0 10px !important;
  }
  .months-pagination {
    width: 100%;
    gap: 2rem;
  }
  .months-pagination button {
    font-size: 15px;
  }
  .weekly-table-container,
  .consumption-table-container {
    width: 100vw;
    overflow-x: scroll !important;
  }

  table.weekly-orders thead tr th,
  .consumption-table th {
    padding: 0 5px !important;
    /* font-family: var(--font-family-light); */

    letter-spacing: normal;
    font-size: 14px !important;
    padding: 0;
  }
  .consumption-table td {
    font-size: 15px !important;
    padding: 0 !important;

    max-width: 5rem !important;
  }
  table.weekly-orders td,
  table.reserve-orders td {
    font-size: 15px !important;
    padding: 10px 0 15px 0 !important;
    min-width: 4.5rem !important;
    max-width: 4.5rem !important;
  }
  table.weekly-orders button {
    font-size: 12px !important;
  }
  table.weekly-orders button.add-order,
  table.weekly-orders button.cancel-order,
  table.reserve-orders button.add-order,
  table.reserve-orders button.cancel-order {
    padding: 5px 7px !important;

    font-size: 10px !important;
  }
  .dishes-container.popup .preference-btns.popup button,
  .dishes-container.popup .submit-meal button {
    padding: 0 10px;
    min-width: 100px !important;
    width: fit-content;
  }
}
@media (max-width: 767px) {
  .dishes-container.popup .dish {
    margin-top: 1rem !important;
  }
  .dishes-container.popup .dish .dish-top .comments {
    margin-right: 0 !important;
    width: 10rem !important;
    height: 31px !important;
  }
  .dishes-container.popup .dish .dish-top .amount {
    width: 45px;
  }
  .dishes-container.popup .dish .dish-top .number span {
    height: 27px !important;
  }
  .dishes-container.popup .subtitle-deep {
    margin-top: 0 !important;
  }
}
.weekly-orders-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.weekly-orders-container .employee-custom-select {
  display: flex;
  justify-content: center;
}
.cancle-order-container .title {
  margin-top: 0;
}
.cancle-order-container .subtitle {
  font-size: 20px;
  text-decoration: none;
}
.cancle-order-container .orders {
  font-size: 20px;
}
.cancle-order-container .btn-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5rem;
}
.cancle-order-container .btn-container button {
  min-width: 100px !important;
  border-radius: 20px;
  padding: 5px 23px;
}

.reserve-orders-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
