/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Theme tokens. Light = today's look; dark = "LAN night" after syncora-gamelink.
   js/theme.js sets data-theme on <html> before this file loads.
   Light rules below still use literal colors; the dark layer at the end of
   this file overrides them. ponytail: fold both into these tokens one day.
   ========================================================================== */

:root {
  --bg: #f6f6f6;
  --s1: #ffffff;
  --s2: #f6f6f6;
  --line: #dedede;
  --bd: #d4d4d4;
  --bdh: #af8f2c;
  --tx: #2e2e2e;
  --mu: #6b6b6b;
  --ink: #524428;
  --accent: #dcbd5b;
  --accent-soft: rgba(220, 189, 91, 0.2);
  --accent-tx: #8a6d1f; /* gold text on white needs the deeper shade */
  --grn: #1e6b33;
  --warn: #c06a00;
  --danger: #c0363c;
  --ok-bg: rgb(171, 239, 171);
  --ok-tx: rgb(46, 46, 46);
  --err-bg: rgb(255, 158, 158);
  --err-tx: rgb(46, 46, 46);
  --err-bd: #ec726e;
  --card-shadow: 0 2px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141210;
  --s1: #1d1a17;
  --s2: #26221e;
  --line: #36312a;
  --bd: #4a443b;
  --bdh: #6a6254;
  --tx: #efe9dc;
  --mu: #aaa294;
  --ink: #170a04;
  --accent-soft: rgba(220, 189, 91, 0.14);
  --accent-tx: #dcbd5b;
  --grn: #6dff9c;
  --warn: #ffb000;
  --danger: #ff8a80;
  --ok-bg: var(--s2);
  --ok-tx: var(--grn);
  --err-bg: var(--s2);
  --err-tx: var(--danger);
  --err-bd: var(--danger);
  --card-shadow: none;
  /* Item tiles: a soft spotlight cone from above (20% strength, 25deg half-width)
     with a faint pool where it lands. Literal stops on purpose: a var() that fails
     inside the background shorthand would drop the item image with it. */
  /* --tile: radial-gradient(ellipse 50% 12% at 50% 86%, rgb(255 240 210 / 0.14), transparent),
    conic-gradient(from 155deg at 50% -14%, rgb(255 240 210 / 0) 0deg, rgb(255 240 210 / 0.11) 11.25deg,
      rgb(255 240 210 / 0.2) 25deg, rgb(255 240 210 / 0.11) 38.75deg, rgb(255 240 210 / 0) 50deg,
      rgb(255 240 210 / 0) 360deg),
    #1d1a17; */
  --tile: #1d1a17;
  --tile-tx: var(--tx);
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: "Bree";
  src: url(BreeSerif-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "OpenSans";
  src: url(OpenSans-Regular.ttf) format("truetype");
}

/* Raleway, variable weight 100-900, local so it works offline at the venue
   (Google Fonts v37, latin and latin-ext subsets) */
@font-face {
  font-family: "Raleway";
  font-weight: 100 900;
  font-display: swap;
  src: url(raleway-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Raleway";
  font-weight: 100 900;
  font-display: swap;
  src: url(raleway-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  margin: 0;
  background-color: #f6f6f6;

  text-align: center;
  font-family: "Raleway", sans-serif;
  font-size: 0.9rem;
}

main {
  display: inline-block;
  margin: 20px;
  text-align: left;
}

.main-content {
  display: flex;
}

header a {
  display: block;
  position: relative;
  background: #9fb673;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzlmYjY3MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5MmE5NjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #9fb673),
    color-stop(100%, #92a966)
  );
  background: -webkit-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: -o-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: -ms-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: linear-gradient(to bottom, #9fb673 0%, #92a966 100%);
  box-shadow: inset 0 -10px #7f9455;

  width: 94px;
  height: 94px;

  border-radius: 30px;

  float: left;
  margin-right: 20px;
}

header a:hover {
  box-shadow: inset 0 -4px #7f9455;
}

header a img {
  margin: 12px;
}

header h1 {
  font-family: "Bree", serif;
  margin: 0;
  padding-top: 10px;

  font-size: 50px;
  line-height: 50px;
  color: #9eb571;
}

header h2 {
  font-family: "Bree", serif;
  margin: 0;

  font-size: 34px;
  line-height: 34px;
  color: #7f9455;
}

#content {
  width: 880px;
  margin-right: 50px;
}

/* Navigation bar */

.navigation {
  display: flex;
  background-color: #2e2e2e;
  margin-bottom: 40px;
  padding: 0.5rem 1rem;
}

.navbar-nav {
  flex-grow: 0;
  text-align: right;
  flex-wrap: nowrap;
}

.nav-item {
  display: inline-block;
}

.nav-item--info {
  color: #fdda6c;
  margin-right: 20px;
  font-weight: 600;
}

.nav-item--info .credit0 {
  color: #c0363c;
}

.nav-link {
  transition: color 0.2s;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.nav-item + .nav-item {
  margin-left: 20px;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Main content */

.promo {
  color: green;
  width: 642px;
  padding: 10px;
  background-color: white;
  margin-top: 20px;

  border-radius: 1px;
  box-shadow: 0 2px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.2);
}

.oldprice {
  text-decoration: line-through;
  color: grey;
}

.tabs {
  display: flex;
  align-items: center;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
}

.tabs li {
}

.tabs li + li {
  margin-left: 20px;
}

.tabs .active {
  border-bottom: 2px solid #af8f2c;
}

.tabs a {
  text-decoration: none;
  font-size: 20px;
  outline: none;
  user-select: none;
  color: #524428;
}

.tabs a:hover,
.tabs a:focus {
  text-decoration: none;
}

/* Old pos */

#tabs-1,
#tabs-2,
#tabs-3 {
  background-color: white;
  width: 662px;
}

#tabs-2 .box,
#tabs-3 .box {
  padding: 15px;
  height: 434px;
}

#tabs-2 textarea {
  height: 200px;
  width: 100%;
}

#tabs-3 input {
  height: 25px;
  margin-bottom: 25px;
  width: 350px;
}

#tab5 p {
  color: red;
}

h2 {
  margin: 0px;
}

.box .tabset {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
  width: 73px;
  border-right: 1px solid #e5e7e8;
}

.box .tabset li {
  vertical-align: top;
  position: relative;
}

.box .tabset li a {
  border-top: 1px solid #e5e7e8;
  text-indent: -9999px;
  display: block;
  height: 72px;
  overflow: hidden;
}

.box .tabset li:first-child a {
  border: none;
}

.box .tabset .hover a {
  background: #9ab26b;
  border-color: #9ab26b;
}

.box .tabset li a:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: url(../img/ico-tab-food.png) no-repeat;
  height: 30px;
  width: 26px;
  margin: -15px 0 0 -13px;
  z-index: 10;
}
.box .tabset li.hover a:after {
  background-position: 0 -40px;
}

/* Menu: Food */
.box .tabset li.tab-lists a {
  height: 75px;
}
.box .tabset li.tab-lists a:after {
  background: url(../img/ico-tab-food.png) no-repeat;
  height: 30px;
  width: 35px;
  margin: -15px 0 0 -17px;
}

.box .tabset li.tab-lists.hover a:after {
  background-position: 0 -40px;
}

/* Menu: Drinks */
.box .tabset .tab-drinks a:after {
  background: url(../img/ico-tab-drinks.png) no-repeat;
  height: 30px;
  width: 35px;
  margin: -15px 0 0 -17px;
}
.box .tabset li.tab-lists.hover a:after {
  background-position: 0 -40px;
}

/* Menu: Verwijderen */
.box .tabset li.tab-lists a:after {
  background: url(../img/ico-tab-delete.png) no-repeat;
  height: 30px;
  width: 35px;
  margin: -15px 0 0 -17px;
}
.box .tabset li.tab-lists.hover a:after {
  background-position: 0 -40px;
}

.box .tabset .holder {
  display: table;
  height: 60px;
}
.box .tabset .text {
  display: table-cell;
  vertical-align: middle;
}

.box .tab-content {
  height: 440px;
  margin-left: 74px;
  overflow: hidden;
}

.tab-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px 20px;

  position: relative;
  box-sizing: border-box;
}

.box .tab-content h3 {
  color: #616f70;
  font-size: 28px;
  line-height: 32px;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0 0 19px -3px;
}
.box .tab-content p {
  margin: 0 0 10px;
}

/* Items shopping cart	*/
.tab-content article {
  position: relative;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;

  border-radius: 3px;
  box-shadow: 0 2px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.2);

  height: 30px;
  width: 160px;
  height: 160px;
  padding: 15px;

  font-size: 14px;
  color: #464545;

  cursor: pointer;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;

  transition: opacity 0.1s;
  opacity: 0;

  height: 100%;
  width: 100%;
  border: 1px solid #af8f2c;
  background-color: rgba(220, 189, 91, 0.2);
  cursor: pointer;

  text-align: center;
}

.overlay-icon-wrapper {
  display: inline-block;
  background-color: #dcbd5b;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  line-height: 44px;
  margin-top: 13px;
}

.overlay-icon {
  color: #ffffff;
  font-size: 20px;
}

.tab-content article:hover .overlay,
.order-item:hover .overlay {
  opacity: 1;
}

/* Sits on the line's picture; the trash button centred in it */
.order-item .overlay {
  inset: -1px;
  height: auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-item .overlay-icon-wrapper {
  margin: 0;
  border: none;
  padding: 0;
  cursor: pointer;
}

.pos-item-price {
  position: absolute;
  bottom: 15px;
  right: 15px;

  background-color: #dcbd5b;
  height: 34px;
  width: 34px;
  border-radius: 50%;

  text-align: center;
  color: #ffffff;
  line-height: 32px;
  font-size: 20px;
}

#errorMessage {
  padding: 10px;
  margin-bottom: 20px;

  border-radius: 10px;

  background-color: rgb(171, 239, 171);
  color: rgb(84, 84, 84);
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#errorMessage {
  opacity: 0; /* make things invisible upon start */
  animation: fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/

  animation-duration: 1s;
}

#errorMessage.notification {
  background-color: rgb(171, 239, 171);
  color: rgb(84, 84, 84);
}

#errorMessage.error {
  background-color: rgb(255, 158, 158);
  padding: 20px;
  border: 1px solid #ec726e;

  color: rgb(46, 46, 46);
  font-weight: 600;
}

/* Navigation Shopping cart	*/

.breadcrumbs {
  list-style: none;
  padding: 0 20px 0 0;
  margin: 0 0 0 -1px;
  font-size: 15px;
  line-height: 40px;
  color: #b1b1b1;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: #fff;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY2ZjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #fff 0%, #f6f6f6 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #fff),
    color-stop(100%, #f6f6f6)
  );
  background: -webkit-linear-gradient(top, #fff 0%, #f6f6f6 100%);
  background: -o-linear-gradient(top, #fff 0%, #f6f6f6 100%);
  background: -ms-linear-gradient(top, #fff 0%, #f6f6f6 100%);
  background: linear-gradient(to bottom, #fff 0%, #f6f6f6 100%);
}

.breadcrumbs li {
  height: 39px;
  float: left;
  position: relative;
}

.breadcrumbs li:first-child {
  padding-left: 0;
  background: none;
}

.breadcrumbs a {
  height: 39px;
  display: block;
  padding: 0 26px 0 32px;
  color: #7e8c8d;
  background-color: #f8f8f8;
  text-decoration: none;
  position: relative;
}

.breadcrumbs li:first-child a {
  border-radius: 5px 0 0 5px;
}

.breadcrumbs a:after {
  content: "";
  position: absolute;
  right: -13px;
  top: 0;
  height: 39px;
  width: 15px;
  background: url(../img/bg-breadcrumbs-divider.png) no-repeat;
  z-index: 1;
}

.breadcrumbs li.hover a {
  background-color: #9ab26b;
  color: #fff;
}

.breadcrumbs .hover a:after {
  background-position: 0 -49px;
}
.breadcrumbs .last-child {
  padding: 0 22px 0 35px;
}

.breadcrumbs.type-05 {
  box-shadow: 0 1px 3px rgba(189, 189, 189, 0.55);
}

.breadcrumbs.type-05 {
  counter-reset: section;
  display: inline-block;
}

.breadcrumbs.type-05 li {
  counter-increment: section;
}
.breadcrumbs.type-05 a {
  padding: 0 26px 0 56px;
}
.breadcrumbs.type-05 li:first-child a {
  padding: 0 27px 0 42px;
}
.breadcrumbs.type-05 .last-child {
  padding: 0 8px 0 57px;
}
.breadcrumbs.type-05 .hover a:after {
  background-position: 0 -147px;
}

.breadcrumbs.type-05 a:before,
.breadcrumbs.type-05 .last-child:before {
  float: left;
  text-align: center;
  width: 22px;
  height: 22px;
  content: counter(section);
  background: #9ab26b;
  line-height: 23px;
  color: #fff;
  margin: 9px 13px 0 -32px;
  border-radius: 11px;
}
.breadcrumbs.type-05 li:first-child a:before {
  margin: 9px 13px 0 -33px;
}

.breadcrumbs.type-05 .hover a {
  background-color: #9ab26b;
  color: #fff;
}

.breadcrumbs.type-05 .hover a:after {
  background-position: 0 -49px;
}
.breadcrumbs.type-05 .hover a:before {
  background: #fff;
  color: #9ab26b;
}

/* Bestelling sidebar */

#sidebar .box {
  padding-bottom: 15px;
  margin-bottom: 15px;
}

#bestelling {
  width: 294px;
}

.title-h1 {
  border-bottom: 1px solid #464545;
  margin: 0;
  margin-bottom: 20px;

  color: #464545;
  font-size: 20px;
  font-weight: 400;
}

#sidebar h3 {
  padding-left: 0;
}

h3 {
  font-size: 20px;
  color: #7e8c8d;
  font-weight: 600;
  padding-left: 30px;
  margin-bottom: 10px;
}

#bestelling ul {
  font-size: 15px;
  color: #313535;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#bestelling ul li {
  line-height: 25px;
  border-bottom-color: #f5f5f5;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

/* count - picture - name - line cost (php/present.php) */
.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  position: relative;
}

.order-item-count {
  flex: none;
  min-width: 1.6em;
  color: var(--tx);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.order-item-picture {
  flex: none;
  position: relative;
  border: 1px solid #d4d4d4;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  height: 56px;
  width: 56px;
}

/* php/present.php sets the item image as --img, so the dark tile can put it over a gradient */
.box,
.order-item-picture {
  background-image: var(--img, none);
}

.order-item-info {
  flex-grow: 1;
  min-width: 0;
  color: rgba(70, 70, 70, 0.6);
  line-height: 1.3;
}

.order-item-unit {
  font-size: 13px;
}

.order-item-description {
  color: #464545;
}

/* Pill rather than a circle: the line total can be wider than "2" */
.order-item-price {
  flex: none;
  box-sizing: border-box;
  background-color: #dcbd5b;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 15px;
  text-align: center;
  color: #ffffff;
  line-height: 30px;
  font-size: 16px;
}

#order_items ul {
  padding-left: 32px;
}

.order-items-total {
  display: flex;
  justify-content: space-between;

  font-weight: 700;
}
.order-items-total-price {
  display: flex;
  justify-content: space-between;
}

.hr-dotted {
  border-top: 2px dotted #cccccc;
}

.btn-order {
  text-decoration: none;
  margin-top: 20px;
}

.finishButton,
.deactivateButton {
  position: absolute;
  right: 5px;
  bottom: 5px;
  cursor: pointer;
}

#remarks textarea {
  width: 100%;
  height: 120px;
  margin-bottom: 20px;
  padding: 15px;
  border-color: rgb(237, 237, 237);
  box-sizing: border-box;
}

.ui-progressbar {
  position: relative;
}

.progress-label {
  position: absolute;
  left: 50%;
  top: 4px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #fff;
}

.sticky-bottom-right {
  position: absolute;
  bottom: 40px;
  right: 40px;
}

#order_items span {
  float: right;
}

#order_items #total {
  margin-top: 10px;
}

#btnVolgende {
  margin-top: 16px;
}

#btnVolgende #location {
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
}

#btnVolgende button {
  clear: both;
  display: block;
  position: relative;
  background: #9fb673;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzlmYjY3MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5MmE5NjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #9fb673),
    color-stop(100%, #92a966)
  );
  background: -webkit-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: -o-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: -ms-linear-gradient(top, #9fb673 0%, #92a966 100%);
  background: linear-gradient(to bottom, #9fb673 0%, #92a966 100%);
  box-shadow: inset 0 -10px #7f9455;
  border: none;

  width: 294px;
  height: 94px;

  text-align: center;
  line-height: 80px;
  font-size: 36px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;

  border-radius: 15px;
}

#btnVolgende button:disabled {
  /* styles for disabled button */
  filter: grayscale(100%);
}

.selectionWrapper h3 {
  font-weight: 600;
  font-size: 14px;
}

.toggleButtonWrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  /* border: 1px solid #cccccc; */
  padding: 4px;
  border-radius: 3px;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

.toggleButtonWrapper .toggleButton {
  flex: 1 1 50%;
  padding: 16px 8px;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #cccccc;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.toggleButtonWrapper .toggleButton:hover {
  border: 1px solid #af8f2c;
}

.toggleButtonWrapper .toggleButton.active {
  border: 1px solid #af8f2c;
  background-color: rgba(220, 189, 91, 0.2);
}

.paymentButton {
  width: 120px;
  height: 79px;
  line-height: 45px;
}

.paymentButton > img {
  height: 45px;
}

.paymentButtonWrapper {
  margin-bottom: 16px;
}

.goldButton {
  margin: auto;
  max-width: 100%;
  transition: background-color 0.2s;
  border-radius: 5px;
  padding: 15px 60px;
  background-color: #dcbd5b;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-family: Raleway, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.goldButton:disabled {
  filter: grayscale(100%);
}

.goldButton:hover {
  background-color: #e0c570;
}

#btnVolgende button:not(:disabled):hover {
  box-shadow: inset 0 -4px #7f9455;
  line-height: 86px;
}

/* FORMS */
form label {
  min-width: 185px;
  display: inline-block;
}

form li {
  margin-bottom: 10px;
}

form ul {
  list-style-type: none;
}

/* ADMIN PAGINA */
#content.admin {
  width: 100%;
}

.admin tr {
  border-bottom: 1px solid #d0d0d0;
}

/* Sub tabs on admin.php; switched by the inline script after the panels */
.admin-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs__nav [role="tab"] {
  padding: 10px 18px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--mu);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}

.admin-tabs__nav [role="tab"]:hover {
  color: var(--tx);
}

.admin-tabs__nav [role="tab"][aria-selected="true"] {
  color: var(--tx);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.admin-tabs__nav [role="tab"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* KEUKEN PAGINA */

#bestelling #burger {
  position: absolute;
  top: -30px;
  right: 115px;
}

#bestelling {
  padding-bottom: 20px;
}

.monitor-item h3 {
  margin-bottom: 5px;
}

.monitor-item p {
  padding: 8px 32px;
  margin: 0;
  color: rgb(238, 63, 63);
}

.main-monitor {
  width: 90%;
}
.monitor-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.ui-progressbar {
  margin-bottom: 50px;
}

.low-stock-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 14px;
  background-color: #fff3d6;
  border: 1px solid #f0a020;
  border-radius: 5px;
}
.low-stock-item {
  padding: 3px 10px;
  background-color: #fff;
  border: 1px solid #f0a020;
  border-radius: 12px;
}
.low-stock-item.is-out {
  border-color: #d33;
  background-color: #fde2e2;
}

.monitor-item {
  display: inline-block;
  background-color: #fff;
  border: 1px solid #cec9c9;
  border-radius: 5px;
  position: relative;
  flex-basis: 300px;
  margin-bottom: 20px;
}

.monitor-item + .monitor-item {
  margin-left: 20px;
}

.monitor-item .btn-primary {
  cursor: pointer;
  margin: 8px 32px 0;
  text-align: center;
}

.monitor-item .user_info {
  padding-top: 0;
  color: #9fa4a4;
  position: relative;
  padding: 0 32px 8px;
}

.monitor-item .user_info .seat_info {
  padding-top: 0;
  color: #9fa4a4;
  position: absolute;
  right: 0px;
  top: 0px;
}

#bestelling .seat_info {
  color: black;
}

/* ORDER PAGINA */

.login {
  margin: auto;
  width: 420px;
}

.form-line {
  text-align: left;
}

.form-line--center {
  text-align: center;
}

.form-line + .form-line {
  margin-top: 20px;
}

.form-line label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  border: 2px solid #d4d4d4;
  border-radius: 10px;
  height: 50px;
  font-size: 0.875rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  line-height: 1.6;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  box-sizing: border-box;
}

.btn-link {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  text-decoration: none;
  color: #af8f2c;
  font-weight: 400;
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.btn-link:hover,
.btn-link:focus {
  color: #2e2e2e;
  text-decoration: underline;
}

.btn-link:hover {
  background-color: transparent;
  border-color: transparent;
}

.btn {
  display: inline-block;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  border: none;
  background-color: #dcbd5b;
  padding: 15px 30px;
  color: #524428;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #e5ce85;
  color: #746039;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.login__login-button {
  margin-bottom: 10px;
}

.login__forgot-password {
  float: right;
}

.form-line label [type="checkbox"] {
  position: relative;
  top: -1px;
  margin-right: 8px;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

/* - - - */

.order #account {
  float: right;
}

/* KASSA Pagina */
.kassa {
  display: flex;
}

.kassa > * {
  flex-grow: 1;
  flex-shrink: 0;
}

.kassa-verkoop {
  border-right: 1px solid #cccccc;
  padding-right: 50px;
  margin-right: 50px;
}

.kassa label {
  min-width: 185px;
  display: inline-block;
}

.kassa li {
  margin-bottom: 10px;
}

.kassa ol {
  width: 400px;
  display: inline-block;
  margin: 0;
}

.kassa #verkoop input[type="submit"] {
  height: 58px;
  width: 200px;
}

.form-field-100 {
  width: 100px;
}

.form-field-euro,
.form-field-credit {
  position: relative;
  display: inline-block;
}

.form-field-euro input,
.form-field-credit input {
  padding-left: 35px;
}

.form-field-euro::before,
.form-field-credit::before {
  position: absolute;
  top: 11px;
  left: 15px;
  font-size: 20px;
  color: #828282;
}

.form-field-euro::before {
  content: "€";
}

.form-field-credit::before {
  content: "©";
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links for images, or javascript/internal links
     */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* buttons */

.categoryButton {
  padding: 0;
  border-bottom: 4px solid transparent;
}

.categoryButton > a {
  padding: 15px 30px;
  display: inline-block;
}

.ui-state-active {
  border-bottom: 4px solid #524428;
}

.flowButtons {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.flowButtons button.active {
  background-color: #524428;
  color: #ffffff;
}

.disabled-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #cac2b2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  pointer-events: all;
}

.paymentButtons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.paymentButtons .btn {
  height: 72px;
  width: 135px;
}

.notificationBox {
  animation: 0.5s ease-in fadeIn;
  border-radius: 3px;
  background-color: #e6e6e6;
  padding: 15px;
  text-align: left;
  color: #2d2d2d;
  font-size: 14px;
  margin-bottom: 16px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.textarea {
  height: 120px;
}
.notificationLabel {
  display: block;
  margin-top: 16px;
  text-align: center;
  width: 100%;
}

.posStatus {
  flex: 1;
  width: 100%;
  font-size: 24px;
  color: white;
  text-align: center;
  animation: pulse 2s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Syncora login widget: its public theme variables, fed from our tokens so it
   follows light/dark without a reload. */
#loginForm {
  --syncora-background: var(--s1);
  --syncora-surface: var(--s1);
  --syncora-surface-muted: var(--s2);
  --syncora-text: var(--tx);
  --syncora-text-muted: var(--mu);
  --syncora-border: var(--bd);
  --syncora-border-strong: var(--bdh);
  --syncora-accent: var(--accent);
  --syncora-on-accent: var(--ink);
  --syncora-accent-strong: var(--accent-tx);
  --syncora-on-accent-strong: var(--s1);
  --syncora-success: var(--grn);
  --syncora-error: var(--danger);
}
:root[data-theme="dark"] #loginForm { --syncora-overlay: rgb(255 255 255 / 0.2); }
.pin-login {
  max-width: 320px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.syncoraStatus {
  align-self: center;
  text-align: center;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 10px;
  white-space: nowrap;
  color: rgb(84, 84, 84);
  background-color: rgb(171, 239, 171);
}
.syncoraStatus.syncora-offline,
.syncoraStatus.syncora-config,
.syncoraStatus.syncora-unconfigured {
  font-weight: bold;
  background-color: rgb(255, 158, 158);
}
@keyframes pulse {
  0% {
    color: white;
  }
  50% {
    color: rgb(245, 137, 137);
  }
  100% {
    color: white;
  }
}

/* Toasts: floating feedback just under the nav bar (--toast-top is set by plugins.js) */
#toasts {
  position: fixed;
  top: var(--toast-top, 76px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(480px, calc(100% - 32px));
}

.toast {
  position: relative;
  padding: 12px 40px 12px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  background-color: rgb(171, 239, 171);
  color: rgb(46, 46, 46);
  /* Drops in; plugins.js adds .toast--leaving to fade it out before removing it */
  animation: toastIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.toast--leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.toast.error {
  background-color: rgb(255, 158, 158);
  border: 1px solid #ec726e;
  font-weight: 600;
}

.toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
}

/* No movement for who turned it off: only the fades remain */
@media (prefers-reduced-motion: reduce) {
  .toast {
    animation-name: fadeIn;
  }
  .toast--leaving {
    transform: none;
  }
}

.is-busy {
  opacity: 0.5;
  cursor: progress;
  pointer-events: none;
}

body.is-submitting {
  cursor: progress;
}
.crew-pins td {
  vertical-align: middle;
  padding: 4px 16px 4px 0;
  white-space: nowrap;
}
.crew-pins form,
.volunteer-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.crew-pins .form-control,
.volunteer-form .form-control {
  width: 160px;
}

/* Admin: items table */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.btn-secondary {
  border: 1px solid #c9b16a;
  background-color: #fff;
  padding: 8px 14px;
  color: #524428;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-secondary:hover:not(:disabled) {
  background-color: #f6efd9;
}
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.45;
  cursor: default;
}
.items-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  background-color: #f6f6f6;
}
.items-toolbar .btn-primary {
  padding: 10px 18px;
}
.items-toolbar__spacer {
  flex: 1;
}
.items-toolbar__count {
  color: #6b6b6b;
}
.items-table-wrap {
  overflow-x: auto;
}
.items-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 14px;
}
.items-table thead th {
  padding: 8px 6px;
  border-bottom: 2px solid #d0d0d0;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  background-color: #fff;
}
.items-table td {
  padding: 6px;
  vertical-align: middle;
}
.items-table input[type="text"],
.items-table input[type="number"],
.items-table select {
  width: 100%;
  min-width: 90px;
  padding: 6px 8px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  font: inherit;
  background-color: #fff;
  box-sizing: border-box;
}
.items-table .input-narrow {
  min-width: 70px;
  max-width: 90px;
}
.items-table .col-select {
  width: 28px;
  text-align: center;
}
.items-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.category-row th {
  padding: 14px 6px 8px;
  border-bottom: 1px solid #d0d0d0;
  font-size: 18px;
  text-align: left;
  text-transform: capitalize;
  background-color: #efefef;
}
.category-row__count {
  margin-left: 8px;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: normal;
  text-transform: none;
}
.item-row td {
  border-bottom: 1px solid #ececec;
}
.item-row.is-inactive td {
  background-color: #fafafa;
}
.item-row.is-inactive .item-preview {
  opacity: 0.4;
}
.item-row.is-dirty td {
  background-color: #fff8e1;
}
.col-stock.is-low input {
  border-color: #f0a020;
  background-color: #fff3d6;
}
.col-stock.is-out input {
  border-color: #d33;
  background-color: #fde2e2;
}
.low-stock-count {
  color: #c06a00;
  font-weight: bold;
}
/* Item image: the thumbnail is the dropdown. The row's select lies invisibly on top
   of it, so a click opens the native filename list and keyboard focus still works. */
.image-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px 2px 2px;
  border: 1px solid var(--bd);
  border-radius: 6px;
  background: var(--s1);
  color: var(--mu);
}
.image-pick:hover,
.image-pick:focus-within {
  border-color: var(--bdh);
  color: var(--tx);
}
.image-pick:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.items-table .image-pick select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.col-image .item-preview {
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.image-pick__empty {
  display: none;
  width: 44px;
  font-size: 12px;
  text-align: center;
}
.col-image:not(.has-image) .item-preview {
  display: none;
}
.col-image:not(.has-image) .image-pick__empty {
  display: inline-block;
  line-height: 44px;
}
.image-pick__caret {
  font-size: 12px;
}
.item-dialog__grid:not(.has-image) .item-preview,
.item-dialog__grid:not(.has-image) .item-preview,
.item-dialog__grid.has-image .item-dialog__preview span {
  visibility: hidden;
}
.status-pill {
  padding: 4px 12px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}
.status-pill.is-active {
  color: #1e6b33;
  background-color: #c9efd3;
}
.status-pill.is-inactive {
  color: #8a2a20;
  background-color: #f7d2cd;
}
.item-dialog {
  width: min(680px, calc(100vw - 32px));
  padding: 24px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.item-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.45);
}
.item-dialog h2 {
  margin-top: 0;
}
.item-dialog__grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
}
.item-dialog__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.item-dialog__fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #6b6b6b;
}
.item-dialog__fields .form-control {
  height: 42px;
}
.item-dialog__preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px dashed #d0d0d0;
  border-radius: 10px;
  background-color: #fafafa;
}
.item-dialog__preview img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
}
.item-dialog__preview span {
  position: absolute;
  color: #9a9a9a;
}
.item-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
@media (max-width: 600px) {
  .item-dialog__grid {
    grid-template-columns: 1fr;
  }
}
.row-actions {
  white-space: nowrap;
}
.row-actions .btn-secondary + .btn-secondary {
  margin-left: 4px;
}
.item-dialog--narrow {
  width: min(460px, calc(100vw - 32px));
}
.item-dialog__note {
  margin: 0 0 16px;
  color: #4a4a4a;
  line-height: 1.5;
}
.item-dialog__warning {
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  color: #7a5a00;
  background-color: #fff3c4;
}
.promo-original {
  margin: 0;
  color: #6b6b6b;
}

/* ==========================================================================
   Dark theme ("LAN night"): flat cards, hairline borders, one gold accent
   ========================================================================== */
:root[data-theme="dark"] body { background: var(--bg); color: var(--tx); }

/* nav: solid page color + hairline, like gamelink */
:root[data-theme="dark"] .navigation { background: var(--bg); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .nav-link { color: var(--mu); }
:root[data-theme="dark"] .nav-link:hover { color: var(--tx); }
:root[data-theme="dark"] .posStatus { animation-name: pulse-dark; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
:root[data-theme="dark"] .syncoraStatus { background: transparent; color: var(--grn); box-shadow: inset 0 0 0 1px var(--grn); border-radius: 3px; }
:root[data-theme="dark"] .syncoraStatus.syncora-offline,
:root[data-theme="dark"] .syncoraStatus.syncora-config,
:root[data-theme="dark"] .syncoraStatus.syncora-unconfigured { color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }

/* buttons */
:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .goldButton { background: var(--accent); color: var(--ink); border-radius: 8px; }
:root[data-theme="dark"] .btn-primary:hover,
:root[data-theme="dark"] .goldButton:hover { background: var(--accent); color: var(--ink); filter: brightness(1.1); }
:root[data-theme="dark"] .btn-secondary { background: transparent; color: var(--tx); border-color: var(--bd); border-radius: 8px; }
:root[data-theme="dark"] .btn-secondary:hover:not(:disabled) { background: var(--s2); }
:root[data-theme="dark"] .flowButtons button { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1px var(--bd); }
:root[data-theme="dark"] .flowButtons button:hover { background: var(--s2); filter: none; }
:root[data-theme="dark"] .flowButtons button.active { background: var(--accent); color: var(--ink); box-shadow: none; }
:root[data-theme="dark"] .btn-link { color: var(--accent); }

/* category tabs: ghost chips, active = accent fill */
:root[data-theme="dark"] .categoryButton { background: var(--s1); border: 1px solid var(--line); border-radius: 6px; }
:root[data-theme="dark"] .categoryButton a { color: var(--tx); }
:root[data-theme="dark"] .categoryButton:hover { border-color: var(--bdh); filter: none; }
:root[data-theme="dark"] .categoryButton.ui-state-active { background: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .categoryButton.ui-state-active a { color: var(--ink); }

/* item tiles */
:root[data-theme="dark"] .tab-content article { background: var(--img, none) center no-repeat, var(--tile); color: var(--tile-tx); border: 1px solid var(--line); border-radius: 6px; box-shadow: none; }
:root[data-theme="dark"] .tab-content article:hover { border-color: var(--bdh); }
:root[data-theme="dark"] .overlay { border-color: var(--accent); background-color: var(--accent-soft); border-radius: 6px; }
:root[data-theme="dark"] .overlay-icon-wrapper { background: var(--accent); }
:root[data-theme="dark"] .overlay-icon { color: var(--ink); }
:root[data-theme="dark"] .pos-item-price,
:root[data-theme="dark"] .order-item-price { background: var(--accent); color: var(--ink); font-weight: 700; }

/* sidebar / order */
:root[data-theme="dark"] .title-h1 { color: var(--tx); border-color: var(--line); }
:root[data-theme="dark"] h3, :root[data-theme="dark"] .selectionWrapper h3 { color: var(--mu); }
:root[data-theme="dark"] #bestelling ul { color: var(--tx); }
:root[data-theme="dark"] #bestelling ul li { border-bottom-color: var(--line); }
:root[data-theme="dark"] .order-item-picture { background: var(--img, none) center / contain no-repeat, var(--tile); border-color: var(--line); }
:root[data-theme="dark"] .order-item-info { color: var(--mu); }
:root[data-theme="dark"] .order-item-description,
:root[data-theme="dark"] #bestelling .seat_info { color: var(--tx); }
:root[data-theme="dark"] #remarks textarea,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] .form-control,
:root[data-theme="dark"] .items-table input[type="text"],
:root[data-theme="dark"] .items-table input[type="number"],
:root[data-theme="dark"] .items-table select { background-color: var(--bg); color: var(--tx); border: 1px solid var(--bd); border-radius: 8px; }
:root[data-theme="dark"] .toggleButtonWrapper .toggleButton { background: transparent; color: var(--tx); border-color: var(--bd); border-radius: 8px; }
:root[data-theme="dark"] .toggleButtonWrapper .toggleButton:hover { border-color: var(--bdh); background: var(--s2); }
:root[data-theme="dark"] .toggleButtonWrapper .toggleButton.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
:root[data-theme="dark"] #btnVolgende button { background: var(--accent); color: var(--ink); box-shadow: inset 0 -8px rgba(0,0,0,.25); font-weight: 800; }
:root[data-theme="dark"] #btnVolgende button:not(:disabled):hover { box-shadow: inset 0 -4px rgba(0,0,0,.25); }
:root[data-theme="dark"] #btnVolgende button:disabled { filter: none; background: var(--s2); color: var(--mu); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .hr-dotted { border-top-color: var(--bd); }
:root[data-theme="dark"] .notificationBox { background: var(--s2); color: var(--tx); border-left: 3px solid var(--accent); }
:root[data-theme="dark"] .disabled-overlay { background: rgba(10, 9, 8, .8); color: var(--mu); }

/* toasts / messages */
:root[data-theme="dark"] .toast, :root[data-theme="dark"] #errorMessage.notification, :root[data-theme="dark"] #errorMessage { background: var(--s2); color: var(--tx); box-shadow: inset 3px 0 0 var(--grn), 0 8px 24px rgba(0,0,0,.45); }
:root[data-theme="dark"] .toast.error, :root[data-theme="dark"] #errorMessage.error { background: var(--s2); border-color: var(--danger); color: var(--danger); box-shadow: inset 3px 0 0 var(--danger), 0 8px 24px rgba(0,0,0,.45); }

/* monitor */
:root[data-theme="dark"] .ui-progressbar.ui-widget-content { background: var(--s1); border-color: var(--line); color: var(--tx); }
:root[data-theme="dark"] .ui-progressbar-value { background: var(--s2); border-color: var(--line); }
:root[data-theme="dark"] .progress-label { text-shadow: none; color: var(--tx); }
:root[data-theme="dark"] .monitor-item { background: var(--s1); border-color: var(--line); border-radius: 6px; }
:root[data-theme="dark"] .monitor-item h3 { color: var(--tx); }
:root[data-theme="dark"] .monitor-item .user_info,
:root[data-theme="dark"] .monitor-item .user_info .seat_info { color: var(--mu); }
:root[data-theme="dark"] .monitor-item .user_info .seat_info { color: var(--tx); }
:root[data-theme="dark"] .monitor-item p { color: var(--danger); }
:root[data-theme="dark"] #order_items, :root[data-theme="dark"] #order_items li { color: var(--tx); border-color: var(--line) !important; }
:root[data-theme="dark"] .low-stock-list { background: transparent; border-color: var(--warn); }
:root[data-theme="dark"] .low-stock-item { background: var(--s2); border-color: var(--warn); color: var(--warn); }
:root[data-theme="dark"] .low-stock-item.is-out { background: var(--s2); border-color: var(--danger); color: var(--danger); }

/* admin */
:root[data-theme="dark"] .items-toolbar { background: var(--bg); }
:root[data-theme="dark"] .items-toolbar__count, :root[data-theme="dark"] .category-row__count,
:root[data-theme="dark"] .promo-original, :root[data-theme="dark"] .item-dialog__fields label { color: var(--mu); }
:root[data-theme="dark"] .items-table, :root[data-theme="dark"] .items-table thead th { background: var(--s1); color: var(--tx); }
:root[data-theme="dark"] .items-table thead th { color: var(--mu); border-bottom-color: var(--line); }
:root[data-theme="dark"] .category-row th { background: var(--s2); border-bottom-color: var(--line); }
:root[data-theme="dark"] .item-row td { border-bottom-color: var(--line); }
:root[data-theme="dark"] .item-row.is-inactive td { background: var(--bg); color: var(--mu); }
:root[data-theme="dark"] .item-row.is-dirty td { background: rgba(255, 176, 0, .08); }
:root[data-theme="dark"] .col-stock.is-low input { border-color: var(--warn); background: rgba(255, 176, 0, .1); }
:root[data-theme="dark"] .col-stock.is-out input { border-color: var(--danger); background: rgba(255, 138, 128, .1); }
:root[data-theme="dark"] .low-stock-count { color: var(--warn); }
:root[data-theme="dark"] .status-pill { border-radius: 3px; }
:root[data-theme="dark"] .status-pill.is-active { background: var(--grn); color: var(--ink); }
:root[data-theme="dark"] .status-pill.is-inactive { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
:root[data-theme="dark"] .col-image .item-preview { background: var(--tile); border-radius: 4px; }
:root[data-theme="dark"] .item-dialog { background: var(--s1); color: var(--tx); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
:root[data-theme="dark"] .item-dialog::backdrop { background: rgba(10, 9, 8, .7); }
:root[data-theme="dark"] .item-dialog__preview { background: var(--bg); border-color: var(--bd); }
:root[data-theme="dark"] .item-dialog__note { color: var(--mu); }
:root[data-theme="dark"] .item-dialog__warning { background: rgba(255, 176, 0, .1); color: var(--warn); }

@keyframes pulse-dark { 50% { color: var(--danger); } }
:root[data-theme="dark"] .nav-item--info { color: var(--accent); }
:root[data-theme="dark"] .nav-item--info .credit0 { color: var(--danger); }
:root[data-theme="dark"] .breadcrumbs, :root[data-theme="dark"] .breadcrumbs a { background: var(--s1); color: var(--mu); border-color: var(--line); }
:root[data-theme="dark"] .promo { background: var(--s1); color: var(--grn); }
:root[data-theme="dark"] .crew-pins td { color: var(--tx); }
:root[data-theme="dark"] .pin-login { color: var(--tx); }
:root[data-theme="dark"] a { color: inherit; }

/* Theme toggle in the nav (php/header.php, php/header-admin.php); js/theme.js flips it */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  margin: -6px 0; /* sits in the nav without making the bar taller */
  cursor: pointer;
  vertical-align: middle;
}
.theme-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.theme-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.theme-toggle svg {
  width: 15px;
  height: 15px;
}
.theme-toggle .when-dark,
:root[data-theme="dark"] .theme-toggle .when-light {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .when-dark {
  display: inline-flex;
}
:root[data-theme="dark"] .theme-toggle {
  border-color: var(--bd);
  color: var(--mu);
}
:root[data-theme="dark"] .theme-toggle:hover {
  color: var(--tx);
  border-color: var(--bdh);
}

/* Account menu in the nav (php/header.php): power icon opening a dropdown */
.user-menu {
  position: relative;
}
.user-menu__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -6px 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  list-style: none;
  vertical-align: middle;
}
.user-menu__button::-webkit-details-marker {
  display: none;
}
.user-menu__button:hover,
.user-menu[open] .user-menu__button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.user-menu__button svg {
  width: 16px;
  height: 16px;
}
.user-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1100;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--s1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
}
.user-menu__name {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  color: var(--mu);
  font-size: 13px;
}
.user-menu__item {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--danger);
  font-weight: 600;
  text-decoration: none;
}
.user-menu__item:hover {
  background: var(--s2);
}

/* ==========================================================================
   Customer POS on phones and tablets (index.php, body.customer)
   The desktop layout needs ~1264px; below that the products fill the screen
   and the order sidebar becomes a slide-up sheet (toggle + swipe in js/users.js).
   ========================================================================== */

.cart-toggle,
.cart-backdrop {
  display: none;
}

/* Touch: there's no hover to reveal the trash button, so show it, and don't
   leave a sticky highlight on the last tapped tile */
@media (hover: none) {
  .order-item .overlay {
    opacity: 1;
  }
  .tab-content article:hover .overlay {
    opacity: 0;
  }
  .overlay-icon-wrapper {
    height: 44px;
    width: 44px;
    line-height: 48px;
  }
}

@media (max-width: 1279px) {
  body.customer {
    --peek: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: var(--peek);
  }

  body.customer main {
    display: block;
    margin: 12px;
  }
  body.customer .main-content {
    flex-direction: column;
  }
  body.customer #content {
    width: auto;
    margin: 0;
  }
  body.customer .navigation {
    margin-bottom: 16px;
  }

  body.customer .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  body.customer .tabs::-webkit-scrollbar {
    display: none;
  }
  body.customer .tabs li {
    flex: none;
  }
  body.customer .tabs li + li {
    margin-left: 8px;
  }
  body.customer .tabs .categoryButton > a {
    padding: 10px 16px;
  }
  body.customer .tabs a {
    white-space: nowrap;
    font-size: 16px;
  }

  body.customer .tab-items {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 12px;
  }
  body.customer .tab-content article {
    width: auto;
    height: auto;
    aspect-ratio: 1;
    box-sizing: border-box;
  }
  /* Item images are 120px: scale them with the tile, small and low enough to leave
     the top for a two-line name. :root lifts this over the dark theme's
     background shorthand. */
  :root body.customer .tab-content .box {
    background-size: 50%;
    background-position: 50% 75%;
  }

  /* The sheet */
  body.customer #sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    max-width: 560px;
    max-height: 85vh;
    max-height: 85dvh;
    margin: 0 auto;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow: hidden;
    overscroll-behavior: contain;
    background: var(--s1);
    color: var(--tx);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(calc(100% - var(--peek)));
    transition: transform 0.25s ease;
  }
  body.customer #sidebar.is-open {
    overflow-y: auto;
    transform: none;
  }
  body.customer #sidebar.is-dragging {
    transition: none;
  }
  /* Empty basket: no sheet. It slides in with the first item. */
  body.customer:not(:has(#bestelling .order-item[data-count])) {
    padding-bottom: 0;
  }
  body.customer:not(:has(#bestelling .order-item[data-count])) #sidebar {
    transform: translateY(calc(100% + 32px));
  }
  body.customer #bestelling {
    width: auto;
  }
  body.customer #bestelling .title-h1 {
    display: none;
  }

  body.customer .cart-toggle {
    /* "Jouw order" left, item count centred, total right */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 60px;
    margin-bottom: 8px;
    padding: 12px 0 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid var(--line);
    background: var(--s1);
    color: var(--tx);
    font: inherit;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    touch-action: none;
  }
  /* Collapsed, the safe area under the bar belongs to the bar */
  body.customer #sidebar:not(.is-open) .cart-toggle {
    height: var(--peek);
    padding-bottom: env(safe-area-inset-bottom);
    border-bottom: none;
  }
  .cart-toggle__grip {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 2px;
    background: var(--bd);
  }
  .cart-toggle__count {
    color: var(--mu);
    font-size: 16px;
  }
  .cart-toggle__count.bump {
    animation: cartBump 0.3s ease;
  }
  .cart-toggle__total {
    justify-self: end;
    font-weight: 700;
  }

  body.customer.cart-open .cart-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 899;
    background: rgba(0, 0, 0, 0.4);
  }

  /* Under 16px iOS Safari zooms in on focus */
  body.customer #remarks textarea {
    font-size: 16px;
  }
  body.customer #submitOrderForm .btn-primary {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body.customer .nav-greeting,
  .theme-toggle .theme-toggle__label {
    display: none;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
  }
  body.customer .nav-item--info {
    white-space: nowrap;
  }

  /* Categories as icons only (the links carry an aria-label) */
  body.customer .tab-label {
    display: none;
  }
  body.customer .tabs li {
    flex: 1;
    text-align: center;
  }
  body.customer .tabs .categoryButton > a {
    display: block;
    font-size: 22px;
  }
  body.customer .navbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
  }
  body.customer .nav-item + .nav-item,
  body.customer .nav-item--info {
    margin: 0;
  }
}

@keyframes cartBump {
  50% {
    transform: scale(1.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.customer #sidebar,
  .cart-toggle__count.bump {
    transition: none;
    animation: none;
  }
}
