@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Abril+Fatface|Montserrat:400,500,600,700,800");
:root {
  --yogurt: #f0dfd5;
  --primary-400: #f47820;
  --secondary-400: #993144;
  --primary-50: hsl(25, 100%, 96%);
  --primary-100: hsl(25, 100%, 83%);
  --primary-700: hsl(25, 91%, 40%);
  --primary-900: hsl(25, 91%, 28%);
  --secondary-50: hsl(354, 100%, 96%);
  --secondary-100: hsl(354, 64%, 83%);
  --secondary-700: hsl(354, 51%, 30%);
  --secondary-900: hsl(354, 51%, 20%);
  --royal-50: hsl(215, 100%, 96%);
  --royal-100: hsl(216, 100%, 83%);
  --royal-400: hsl(215, 91%, 50%);
  --royal-700: hsl(215, 71%, 32%);
  --royal-900: hsl(215, 41%, 18%);
  --sea-50: hsl(157, 84%, 96%);
  --sea-100: hsl(157, 60%, 84%);
  --sea-400: hsl(157, 74%, 42%);
  --sea-700: hsl(157, 60%, 30%);
  --sea-900: hsl(157, 50%, 18%);
  --plum-50: hsl(263, 100%, 96%);
  --plum-100: hsl(263, 80%, 83%);
  --plum-400: hsl(263, 66%, 55%);
  --plum-700: hsl(263, 56%, 34%);
  --plum-900: hsl(263, 50%, 20%);
  --danger-50: hsl(0, 90%, 96%);
  --danger-100: hsl(0, 80%, 83%);
  --danger-400: hsl(0, 74%, 48%);
  --danger-700: hsl(0, 78%, 28%);
  --danger-900: hsl(0, 80%, 20%);
  --warn-50: hsl(36, 100%, 94%);
  --warn-100: hsl(36, 100%, 86%);
  --warn-400: hsl(36, 100%, 50%);
  --warn-700: hsl(36, 90%, 36%);
  --warn-900: hsl(36, 80%, 26%);
  --grey-50: hsl(200, 8%, 94%);
  --grey-100: hsl(200, 8%, 86%);
  --grey-200: hsl(200, 8%, 79%);
  --grey-300: hsl(200, 8%, 68%);
  --grey-400: hsl(200, 8%, 56%);
  --grey-500: hsl(200, 8%, 48%);
  --grey-700: hsl(200, 8%, 32%);
  --grey-800: hsl(200, 8%, 24%);
  --grey-900: hsl(200, 8%, 12%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --text: hsl(0, 0%, 0%);
  --text-link: var(--primary-400);
  --bg: hsl(0, 0%, 100%);
  --card-bg: var(--white);
  --dialog-bg: var(--white);
}

:root[data-theme=dark] {
  --primary-900: hsl(25, 100%, 96%);
  --primary-700: hsl(25, 100%, 83%);
  --primary-100: hsl(25, 91%, 40%);
  --primary-50: hsl(25, 91%, 28%);
  --secondary-900: hsl(354, 100%, 96%);
  --secondary-700: hsl(354, 64%, 83%);
  --secondary-100: hsl(354, 51%, 30%);
  --secondary-50: hsl(354, 51%, 20%);
  --royal-900: hsl(215, 100%, 96%);
  --royal-700: hsl(216, 100%, 83%);
  --royal-400: hsl(215, 81%, 54%);
  --royal-100: hsl(215, 71%, 40%);
  --royal-50: hsl(215, 41%, 24%);
  --sea-900: hsl(157, 84%, 96%);
  --sea-700: hsl(157, 60%, 84%);
  --sea-400: hsl(157, 74%, 42%);
  --sea-100: hsl(157, 60%, 30%);
  --sea-50: hsl(157, 50%, 16%);
  --plum-900: hsl(263, 100%, 96%);
  --plum-700: hsl(263, 80%, 83%);
  --plum-400: hsl(263, 66%, 59%);
  --plum-100: hsl(263, 56%, 34%);
  --plum-50: hsl(263, 50%, 20%);
  --danger-900: hsl(0, 90%, 96%);
  --danger-700: hsl(0, 80%, 83%);
  --danger-400: hsl(0, 74%, 50%);
  --danger-100: hsl(0, 78%, 24%);
  --danger-50: hsl(0, 80%, 14%);
  --warn-900: hsl(36, 100%, 94%);
  --warn-700: hsl(36, 100%, 86%);
  --warn-400: hsl(36, 100%, 50%);
  --warn-100: hsl(36, 90%, 36%);
  --warn-50: hsl(36, 80%, 26%);
  --grey-900: hsl(200, 8%, 94%);
  --grey-800: hsl(200, 8%, 86%);
  --grey-700: hsl(200, 8%, 79%);
  --grey-500: hsl(200, 8%, 68%);
  --grey-400: hsl(200, 8%, 56%);
  --grey-300: hsl(200, 8%, 48%);
  --grey-200: hsl(200, 8%, 32%);
  --grey-100: hsl(200, 8%, 24%);
  --grey-50: hsl(200, 8%, 16%);
  --text: hsl(0, 0%, 100%);
  --bg: hsl(210, 6%, 7%);
  --card-bg: var(--grey-50);
  --dialog-bg: hsl(200, 5%, 12%);
}

.pt-0 {
  padding-top: 0rem !important;
}

.mt-0 {
  margin-top: 0rem !important;
}

.pb-0 {
  padding-bottom: 0rem !important;
}

.mb-0 {
  margin-bottom: 0rem !important;
}

.pl-0 {
  padding-left: 0rem !important;
}

.ml-0 {
  margin-left: 0rem !important;
}

.pr-0 {
  padding-right: 0rem !important;
}

.mr-0 {
  margin-right: 0rem !important;
}

.px-0 {
  padding-left: 0rem !important;
  padding-right: 0rem !important;
}

.py-0 {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.mx-0 {
  margin-left: 0rem !important;
  margin-right: 0rem !important;
}

.my-0 {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
}

.pt-1 {
  padding-top: 0.5rem !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.pb-1 {
  padding-bottom: 0.5rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.pl-1 {
  padding-left: 0.5rem !important;
}

.ml-1 {
  margin-left: 0.5rem !important;
}

.pr-1 {
  padding-right: 0.5rem !important;
}

.mr-1 {
  margin-right: 0.5rem !important;
}

.px-1 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.py-1 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.mx-1 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.my-1 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.pt-2 {
  padding-top: 1rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.pb-2 {
  padding-bottom: 1rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.pl-2 {
  padding-left: 1rem !important;
}

.ml-2 {
  margin-left: 1rem !important;
}

.pr-2 {
  padding-right: 1rem !important;
}

.mr-2 {
  margin-right: 1rem !important;
}

.px-2 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-2 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.mx-2 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.my-2 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.pt-3 {
  padding-top: 1.5rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.pb-3 {
  padding-bottom: 1.5rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.pl-3 {
  padding-left: 1.5rem !important;
}

.ml-3 {
  margin-left: 1.5rem !important;
}

.pr-3 {
  padding-right: 1.5rem !important;
}

.mr-3 {
  margin-right: 1.5rem !important;
}

.px-3 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-3 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.mx-3 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.my-3 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.pt-4 {
  padding-top: 2rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.pb-4 {
  padding-bottom: 2rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.pl-4 {
  padding-left: 2rem !important;
}

.ml-4 {
  margin-left: 2rem !important;
}

.pr-4 {
  padding-right: 2rem !important;
}

.mr-4 {
  margin-right: 2rem !important;
}

.px-4 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.py-4 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.mx-4 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.my-4 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.pt-5 {
  padding-top: 2.5rem !important;
}

.mt-5 {
  margin-top: 2.5rem !important;
}

.pb-5 {
  padding-bottom: 2.5rem !important;
}

.mb-5 {
  margin-bottom: 2.5rem !important;
}

.pl-5 {
  padding-left: 2.5rem !important;
}

.ml-5 {
  margin-left: 2.5rem !important;
}

.pr-5 {
  padding-right: 2.5rem !important;
}

.mr-5 {
  margin-right: 2.5rem !important;
}

.px-5 {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

.py-5 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.mx-5 {
  margin-left: 2.5rem !important;
  margin-right: 2.5rem !important;
}

.my-5 {
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.pt-6 {
  padding-top: 3rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.pb-6 {
  padding-bottom: 3rem !important;
}

.mb-6 {
  margin-bottom: 3rem !important;
}

.pl-6 {
  padding-left: 3rem !important;
}

.ml-6 {
  margin-left: 3rem !important;
}

.pr-6 {
  padding-right: 3rem !important;
}

.mr-6 {
  margin-right: 3rem !important;
}

.px-6 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-6 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mx-6 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-6 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.pt-7 {
  padding-top: 3.5rem !important;
}

.mt-7 {
  margin-top: 3.5rem !important;
}

.pb-7 {
  padding-bottom: 3.5rem !important;
}

.mb-7 {
  margin-bottom: 3.5rem !important;
}

.pl-7 {
  padding-left: 3.5rem !important;
}

.ml-7 {
  margin-left: 3.5rem !important;
}

.pr-7 {
  padding-right: 3.5rem !important;
}

.mr-7 {
  margin-right: 3.5rem !important;
}

.px-7 {
  padding-left: 3.5rem !important;
  padding-right: 3.5rem !important;
}

.py-7 {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

.mx-7 {
  margin-left: 3.5rem !important;
  margin-right: 3.5rem !important;
}

.my-7 {
  margin-top: 3.5rem !important;
  margin-bottom: 3.5rem !important;
}

.pt-8 {
  padding-top: 4rem !important;
}

.mt-8 {
  margin-top: 4rem !important;
}

.pb-8 {
  padding-bottom: 4rem !important;
}

.mb-8 {
  margin-bottom: 4rem !important;
}

.pl-8 {
  padding-left: 4rem !important;
}

.ml-8 {
  margin-left: 4rem !important;
}

.pr-8 {
  padding-right: 4rem !important;
}

.mr-8 {
  margin-right: 4rem !important;
}

.px-8 {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

.py-8 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.mx-8 {
  margin-left: 4rem !important;
  margin-right: 4rem !important;
}

.my-8 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.pt-9 {
  padding-top: 4.5rem !important;
}

.mt-9 {
  margin-top: 4.5rem !important;
}

.pb-9 {
  padding-bottom: 4.5rem !important;
}

.mb-9 {
  margin-bottom: 4.5rem !important;
}

.pl-9 {
  padding-left: 4.5rem !important;
}

.ml-9 {
  margin-left: 4.5rem !important;
}

.pr-9 {
  padding-right: 4.5rem !important;
}

.mr-9 {
  margin-right: 4.5rem !important;
}

.px-9 {
  padding-left: 4.5rem !important;
  padding-right: 4.5rem !important;
}

.py-9 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.mx-9 {
  margin-left: 4.5rem !important;
  margin-right: 4.5rem !important;
}

.my-9 {
  margin-top: 4.5rem !important;
  margin-bottom: 4.5rem !important;
}

.pt-xs {
  padding-top: 0.25rem !important;
}

.mt-xs {
  margin-top: 0.25rem !important;
}

.pb-xs {
  padding-bottom: 0.25rem !important;
}

.mb-xs {
  margin-bottom: 0.25rem !important;
}

.pl-xs {
  padding-left: 0.25rem !important;
}

.ml-xs {
  margin-left: 0.25rem !important;
}

.pr-xs {
  padding-right: 0.25rem !important;
}

.mr-xs {
  margin-right: 0.25rem !important;
}

.px-xs {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.py-xs {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.mx-xs {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.my-xs {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.pt-auto {
  padding-top: auto !important;
}

.mt-auto {
  margin-top: auto !important;
}

.pb-auto {
  padding-bottom: auto !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.pl-auto {
  padding-left: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

.pr-auto {
  padding-right: auto !important;
}

.mr-auto {
  margin-right: auto !important;
}

.px-auto {
  padding-left: auto !important;
  padding-right: auto !important;
}

.py-auto {
  padding-top: auto !important;
  padding-bottom: auto !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.overflow-shadow {
  box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.1333333333), inset 0 10px 10px -10px rgba(0, 0, 0, 0.1333333333);
}

:root {
  --table-bg: #f5f5f5;
  --comment-color: #888888;
}

html[data-theme=dark] {
  --table-bg: #050505;
}

.primary-text {
  color: var(--primary-400) !important;
}

.primary {
  font-weight: 600;
  color: white !important;
  background: var(--primary-400) !important;
}

.secondary {
  font-weight: 600;
  color: white !important;
  background: var(--secondary-400) !important;
}

.secondary-text {
  color: var(--secondary-400) !important;
}

.royal-text {
  color: var(--royal-400) !important;
}

.royal {
  font-weight: 600;
  color: white !important;
  background: var(--royal-400) !important;
}

.slate-text {
  color: var(--grey-400) !important;
}

.slate {
  font-weight: 600;
  color: white !important;
  background: var(--grey-400) !important;
}

.sea-text {
  color: var(--sea-400) !important;
}

.sea {
  font-weight: 600;
  color: white !important;
  background: var(--sea-400) !important;
}

.danger-text {
  color: var(--danger-400) !important;
}

.danger {
  font-weight: 600;
  color: white !important;
  background: var(--danger-400) !important;
}

.info-text {
  color: var(--plum-400) !important;
}

.info {
  font-weight: 600;
  color: white !important;
  background: var(--plum-400) !important;
}

.warning-text {
  color: var(--warn-400) !important;
}

.warning {
  font-weight: 600;
  color: white !important;
  background: var(--warn-400) !important;
}

.bordered {
  border: 2px solid currentColor;
}

#dashboard {
  display: grid;
  grid-template-columns: 2fr 1fr;
  overflow-x: hidden;
  gap: 2rem;
  padding-top: 7rem;
}
#dashboard section {
  padding: unset;
}
#dashboard section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#dashboard section .section-title {
  font-weight: 500;
  opacity: 0.5;
}
#dashboard .stats {
  margin-bottom: 0;
}
#dashboard .stats .interval-picker {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
#dashboard .stats .interval-picker .interval-option {
  cursor: pointer;
  border-radius: 3rem;
  margin: 0 0.5rem;
  padding: 0.2rem;
  transition: all 100ms ease-out;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9em;
}
#dashboard .stats .interval-picker .interval-option:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#dashboard .stats .interval-picker .interval-option.active {
  background: var(--primary-400);
  color: white;
  padding: 0.2rem 1.5rem;
}
#dashboard .stats .interval-picker .interval-date-picker {
  margin-left: 1rem;
  position: relative;
}
#dashboard .stats .interval-picker .interval-date-picker i.opened, #dashboard .stats .interval-picker .interval-date-picker i.active {
  color: var(--primary-400);
}
#dashboard .stats .interval-picker .interval-date-picker #date-picker-popup {
  background: var(--dialog-bg);
  padding: 1.5rem;
  position: absolute;
  right: 0;
  top: 2rem;
  z-index: 1;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.0666666667);
  transform-origin: top right;
  transform: scale(0);
}
#dashboard .stats .interval-picker .interval-date-picker #date-picker-popup.opened {
  transform: scale(1);
}
#dashboard .stats .interval-picker .interval-date-picker #date-picker-popup div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  align-items: center;
}
#dashboard .stats .interval-picker .interval-date-picker #date-picker-popup div:first-child {
  margin-bottom: 1rem;
}
#dashboard .stats .interval-picker .interval-date-picker #date-picker-popup div input {
  width: 8rem;
  border-radius: 0.5rem;
  border: 1px solid var(--grey-100);
  padding: 0.5rem;
  background: var(--bg);
}
#dashboard .stats .interval-picker .interval-date-picker #date-picker-popup button {
  width: 100%;
  margin: auto;
  margin-top: 1.5rem;
  font-size: 0.8em;
}
#dashboard .stats .stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1.5rem;
}
#dashboard .stats .stat-cards .stat-card {
  height: 10rem;
  min-width: 12rem;
  padding: 1rem;
  border-radius: 1.5rem;
  position: relative;
  background: linear-gradient(45deg, var(--gradient-from), var(--gradient-to));
  box-shadow: 0 0.5rem 2rem var(--gradient-from);
  overflow: hidden;
  animation: scaleAnimation 400ms ease-out forwards;
  opacity: 0;
}
#dashboard .stats .stat-cards .stat-card#income-stat-card {
  --accent-color: var(--primary-400);
  --gradient-from: #fff4ec;
  --gradient-to: #ffcdaa;
  animation-delay: 0ms;
}
#dashboard .stats .stat-cards .stat-card#product-sold-stat-card {
  --accent-color: var(--secondary-400);
  --gradient-from: #ffe5e5;
  --gradient-to: #f0baba;
  animation-delay: 100ms;
}
#dashboard .stats .stat-cards .stat-card#orders-stat-card {
  --accent-color: #2684ff;
  --gradient-from: #e5f1ff;
  --gradient-to: #c1d5ef;
  animation-delay: 200ms;
}
#dashboard .stats .stat-cards .stat-card.data-loading#income-stat-card:after {
  content: "XS";
  top: 0;
  transform: translateX(100%);
  width: 100%;
  height: 300%;
  position: absolute;
  z-index: 1;
  animation: shine 1s ease-out 100ms infinite !important;
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.5)), color-stop(99%, rgba(128, 186, 232, 0)), color-stop(100%, rgba(125, 185, 232, 0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#00ffffff", endColorstr="#007db9e8",GradientType=1 ); /* IE6-9 */
}
@keyframes shine {
  0% {
    transform: translateY(-50%) translateX(-150%) rotate(-15deg);
  }
  100% {
    transform: translateY(-50%) translateX(150%) rotate(-15deg);
  }
}
#dashboard .stats .stat-cards .stat-card.data-loading#product-sold-stat-card:after {
  content: "XS";
  top: 0;
  transform: translateX(100%);
  width: 100%;
  height: 300%;
  position: absolute;
  z-index: 1;
  animation: shine 1s ease-out 300ms infinite !important;
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.5)), color-stop(99%, rgba(128, 186, 232, 0)), color-stop(100%, rgba(125, 185, 232, 0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#00ffffff", endColorstr="#007db9e8",GradientType=1 ); /* IE6-9 */
}
@keyframes shine {
  0% {
    transform: translateY(-50%) translateX(-150%) rotate(-15deg);
  }
  100% {
    transform: translateY(-50%) translateX(150%) rotate(-15deg);
  }
}
#dashboard .stats .stat-cards .stat-card.data-loading#orders-stat-card:after {
  content: "XS";
  top: 0;
  transform: translateX(100%);
  width: 100%;
  height: 300%;
  position: absolute;
  z-index: 1;
  animation: shine 1s ease-out 500ms infinite !important;
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.5)), color-stop(99%, rgba(128, 186, 232, 0)), color-stop(100%, rgba(125, 185, 232, 0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#00ffffff", endColorstr="#007db9e8",GradientType=1 ); /* IE6-9 */
}
@keyframes shine {
  0% {
    transform: translateY(-50%) translateX(-150%) rotate(-15deg);
  }
  100% {
    transform: translateY(-50%) translateX(150%) rotate(-15deg);
  }
}
#dashboard .stats .stat-cards .stat-card .stat-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--accent-color);
  z-index: 1;
}
#dashboard .stats .stat-cards .stat-card .stat-info .stat-title {
  font-size: 0.9em;
  font-weight: 600;
  margin: 0;
  opacity: 0.5;
}
#dashboard .stats .stat-cards .stat-card .stat-info .stat-value {
  line-height: 1;
  font-size: 2.4em;
  margin: 0;
  white-space: nowrap;
  display: inline;
}
#dashboard .stats .stat-cards .stat-card .stat-info .stat-value-suffix {
  display: inline-block;
  line-height: 1;
}
#dashboard .stats .stat-cards .stat-card .stat-icon {
  opacity: 0.3;
  font-size: 10rem;
  position: absolute;
  color: var(--bg);
  bottom: 0;
  right: 0;
  transform: translate(40%, 5%);
}
#dashboard .stats .income-chart-card {
  background: var(--bg);
  margin: auto;
  padding: 1.5rem;
  box-shadow: 0 0.6rem 3rem rgba(0, 0, 0, 0.0666666667);
  border-radius: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  position: relative;
}
#dashboard .stats .income-chart-card header {
  margin-bottom: 2rem;
}
#dashboard .stats .income-chart-card header h4 {
  font-weight: 500;
  font-size: 0.9rem;
}
#dashboard .stats .income-chart-card header .tension-options {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--grey-400);
  border-radius: 0.3rem;
}
#dashboard .stats .income-chart-card header .tension-options .tension-option {
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
#dashboard .stats .income-chart-card header .tension-options .tension-option.active {
  background: var(--grey-400);
}
#dashboard .stats .income-chart-card header .tension-options .tension-option.active svg {
  stroke: var(--bg);
}
#dashboard .stats .income-chart-card header .tension-options .tension-option svg {
  pointer-events: none;
  width: 1.2em;
  height: 1.2em;
  stroke: var(--grey-400);
  stroke-width: 1.8rem;
  fill: none;
  font-weight: 900;
  transform: translateY(1px);
}
#dashboard .stats .income-chart-card header .item-type-filters {
  margin-left: auto;
  margin-right: 2rem;
  display: flex;
  flex-flow: row nowrap;
}
#dashboard .stats .income-chart-card header .item-type-filters i {
  display: none;
  cursor: pointer;
  opacity: 0.4;
  font-size: 1.2rem;
}
#dashboard .stats .income-chart-card header .item-type-filters i.selected {
  opacity: 1;
}
#dashboard .stats .income-chart-card .no-data-overlay {
  border-radius: 1.5rem;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(33, 33, 33, 0.333);
  display: none;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  left: 0;
  top: 0;
  color: white;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#dashboard .stats .income-chart-card .no-data-overlay.active {
  display: flex;
}
#dashboard .stats .income-chart-card .no-data-overlay i {
  font-size: 4rem;
  margin-bottom: 1rem;
}
#dashboard .stats .income-chart-card .no-data-overlay h2 {
  font-weight: 500;
}
#dashboard .top-products {
  padding: 0 1rem;
  grid-row: 1/3;
  grid-column: 2/3;
}
#dashboard .top-products #top-sold-products {
  list-style: none;
  margin-top: 1rem;
}
#dashboard .top-products #top-sold-products li {
  animation: topProductAnimation 350ms ease-out forwards;
  opacity: 0;
  animation-delay: calc((var(--ordinal)) * 60ms);
}
#dashboard .top-products #top-sold-products li .top-product {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.0666666667);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  padding-right: 4rem;
}
#dashboard .top-products #top-sold-products li .top-product:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#dashboard .top-products #top-sold-products li .top-product .product-name {
  font-weight: 500;
}
#dashboard .top-products #top-sold-products li .top-product:hover {
  transform: scale(1.05) translateY(-0.1rem);
  box-shadow: 0 0.3rem 1.6rem rgba(0, 0, 0, 0.1333333333);
}
#dashboard .top-products #top-sold-products li .top-product .ordinal {
  min-width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--sea-400);
  color: white;
  border-radius: 50%;
  margin-right: 1rem;
}
#dashboard .top-products #top-sold-products li .top-product i {
  position: absolute;
  opacity: 0.1;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  font-size: 1.5em;
}
@keyframes topProductAnimation {
  0% {
    opacity: 0;
    transform: translateX(50%);
  }
  75% {
    opacity: 0.7;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
#dashboard .shortcuts {
  grid-column: 1/2;
  margin-bottom: 3rem;
}
#dashboard .shortcuts ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}
#dashboard .shortcuts ul li {
  border-radius: 0.5rem;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.0666666667);
  cursor: pointer;
  font-weight: 500;
  background: var(--dialog-bg);
  animation: scaleAnimation 350ms ease-out forwards;
  animation-delay: calc(100ms * var(--ordinal));
  opacity: 0;
}
#dashboard .shortcuts ul li:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#dashboard .shortcuts ul li a {
  display: flex;
  width: 3.3rem;
  height: 3.3rem;
  justify-content: center;
  align-items: center;
}
#dashboard .shortcuts ul li:hover {
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1333333333);
}
@media screen and (max-width: 900px) {
  #dashboard {
    grid-template-columns: 1fr;
  }
  #dashboard .top-products {
    grid-column: unset;
    grid-row: 2/3;
  }
  #dashboard .top-products #top-sold-products {
    padding-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  #dashboard .top-products #top-sold-products li {
    margin: 0;
  }
  #dashboard .top-products #top-sold-products li .top-product {
    margin: 0;
  }
  #dashboard .top-products #top-sold-products li .top-product .ordinal {
    font-size: 1rem;
  }
}
@media screen and (max-width: 600px) {
  #dashboard {
    font-size: 16px;
    padding: 0 1.5rem;
    padding-top: 8rem;
  }
  #dashboard .stats .interval-picker .interval-date-picker {
    margin-right: 1rem;
    margin-left: auto;
  }
  #dashboard .stats .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
  #dashboard .stats .stat-cards .stat-card:first-child {
    grid-column: 1/3;
  }
  #dashboard .stats .income-chart-card header .item-type-filters {
    margin-right: 1rem;
  }
  #dashboard .stats .income-chart-card header .tension-options .tension-option {
    padding: 0.1rem 0.4rem;
  }
  #dashboard .stats .income-chart-card header .tension-options .tension-option.active {
    background: var(--grey-400);
  }
  #dashboard .stats .income-chart-card header .tension-options .tension-option.active svg {
    stroke: var(--bg);
  }
  #dashboard .stats .income-chart-card header .tension-options .tension-option svg {
    pointer-events: none;
    width: 0.8em;
    height: 0.8em;
    stroke: var(--grey-400);
    stroke-width: 2rem;
    fill: none;
    font-weight: 900;
    transform: translateY(1px);
  }
  #dashboard .top-products #top-sold-products {
    grid-template-columns: 1fr;
  }
  #dashboard .top-products #top-sold-products .top-product {
    margin: 0rem !important;
  }
}

html[data-theme=dark] #dashboard .interval-date-picker input {
  color: white;
}
html[data-theme=dark] #dashboard .stats .stat-cards .stat-card {
  box-shadow: 0 0rem 1.6rem var(--gradient-to);
}
html[data-theme=dark] #dashboard .stats .stat-cards .stat-card#income-stat-card {
  --accent-color: var(--primary-400);
  --gradient-from: #403c3a;
  --gradient-to: #32261c;
}
html[data-theme=dark] #dashboard .stats .stat-cards .stat-card#product-sold-stat-card {
  --accent-color: #f97878;
  --gradient-from: #3b3434;
  --gradient-to: #3b2828;
}
html[data-theme=dark] #dashboard .stats .stat-cards .stat-card#orders-stat-card {
  --accent-color: #66a8ff;
  --gradient-from: #33383d;
  --gradient-to: #212831;
}
html[data-theme=dark] #dashboard .stats .income-chart-card {
  background: var(--dialog-bg);
}
html[data-theme=dark] #dashboard .top-products #top-sold-products li .top-product {
  background-color: var(--dialog-bg);
}

@keyframes scaleAnimation {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  80% {
    opacity: 1;
    transform: scale(1.05);
  }
  98% {
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
#order-page {
  padding: 1rem 0;
}
#order-page #order-header {
  display: flex;
  font-size: 3rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: sticky;
  top: 1rem;
  z-index: 2;
  width: max-content;
  margin: auto;
}
#order-page #order-header h1 {
  margin: 0 2rem;
  white-space: nowrap;
}
#order-page #order-header i {
  cursor: pointer;
}
#order-page #order-header i:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#order-page .type-filter-chips,
#order-page .color-filter-chips,
#order-page .category-filter-chips {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
#order-page .type-filter-chips .filter-chip,
#order-page .color-filter-chips .filter-chip,
#order-page .category-filter-chips .filter-chip {
  padding: 0.7rem 1.2rem;
}
#order-page .type-filter-chips .filter-chip .chip-label,
#order-page .color-filter-chips .filter-chip .chip-label,
#order-page .category-filter-chips .filter-chip .chip-label {
  font-size: 1.2rem;
}
#order-page .type-filter-chips.type-filter-chips,
#order-page .color-filter-chips.type-filter-chips,
#order-page .category-filter-chips.type-filter-chips {
  margin-top: 2rem;
}
#order-page .type-filter-chips.type-filter-chips .filter-chip,
#order-page .color-filter-chips.type-filter-chips .filter-chip,
#order-page .category-filter-chips.type-filter-chips .filter-chip {
  min-width: 7rem;
}
#order-page .type-filter-chips.type-filter-chips .filter-chip i,
#order-page .color-filter-chips.type-filter-chips .filter-chip i,
#order-page .category-filter-chips.type-filter-chips .filter-chip i {
  margin-right: 0;
  font-size: 1.7rem;
}
#order-page .type-filter-chips.color-filter-chips,
#order-page .color-filter-chips.color-filter-chips,
#order-page .category-filter-chips.color-filter-chips {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#order-page .type-filter-chips.category-filter-chips,
#order-page .color-filter-chips.category-filter-chips,
#order-page .category-filter-chips.category-filter-chips {
  margin-top: 0;
  margin-bottom: 2rem;
}
#order-page .type-filter-chips.category-filter-chips .filter-chip,
#order-page .color-filter-chips.category-filter-chips .filter-chip,
#order-page .category-filter-chips.category-filter-chips .filter-chip {
  --color: var(--grey-800);
  color: var(--color);
}
#order-page .type-filter-chips .reset-filters-btn,
#order-page .color-filter-chips .reset-filters-btn,
#order-page .category-filter-chips .reset-filters-btn {
  background: var(--grey-50);
  color: var(--grey-800);
  min-width: unset;
  width: 3rem;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1rem;
  display: flex;
  border-radius: 50%;
}
#order-page .type-filter-chips .reset-filters-btn:active,
#order-page .color-filter-chips .reset-filters-btn:active,
#order-page .category-filter-chips .reset-filters-btn:active {
  transform: scale(0.8) rotateZ(-360deg);
}
#order-page .type-filter-chips .reset-filters-btn i,
#order-page .color-filter-chips .reset-filters-btn i,
#order-page .category-filter-chips .reset-filters-btn i {
  transform: scaleX(-1);
  margin-right: 0;
}
#order-page .order-search-wrapper {
  position: sticky;
  top: 7rem;
  background: var(--bg);
  width: 100%;
  height: 3rem;
  z-index: 2;
  margin-bottom: 2rem;
}
#order-page .order-search-wrapper #order-search-bar {
  text-align: center;
}
#order-page .order-search-wrapper #order-search-bar i {
  color: #777;
}
#order-page .order-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  gap: 1rem;
  user-select: none;
  padding: 0 1rem;
}
#order-page .order-items .order-item {
  border: 0.25rem solid;
  position: relative;
  display: grid;
  grid-template-rows: 2fr 5fr;
  padding: 1rem;
  border-radius: 1rem;
  cursor: pointer;
}
#order-page .order-items .order-item.selected {
  background: currentColor;
}
#order-page .order-items .order-item.selected .order-item-key,
#order-page .order-items .order-item.selected .order-item-properties {
  color: var(--bg);
}
#order-page .order-items .order-item.selected .order-item-quantity {
  transform: scale(1);
}
#order-page .order-items .order-item.selected .fa-balance-scale {
  opacity: 0;
}
#order-page .order-items .order-item.out-of-stock {
  opacity: 0.4;
  pointer-events: none;
}
#order-page .order-items .order-item .fa-balance-scale {
  position: absolute;
  opacity: 0.5;
  left: 1rem;
  top: 1rem;
}
#order-page .order-items .order-item .order-item-quantity {
  transform: scale(0);
  background: var(--bg);
  border: 4px solid;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 2em;
  position: absolute;
  right: -0.8rem;
  top: -0.8rem;
  overflow: hidden;
  padding: 0;
}
#order-page .order-items .order-item .order-item-quantity.wide {
  border-radius: 1rem;
  width: auto;
  padding: 0 1rem;
  height: 3rem;
  font-size: 1.5em;
}
#order-page .order-items .order-item .order-item-properties {
  grid-row: 2/3;
  align-self: flex-end;
  width: auto;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
#order-page .order-items .order-item .order-item-properties .order-item-name {
  font-size: 2em;
  line-height: 100%;
  font-weight: 700;
  margin-right: 1em;
  word-break: break-all;
}
#order-page .order-items .order-item .order-item-properties .order-item-price {
  margin-top: 0.3rem;
  font-size: 1.3em;
}
#order-page .order-items .order-item .order-item-key {
  background: none;
  position: absolute;
  right: 1rem;
  bottom: 0.6rem;
  border: none;
  font-weight: 800;
  font-size: 2em;
  opacity: 0.4;
  user-select: none;
  -webkit-user-select: none;
}

#save-order-dialog {
  width: 90%;
  max-width: 52rem;
  max-height: 90%;
  overflow-y: scroll;
  scrollbar-width: none;
}
#save-order-dialog .sf-dialog-body {
  margin: 0;
}
#save-order-dialog::-webkit-scrollbar {
  display: none;
}
#save-order-dialog select {
  border: 2px solid var(--royal-400);
  background: none;
  padding: 0.5rem 0rem 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.4rem;
  outline: none;
  color: var(--royal-400);
}
#save-order-dialog select option {
  font-size: 2rem;
}
#save-order-dialog #order-dialog-header {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
#save-order-dialog #order-dialog-header .overall {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: space-between;
}
#save-order-dialog #order-dialog-header .overall .order-sum {
  font-size: 3rem;
  font-weight: 100;
  white-space: nowrap;
}
#save-order-dialog #order-dialog-header .overall .discount-select {
  padding: 0.5rem 0;
  margin-left: 2rem;
  margin-right: 1rem;
  position: relative;
}
#save-order-dialog #order-dialog-header .overall #payment-method-wrapper {
  padding: 0.5rem 0;
  position: relative;
  margin-right: 1rem;
}
#save-order-dialog #order-dialog-header .overall #payment-method-wrapper select {
  color: var(--sea-400);
  border-color: var(--sea-400);
}
#save-order-dialog #order-dialog-header .overall #order-to-go-toggle {
  display: flex;
  align-items: center;
  position: relative;
}
#save-order-dialog #order-dialog-header .overall #order-to-go-toggle i.fa-walking {
  font-size: 2rem;
  position: absolute;
  right: -1.65rem;
  pointer-events: none;
}
#save-order-dialog #order-dialog-header .overall button#order-number-chooser,
#save-order-dialog #order-dialog-header .overall button#order-labels-chooser {
  min-width: unset;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
#save-order-dialog #order-dialog-header .overall button#order-number-chooser i,
#save-order-dialog #order-dialog-header .overall button#order-labels-chooser i {
  transform: scaleX(0.9);
  padding-left: 0.4rem;
}
#save-order-dialog #order-dialog-header .overall button#order-number-chooser span,
#save-order-dialog #order-dialog-header .overall button#order-labels-chooser span {
  display: none;
  color: white;
}
#save-order-dialog #order-dialog-header .overall button#order-number-chooser#order-labels-chooser,
#save-order-dialog #order-dialog-header .overall button#order-labels-chooser#order-labels-chooser {
  margin-right: 1rem;
  margin-left: auto;
}
#save-order-dialog #order-dialog-header .overall button#order-number-chooser#order-labels-chooser #active-labels-badge,
#save-order-dialog #order-dialog-header .overall button#order-labels-chooser#order-labels-chooser #active-labels-badge {
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 1.2rem;
  height: 1.2rem;
  font-size: 0.7rem;
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: white;
  border: 2px solid var(--royal-400);
  color: var(--royal-400);
  font-weight: 600;
}
#save-order-dialog #order-dialog-header .order-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
#save-order-dialog #order-dialog-header .order-types .order-type-toggle {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--primary-400);
  color: var(--primary-400);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  cursor: pointer;
}
#save-order-dialog #order-dialog-header .order-types .order-type-toggle:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#save-order-dialog #order-dialog-header .order-types .order-type-toggle i {
  margin-right: 1rem;
}
#save-order-dialog #order-dialog-header .order-types .order-type-toggle span {
  border: none;
  padding: 0;
  display: block;
}
#save-order-dialog #order-dialog-header .order-types .order-type-toggle.active {
  background: var(--primary-400);
  color: white;
}
#save-order-dialog .order-type-section {
  height: 0;
  overflow: hidden;
  transition: height 150ms ease-out;
}
#save-order-dialog #ots-table {
  text-align: center;
  height: 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#save-order-dialog #ots-table label {
  margin-right: 1rem;
  font-size: 1.2rem;
}
#save-order-dialog #ots-table .current-table {
  font-size: 1.2rem;
}
#save-order-dialog #ots-table.active {
  height: 5rem;
}
#save-order-dialog .order-name {
  display: grid;
  align-items: stretch;
  grid-template-columns: auto 5rem;
  gap: 1rem;
}
#save-order-dialog .order-name button {
  background: var(--primary-400);
  color: white;
  height: 100%;
  width: 100%;
  min-width: unset;
}
#save-order-dialog .order-name button i {
  margin-right: 0;
}
#save-order-dialog #ots-delivery {
  margin: auto;
  position: relative;
  scrollbar-width: none;
  width: 100%;
}
#save-order-dialog #ots-delivery .delivery-options {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
}
#save-order-dialog #ots-delivery .delivery-options .delivery-option {
  font-size: 1.2rem;
  white-space: nowrap;
  color: var(--grey-800);
  margin: 1 0.7rem;
  background: var(--grey-50);
  cursor: pointer;
}
#save-order-dialog #ots-delivery .delivery-options .delivery-option.active {
  background: var(--primary-400);
  color: white;
}
#save-order-dialog #ots-delivery::-webkit-scrollbar {
  display: none;
}
#save-order-dialog #ots-delivery.active {
  height: 24rem;
  overflow: scroll;
}
#save-order-dialog #ots-deposit {
  margin: auto;
  position: relative;
  scrollbar-width: none;
}
#save-order-dialog #ots-deposit::-webkit-scrollbar {
  display: none;
}
#save-order-dialog #ots-deposit.active {
  height: 24rem;
  overflow: scroll;
}
#save-order-dialog .order-dialog-body header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grey-100);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers {
  display: grid;
  grid-template-columns: auto auto auto;
  overflow: hidden;
  height: 100%;
  align-items: stretch;
  justify-content: flex-start;
}
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers p,
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers div {
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  justify-content: center;
}
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers div {
  color: var(--grey-900);
  padding: 1rem;
  opacity: 0.5;
  cursor: pointer;
}
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers div:active {
  opacity: 0.1;
}
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers div#switch-cart-items {
  border-top-left-radius: 1rem;
}
#save-order-dialog .order-dialog-body header .order-dialog-tab-switchers div.active {
  background: var(--grey-50);
  font-weight: 700;
  opacity: 1;
}
#save-order-dialog .order-dialog-body header #sort-status {
  justify-self: flex-end;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-right: 1rem;
}
#save-order-dialog .order-dialog-tabs {
  margin-bottom: 2rem;
  background: var(--grey-50);
  border-radius: 0rem 0rem 1rem 1rem;
  overflow: hidden;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products {
  list-style: none;
  max-height: 35vh;
  overflow-y: scroll;
  overflow-x: hidden;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products #no-item-message {
  display: none;
  opacity: 0.6;
  font-weight: 400;
  font-style: italic;
  font-size: 0.9rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products.no-items {
  text-align: center;
  margin: 1.5rem 0;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products.no-items #no-item-message {
  display: block;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item {
  display: grid;
  grid-template-columns: 3fr 2fr 5rem 3rem;
  grid-template-rows: auto auto;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 2rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item:hover {
  background: var(--grey-100);
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item:last-child {
  margin-bottom: 0;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-name {
  font-size: 1.5rem;
  line-height: 100%;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-edit, #save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-delete {
  grid-column: 3/4;
  grid-row: 1/3;
  align-self: center;
  max-width: 6rem;
  justify-self: flex-end;
  font-size: 1.6rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-edit:active, #save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-delete:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-edit.disabled, #save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-delete.disabled {
  opacity: 0.3;
  pointer-events: none;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-delete {
  grid-column: 4/5;
  margin-left: 1rem;
  font-size: 1.4rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-price {
  grid-column: 2/3;
  grid-row: 1/3;
  font-size: 1.5rem;
  color: var(--primary-400);
  font-weight: 700;
  align-self: center;
  justify-self: flex-end;
  text-align: right;
}
#save-order-dialog .order-dialog-tabs #order-dialog-products .cart-item-quantity-and-comment {
  grid-row: 2/3;
  grid-column: 1/2;
  opacity: 0.5;
  margin-top: 0.5rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-vat {
  padding: 2rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-vat .tables {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#save-order-dialog .order-dialog-tabs #order-dialog-vat .tables table {
  background: var(--grey-100);
  margin: 0 1rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: 2rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab #custom-change {
  text-align: center;
  margin: auto;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab #custom-change input {
  background: var(--bg);
  font-size: 1.5rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab #custom-change h1 {
  margin-top: 1rem;
  font-weight: 500;
  font-size: 3rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab #change-table {
  margin: auto;
  background: var(--grey-100);
  padding: 1rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab #change-table td {
  padding: 0.4rem 0.4rem;
}
#save-order-dialog .order-dialog-tabs #order-dialog-change #change-tab #change-table .bill {
  text-align: right;
}
#save-order-dialog .sf-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}
#save-order-dialog .sf-dialog-actions button span {
  padding: 0;
}
#save-order-dialog .sf-dialog-actions button.save-order-button.disabled {
  pointer-events: none;
  opacity: 0.4;
}
#save-order-dialog .sf-dialog-actions button.save-order-button.disabled span,
#save-order-dialog .sf-dialog-actions button.save-order-button.disabled i {
  color: var(--grey-900) !important;
}
#save-order-dialog .sf-dialog-actions button#generate-qr-button {
  white-space: nowrap;
}
#save-order-dialog .sf-dialog-actions button#generate-qr-button.used i,
#save-order-dialog .sf-dialog-actions button#generate-qr-button.used span {
  color: var(--grey-800) !important;
}
@media screen and (max-width: 670px) {
  #save-order-dialog .order-type-toggle i {
    display: none;
  }
  #save-order-dialog .sf-dialog-actions {
    gap: 1rem;
  }
  #save-order-dialog .sf-dialog-actions span {
    display: none;
  }
  #save-order-dialog .sf-dialog-actions button:not(#order-number-chooser) {
    display: inline-flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    min-width: unset;
    padding: 0;
    width: clamp(3rem, 10vw, 5rem);
    height: 3rem;
    font-size: 1.5rem;
    background: currentColor;
  }
  #save-order-dialog .sf-dialog-actions button:not(#order-number-chooser) i {
    color: white;
    margin: 0;
  }
}
@media screen and (max-width: 480px) {
  #save-order-dialog .order-type-toggle i {
    display: block;
    margin-right: 0 !important;
  }
  #save-order-dialog .order-type-toggle span {
    display: none !important;
  }
}
#save-order-dialog .order-result-banner {
  background: var(--dialog-bg);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
}
#save-order-dialog .order-result-banner i {
  font-size: 6vw;
}
#save-order-dialog .order-result-banner i.fa-times-circle {
  margin-bottom: 2rem;
}
#save-order-dialog .order-result-banner h1 {
  font-weight: 500;
}
#save-order-dialog .order-result-banner #order-error {
  margin-top: 2rem;
  font-weight: 600;
}
#save-order-dialog.success {
  height: 50vh;
}
#save-order-dialog.success .sf-dialog-body {
  display: none;
}
#save-order-dialog.success .order-result-banner.success-banner {
  display: flex;
}
#save-order-dialog.success .order-result-banner.success-banner i {
  animation: shake 1s linear 200ms 1;
}
#save-order-dialog.error {
  height: 50vh;
}
#save-order-dialog.error .sf-dialog-body {
  display: none;
}
#save-order-dialog.error .order-result-banner.error-banner {
  display: flex;
}
#save-order-dialog.error .order-result-banner.error-banner i {
  animation: shake 1s linear 200ms 1;
}

#edit-cart-item-dialog h5 {
  text-transform: uppercase;
  opacity: 0.4;
  font-weight: 600;
}
#edit-cart-item-dialog h2 {
  margin-bottom: 2rem;
}
#edit-cart-item-dialog ul#edit-cart-item-ingredients li {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin: 0.5rem 0;
  align-items: center;
}
#edit-cart-item-dialog label {
  opacity: 0.7;
}
#edit-cart-item-dialog .cart-item-discount-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
#edit-cart-item-dialog .cart-item-discount-field label {
  opacity: 0.7;
}
#edit-cart-item-dialog .cart-item-discount-field select {
  color: var(--royal-400);
  font-weight: 700;
  background: none;
  border: var(--royal-400) 2px solid;
  padding: 0.5rem;
  border-radius: 0.5rem;
}
#edit-cart-item-dialog h4 {
  opacity: 0.7;
}
#edit-cart-item-dialog .edit-cart-item-options {
  display: flex;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#edit-cart-item-dialog .edit-cart-item-options label {
  margin-right: 1rem;
}
#edit-cart-item-dialog .edit-cart-item-options .sf-dropdown-select {
  width: 100%;
}
#edit-cart-item-dialog .edit-cart-item-comment-field {
  margin-top: 1rem;
  margin-bottom: 2rem;
}
#edit-cart-item-dialog .edit-cart-item-comment-field input,
#edit-cart-item-dialog .edit-cart-item-comment-field textarea {
  margin-top: 0.5rem;
  width: 100%;
}
#edit-cart-item-dialog .sf-dialog-actions {
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#edit-cart-item-dialog .sf-dialog-actions i {
  margin-right: 0;
}

#qr-code-popup {
  background: white;
}
#qr-code-popup #qr-close-button {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 3px solid white;
  width: 4rem;
  height: 4rem;
  top: -1.5rem;
  right: -1.5rem;
  font-size: 1.4rem;
}
#qr-code-popup #qr-close-button:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#qr-code-popup .sf-dialog-actions button span {
  color: black;
}
#qr-code-popup .save-order-button.disabled {
  pointer-events: none;
  opacity: 0.4;
}
#qr-code-popup .save-order-button.disabled span,
#qr-code-popup .save-order-button.disabled i {
  color: var(--grey-900) !important;
}

#regular-customers-dialog {
  width: 400px;
}
#regular-customers-dialog h2 {
  font-weight: 500;
  margin-bottom: 2rem;
}
#regular-customers-dialog .sf-search-bar {
  width: 100%;
  margin: 1rem 0;
}
#regular-customers-dialog .save-customer-toggle {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2rem;
  cursor: default;
  padding: 0 1rem;
}
#regular-customers-dialog .save-customer-toggle span {
  margin-left: 1rem;
}
#regular-customers-dialog .regular-customers {
  max-height: 50vh;
  overflow-y: scroll;
  overflow-x: hidden;
  text-align: left;
}
#regular-customers-dialog .regular-customer {
  padding: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
#regular-customers-dialog .regular-customer:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#regular-customers-dialog .regular-customer .id {
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0;
}
#regular-customers-dialog .regular-customer .name {
  font-size: 1.3rem;
  font-weight: 500;
}
#regular-customers-dialog .regular-customer .address {
  font-size: 1rem;
}
#regular-customers-dialog .regular-customer:hover {
  background: var(--grey-50);
}
#regular-customers-dialog .regular-customer:hover .id {
  opacity: 0.4;
}

#scale-dialog {
  width: 70%;
  max-width: 600px;
}
#scale-dialog #pos-pinpad-display {
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
}
#scale-dialog #pos-pinpad-display h3 {
  font-size: 1.3rem;
  font-weight: 500;
}
#scale-dialog #pos-pinpad-display #pos-pinpad-display-text {
  margin-right: 0.5rem;
}
#scale-dialog #pos-pinpad-buttons {
  width: 100%;
  text-align: center;
}
#scale-dialog #pos-pinpad-buttons td {
  padding: 1rem 1.5rem;
  font-size: 1.3rem;
  border-radius: 50rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--grey-900);
}
#scale-dialog #pos-pinpad-buttons td:active {
  transform: scale(0.8);
  background: var(--grey-800);
}
#scale-dialog #scale-chooser {
  margin-top: 1rem;
  text-align: center;
}
#scale-dialog #scale-chooser .instruction {
  color: var(--plum-400);
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}
#scale-dialog #scale-chooser select {
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--plum-400);
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  color: var(--plum-400);
}
#scale-dialog #scale-chooser select option {
  padding: 1rem;
  color: var(--plum-400);
}

#barcode-dialog {
  opacity: 0.5 !important;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
#barcode-dialog h2 {
  margin-bottom: 1rem;
  font-weight: 500;
}
#barcode-dialog input#barcode-input {
  font-size: 5vw;
  border: 0;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.1333333333);
  color: var(--royal-400);
  outline: none;
  text-align: center;
}

#order-number-dialog {
  width: 90%;
  max-width: 700px;
}
#order-number-dialog h2 {
  font-weight: 500;
  text-align: center;
}
#order-number-dialog .numbers {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
}
#order-number-dialog .numbers .number {
  padding: 1rem;
  border-radius: 0.3rem;
  border: 2px solid var(--royal-400);
  color: var(--royal-400);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0.5rem;
  cursor: pointer;
  transition: all 200ms ease-out;
}
#order-number-dialog .numbers .number.active {
  background: var(--royal-400);
  color: white;
  border-radius: 10rem;
}
#order-number-dialog .numbers .number:active {
  opacity: 0.8;
  transform: scale(0.9);
  border-radius: 10rem;
}

#order-labels-dialog {
  text-align: center;
  width: 80%;
}
#order-labels-dialog .chip.selected {
  background: var(--royal-400);
  color: white;
}

.charts {
  width: 90%;
  min-width: 300px;
  max-width: 1200px;
  margin: auto;
}
.charts .chart-wrapper {
  position: relative;
  margin-bottom: 2rem;
  border: 1px solid #eee;
  border-radius: 1rem;
  min-height: 500px !important;
}

#tables-page {
  margin-top: 4rem;
}
#tables-page #table-list-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#tables-page #table-list-header label {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}
#tables-page #table-list-header .table-category-filter {
  display: flex;
  justify-content: center;
  align-items: center;
}
#tables-page .waiter {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 5rem;
  cursor: default;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}
#tables-page #table-map {
  width: 100%;
  margin: auto;
  background: var(--grey-50);
  border-radius: 1rem 1rem 1rem 0.5rem;
  height: calc(80vh - 4rem);
  padding: 2rem;
  position: relative;
  overflow: scroll;
  scrollbar-width: none;
}
#tables-page #table-map::-webkit-scrollbar {
  display: none;
}
#tables-page #table-map .table-helper-line {
  position: absolute;
  background: var(--grey-800);
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}
#tables-page #table-map .table-helper-line.HORIZONTAL {
  width: 100%;
  height: 1px;
  left: 0;
}
#tables-page #table-map .table-helper-line.VERTICAL {
  width: 1px;
  height: 100%;
  top: 0;
}
#tables-page #table-map .table-container {
  position: absolute;
}
#tables-page #table-map .table-container .table {
  padding: 1rem;
  background-color: var(--grey-400);
  color: white;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
#tables-page #table-map .table-container .table:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#tables-page #table-map .table-container .table.available {
  background: var(--sea-400);
}
#tables-page #table-map .table-container .table.unavailable {
  background: var(--danger-400);
}
#tables-page .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}
#tables-page .actions .export-button {
  min-width: unset;
  font-size: 2rem;
}
#tables-page .actions .main-action #add-dialog-opener-btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
#tables-page .actions .main-action #save-tables {
  display: none;
  margin-left: 0;
}
#tables-page #new-table-dialog #screen-width {
  margin-top: 1rem;
}
#tables-page #new-table-dialog .sf-dialog-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}
#tables-page #table-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  justify-content: center;
  align-items: stretch;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
#tables-page #table-list .table-list-item {
  background: var(--grey-400);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#tables-page #table-list .table-list-item:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#tables-page #table-list .table-list-item .waiter {
  left: unset;
  right: 0;
  transform: translate(0.5rem, -60%);
  cursor: pointer;
}
#tables-page #table-list .table-list-item.available {
  background: var(--sea-400) !important;
}
#tables-page #table-list .table-list-item.unavailable {
  background: var(--danger-400) !important;
}

.sf-defect {
  text-align: center;
  margin-top: 2rem;
}
.sf-defect .defect-title {
  font-size: 2.5rem;
  line-height: 100%;
  font-weight: 400;
}
.sf-defect .defect-message {
  opacity: 0.5;
  margin: 1rem;
  font-weight: 400;
}
.sf-defect .defect-action {
  margin-top: 2rem;
  font-weight: 600;
}

.tooltip-wrapper {
  position: relative;
}
.tooltip-wrapper:hover .tooltip {
  opacity: 1;
}
.tooltip-wrapper .tooltip {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--dialog-bg);
  padding: 0.6rem 1rem;
  border-radius: 0.65rem;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1333333333);
  width: max-content;
  max-width: 300px;
  font-weight: 500;
}
.tooltip-wrapper .tooltip.active {
  opacity: 1;
}

#setting-types {
  text-align: center;
}
#setting-types .settings-group-title {
  margin: 2rem;
  margin-top: 3rem;
  font-weight: 500;
}

.settings-page-header {
  padding: 2rem;
  user-select: none;
}
.settings-page-header .back-arrow {
  font-size: 0.8rem;
  cursor: pointer;
  display: inline;
}
.settings-page-header .back-arrow:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.settings-page-header .back-arrow a {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.settings-page-header .back-arrow i {
  padding-right: 1rem;
}
.settings-page-header h1 {
  font-weight: bold;
}

.settings-page .settings-form .form-field {
  gap: 2rem;
}

section.items-page .item-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: stretch;
}
section.items-page .item-list .item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.3rem;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 1rem;
}
section.items-page .item-list .item:hover {
  box-shadow: 0 0 0.5rem 1px rgba(0, 0, 0, 0.2);
}
section.items-page .items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
section.items-page .items-header .add-and-sort,
section.items-page .items-header .export-buttons {
  display: flex;
  align-items: center;
}
section.items-page .items-header .add-and-sort button,
section.items-page .items-header .export-buttons button {
  font-size: 1.5rem;
}
section.items-page .items-header .add-and-sort .sort-button,
section.items-page .items-header .export-buttons .sort-button {
  margin-left: 1rem;
}
section.items-page .items-header .add-and-sort #export-excel-btn,
section.items-page .items-header .export-buttons #export-excel-btn {
  margin-right: 1rem;
}
@media screen and (max-width: 600px) {
  section.items-page .items-header .add-and-sort button,
  section.items-page .items-header .export-buttons button {
    width: 4rem;
    min-width: 0px;
    text-align: center;
    background: currentColor;
    height: 3rem;
  }
  section.items-page .items-header .add-and-sort button:not(:last-of-type),
  section.items-page .items-header .export-buttons button:not(:last-of-type) {
    margin-right: 1rem;
  }
  section.items-page .items-header .add-and-sort button i,
  section.items-page .items-header .export-buttons button i {
    margin-right: 0;
    color: white !important;
  }
  section.items-page .items-header .add-and-sort button span,
  section.items-page .items-header .export-buttons button span {
    display: none;
  }
}
section.items-page .items-header .export-buttons button {
  min-width: unset;
  font-size: 1.2rem;
}
section.items-page .items-header .export-buttons button i {
  font-size: 1.5rem;
}
section.items-page .chip-filter-bar {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
section.items-page .sf-search-bar {
  margin: 1rem auto;
}

header#item-page-header {
  padding: 2rem;
  z-index: 1;
  position: relative;
  padding-top: 4rem;
}
header#item-page-header .back-arrow {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 4rem;
  top: 5.7rem;
  font-size: 2.5rem;
  z-index: 3;
}
header#item-page-header .back-arrow:active {
  opacity: 0.5;
  transform: scale(0.95);
}
header#item-page-header .back-arrow:active {
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0.5;
}
header#item-page-header .item-button {
  position: absolute;
  transform: translate(-50%, -50%);
  right: 2rem;
  top: 5.7rem;
  width: 4rem;
  height: 4rem;
  font-size: 3rem;
  border-radius: 1rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
header#item-page-header #item-details {
  display: flex;
  flex-flow: column wrap;
  max-width: 80%;
  margin: auto;
}
header#item-page-header #item-details .item-name {
  font-size: calc(2rem + 2vw);
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -2px;
}
header#item-page-header #item-details .item-header-subtitle {
  font-weight: 500;
  font-size: 1.5rem;
  padding-left: 0.5rem;
}
header#item-page-header #item-details .item-stock {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}
header#item-page-header #item-details .item-category {
  margin: 0.5rem 0;
  width: max-content;
  border-radius: 10rem;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 0.2rem 1rem;
}
header#item-page-header #item-details .item-price {
  font-size: 2.4rem;
}

section#item-page-body {
  position: relative;
  color: var(--text);
  border-radius: 2rem;
  padding: 2rem;
  margin: auto;
  margin-top: 1rem;
  width: 85%;
  min-width: 400px;
}
section#item-page-body .item-ingredients {
  margin-bottom: 4rem;
}
section#item-page-body .item-ingredients h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}
section#item-page-body .item-ingredients .item-ingredient-list {
  list-style: none;
  background-color: var(--grey-50);
  border-radius: 0.5rem;
  padding: 1rem 0rem;
  max-height: 17rem;
  overflow: scroll;
  scrollbar-width: none;
}
section#item-page-body .item-ingredients .item-ingredient-list::-webkit-scrollbar {
  display: none;
}
section#item-page-body .item-ingredients .item-ingredient-list li {
  transition: background-color 200ms ease-out;
  font-weight: 500;
  color: var(--grey-900);
  padding: 1rem 2rem;
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  justify-content: space-between;
}
section#item-page-body .item-ingredients .item-ingredient-list li .item-ingredient-name {
  line-height: 100%;
  font-size: 1.3rem;
}
section#item-page-body .item-ingredients .item-ingredient-list li .item-ingredient-price {
  opacity: 0.6;
}
section#item-page-body .item-ingredients .item-ingredient-list li .item-ingredient-quantity {
  grid-column: 2/3;
  grid-row: 1/3;
  font-size: 1.2rem;
  text-align: right;
}
section#item-page-body .item-ingredients .item-ingredient-list li .item-ingredient-quantity .fas:active {
  opacity: 0.5;
  transform: scale(0.95);
}
section#item-page-body .item-ingredients .item-ingredient-list li .item-ingredient-quantity .fa-minus {
  color: var(--danger-400);
  margin-right: 0.5rem;
}
section#item-page-body .item-ingredients .item-ingredient-list li .item-ingredient-quantity .fa-plus {
  color: var(--sea-400);
  margin-left: 0.5rem;
}
section#item-page-body .item-ingredients .item-ingredient-list li:hover {
  background: var(--grey-100);
}
section#item-page-body .item-ingredients .ingredients-sum-add-row {
  display: flex;
  justify-content: space-between;
}
section#item-page-body .item-ingredients .ingredients-sum-add-row .item-ingredients-sum {
  margin-top: 0.5rem;
  padding-left: 1rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}
section#item-page-body .item-ingredients .ingredients-sum-add-row #add-ingredient-button {
  font-size: 1rem;
}
section#item-page-body .item-description {
  overflow: hidden;
  border-radius: 1rem;
  margin: 1rem 0;
}
section#item-page-body .item-description h3 {
  font-weight: 700;
  font-size: 1.5rem;
  padding: 1rem;
}
section#item-page-body .item-description p {
  padding: 1rem;
  opacity: 0.7;
  max-width: 700px;
  padding-top: 0;
}

#convert-to-ingredient {
  text-transform: uppercase;
  margin-top: 2rem;
  letter-spacing: 1px;
}
#convert-to-ingredient a {
  color: var(--grey-800);
}

#product-edit-page #ingredient-search-bar {
  text-align: center;
}
#product-edit-page .add-ingredient-infos {
  width: max-content;
  margin: 2rem auto;
  text-align: center;
  opacity: 0.5;
}
#product-edit-page .form-field .extra-input-field #id_keyboardButton {
  text-transform: uppercase;
}
#product-edit-page .form-field .extra-input-field #id_barcode {
  width: 200px;
}
#product-edit-page .form-field .extra-input-field button {
  margin: 0;
}
#product-edit-page .form-field .extra-input-field p {
  width: 7rem;
  text-align: right;
}

.buttons {
  text-align: center;
  margin-bottom: 3rem;
}
.buttons button {
  margin: 0.5rem 1rem;
}

.customer-cards {
  margin: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  border-radius: 1rem;
  align-items: flex-start;
}
.customer-cards .customer-card {
  position: relative;
}
.customer-cards .customer-card .name {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  margin-right: 7.5rem;
}
.customer-cards .customer-card .name .customer-id {
  opacity: 0;
  font-weight: 400;
}
.customer-cards .customer-card h5.section-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
  opacity: 0.6;
  text-transform: uppercase;
}
.customer-cards .customer-card .payment-info {
  margin: 1rem 0;
  font-weight: 500;
}
.customer-cards .customer-card .payment-info .consumption {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 0.5rem;
}
.customer-cards .customer-card .payment-info .consumption div:first-child {
  margin-right: 1rem;
}
.customer-cards .customer-card .payment-info .balance {
  margin-bottom: 0.5rem;
}
.customer-cards .customer-card .customer-info {
  margin-top: 1rem;
}
.customer-cards .customer-card .customer-info .comments {
  margin-top: 0.5rem;
}
.customer-cards .customer-card .customer-info .comments .info-row {
  font-size: 1rem;
}
.customer-cards .customer-card .customer-info .info-row {
  font-size: 1.2rem;
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  overflow: hidden;
}
.customer-cards .customer-card .customer-info .info-row i {
  font-size: 1rem;
  margin-right: 0.4rem;
  transform: translateY(40%);
}
.customer-cards .customer-card .show-consumption-button {
  font-size: 0.8rem;
  min-width: unset;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.customer-cards .customer-card .buttons {
  margin-bottom: 0;
}
.customer-cards .customer-card .buttons button {
  font-size: 1rem;
  font-weight: 600;
}
.customer-cards .customer-card .buttons a button {
  position: absolute;
  top: 1rem;
  right: 0.3rem;
  min-width: unset;
  padding: 0;
}
.customer-cards .customer-card:hover {
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  opacity: 1;
}
.customer-cards .customer-card:hover .name .customer-id {
  opacity: 0.4;
}

.card-group {
  display: grid;
  margin: 1rem auto;
  width: 90%;
  grid-template-columns: repeat(2, minmax(100px, 350px));
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
@media screen and (max-width: 400px) {
  .card-group {
    grid-template-columns: 1fr;
  }
}
.card-group a.dialog-opener[data-dialog-id=premium-dialog] {
  opacity: 0.5;
}
.card-group a.dialog-opener[data-dialog-id=premium-dialog] * {
  pointer-events: none;
}
.card-group .card {
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  background: var(--grey-50);
  color: var(--text);
}
.card-group .card:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.card-group .card:hover {
  box-shadow: 0 0 0.5rem 1px rgba(0, 0, 0, 0.2);
}
.card-group .card.dialog-opener * {
  pointer-events: none;
}
.card-group .card:hover {
  transform: scale(1.05);
}
.card-group .card:hover .card-icon {
  transform: scale(1.3);
}
.card-group .card .card-icon {
  font-size: 3rem;
  padding: 1rem;
  color: var(--text);
}
.card-group .card .card-title {
  padding: 1rem;
  background: rgba(102, 102, 102, 0.1333333333);
  color: var(--grey-800);
}
.card-group .card.user {
  position: relative;
}
.card-group .card.user:active {
  transform: scale(1);
  opacity: 1;
}
.card-group .card.user .username {
  display: grid;
  grid-template-columns: 3.5rem 1fr 3rem;
  grid-template-rows: 2fr 1fr;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 1.5rem;
  width: 100%;
  text-align: left;
}
.card-group .card.user .username i {
  grid-row: 1/3;
  font-size: 2rem;
  margin-right: 1.5rem;
}
.card-group .card.user .username h3 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 100%;
  overflow: hidden;
}
.card-group .card.user .username h5 {
  opacity: 0.7;
  overflow: hidden;
}
.card-group .card.user .username .user-edit-icon {
  grid-row: 1/3;
  grid-column: 3/4;
  padding: 1rem;
  padding-right: 0;
  box-shadow: -10px 0px 1rem var(--grey-50);
}
.card-group .card.user .username .user-edit-icon i {
  font-size: 1.4rem;
}
.card-group .card.user .user-last-login {
  padding: 1rem;
  background-color: rgba(102, 102, 102, 0.1333333333);
  text-align: left;
  padding-left: 1.5rem;
  font-size: 1rem;
}
.card-group .add-new {
  background: none;
}
.card-group .add-new:hover {
  box-shadow: none;
}
.card-group .add-new:hover .card-icon {
  transform: scale(1);
}
.card-group .add-new .card-icon {
  margin: auto;
  width: 3rem;
  height: 3rem;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.card-group .add-new .card-title {
  background: none;
  font-size: 1.3rem;
}

.data-card {
  border-radius: 0.3rem;
  padding: 1.5rem;
  background: var(--bg);
  box-shadow: 0 0.3rem 1.5rem rgba(0, 0, 0, 0.1333333333);
  text-align: left;
}
.data-card:active {
  opacity: 0.5;
  transform: scale(0.95);
}

[data-theme=dark] .data-card {
  background: var(--dialog-bg);
}

.card-box {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
}
.card-box .data-card {
  margin: 1rem;
}

form {
  display: flex;
  flex-flow: column wrap;
}
form .form-field-group {
  margin: auto;
  max-width: 700px;
}
form .form-field-group-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.6;
}
form .form-field-group:not(:last-child) {
  margin-bottom: 4rem;
}
form.toggle-form .form-field {
  grid-template-columns: 2fr 1fr;
}
form .form-field {
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 1rem auto;
}
form .form-field label {
  font-size: 1.4rem;
  font-weight: 500;
}
form .form-field .form-label {
  display: flex;
  align-items: center;
}
form .form-field .form-label .help-text-icon {
  opacity: 0.6;
  position: relative;
  left: 0.5rem;
}
form .form-field input,
form .form-field select,
form .form-field textarea {
  border: 2px solid #ccc;
  padding: 0.5rem;
  background: inherit;
  color: inherit;
  border-radius: 0.5rem;
  outline: none;
  font-size: 1.4rem;
  width: 100%;
  font-weight: 400;
}
form .form-field input[type=checkbox],
form .form-field select[type=checkbox],
form .form-field textarea[type=checkbox] {
  padding: 1rem;
  width: 2rem;
  height: 2rem;
  outline: 2px solid var(--primary-400);
  background: none;
  position: relative;
}
form .form-field input[type=checkbox]:active,
form .form-field select[type=checkbox]:active,
form .form-field textarea[type=checkbox]:active {
  transform: scale(0.9);
}
form .form-field input[type=checkbox]:checked::after,
form .form-field select[type=checkbox]:checked::after,
form .form-field textarea[type=checkbox]:checked::after {
  content: "\f00c";
  background: var(--primary-400);
  color: white;
}
form .form-field input[type=checkbox]::after,
form .form-field select[type=checkbox]::after,
form .form-field textarea[type=checkbox]::after {
  font-family: "Font Awesome 5 Free";
  background: var(--bg);
  content: "";
  opacity: 1;
  position: absolute;
  left: -4px;
  top: -4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-400);
  font-weight: 900;
  font-size: 1.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 4px solid var(--primary-400);
}
form .form-field input[type=password],
form .form-field select[type=password],
form .form-field textarea[type=password] {
  color: var(--primary-400);
}
form .form-field input[type=color],
form .form-field select[type=color],
form .form-field textarea[type=color] {
  max-width: 20rem;
  padding: 0;
  border: none;
  min-height: 4rem;
}
form .form-field input:focus,
form .form-field select:focus,
form .form-field textarea:focus {
  border: 2px solid var(--primary-400);
}
form .form-field .input-with-button {
  display: flex;
  align-items: center;
}
form .form-field .input-with-button input {
  width: unset;
  margin-right: 1rem;
}
form .form-field .extra-input-field {
  display: flex;
  align-items: center;
}
form .form-field .extra-input-field button {
  min-width: unset;
  width: 5rem;
}
form .form-field .extra-input-field button i {
  margin: 0;
}
form .form-field .extra-input-field input {
  margin-right: 1rem;
  width: 8rem;
}
form .form-field a.link-button {
  margin: 0;
  font-size: 1rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.8rem;
}
form .form-field a.link-button i {
  margin-right: 0.3rem;
}
form .form-field .form-tip {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 130%;
  margin-top: 1rem;
}
form .form-errors {
  width: 80%;
  margin: 2rem auto;
}
form .form-errors ul li {
  color: var(--danger-400);
  text-align: center;
  list-style: none;
}
form button,
form a {
  margin: auto;
  width: max-content;
}

.sf-select {
  padding: 0.6rem 2rem;
  font-size: 1.6rem;
  background: none;
  border: 2px solid var(--primary-400);
  border-radius: 0.5rem;
  outline: none;
  font-weight: 700;
  color: var(--text);
}
.sf-select option {
  padding: 1rem;
  margin: 1rem;
  font-size: 2rem;
}

.sf-input {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  color: var(--grey-900);
  border: 1px solid #ccc;
  border: none;
  outline: none;
  background: var(--grey-50);
}
.sf-input:focus {
  border: 2px solid var(--primary-400);
}
.sf-input::placeholder {
  font-weight: 500;
}

.sf-search-bar {
  margin-top: 1rem;
  text-align: center;
  position: relative;
  width: max-content;
  margin: auto;
}
.sf-search-bar i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.sf-search-bar i.fa-search {
  left: 0.5rem;
}
.sf-search-bar i.fa-times {
  display: none;
  right: 0.5rem;
}
.sf-search-bar input {
  width: 100%;
  padding-left: 2rem;
}
.sf-search-bar .sf-search-results {
  position: absolute;
  box-shadow: 0 1px 1rem rgba(0, 0, 0, 0.1333333333);
  width: 100%;
  bottom: -0.5rem;
  background: var(--bg);
  left: 0;
  right: 0;
  transform: translateY(100%);
  border-radius: 0.3rem;
  overflow: hidden;
  z-index: 10;
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.sf-search-bar .sf-search-results ul {
  list-style: none;
}
.sf-search-bar .sf-search-results ul li {
  border-radius: 0.3rem;
  margin: 0.3rem;
  cursor: pointer;
  text-align: left;
}
.sf-search-bar .sf-search-results ul li:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.sf-search-bar .sf-search-results ul li a {
  display: block;
  padding: 0.3rem 0.6rem;
}
.sf-search-bar .sf-search-results ul li h4,
.sf-search-bar .sf-search-results ul li h6 {
  font-weight: 500;
  pointer-events: none;
}
.sf-search-bar .sf-search-results ul li h6 {
  color: var(--grey-800);
}
.sf-search-bar .sf-search-results ul li:hover {
  background: var(--grey-50);
}

.sf-checkbox {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.5rem;
  border: 3px solid currentColor;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sf-checkbox:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.sf-checkbox i {
  opacity: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  font-size: 1.4rem;
}
.sf-checkbox.checked {
  background-color: currentColor;
}
.sf-checkbox.checked i {
  color: var(--dialog-bg);
  opacity: 1;
}

.sf-error-block {
  width: max-content;
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 1rem;
  background: #933a3a;
  position: relative;
  box-shadow: 0 1px 8px #933a3a;
}
.sf-error-block i {
  color: white;
  position: absolute;
  right: 1rem;
  top: 1rem;
  opacity: 0.5;
  font-size: 3rem;
}
.sf-error-block h3 {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7333333333);
  font-weight: bold;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.sf-error-block p {
  line-height: 140%;
  color: white;
}

.sf-error-message {
  color: var(--danger-400);
  font-weight: 600;
}

.sf-dropdown-select {
  padding: 0.5rem;
  border: 2px solid var(--plum-400);
  border-radius: 0.5rem;
  position: relative;
}
.sf-dropdown-select label.sf-dropdown-select-value {
  color: var(--plum-400);
  overflow: hidden;
}
.sf-dropdown-select ul.sf-dropdown-select-options {
  position: absolute;
  background: var(--bg);
  border-radius: 0.4rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.0666666667);
  padding: 0.1rem;
  z-index: 20;
  width: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: transform 200ms ease-out;
}
.sf-dropdown-select ul.sf-dropdown-select-options li {
  list-style: none;
  padding: 0.5rem;
  margin: 0.1rem;
  border-radius: 0.2rem;
  font-weight: 400;
  font-size: 1.1rem;
  cursor: default;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sf-dropdown-select ul.sf-dropdown-select-options li i {
  font-size: 0.8rem;
  margin-right: 0.2rem;
  transform: scale(0);
}
.sf-dropdown-select ul.sf-dropdown-select-options li:hover {
  background: var(--grey-50);
}
.sf-dropdown-select ul.sf-dropdown-select-options li:active {
  background: var(--grey-100);
  opacity: 0.8;
}
.sf-dropdown-select ul.sf-dropdown-select-options li.selected {
  color: var(--plum-400);
  font-weight: 600;
}
.sf-dropdown-select ul.sf-dropdown-select-options li.selected i {
  transform: scale(1);
}
.sf-dropdown-select.opened ul {
  opacity: 1;
  pointer-events: unset;
  transform: translateY(0px);
}

.sf-options-maker {
  display: flex;
  align-items: center;
}
.sf-options-maker .shadow-elem {
  display: none;
}
.sf-options-maker ul {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
}
.sf-options-maker ul li {
  font-size: 1rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}
.sf-options-maker ul li .value {
  font-weight: 500;
}
.sf-options-maker ul li .fa-times {
  margin-right: 0;
  margin-left: 0.8rem;
  opacity: 0.5;
}
.sf-options-maker-input {
  display: inline-flex;
  align-items: center;
}
.sf-options-maker-input input {
  padding: 0.5rem 1rem !important;
  border-radius: 10rem !important;
  border: 2px solid var(--grey-100) !important;
  outline: none !important;
  font-size: 1rem !important;
  font-weight: 400;
  position: relative !important;
}
.sf-options-maker-input input.opened {
  width: unset !important;
  position: absolute;
}
.sf-options-maker-input button {
  width: 2.4rem;
  height: 2.4rem;
  min-width: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -2.5rem;
  border-radius: 10rem;
  z-index: 2;
  padding: 0;
}
.sf-options-maker-input button i {
  font-size: 1rem;
  margin: 0;
  color: var(--grey-100);
}

.sf-drag-n-drop {
  border: 1px solid var(--grey-100);
  border-radius: 0.5rem;
  padding: 2rem;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.sf-drag-n-drop:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.sf-drag-n-drop .labels {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
  text-align: center;
}
.sf-drag-n-drop .labels label {
  font-size: 1.6rem;
}
.sf-drag-n-drop .labels .drag {
  opacity: 1;
}
.sf-drag-n-drop .labels .release {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.sf-drag-n-drop .labels span {
  font-size: 0.9rem;
  font-weight: 400;
}
.sf-drag-n-drop i.fa-file-image {
  margin-bottom: 1rem;
  font-size: 2rem;
  pointer-events: none;
}
.sf-drag-n-drop .uploaded-image {
  display: none;
  height: 10rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}
.sf-drag-n-drop .value {
  margin-top: 2rem;
  display: flex;
  align-items: center;
}
.sf-drag-n-drop .value .current {
  font-weight: 400;
  color: var(--grey-800);
  text-align: center;
}
.sf-drag-n-drop .value i.fa-times {
  font-size: 1.5rem;
  margin-left: 0.5rem;
  transform: scale(1);
}
.sf-drag-n-drop:hover {
  border: 1px solid var(--grey-900);
}
.sf-drag-n-drop.dragover {
  border: 1px solid var(--primary-400);
}
.sf-drag-n-drop.dragover i.fa-file-image {
  color: var(--primary-400);
}
.sf-drag-n-drop.dragover .labels .drag {
  opacity: 0;
}
.sf-drag-n-drop.dragover .labels .release {
  opacity: 1;
}
.sf-drag-n-drop.edited i.fa-file-image {
  display: none;
}
.sf-drag-n-drop.edited .labels {
  display: none;
}
.sf-drag-n-drop.edited .uploaded-image {
  display: block;
}

.sf-simple-select {
  position: relative;
  min-width: 170px;
}
.sf-simple-select:hover .value i {
  transform: rotate(-180deg);
}
.sf-simple-select:hover .options {
  opacity: 1;
  pointer-events: unset;
}
.sf-simple-select .value {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  cursor: pointer;
}
.sf-simple-select .value i {
  margin-left: 0.3rem;
}
.sf-simple-select .options {
  list-style: none;
  position: absolute;
  top: 100%;
  padding: 0.3rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.0392156863);
  width: 100%;
  left: 0;
  background-color: var(--bg);
  opacity: 0;
  pointer-events: none;
}
.sf-simple-select .options li {
  padding: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 0.3rem;
}
.sf-simple-select .options li:not(:last-child) {
  margin-bottom: 0.3rem;
}
.sf-simple-select .options li:hover {
  background: var(--grey-50);
}

.pagination {
  background: var(--dialog-bg);
  border-radius: 0.65rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.0666666667);
  width: max-content;
  text-align: center;
  max-width: 100%;
  overflow-y: scroll;
  display: grid;
  grid-template-columns: 4.8rem auto;
  scrollbar-width: none;
  margin: 1rem auto;
}
.pagination::-webkit-scrollbar {
  display: none;
}
.pagination .pagination-show-all {
  width: 4.8rem;
  height: 100%;
  min-height: 3rem;
  color: var(--primary-400);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.65rem;
}
.pagination .pagination-show-all:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.pagination .pagination-show-all.active {
  background: var(--primary-400);
  color: var(--dialog-bg);
}
.pagination .pagination-pages {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
}
.pagination .pagination-pages :first-child {
  margin-left: 0.3rem;
}
.pagination .pagination-pages :last-child {
  margin-right: 0.3rem;
}
.pagination .pagination-pages .pagination-page {
  position: relative;
  color: var(--grey-400);
  margin: 0.3rem 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 150ms ease-out;
  font-weight: 600;
}
.pagination .pagination-pages .pagination-page:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.pagination .pagination-pages .pagination-page:active {
  border-radius: 10rem;
  background: var(--grey-50);
}
.pagination .pagination-pages .pagination-page.pagination-page-setter {
  min-width: unset;
  text-align: center;
  padding: 0;
  cursor: text;
  background: none;
}
.pagination .pagination-pages .pagination-page.pagination-page-setter:active {
  border-radius: 0.65rem;
}
.pagination .pagination-pages .pagination-page.pagination-page-setter:focus {
  width: 5rem;
}
.pagination .pagination-pages .pagination-page.pagination-page-setter:focus::placeholder {
  visibility: hidden;
}

.chip, button {
  padding: 0.5rem 1.5rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  outline: none;
  min-width: 100px;
  font-size: 1.4rem;
  user-select: none;
  color: var(--text);
  cursor: pointer;
}
.chip:active, button:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.bordered.chip, button.bordered {
  padding: 0.4rem 0.8rem;
  font-size: 1.3rem;
}
.chip i, button i {
  margin-right: 0.4rem;
}

button {
  font-weight: 500;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
button span {
  color: var(--text);
}
button.icon-button {
  min-width: unset;
  padding: 0.8rem;
}
button.icon-button i {
  margin-right: 0;
  font-size: 2rem;
}
button.basic {
  border: 2px solid #222;
  background: white;
  color: var(--grey-50);
}
button.full {
  background: #222;
  color: white;
}
button:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
}
button.submit i {
  color: var(--sea-400);
}
button.edit i {
  color: var(--warn-400);
}
button.delete i {
  color: var(--danger-400);
}
button.light {
  background: var(--bg);
  border: 1px solid var(--grey-100);
}

.chip {
  background: var(--grey-50);
  display: inline-block;
  border-radius: 10rem;
  margin: 0.3rem;
  text-align: center;
  min-width: unset;
}
.chip.category-chip, .chip.filter-chip {
  color: var(--grey-800);
}
.chip.category-chip h5, .chip.filter-chip h5 {
  pointer-events: none;
}
.chip .chip-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1rem;
}
.chip.active {
  background: currentColor;
}
.chip.active .chip-label {
  color: var(--grey-50);
}
.chip.contact-chip {
  margin: 0.5rem;
  background: var(--grey-50);
  padding: 0.2rem;
  padding-right: 1rem;
  border-radius: 3rem;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}
.chip.contact-chip i {
  color: #f3f3f3;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5rem;
}
.chip.small {
  font-size: 0.9rem;
  padding: 0.3rem 1rem;
  background: var(--royal-400);
  color: white;
  margin: 0.1rem;
}
.chip.small i {
  margin-right: 0.2rem;
}

.sf-menu {
  display: grid;
  gap: 1.3rem;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  margin: auto;
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem 0rem;
  max-width: 600px;
  width: 90%;
  margin-bottom: 2rem;
}
.sf-menu .menu-item {
  padding: 0.8rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background: var(--grey-50);
  font-size: 1.2rem !important;
  font-weight: 500;
  text-align: center;
}
.sf-menu .menu-item:hover {
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1843137255);
}
.sf-menu .menu-item:active {
  opacity: 0.6;
  transform: scale(0.96);
}
.sf-menu .menu-item i {
  margin-right: 1rem;
}

#sf-app-header {
  padding: 1rem 0rem;
  padding-right: 2rem;
  position: fixed;
  top: 0;
  height: 7rem;
  width: 100%;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  background: var(--bg);
}
#sf-app-header.opened {
  z-index: 5;
}
#sf-app-header.opened #sf-menu {
  height: calc(100vh - 2rem);
  bottom: 0;
  padding-bottom: 5rem;
}
#sf-app-header.opened #current-page-title h1 {
  opacity: 0;
}
#sf-app-header.opened #current-page-title .site-icon {
  width: 8rem;
}
#sf-app-header #current-page-title {
  display: flex;
  align-items: center;
  user-select: none;
  cursor: pointer;
  color: var(--text);
}
#sf-app-header #current-page-title .site-icon {
  background: var(--primary-400);
  padding: 1rem 1rem 1rem 1rem;
  margin-right: 1rem;
  border-radius: 0 1rem 1rem 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2666666667);
  width: 5rem;
  display: flex;
  justify-content: flex-end;
  transition: width 250ms ease-out, opacity 200ms ease-out;
  z-index: 5;
  position: relative;
  overflow: hidden;
}
#sf-app-header #current-page-title .site-icon:active {
  opacity: 0.5;
}
#sf-app-header #current-page-title .site-icon i {
  font-size: 2.3rem;
  color: white;
}
#sf-app-header #logged-in-user {
  z-index: 5;
  display: flex;
  justify-self: flex-end;
  justify-content: flex-end;
  align-items: center;
  width: max-content;
  height: 100%;
  font-size: 1.2rem;
  position: relative;
  cursor: pointer;
}
#sf-app-header #logged-in-user i {
  margin-left: 0.5rem;
}
@media screen and (max-width: 500px) {
  #sf-app-header #logged-in-user .username {
    display: none;
  }
  #sf-app-header #logged-in-user i {
    font-size: 2rem;
  }
}
#sf-app-header #logged-in-user #sf-user-menu {
  position: absolute;
  top: 4.5rem;
  border-radius: 0.5rem;
  background: var(--grey-50);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2666666667);
  transform-origin: top right;
  transform: scale(0);
  transition: transform 150ms ease-out;
  z-index: 10;
}
#sf-app-header #logged-in-user #sf-user-menu.opened {
  transform: scale(1);
}
#sf-app-header #logged-in-user #sf-user-menu .user-menu-item {
  padding: 1rem;
  cursor: pointer;
  font-weight: 400;
}
#sf-app-header #logged-in-user #sf-user-menu .user-menu-item:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#sf-app-header #logged-in-user #sf-user-menu .divider {
  height: 1px;
  width: 70%;
  margin: auto;
  background: var(--grey-100);
}
#sf-app-header #sf-menu {
  grid-column: 1/3;
  transition: height 250ms ease-out;
  height: 0vh;
  overflow: scroll;
  overflow-x: hidden;
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  background-color: var(--bg);
  width: 100%;
}
#sf-app-header #sf-menu::-webkit-scrollbar {
  display: none;
}
#sf-app-header #sf-menu .nav-item {
  user-select: none;
  cursor: pointer;
  margin: 2.7rem 0;
  text-align: center;
  position: relative;
}
#sf-app-header #sf-menu .nav-item:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#sf-app-header #sf-menu .nav-item#menu_switchDesign a {
  font-size: 1.2rem;
  text-transform: unset;
  font-weight: 600;
  letter-spacing: normal;
  padding: 1rem 1.5rem;
}
#sf-app-header #sf-menu .nav-item#menu_switchDesign a i {
  margin-right: 0.5rem;
}
#sf-app-header #sf-menu .nav-item a {
  font-size: 2rem;
  padding: 1rem 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  border-radius: 1rem;
  z-index: 2;
  box-shadow: none;
  transition: box-shadow 100ms ease-out;
}
#sf-app-header #sf-menu .nav-item:hover {
  transform: scale(1.1);
}
#sf-app-header #sf-menu .nav-item:hover a {
  color: var(--primary-400);
}
#sf-app-header #sf-menu .nav-item:hover::before {
  background: var(--primary-400);
}

#light-switch-icon:active {
  transform: scale(0.1);
}
#light-switch-icon.fa-sun::before {
  text-shadow: 0 0 10px var(--primary-400);
}

section#page-content {
  margin-top: 120px;
  padding: 1rem;
}
section#page-content p {
  padding: 1rem;
}

a.back-navigation-button {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  width: max-content;
  cursor: pointer;
}
a.back-navigation-button:active {
  opacity: 0.5;
  transform: scale(0.95);
}

.sf-dialog,
#tables-page #new-table-dialog {
  padding: 2rem;
  position: fixed;
  transform: translate(-50%, -50%);
  transform-origin: left top;
  left: 50%;
  top: 50%;
  background: var(--dialog-bg);
  border-radius: 1rem;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2666666667);
  display: none;
  z-index: 5;
  animation: dialogAnimation 150ms ease-out forwards;
  max-height: 85vh;
  overflow-y: auto;
}
.sf-dialog.opened,
#tables-page .opened#new-table-dialog {
  display: flex;
  flex-flow: column nowrap;
}
.sf-dialog h2.sf-dialog-title,
#tables-page #new-table-dialog h2.sf-dialog-title {
  font-size: 2rem;
  font-weight: 600;
}
.sf-dialog p.sf-dialog-instruction,
#tables-page #new-table-dialog p.sf-dialog-instruction {
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}
.sf-dialog .sf-dialog-body,
#tables-page #new-table-dialog .sf-dialog-body {
  margin-top: 1.5rem;
  overflow-y: auto;
}
.sf-dialog form,
#tables-page #new-table-dialog form {
  margin-top: 2rem;
}
.sf-dialog .sf-dialog-actions,
#tables-page #new-table-dialog .sf-dialog-actions {
  margin-top: 2rem;
}
.sf-dialog.dialog-with-icon,
#tables-page .dialog-with-icon#new-table-dialog {
  width: 80%;
  max-width: 500px;
  padding-top: 4rem;
  overflow-y: unset;
}
.sf-dialog.dialog-with-icon .dialog-icon,
#tables-page .dialog-with-icon#new-table-dialog .dialog-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  padding: 2rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.8rem;
  border: 5px solid var(--dialog-bg);
}
.sf-dialog.dialog-with-icon .dialog-icon i,
#tables-page .dialog-with-icon#new-table-dialog .dialog-icon i {
  animation: shake 1s 100ms linear 2;
}
.sf-dialog.dialog-with-icon h2,
#tables-page .dialog-with-icon#new-table-dialog h2 {
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
}
.sf-dialog.dialog-with-icon h3,
#tables-page .dialog-with-icon#new-table-dialog h3 {
  margin: 3rem auto;
  opacity: 0.6;
}
.sf-dialog.dialog-with-icon a,
#tables-page .dialog-with-icon#new-table-dialog a {
  text-align: center;
  margin: auto;
}
.sf-dialog.dialog-with-icon button,
#tables-page .dialog-with-icon#new-table-dialog button {
  width: max-content;
  margin: auto;
  margin-top: 1rem;
}
.sf-dialog .close-icon,
#tables-page #new-table-dialog .close-icon {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--dialog-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sf-dialog .close-icon:active,
#tables-page #new-table-dialog .close-icon:active {
  opacity: 0.5;
  transform: scale(0.95);
}
@keyframes dialogAnimation {
  from {
    transform: scale(0.7) translate(-50%, -50%);
    opacity: 0;
  }
  to {
    transform: scale(1) translate(-50%, -50%);
    opacity: 1;
  }
}

.sf-expandable {
  background: var(--grey-50);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin: 2rem;
  overflow: hidden;
  transition: height 200ms ease-out;
}
.sf-expandable.collapsed .sf-expandable-header i {
  transform: scaleY(1);
}
.sf-expandable .sf-expandable-header {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  cursor: pointer;
}
.sf-expandable .sf-expandable-header i {
  font-size: 1.5rem;
  transform: scaleY(-1);
}
.sf-expandable .sf-expandable-header h3 {
  font-weight: 500;
}
.sf-expandable .field-color-info {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  font-weight: 500;
}
.sf-expandable .field-color-info .dot {
  margin-right: 1rem;
}
.sf-expandable .field-info {
  margin: 0.5rem 0;
}
.sf-expandable .field-info h4 {
  margin-top: 1rem;
}

.sf-toast {
  position: fixed;
  transform: translateX(-50%) translateY(-200%);
  opacity: 0;
  left: 50%;
  top: 2rem;
  width: 90%;
  max-width: 600px;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--dialog-bg);
  box-shadow: 0 1px 1rem rgba(0, 0, 0, 0.1333333333);
  z-index: 10;
  font-size: 2rem;
  border: 2px solid currentColor;
  transition: all 300ms ease-out;
}
.sf-toast p {
  margin-top: 1rem;
}
.sf-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0%);
}

@keyframes shake {
  0%, 20%, 40%, 60% {
    transform: rotateZ(-18deg);
  }
  10%, 30%, 50%, 70% {
    transform: rotateZ(18deg);
  }
  80%, 90%, 100% {
    transform: rotateZ(0deg);
  }
}
.sf-banner {
  padding: 0.8rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.0666666667);
  position: relative;
  font-weight: 600;
}
.sf-banner-title {
  margin-bottom: 1rem;
}
.sf-banner p {
  color: white !important;
}

#info-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
}
#info-page .contact-card .logo-typo {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
#info-page .contact-chips {
  margin-bottom: 3rem;
  text-align: center;
  display: flex;
  flex-flow: column wrap;
  align-items: stretch;
}
#info-page .contact-chips .contact-chip {
  white-space: nowrap;
  position: relative;
  padding: 0;
  padding-left: 0.2rem;
}
#info-page .contact-chips .contact-chip .contact-chip-name {
  margin-right: 0.5rem;
  text-align: left;
  min-width: 3.5rem;
}
#info-page .contact-chips .contact-chip .phone-overlay,
#info-page .contact-chips .contact-chip .email-overlay {
  min-width: 10.5rem;
  box-shadow: inset 2px 0 0.5rem rgba(0, 0, 0, 0.0666666667);
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
  padding: 0.4rem 1rem;
  margin-left: 0.5rem;
}
#info-page .billing-menu {
  margin-bottom: 0rem;
  grid-template-columns: auto;
}

.item-page .back-arrow {
  display: block;
  width: 4rem;
  text-align: center;
  cursor: pointer;
  font-size: 3rem;
}
.item-page .back-arrow:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.item-page #current-page-title {
  display: none !important;
}
.item-page #logged-in-user {
  grid-column: 2/3;
}

#sort-page-header {
  text-align: center;
  padding: 0rem 2rem 1rem 2rem;
}
#sort-page-header .back-arrow {
  font-size: 2rem;
  position: absolute;
}
#sort-page-header .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: unset;
}
#sort-page-header .buttons button {
  margin: 0 1rem;
}
#sort-page-header .instructions {
  margin: 2rem auto;
  width: 80%;
  max-width: 620px;
}

.sorter {
  padding-top: 0;
}

.sortable-chosen {
  opacity: 0.3;
}

#sortable {
  height: 80vh;
  overflow-y: scroll;
  padding: 1rem;
  width: 100%;
  margin: auto;
  scrollbar-width: none;
}
#sortable::-webkit-scrollbar {
  display: none;
}
#sortable .sortable-item {
  padding: 1rem;
  width: 90%;
  max-width: 340px;
  border-radius: 0.5rem;
  display: grid;
  grid-template-columns: auto 3rem 1rem;
  gap: 1rem;
  margin: 0.5rem auto;
  align-items: center;
  border: none;
  font-size: 1.2rem;
  background: var(--grey-50);
}
#sortable .sortable-item:active {
  background: #ddd;
}
#sortable .sortable-item input {
  max-width: 3rem !important;
}
#sortable .sortable-item i {
  color: var(--grey-800);
  pointer-events: none;
}
#sortable .sortable-item h4 {
  color: var(--color);
  font-weight: 600;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.multiedit-page {
  padding-top: 0;
}
.multiedit-page .labels p {
  display: inline-block;
  width: 4rem;
  margin-right: 0.2rem;
}
.multiedit-page p.textfield-label {
  width: 6rem;
}
.multiedit-page p.textfield-label-longer {
  width: 10rem;
}
.multiedit-page .fieldWrapper label {
  display: none;
}
.multiedit-page .fieldWrapper [type=number] {
  width: 6rem;
  border: 1px solid black;
  border-radius: 0.25rem;
  margin-right: 0.2rem;
  padding: 0.1rem 0.3rem;
}
.multiedit-page .fieldWrapper input[type=text] {
  width: 10rem;
  border: 1px solid black;
  border-radius: 0.25rem;
  margin-right: 0.2rem;
  padding: 0.1rem 0.3rem;
}
.multiedit-page .fieldWrapper select[name*=style] {
  width: 4rem;
  margin-right: 0.2rem;
}
.multiedit-page .fieldWrapper select[name*=style],
.multiedit-page select[name*=unit] {
  width: 4rem;
  margin-right: 0.2rem;
}
.multiedit-page .fieldWrapper select[name*=ntak_unit] {
  width: 6rem;
  margin-right: 0.2rem;
}
.multiedit-page .fieldWrapper select[name*=ntak_category] {
  width: 6rem;
  margin-right: 0.2rem;
}
.multiedit-page button {
  font-size: 0.9rem;
  background: none;
  border: 2px solid black;
  padding: 0.3rem 0.6rem;
  color: black;
  border-radius: 0.3rem;
}
.multiedit-page button.save {
  border-color: #05ad6a;
  background: #05ad6a;
  color: white;
}
.multiedit-page button.delete {
  border-color: #c30909;
  color: #c30909;
}
.multiedit-page button:active {
  opacity: 0.4;
}
.multiedit-page i.delete {
  color: #c30909;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: stretch;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2rem;
}
.knowledge-grid .knowledge {
  align-self: stretch;
  height: 100%;
  border: 1px solid var(--grey-50);
  padding: 2rem;
  cursor: pointer;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.knowledge-grid .knowledge:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.knowledge-grid .knowledge .title {
  font-weight: 500;
  font-size: 1.4rem;
}
.knowledge-grid .knowledge .category {
  font-weight: 700;
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.knowledge-grid .knowledge:hover {
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1333333333);
  transform: scale(1.03);
}

#knowledge-page {
  padding: 2rem 3rem;
}
#knowledge-page header {
  margin-top: 1.5rem;
}
#knowledge-page header .category {
  text-transform: uppercase;
  opacity: 0.5;
  font-weight: 700;
  font-size: 1rem;
}
#knowledge-page header #knowledge-title {
  font-size: 6vmin;
  width: 80%;
  margin-bottom: 1rem;
  font-weight: 800;
}
#knowledge-page header .meta {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.4;
  margin-bottom: 2rem;
}
#knowledge-page header .meta h3 {
  font-weight: 500;
}
#knowledge-page header .meta .read-time {
  font-weight: 500;
  margin-left: 1rem;
}
#knowledge-page #knowledge-content a {
  color: var(--primary-400);
}
#knowledge-page #knowledge-content h1,
#knowledge-page #knowledge-content h2,
#knowledge-page #knowledge-content h3,
#knowledge-page #knowledge-content h4,
#knowledge-page #knowledge-content h5,
#knowledge-page #knowledge-content h6 {
  margin: 1.5rem 0 1rem 0;
}
#knowledge-page #knowledge-content img {
  max-width: 100%;
  margin: 1rem 0;
}
#knowledge-page #knowledge-content li,
#knowledge-page #knowledge-content p {
  font-weight: 400;
  margin: 0.5rem 0;
  color: var(--text);
}

#inquiry-options .inquiry-group-title {
  text-align: center;
  margin: 2rem;
  margin-top: 3rem;
  font-weight: 500;
}

header.inquiry-page-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-flow: row;
  width: 100%;
}
header.inquiry-page-header .back-arrow {
  font-size: 2rem;
  margin-right: 2rem;
}
header.inquiry-page-header .back-arrow:active {
  opacity: 0.5;
  transform: scale(0.95);
}
header.inquiry-page-header .inquiry-time {
  justify-self: flex-start;
  width: max-content;
}
header.inquiry-page-header .inquiry-time h4 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  opacity: 0.5;
  font-size: 0.9rem;
}
header.inquiry-page-header .inquiry-time h1 {
  line-height: 90%;
  font-size: 3rem;
}
header.inquiry-page-header .export-buttons {
  margin-left: auto;
}

section.inquiry-page-body {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow: hidden;
}
section.inquiry-page-body .inquiry-interval-inputs {
  margin: auto;
  max-width: 500px;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  align-items: center;
  justify-content: flex-start;
}
section.inquiry-page-body .inquiry-interval-inputs label {
  font-weight: 400;
}
section.inquiry-page-body .inquiry-interval-inputs input {
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}
section.inquiry-page-body .inquiry-interval-inputs select {
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}
@media screen and (max-width: 500px) {
  section.inquiry-page-body .inquiry-interval-inputs {
    display: flex;
    flex-flow: column wrap;
    margin-bottom: 1rem;
  }
  section.inquiry-page-body .inquiry-interval-inputs label {
    margin-bottom: 0.5rem;
  }
}
section.inquiry-page-body .inquiry-table-title {
  margin-top: 3rem;
  margin-bottom: 0;
  font-weight: 500;
}
section.inquiry-page-body .compress-table-button {
  margin-top: 2rem;
  min-width: unset;
  padding: 0.5rem;
  position: relative;
  display: flex;
  justify-tracks: center;
  align-items: center;
}
section.inquiry-page-body .compress-table-button span {
  font-size: 1.3rem;
}
section.inquiry-page-body .compress-table-button:active i {
  transform: scale(0);
}
section.inquiry-page-body .compress-table-button i {
  pointer-events: none;
}
section.inquiry-page-body .inquiry-table-wrapper {
  overflow: scroll;
  width: 100%;
  margin: auto;
  scrollbar-width: none;
}
section.inquiry-page-body .inquiry-table-wrapper::-webkit-scrollbar {
  display: none;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table {
  text-align: left;
  padding: 0;
  max-width: unset;
  align-self: flex-start;
  overflow: hidden;
  margin: 2rem auto;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table thead,
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table tfoot {
  background: rgba(0, 0, 0, 0.0666666667);
  text-transform: uppercase;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table thead th,
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table tfoot th {
  font-weight: 700;
  padding: 1rem 2rem;
  opacity: 0.7;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table tbody tr:hover {
  background: rgba(170, 170, 170, 0.3333333333);
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table tbody td {
  padding: 1.5rem 2rem;
  font-weight: 500;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table td.inquiry-item-state.closed {
  color: var(--secondary-400);
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table td.inquiry-item-price {
  text-align: right;
  font-weight: 600;
  color: var(--primary-400);
  white-space: nowrap;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table td.inquiry-item-edit {
  text-align: right;
  padding-right: 2rem;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table td.inquiry-item-amount {
  text-align: center;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table th.inquiry-item-price {
  text-align: right;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table.compact {
  width: 100%;
  font-size: 0.5rem !important;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table.compact tr,
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table.compact td,
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table.compact th {
  padding: 0.5rem !important;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table.compact td {
  font-size: 0.7rem;
}
section.inquiry-page-body .inquiry-table-wrapper .inquiry-table.compact td .dot {
  display: none;
}
section.inquiry-page-body .invoice-hidden-field {
  display: none;
}
section.inquiry-page-body .no-inquiry-result {
  margin-top: 2rem;
}

.order-inquiry-actions a * {
  cursor: pointer;
}
.order-inquiry-actions #add-to-order-button,
.order-inquiry-actions button[id*=inquiry-order-pay-] {
  grid-column: 1/3;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2666666667);
  border: none;
  font-size: 1.5rem;
  font-weight: 500;
}
.order-inquiry-actions #add-to-order-button:active,
.order-inquiry-actions button[id*=inquiry-order-pay-]:active {
  opacity: 0.5;
  transform: scale(0.95);
}
.order-inquiry-actions #add-to-order-button button,
.order-inquiry-actions #add-to-order-button i,
.order-inquiry-actions button[id*=inquiry-order-pay-] button,
.order-inquiry-actions button[id*=inquiry-order-pay-] i {
  color: white !important;
}
.order-inquiry-actions button[id*=inquiry-order-pay-] {
  margin-bottom: 1.5rem;
}

#pay-order-dialog .vat-service-fee-tables {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 3rem;
}
#pay-order-dialog .vat-service-fee-tables #VATTablePlace table,
#pay-order-dialog .vat-service-fee-tables #ServiceFeeTablePlace table {
  padding: 0 1rem;
  width: 180px;
  margin: auto 1rem;
}
#pay-order-dialog .vat-service-fee-tables #VATTablePlace h4,
#pay-order-dialog .vat-service-fee-tables #ServiceFeeTablePlace h4 {
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.auth-page {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  position: fixed;
  overflow: hidden;
  background: #f6f6f6;
}
.auth-page h1 {
  font-size: 4rem;
  width: 70%;
  line-height: 1.2;
  text-align: center;
  animation: authTitleAnim 500ms ease-out forwards;
}
@keyframes authTitleAnim {
  from {
    opacity: 0;
    transform: translateY(50%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-page form {
  padding: 4rem 4rem 2rem 4rem;
  width: 80%;
  max-width: 500px;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.0666666667);
  z-index: 2;
  opacity: 0;
  background: rgba(250, 253, 255, 0.6666666667);
  backdrop-filter: blur(10px) saturate(1.5) brightness(1.04);
  animation: formAnim 500ms ease-out 100ms forwards;
}
@keyframes formAnim {
  from {
    transform: translateY(20%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.auth-page form .auth-form-field {
  max-width: 300px;
  margin: auto;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: stretch;
}
.auth-page form .auth-form-field:not(:first-of-type) {
  margin-top: 2rem;
}
.auth-page form .auth-form-field label {
  margin-bottom: 0.3rem;
}
.auth-page form .auth-form-field input {
  border-radius: 0.5rem;
  background: #eee;
  padding: 0.5rem;
  font-size: 1rem;
  border: none;
}
.auth-page form .login-btn {
  margin-bottom: 1rem;
  margin-top: 3rem;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.7rem 1.3rem;
}
.auth-page form #forgot-password {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.auth-page form p#no-account {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
}
.auth-page .logo-typo {
  margin-top: 2rem;
}
.auth-page#registration-page {
  display: grid;
  grid-template-columns: 4fr 5fr;
  grid-template-rows: 1fr 2rem;
  gap: 3rem;
  padding: 3rem;
}
@media screen and (max-width: 600px) {
  .auth-page#registration-page {
    display: block;
    text-align: center;
    height: 100%;
    overflow-y: scroll;
    position: absolute;
  }
  .auth-page#registration-page h1 {
    text-align: center !important;
    margin: auto;
    margin-bottom: 4rem;
  }
  .auth-page#registration-page .logo-typo {
    position: absolute;
    left: 50%;
    margin-top: 3rem;
    padding-bottom: 3rem;
    transform: translate(-50%, 0);
  }
}
.auth-page#registration-page h1 {
  width: 100%;
  grid-row: 1/2;
  text-align: left;
}
.auth-page#registration-page form {
  width: 100%;
  margin: auto;
  grid-row: 1/3;
  max-height: 90vh;
  display: block;
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
}
.auth-page#registration-page form .auth-form-field {
  text-align: left;
}
.auth-page#registration-page form #continue-btn {
  margin-top: 2rem;
}
.auth-page#registration-page form #bottom-section {
  margin-top: 2rem;
}
.auth-page#registration-page form #bottom-section #aszf {
  margin-top: 2rem;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
}
.auth-page#registration-page form #bottom-section #aszf input {
  margin-right: 0.5rem;
}
.auth-page#registration-page form #bottom-section button {
  margin-top: 2rem;
}
.auth-page#registration-page .logo-typo {
  grid-column: 1/2;
}
.auth-page#registration-page #additional-fields {
  padding: 4rem 2rem;
  background: white;
  position: absolute;
  width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(-100%);
}
.auth-page#registration-page #additional-fields h2 {
  margin: auto;
  margin-bottom: 4rem;
  width: 80%;
  font-weight: 400;
}
.auth-page#registration-page #additional-fields.active {
  transform: translateX(0);
  opacity: 1;
}

html[data-theme=dark] .auth-page {
  background: #121315;
}
html[data-theme=dark] .auth-page form {
  background: rgba(26, 29, 31, 0.6666666667);
  backdrop-filter: blur(10px) saturate(1.5) brightness(1.5);
}
html[data-theme=dark] .auth-page#registration-page #additional-fields {
  background: #2a2c31;
}

.sf-circle {
  opacity: 0.2;
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  z-index: -1;
  transition: none;
  background: red;
}
.sf-circle#circle1 {
  background: var(--secondary-400);
  top: 15%;
  left: 15%;
  width: 13rem;
  height: 13rem;
}
.sf-circle#circle2 {
  background: var(--primary-400);
  width: 24rem;
  height: 24rem;
  right: 10%;
  bottom: 10%;
}

#reservations-table {
  background: var(--grey-100);
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: repeat(3, auto);
  padding: 0;
  margin: 0 2rem;
  border-radius: 1rem;
  margin-top: 8rem;
  overflow: hidden;
  position: relative;
}
#reservations-table #sidebar-bg {
  position: absolute;
  width: 280px;
  height: 100%;
  background: var(--grey-50);
  box-shadow: 1px 0 0.5rem rgba(0, 0, 0, 0.1333333333);
  z-index: 0;
}
#reservations-table #calendar {
  position: absolute;
  height: 100%;
  grid-row: 1/4;
  grid-column: 2/3;
  z-index: 0;
}
#reservations-table #calendar #dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  list-style: none;
  gap: 1px;
  padding: 0.5rem 0;
}
#reservations-table #calendar #dates .date-label {
  text-align: center;
  text-transform: uppercase;
}
#reservations-table #calendar #dates .date-label .month {
  font-weight: 500;
}
#reservations-table #calendar .lines {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  position: absolute;
  width: 100%;
  height: 100%;
}
#reservations-table #calendar .lines .line:not(:first-child) {
  width: 2px;
  height: 100%;
  background: var(--grey-900);
  opacity: 0.2;
}
#reservations-table #calendar #date-changer {
  border-top-left-radius: 1rem;
  background: var(--grey-50);
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.5rem 0;
}
#reservations-table #calendar #date-changer i {
  margin: 0 1rem;
  cursor: pointer;
}
#reservations-table .search {
  height: 4rem;
  padding-top: 1rem;
  margin-bottom: 1rem;
}
#reservations-table .search .sf-search-bar {
  width: 90%;
}
#reservations-table .search .sf-search-bar input {
  background: var(--grey-100);
}
#reservations-table #rooms-and-reservations {
  grid-column: 1/3;
  grid-row: 2/3;
  z-index: 5;
  overflow-y: scroll;
  max-height: 45vh;
  scrollbar-width: none;
}
#reservations-table #rooms-and-reservations::-webkit-scrollbar {
  display: none;
}
#reservations-table #rooms-and-reservations .room {
  margin: 1rem auto;
  display: grid;
  grid-template-columns: 280px 1fr;
}
#reservations-table #rooms-and-reservations .room:hover {
  background: rgba(0, 0, 0, 0.1333333333);
}
#reservations-table #rooms-and-reservations .room-details {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem;
}
#reservations-table #rooms-and-reservations .room-details:active {
  background: var(--grey-100);
}
#reservations-table #rooms-and-reservations .room-details .capacity {
  margin-left: auto;
  margin-right: 1rem;
}
#reservations-table #rooms-and-reservations .room-details .rooms-status {
  margin-left: 1rem;
}
#reservations-table #rooms-and-reservations .reservations {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
#reservations-table #rooms-and-reservations .reservations .reservation {
  background: var(--primary-400);
  overflow: hidden;
  padding-left: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}
#reservations-table #rooms-and-reservations .reservations .reservation:active {
  opacity: 0.5;
}
#reservations-table #rooms-and-reservations .reservations .reservation.starts-this-week {
  border-top-left-radius: 10rem;
  border-bottom-left-radius: 10rem;
}
#reservations-table #rooms-and-reservations .reservations .reservation.ends-this-week {
  border-top-right-radius: 10rem;
  border-bottom-right-radius: 10rem;
}
#reservations-table #rooms-and-reservations .reservations .reservation .name {
  white-space: nowrap;
  color: white;
}
#reservations-table #rooms-and-reservations .reservations .reservation#reservation-54 {
  grid-column: 2/4;
}
#reservations-table #new-reservation-btn {
  grid-column: 1/2;
  margin: 1.5rem auto;
  font-size: 1.2rem;
  width: max-content;
  z-index: 2;
}
#reservations-table #calendar {
  width: 100%;
  height: 100%;
  margin: auto;
  position: relative;
}
#reservations-table #calendar #days {
  top: 0;
  display: flex;
  justify-content: space-between;
  height: 100%;
  position: absolute;
  width: 100%;
}
#reservations-table #calendar #days .day {
  width: calc(100% - 2px);
  position: relative;
  color: var(--grey-800);
}
#reservations-table #calendar #days .day::after {
  content: "";
  position: absolute;
  top: 4rem;
  left: 50%;
  height: 600px;
  width: 2px;
  transform: translateX(-50%);
  background: var(--grey-800);
  opacity: 0.2;
}
#reservations-table #calendar #days .day .day-label {
  text-align: center;
  padding: 1rem 0;
}
#reservations-table #calendar #days .day .day-label .text {
  font-size: 0.8rem;
  line-height: 1;
}
#reservations-table #calendar #days .day .day-label .number {
  line-height: 1.1;
  font-size: 1.2rem;
}
#reservations-table #reservation-lines {
  max-height: 600px;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  padding-top: 5rem;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
}
#reservations-table #reservation-lines::-webkit-scrollbar {
  display: none;
}
#reservations-table #reservation-lines .reservation {
  margin: 1rem 0;
  padding: 0 1.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 5rem;
  height: 3rem;
  z-index: 2;
  top: 5rem;
  transform: translateX(0);
  width: 100%;
  position: absolute;
}
#reservations-table #reservation-lines .reservation.no-start {
  border-radius: 0 5rem 5rem 0;
}
#reservations-table .bottom-bar {
  background: var(--table-bg);
  padding: 0.5rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-top-left-radius: 0.5rem;
}
#reservations-table .bottom-bar .date-changer {
  padding: 0 0.3rem;
}
#reservations-table .bottom-bar .date-changer i {
  cursor: pointer;
}
#reservations-table .bottom-bar .date-changer #visible-date {
  padding: 0 0.5rem;
}

#edit-reservation-dialog .reservation-actions {
  margin-top: 2rem;
  text-align: center;
}
#edit-reservation-dialog .reservation-actions button {
  margin: 0 0.5rem;
}

.markdown h4,
.markdown h3,
.markdown h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.markdown p {
  margin: 1rem 0;
}

#kitchen-display-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#kitchen-display-header .back-arrow {
  font-size: 2rem;
  margin-right: 1rem;
}
#kitchen-display-header .back-arrow:active {
  opacity: 0.5;
  transform: scale(0.95);
}
#kitchen-display-header .title {
  font-size: 2rem;
  font-weight: 600;
}
#kitchen-display-header .time-and-light {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#kitchen-display-header .time-and-light .time {
  background: var(--primary-400);
  color: white;
  border-radius: 5rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  font-size: 1.4rem;
}

#kitchen-display {
  text-align: center;
  margin: 0;
  padding: 2rem;
}
#kitchen-display .incoming-order-card {
  font-size: 1.3rem;
  padding: 1rem;
  min-width: 14rem;
  position: relative;
  padding-bottom: 3rem;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
#kitchen-display .incoming-order-card .order-info {
  color: var(--grey-800);
  margin: 0.3rem 0;
  display: flex;
  justify-content: space-between;
}
#kitchen-display .incoming-order-card .order-info h3 {
  font-size: 1.1rem;
}
#kitchen-display .incoming-order-card .order-info .order-time {
  margin-right: 1rem;
}
#kitchen-display .incoming-order-card h6 {
  margin-top: 1rem;
  text-transform: uppercase;
  opacity: 0.6;
}
#kitchen-display .incoming-order-card .order-products {
  list-style: none;
}
#kitchen-display .incoming-order-card .order-products li {
  margin: 0.8rem 0;
}
#kitchen-display .incoming-order-card .order-products li .order-comment {
  background: var(--grey-50);
  padding: 0.4rem 0.4rem;
  font-size: 1rem;
  border-radius: 0.3rem;
}
#kitchen-display .incoming-order-card .remove-order {
  width: 3rem;
  height: 3rem;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1333333333);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, 50%);
  bottom: 0;
  left: 50%;
}

#not-found-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: var(--yogurt);
  color: var(--secondary-400);
}
#not-found-page .image {
  height: 50vh;
  position: relative;
}
#not-found-page .image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
#not-found-page .not-found-info h1 {
  font-size: 4rem;
  font-weight: 900;
}
#not-found-page .not-found-info h3 {
  opacity: 0.6;
  font-size: 2rem;
  margin-top: 1rem;
  font-weight: 500;
}
#not-found-page .not-found-info button {
  border-radius: 10rem;
  padding: 0.5rem 3rem;
  margin-top: 5rem;
}
@media screen and (max-aspect-ratio: 1/1) {
  #not-found-page {
    display: block;
  }
  #not-found-page .image {
    height: 40vh;
    margin-top: 10vh;
    margin-bottom: 5vh;
  }
  #not-found-page .not-found-info {
    padding: 0 2rem;
  }
}

* {
  margin: 0;
  padding: 0;
  font-family: Montserrat, sans-serif;
  box-sizing: border-box;
  font-weight: 600;
  transition: opacity 200ms ease-out, transform 250ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}

html {
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}
@media screen and (min-width: 1919px) {
  html {
    font-size: 20px;
  }
}

body {
  background-color: var(--bg);
  color: var(--text);
  padding-bottom: 4rem !important;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 160%;
  color: var(--grey-800);
  font-size: 1.1rem;
  font-weight: 400;
}

section {
  padding: 4rem 2rem;
}
section h3.section-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 1rem;
}
section.with-header {
  padding-top: 9rem;
}

span {
  display: inline;
}

.logo-typo {
  text-transform: uppercase;
  display: flex;
}
.logo-typo div {
  font-weight: 800;
  letter-spacing: 2px;
}
.logo-typo div:nth-child(odd) {
  color: var(--secondary-400);
}
.logo-typo div:nth-child(even) {
  color: var(--primary-400);
}

.title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.comment {
  font-style: italic;
  color: var(--comment-color);
  font-size: 90%;
  font-weight: 500;
}

.subtitle {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.fatface {
  font-weight: 100 !important;
  font-family: Abril Fatface;
}

.color-definition {
  line-height: 160%;
}
.color-definition span {
  font-weight: 800;
}

.centered {
  width: 100%;
  margin: auto;
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.no-item-added {
  text-align: center;
}

#daily-status {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--grey-50);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}
#daily-status #new-outisde-orders {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#daily-status #new-outisde-orders div#new-outside-orders-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  margin-left: 0.5rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
}
#daily-status p {
  font-weight: 600;
  color: var(--grey-800);
  text-align: left;
}
@media screen and (max-width: 768px) {
  #daily-status p#todays-orders-info {
    display: none;
  }
}
#daily-status .error-msg {
  border: 3px solid var(--danger-400);
  color: var(--text);
  background: var(--grey-50);
  padding: 1.5rem;
  border-radius: 1rem;
}
#daily-status .warning-banner {
  margin-left: 0.5rem;
}
#daily-status .warning-banner:hover .warning-banner-text {
  opacity: 1;
}
#daily-status .warning-banner .warning-banner-text {
  opacity: 0;
  pointer-events: none;
  display: block !important;
  position: absolute;
  bottom: 4rem;
  left: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  max-width: 600px;
  width: 90%;
  margin: auto;
  text-transform: none;
  letter-spacing: normal;
  background: var(--dialog-bg);
  border-radius: 0.8rem;
  padding: 1.5rem;
  border: 2px solid currentColor;
}
#daily-status .warning-banner .warning-banner-text p {
  color: var(--grey-800);
}

.legend {
  position: absolute;
  left: 50%;
  top: -60%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border-radius: 0.5rem;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1333333333);
  font-size: 0.7rem;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  font-weight: 500;
}

.with-legend:hover .legend {
  opacity: 1;
}

table {
  margin: 2rem 0;
  background: var(--table-bg);
  max-width: 100%;
  padding: 2rem;
  border-radius: 1rem;
}
table tr td {
  font-size: 1.2rem;
  font-weight: 400;
  padding: 1rem 0;
  color: var(--grey-800);
}
table tr td:nth-child(even) {
  color: var(--text);
  font-weight: 600;
  transform: translateX(-2px);
  padding-left: 2rem;
}
table tr td.price {
  color: var(--primary-400);
}

#error-popup {
  position: fixed;
  top: 4rem;
  max-width: 420px;
  width: 90%;
  border-radius: 1rem;
  background: var(--dialog-bg);
  border: 3px solid var(--danger-400);
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem;
  z-index: 20;
  top: -15rem;
  opacity: 0;
  transition: all 600ms ease-out;
}
#error-popup.active {
  top: 4rem;
  opacity: 1;
}
#error-popup i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}
#error-popup .error-popup-info h4 {
  font-size: 1.4rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
#error-popup .error-popup-info p {
  line-height: 1.4;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
#error-popup .error-popup-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
}
#error-popup .error-popup-actions button#close-error-popup {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}
#error-popup .error-popup-actions button#report-error {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
#error-popup .error-popup-actions button#report-error:active {
  opacity: 0.5;
  transform: scale(0.95);
}

.dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  display: inline-block;
}

.new-feature {
  position: relative;
  overflow: visible !important;
}
.new-feature::after {
  content: "Új!";
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--primary-400);
  color: white;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1333333333);
  transform: rotateZ(10deg) scale(1);
  animation: newAnimation 300ms ease-out forwards;
}
@keyframes newAnimation {
  0% {
    transform: scale(0) rotateZ(-350deg);
  }
  90% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1) rotateZ(10deg);
  }
}

.loading {
  animation: loading 1.7s linear infinite;
}

@keyframes loading {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.5;
  }
}
#refresh-page-button {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50rem;
  display: none;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 0;
  position: fixed;
  bottom: -10rem;
  right: 2rem;
  min-width: unset;
  z-index: 10;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.2);
  transition: all 150ms ease-out;
}
#refresh-page-button.active {
  display: flex;
  bottom: 2rem;
}
#refresh-page-button:hover p {
  opacity: 1;
}
#refresh-page-button i {
  margin: 0;
  animation: refresh 1230ms ease-out infinite;
  font-size: 1.2rem;
}
#refresh-page-button p {
  position: absolute;
  white-space: nowrap;
  font-size: 1rem;
  background: var(--dialog-bg);
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.3rem;
  top: -140%;
  right: 0;
  pointer-events: none;
  opacity: 0;
  text-align: left;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.0666666667);
}
@keyframes refresh {
  0% {
    transform: rotateZ(0deg);
  }
  30% {
    transform: rotateZ(360deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
