body {
    font-family: arial;
    font-size: 0.9em;
}
.site-logo {
  height: auto;
  width: 80px;
}
.dropdown-menu {
    font-size: 1.0em;
    --bs-dropdown-padding-y: 0.1rem;
    --bs-dropdown-min-width: 8rem;
    z-index: 1900;
}
.nav-link {
  color: #00aaff !important;
}
.nav-link:hover {
  color: #0077bb !important;
}
.dropdown-toggle {
  color: #00aaff !important;
}
.checkout_icon {
    height: 60px;
}
.dropdown-toggle:hover {
  color: #0077bb !important;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: .255em !important;
  vertical-align: sub;
  content: "\F3FB";
  font-family: "bootstrap-icons";
  font-size: 1.5em;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}
*, ::after, ::before {
  box-sizing: border-box;
}a.main_menu-option {
  color: #00aaff !important;
  text-decoration: none;
  font-weight: bold;
}
a.main_menu-option:hover {
  color: #0077bb !important;
}
.nav-pills {
  --bs-nav-pills-link-active-bg: #00aaff;
}
.red {
    color: red;
}
/* Navbar Collapse Styles To Stack Items At Mobile Widths*/
@media(max-width:200px) {
  .navbar .navbar-brand {float:none;display: inline-block;}
  .navbar .navbar-nav>.nav-item { float: none; margin-left: .1rem;}
  .navbar .navbar-nav {float:none !important;}
  .nav-item{width:100%;text-align:left;}
  .navbar-toggler {display: block !important;}
  .navbar-toggleable-sm.collapse {display:none !important}
  .navbar-toggleable-sm.collapse.in {display:block !important}
}
.col-hdg {
    font-weight: bold;
}
label.mandatory {
  font-weight: bold;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0af;
  --bs-btn-border-color: #0af;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0086c8;
  --bs-btn-hover-border-color: #0086c8;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0f4b68;
  --bs-btn-active-border-color: #0f4b68;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #496c7d;
  --bs-btn-disabled-border-color: #496c7d;
}
.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: #FB3232;
  --bs-btn-border-color: #FB3232;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #C62525;
  --bs-btn-hover-border-color: #C62525;
  --bs-btn-focus-shadow-rgb: 225,83,97;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #AA3354;
  --bs-btn-active-border-color: #AA3354;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #B06F81;
  --bs-btn-disabled-border-color: #B06F81;
}
.btn {
  --bs-btn-padding-y: 0.1rem;
  --bs-btn-padding-x: 0.4rem;
  --bs-btn-font-size: 0.9rem;
  --bs-btn-border-radius: 0.4rem;
}
.btn-sm {
  --bs-btn-padding-y: 0;
  --bs-btn-padding-x: 0.3rem;
  --bs-btn-font-size: 0.75rem;
  --bs-btn-border-radius: 0.25rem;
}
.btn.checkout_group {
  background: #666666;
  background-image: -webkit-linear-gradient(top, #666666, #333333);
  background-image: -moz-linear-gradient(top, #666666, #333333);
  background-image: -ms-linear-gradient(top, #666666, #333333);
  background-image: -o-linear-gradient(top, #666666, #333333);
  background-image: linear-gradient(to bottom, #666666, #333333);
  -webkit-border-radius: 11;
  -moz-border-radius: 11;
  border-radius: 11px;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  width: 100%;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}


.alert-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.alert-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.alert-close {
  float: right;
}

.alert {
    padding: .1rem .5rem;
    margin-bottom: .5rem;
}

.confirm-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.progress-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('drum-joypixels.gif');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 50% 25%;
  background-color: none;
  cursor: progress;
}
.process-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('Knots.gif');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 50% 25%;
  background-color: none;
  cursor: progress;
}

.confirm-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.sheet-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 25px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.detail-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.detail-modal-container {
    position: relative;
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 95%;
}
.detail-modal-content {
  padding: 20px;
    background-color: #fefefe;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}
.detail-modal-home {
    z-index: 2900;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}
.detail-modal-logo {
    background-color: #212529;
    float: right;
    width: 50px;
    height: 50px;
    margin-right: 50px;
    text-align: center;
    padding-top: 2px;
}
.alert-dismissible .btn-close {
  padding: .4rem .4rem;
}
.row-button  {
    border: none;
    background: none;
    text-align: left;
    width: 100%;
	cursor: pointer;
	padding: 0;
	margin: 0;
}
.del-button  {
    border: none;
    background: none;
    text-align: left;
	cursor: pointer;
	padding: 0;
	margin: 0;
    color: red;
    font-weight: bold;
}
.page-button  {
    border: none;
    background: none;
    text-align: left;
	cursor: pointer;
	padding: 0;
	margin: 0;
    color: #00aaff;
    font-weight: bold;
}
.shaded-list:nth-child(odd) {
    background-color: #f0f0f0
}
.shaded-list:nth-child(even) {
    background-color: #e6e6e6;
}
.shaded-list-2 {
    background-color: #f0f0f0
}
.shaded-list-2:nth-child(4n), .shaded-list-2:nth-child(4n+1) {
    background-color: #e6e6e6;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, col {
    text-overflow: ellipsis;
    overflow: hidden;
}
.cursor-pointer, .cursor-pointer > div {
    cursor: pointer;
}
.form-table {
 	display: table;
    border-collapse: separate;
    border-spacing: 0 0px;
  }

form.tab-form {
    display: inline-flex !important;
}

.form-row {
	display: table-row;
}

.form-element {
	display: table-cell;
}

.form-element-input {
	display: table-cell;
    padding-top: 5px;
    padding-bottom: 5px;
}

input, select {
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: white;
}
input.error, button.error, textarea.error, select.error, radio.error {
    border-color: #dc3545;
    box-shadow: 0 0 10px #dc3545 ;
}
button.order_by {
	color: black;
	background: none;
	margin: 0;
	padding: 0;
	border: none;
	cursor: pointer;
	font-weight: bold;
	float: left;
}
.text-button  {
    border: none;
    background: none;
    text-align: left;
    width: 100%;
	cursor: pointer;
	padding-left: 0px;
	padding-right: 0px;
}
.link {
    color: #00aaff;
}
.link:hover {
  color: #0077bb !important;
}
select.order_line-object_booking {
    width: 10em;
    height: 30px;
}
.checkbox {
  border: none;
  background: none;
  text-align: left;
  padding: 0;
  .bi-square {color: #888;};
  .bi-check-square {color: #3bd945;};
  .bi-x-square {color: #FB3232;};
}
label {
    padding-right: 1em;
    font-style: oblique;
    vertical-align: top;
    margin-top: 5px;
    margin-bottom: 5px;
}
.btn-primary.selected {
    border-color: blue;
    border-width: 2px;
}
.filter_on {
    border-color: #3bd945;
    box-shadow: 0 0 10px #3bd945 ;
}
.select_on {
    border-color: #ffc107;
    box-shadow: 0 0 10px #ffc107 ;
}
.remark_on {
    border-color: #00aaff;
    box-shadow: 0 0 10px #00aaff ;
}
.remark_on:focus-visible {
    border-color: #8AB4F1;
    box-shadow: 0 0 0 0.25rem  #8AB4F1;
}
.context-menu {
    box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    display: none;
    background-color: white;
    padding: 0px 5px;
    z-index: 1500;
}

.context-menu:before {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid black;
    left: -10px;
    top: calc(50% - 10px);
}
.input-display {
    min-height: 30px;
    display: inline-block;
    padding-top: 5px;
}
.context-info-header {
    font-weight: bold;
}

.table.tabbed tr:first-child th {
    border-top: 0px !important;
}

.table tr:last-child td {
    border-bottom: 1px solid #dee2e6;
}

.left-form {
    display: flex;
    flex-flow: column;
}

.framed {
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

.pagination.tabbed {
    padding-top: 1em;
    border-right: 1px solid black;
    border-radius: 0;
    flex: 2;
}

form.tab-form {
    display: inline-flex !important;
    margin-block-end: 0;
}
.nop {
    padding: 0;
}
.profit_loss-row-debit {
    border-right: 2px solid grey;
}
.balance-row-debit {
    border-right: 2px solid grey;
}
.balance-sheet {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}
.balance_sheet-hdg {
    border-bottom: 2px solid grey;
}
.balance_sheet-total {
    border-top: 2px solid grey;
}
.profit_loss_sheet-hdg {
    border-bottom: 2px solid grey;
}
.profit_loss_sheet-total {
    border-top: 2px solid grey;
}
.ledger-hdg {
    border-bottom: 1px solid grey;
}
.span {
    padding-left: 0;
    padding-right: 0;
}
.calendar_booking-date {
    font-size: .8em;
}
.calendar_booking {
    display: block;
    font-size: .8em;
    line-height: 1.1em;
    color: #00aaff;
    padding-top: .4em;
}
.calendar_booking:hover {
  color: #0077bb !important;
}
.calendar-description {
  max-width: 8em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.1em;
}
.calendar-day {
    width: 8em;
    max-width: 8em;
    border: grey solid 1px;
    padding: 0 .2em 0 .2em;
}
.calendar-day br {
  display: block;
  line-height: 1.1em;
}
.booking-calendar {
    width: 60em;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

/* FIELDS */

input.chamber_commerce_id {
    width: 200px;
}
input.vat_id {
    width: 200px;
}
input.ledger_account_section-code {
    width: 50px;
}
textarea.description, textarea.remark {
    width: 100%;
}
input.ledger_account-code {
    width: 50px;
}
textarea.description {
    width: 100%;
}
input.name {
    width: 100%;
}
input.item-code {
    width: 100px;
}
input.item-short_name {
    width: 200px;
}
input.year{
    width: 150px;
}
input.filter_search {
    width: 25%;
    color: green;
}
input.contact_data-text {
    width: 100%;
}
input.order_line-line_text, input.order-order_text, input.purchase_line-remark, input.match-remark {
    width: 100%;
}
input.order_line-specification {
    width: 100%;
}
textarea.script {
    width: 50%;
    height: 20rem;
}
.contact_data-order, .order_line-line_order {
    width: 4em;
}
.repeat_interval {
    width: 4em;
}

div.default_button_space {
    height: 3em;
}
input.subject, input.name, input.attn {
    width: 50%;
}
input.order_line-quantity, input.order_line-sales_price, input.payment-amount, input.match-amount, input.mutation-amount
 , input.purchase-amount, input.purchase-vat_amount, input.purchase_line-cost_price, input.purchase_line-quantity {
    width: 6em;
}
input.decimal {
    width: 6em;
}
input.date-short {
    width: 6em;
}
img.invoice_logo {
    height: 20mm;
}
.grayed > * {
    color: gray;
}
div.receipt_preview, span.receipt_preview {
    height: 50px;
    padding: 5px;
}
div.receipt_preview_lg {
    height: 500px;
    padding: 5px;
}
div.receipt_preview_org {
    padding: 5px;
    height: 100%;
    width: auto;
    z-index: 1201;
}
img.receipt_preview {
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
.page-number-input {
    width: 5em;
}
.colmax-1 {
    max-width: 8.33%;
    float: left;
}
.colmax-2 {
    max-width: 16.66%;
    float: left;
}
.colmax-3 {
    max-width: 25%;
    float: left;
}
.colmax-4 {
    max-width: 33.33%;
    float: left;
}
.colmax-5 {
    max-width: 41.66%;
    float: left;
}
.colmax-6 {
    max-width: 50%;
    float: left;
}
.colmax-7 {
    max-width: 58.32%;
    float: left;
}
.colmax-8 {
    max-width: 66.65%;
    float: left;
}
.colmax-9 {
    max-width: 75%;
    float: left;
}
.colmax-10 {
    max-width: 83.32%;
    float: left;
}
.colmax-11 {
    max-width: 91.65%;
    float: left;
}
.colmax-12 {
    max-width: 100%;
    float: left;
}
.clear {
    clear: both;
}
.rotate_90 {
    transform: rotate(90deg);
}
.rotate_180 {
    transform: rotate(180deg);
}
.rotate_270 {
    transform: rotate(270deg);
}
.btn-lg {
  --bs-btn-padding-y: 1rem;
  --bs-btn-padding-x: 0.8rem;
  --bs-btn-font-size: 1.2rem;
  --bs-btn-border-radius: 0.8rem;
  min-height: 7rem;
  min-width: 12rem;
}

/* Tabs container */
.tab {
    border-bottom: none; /* Geen rand onder de tab-container */
    overflow: hidden;
    display: flex;
    gap: 0.2em; /* Kleine afstand tussen tab-knoppen */
    border-radius: 8px 8px 0 0; /* Alleen boven afgerond */
    padding: 0; /* Geen padding om naad te vermijden */
}

/* Tab knoppen */
.tab button {
    background-color: #e0e0e0;
    border: 1px solid #888;
    border-bottom: none; /* Voorkomt een naad tussen tab en content */
    outline: none;
    cursor: pointer;
    padding: 8px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-radius: 8px 8px 0 0; /* Alleen boven afgerond */
}

/* Hover-effect voor tab-knoppen */
.tab button:hover {
    background-color: #ddd;
}

/* Actieve tab-knop: Naad volledig verwijderen */
.tab button.active {
    background-color: #fff; /* Zelfde als tabcontent */
    border-bottom: 1px solid transparent !important; /* Zorgt dat de rand verdwijnt */
    position: relative;
    z-index: 3; /* Zet de tab-knop voor de content */
}

/* Tab inhoud */
.tabcontent {
    display: none;
    padding: 12px;
    border: 1px solid #888;
    border-radius: 0 0 8px 8px; /* Alleen onder afgerond */
    background-color: #fff;
    position: relative;
    z-index: 2; /* Zorgt dat de tab bovenop ligt */
    margin-top: -1px; /* Brengt de inhoud omhoog om overlap te forceren */
    margin-bottom: 1em;
}

/* Actieve tab-content zichtbaar maken */
.tabcontent.active {
    display: block;
}
.register_layout {
  display: flex;
  flex-wrap: wrap;         /* laat naar volgende regel springen als het niet past */
  align-items: flex-start;
  gap: 16px;
}

/* Knoppencontainer: bovenrand terugzetten */
.register_button_container {
    display: inline-block;
    max-width: fit-content;
    padding: 0.5em;
    background-color: #e8e8e8;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 0.5em;
}

.order_calculation {
    flex: 0 1 auto;       /* behoudt eigen breedte; mag krimpen indien nodig */
    min-width: 20em;
    max-width: fit-content;
    padding: 0.5em;
    background-color: #e8e8e8;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Voorkomt dat het naar rechts schuift */
    width: fit-content;
}
input.order_quantity {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Spinners verbergen, alleen binnen calculation */
.order_calculation input[type="number"]::-webkit-outer-spin-button,
.order_calculation input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.order_calculation input[type="number"] { -moz-appearance: textfield; }

/* Aantallen-pad */
.qty-pad {
  position: absolute;
  z-index: 9999;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background: #f8f8f8;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  width: 180px;
}
.qty-pad.hidden { display: none; }

.qty-pad-display {
  font-size: 2.2rem;          /* grote weergave van huidige waarde */
  line-height: 1.2;
  text-align: right;
  font-weight: 700;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
}

.qty-pad-buttons {
  display: flex;
  flex-direction: column;     /* pijlen onder elkaar */
  gap: 10px;
}

.qty-pad-btn {
  font-size: 2rem;            /* grote knoppen */
  padding: 18px 0;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bbb;
  background: #fff;
  cursor: pointer;
}
.qty-pad-btn:active { transform: translateY(1px); }

.modal {
    display: block !important;
    position: fixed;
    z-index: 3000; /* Zorgt ervoor dat de modal boven andere elementen blijft */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Donkere achtergrond zoals confirm-modal */
}

/* Standaard verbergen */
.hidden {
    display: none !important;
}

/* Modal inhoud gecentreerd en netjes opgemaakt */
.modal_content {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
button.total_button {
    min-height: 3em;
    min-width: 5em;
    font-weight: bold;
    padding: 0.5em 1em;
    white-space: nowrap;
    text-align: center;
    border: 2px solid #333;
    cursor: pointer;
    border-radius: 8px;
}
button.reset_button {
    color: #fff;
    background-color: #0071aa;
}
button.receipt_button {
    color: #fff;
    background-color: #00537c;
}
button.cash_button, button.paid_button, button.bank_button, button.process_button {
    color: #fff;
    background-color: #157347;
}
button.back_button {
    color: #fff;
    background-color: #5C636A;
}
button.paid_button, button.back_button {
    margin-bottom: 0.5em;
}
button.change_button {
    color: #fff;
    background-color: #dd2121;
}
button.confirm_process_button {
    color: #000;
    background-color: #ff6d02;
}
input.register_total_input {
    font-size: 1.5em;
    width: 6em;
    margin-right: 1em;
}
.sale_history {
    width: 30em;
    padding: 0.5em;
    background-color: #e8e8e8;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.reg_sale_row {
    display: flex;
    padding: 0.2em 0;
    width: 100%;
    cursor: pointer;
}

/* Knoppenrij */
.register_button_row {
    display: flex;
    gap: 0.5em; /* Afstand tussen de knoppen onderling */
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0.5em; /* Voegt ruimte toe tussen de rijen */
}

/* Eerste rij knoppen: verwijder extra bovenruimte */
.register_button_row:first-child {
    margin-top: 0; /* Voorkomt dat er een extra opening bovenaan zit */
}

/* Knoppen */
.register_button {
    min-height: 5em;
    min-width: 5em;
    font-weight: bold;
    padding: 0.5em 1em;
    white-space: nowrap;
    text-align: center;
    border: 2px solid #333;
    background-color: #f8f8f8;
    cursor: pointer;
    border-radius: 8px;
}
/* Standaardknopstijl */
.register_button {
    transition: all 0.1s ease-in-out; /* Vlotte animatie voor feedback */
    border: 1px solid #888; /* Zorgt ervoor dat de rand niet verspringt */
}

/* Visueel effect bij klikken */
.register_button:active {
    transform: scale(0.95); /* Knop wordt iets kleiner bij indrukken */
    filter: brightness(85%); /* Maakt de knop iets donkerder */
    border: 2px solid rgba(0, 0, 0, 0.2); /* Optische feedback */
}

/* Hover-effect voor muisgebruikers */
.register_button:hover {
    filter: brightness(90%);
    cursor: pointer;
}
/* Zorgt voor een strakke, nette tabeluitlijning */
.order_item {
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
}
.order_payment {
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
}
/* Klein en compact inputveld */
.order_quantity input {
    text-align: center;
    font-size: 1em;
    padding: 0.2em;
}

.order_label {
    font-weight: bold;
}
.order_total {
    text-align: right;
    font-weight: bold;
}
.order_price {
    text-align: right;
}
.order_vat {
    padding-left: 1em;
    font-size: 0.8em;
    text-align: left;
}
.suffix {
    padding-left: 1em;
    text-align: left;
    font-weight: bold;
}
.order_total_row {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.3em;
    text-align: left;
}
.order_summary {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Zorgt dat de knoppen naast het totaalbedrag komen */
    width: fit-content;
    margin-bottom: 0.5em;
}

.order_final_total {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 1em;
}

.change_amount {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 1em;
    color: #dd2121;
}

.order_controls {
    display: flex;
    gap: 0.5em;
}

/* Google style agenda */
/* Algemene kalenderstijl */
.booking-calendar {
    width: 100%;
    max-width: 80em;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header met dagen van de week */
.booking-calendar thead th {
    background-color: #e8f0fe;
    color: #3e3e3e;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #dadce0;
}

/* Weeknummer kolom */
.booking-calendar .week-number {
    background: #f1f3f4;
    color: #5f6368;
    font-weight: bold;
    text-align: right;
    padding-right: 10px;
}

/* Dagen in de kalender */
.booking-calendar .calendar-day {
    width: 12%;
    min-width: 100px;
    background: #fff;
    transition: background 0.2s ease-in-out;
    border: 1px solid #dadce0;
    padding: 8px;
    vertical-align: top;
    text-align: center;
}

.booking-calendar .calendar-day:hover {
    background: #e8f0fe;
}

/* Datum-knoppen in de kalender */
.booking-calendar .calendar_booking-date {
    font-size: 0.9em;
    font-weight: bold;
    color: #1a73e8;
    background: none;
    border: none;
    cursor: pointer;
}

.booking-calendar .calendar_booking-date:hover {
    text-decoration: underline;
}

/* Boekingen */
.booking-calendar .calendar_booking {
    display: block;
    font-size: 0.85em;
    line-height: 1.3em;
    color: #1a73e8;
    background: #e8f0fe;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
    text-align: left;
    transition: background 0.2s;
    border: none;
}

.booking-calendar .calendar_booking:hover {
    background: #d2e3fc;
}

/* Beschrijving binnen boekingen */
.booking-calendar .calendar-description {
    font-size: 1.0em;
    color: #4e5257;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobiele weergave */
@media (max-width: 768px) {
    .booking-calendar {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    .booking-calendar .calendar-day {
        min-width: 80px;
        font-size: 0.85em;
    }

    .booking-calendar .calendar_booking {
        font-size: 0.8em;
        padding: 2px 6px;
    }
}
.week-number {
    width: 5%;  /* Pas dit aan naar de gewenste breedte */
    min-width: 40px;
    max-width: 60px;
    text-align: right;
    padding-right: 10px;
    background-color: #f1f3f4;
}
.num-pad {
    position: absolute;
    background: white;
    border: 2px solid #000;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 3500;
}

.num-pad.hidden {
    display: none;
}

.num-pad-keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.num-pad-keys button {
    font-size: 20px;
    padding: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
