* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--bg-secondary);
  min-height: 100vh;
  overflow-x: hidden;
}

table.pricelists-modules-table td form {
    display: flex;
}

.developer-watermark {
  pointer-events: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 8px 12px;
  background: rgb(255 255 255 / 21%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); */
  color: rgb(175 175 175);
  font-weight: 500;
  z-index: 9999;
  font-size: 12px;
}


.developer-watermark p {
  margin: 0px;
  padding: 0px;
}

/* Layout containers */

.content-container {
  background: var(--bg-primary);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;

}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-container {
  height: 36px;
}

.row {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px;
}

.between {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px;
}

.column {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
}

.content .row .input-field {
  width: 100%;
}

.exact-container a {
  height: 0px;
  display: block;
}

.exact-status.status-online {
  padding-bottom: 10px;
}

.filter-container {
  margin-bottom: 0px;
}

/* table top */

.content-container .top-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  box-shadow: inset 0 -2px 0 0 var(--table-border);
  padding: 0px;
}

.settings-container button:hover,
.settings-container .active,
.tabs .active {
  background: none;
  border: none;
  border-bottom: 2px solid var(--tab-color);
  border-radius: 0px;
  color: var(--tab-color);
  padding-bottom: 8px;
}

.last-refresh {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 10px;
}

.tabs {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 0px;
}

.circle p {
    margin: 0;
    font-size: 14px;
    color: var(--button-text);
}

.column.small{
  gap: 8px;
}

.dashboard-title  {
   font-size: 18px;
    font-weight: 500;
    color: var(--huisstijlkleur);
    margin-bottom: 0px;
}

.tabs a {
  background: none;
  border: none;
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  border-bottom: 2px solid transparent;
  border-radius: 0px;
  transition: all 0.2s ease;
  color: var(--table-header-text);
  box-shadow: none;
  font-weight: 500;
  padding-bottom: 8px;
  font-size: 14px;
}

.tabs a:hover {
  background: none;
  border: none;
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  border-bottom: 2px solid var(--tab-color);
  border-radius: 0px;
  color: var(--tab-color);
  padding-bottom: 8px;
}

.settings-container button {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0px;
  transition: all 0.2s ease;
  color: var(--table-header-text);
  box-shadow: none;
  font-weight: 500;
}



/*  */

.content-wrapper {
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.container-all {
  display: flex;
  width: 100%;
  flex-direction: column;
  height: max-content;
  min-height: 100vh;
}

.container-center {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.flex-row-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  width: 100%;
}

.content-block {
  width: 100%;
  background: var(--bg-primary);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  ;
}

.content-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}



.container-right {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: row;
  padding-top: 75px;
}

.menu-items {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.settings,
.notifications {
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.notifications .no-notifications {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
}

.notifications .no-notifications p {
  margin: 8px 0 0 0;
  font-size: 14px;
}

/*  FILTER */

.filter-container .button-group {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
}

.filter-container .button {
  color: #6b7280;
  border: none;
  padding: 6px 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  box-shadow: none;
}

.filter-container .button:hover {
  color: var(--huisstijlkleur);
}

.filter-container .button:focus {
  outline: none;
  z-index: 10;
}



.filter-container .button.left {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.filter-container .button.right {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  margin-left: -1px;
}

.filter-container .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.filter-container .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.filter-container .button:focus {
  outline: none;
}

/* FILTER DROPDOWN */

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background-color: var(--bg-secondary);
}


.filter-panel {
  position: inherit;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--bg-primary);
  border-radius: 0px 0px 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
  padding: 0;
  margin-top: 0px;
  gap: 20px;
  display: flex !important;
  flex-direction: column;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.no {
  padding: 0px !important;
  margin: 0px !important;
}

.filter-panel-footer {
  position: sticky;
  bottom: 0;
  background: var(--bg-primary);
  padding: 20px;
  /* border-top: 1px solid var(--table-border); */
  margin-top: auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  z-index: 1;
}

.filter-panel.open .filter-panel-header,
.filter-panel.open .filter-column-container {
  padding: 20px;
  transition: all 0.4s ease;
}

.filter-panel-header {
  display: none;
}


.filter-panel.open {
  max-height: 70vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  gap: 0px;
}

.filter-actief.column {
  gap: 0px;
}

.filter-actief.column span {
  margin-bottom: 5px;
}

.filter-checkbox {
  margin: 5px 0px !important;
  margin-right: 5px !important;
}

label.sub-checkbox {
    margin-left: 20px !important;
    margin-top: -10px !important;
}

.filter-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: scroll;
  height: 300px;
}

.filter-column-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-start;
  transition: all 0.4s ease;

}

.btn-close-filter {
  color: var(--text-primary) !important;
  padding: 0px !important;
}

/* table */

table button {
  background: none;
  border: none;
  padding: 10px;
  box-shadow: none;
  min-width: 40px;
  color: var(--text-secondary);
}

.table-button:focus svg,
.table-button:active svg {
  stroke: var(--huisstijlkleur) !important;
}

table .button-td {
  padding: 12px 5px;
}

table button:hover {
  background: none;
  border-radius: 8px;
  color: var(--huisstijlkleur);
}

table button:hover i {
  color: var(--huisstijlkleur);
}

table button i {
  color: var(--text-secondary);
  font-size: 18px;
  transition: all 0.2s ease;
}

.user-info {
  display: flex;
  margin-bottom: 0 !important;
  gap: 20px;
}

.user-email {
  color: var(--table-header-text);
  font-weight: 500;
  text-decoration: none;
}

.input-field .required,
span.required {
  color: red !important;
  font-size: 16px;
}

.input-field label {
    font-weight: 500;
}

.input-field input {
    margin-top: 5px;
}

.input-datalist {
  font-family: var(--input-color);
  box-sizing: border-box;
  color: var(--input-text);
  display: inline-block;
  font-size: var(--font-size);
  font-weight: 500;
  line-height: 20px;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  min-height: 40px;
  background: var(--input-bg);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 5px;
  border-radius: 5px;
}

.end {
  display: flex;
  justify-content: flex-end;
  gap: 10px;

}

/* Accordion */


.faq-container {
  max-width: 700px;
  margin: auto;
  background: var(--bg-primary);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 30px;
  background: var(--bg-primary);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-question h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--huisstijlkleur);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 30px;
  color: var(--text-secondary);
  text-align: left;
  font-size: var(--font-size);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  /* genoeg voor tekst */
  padding: 15px 30px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Toast notification systeem */

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}


.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.error {
  background: white;
  color: #991b1b;
}

.toast.success {
  background: white;
  color: #065f46;
}

.toast.warning {
  background: white;
  color: #92400e;
}

.toast.info {
  background: white;
  color: #1e40af;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 500;
  margin: 0 0 4px 0;
  font-size: 14px;
}

.toast-message {
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
  color: var(--text-primary);
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.toast-close:hover {
  opacity: 1;
}

/* Dark theme support */
[data-theme="dark"] .toast.error {
  background: #450a0a;
  color: #fca5a5;
}

[data-theme="dark"] .toast.success {
  background: #052e16;
  color: #86efac;
}

[data-theme="dark"] .toast.warning {
  background: #451a03;
  color: #fcd34d;
}

[data-theme="dark"] .toast.info {
  background: #1e3a8a;
  color: #93c5fd;
}

/* Animation voor fade out */
.toast.fade-out {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: calc(100% - 2rem);
  max-width: 384px;
  /* w-96 equivalent */
}

.toast {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.toast.success .toast-icon {
  color: #10b981;
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast.warning .toast-icon {
  color: #f59e0b;
}

.toast.info .toast-icon {
  color: #3b82f6;
}

.toast-content {
  flex: 1;
  color: #374151;
}

.toast-title {
  font-weight: 500;
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #111827;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.2s ease;
  border-radius: 4px;
  flex-shrink: 0;
}

.toast-close:hover {
  color: #374151;
  background: #f3f4f6;
}

/* Progress bar onderaan */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform-origin: left;
  z-index: 1;
  background: #e5e7eb;
  animation-fill-mode: forwards !important;
}

.toast.success .toast-progress {
  background: #10b981;
}

.toast.error .toast-progress {
  background: #ef4444;
}

.toast.warning .toast-progress {
  background: #f59e0b;
}

.toast.info .toast-progress {
  background: #3b82f6;
}

/* Animation voor fade out */
.toast.fade-out {
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

/* Progress bar animatie */
@keyframes toast-progress {
  0% {
    transform: scaleX(1);
  }

  95% {
    transform: scaleX(0.05);
  }

  100% {
    transform: scaleX(0);
  }
}


.dashboard-melding {
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-family: var(--font-family);
  color: var(--text-primary);
      width: 100%;
      position: relative;
}



div#notificationsDropdown {
    width: 300px;
}

.dropdown-content .content-block.notifications {
    gap: 10px !important;
    max-height: 100% !important;
    min-height: 0;
    padding: 10px !important;
}

.melding-icoon {
  flex-shrink: 0;
  margin-right: 12px;
  color: var(--huisstijlkleur);
}

.melding-tekst strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.melding-tekst p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  word-break: break-word;
}

button.close-melding {
    position: absolute;
    right: 5px;
    background: var(--bg-secondary);
    color: #c2c2c2;
    width: 25px;
    height: 25px;
    padding: 0px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 12px;
    top: 5px;
    background: none;
}

.tooltip .info-icon {
    position: relative;
    cursor: pointer;
    margin-left: auto;
    color: var(--button-bg) !important;
}

label.tooltip {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 5px;
}

.content .row .input-field {
    width: 100%;
}

.tooltip .tooltiptext {
    visibility: hidden;            /* <-- NIET zichtbaar tot hover */
    max-width: 300px;
    width: max-content;
    background-color: #5280c1;
    color: #fff !important;
    text-align: left;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s;
    font-size: 14px;
    z-index: 10;

    pointer-events: none;         /* <-- maakt m NIET hoverbaar */
}

/* Toon tooltip bij hover */
.tooltip .info-icon:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;         /* <-- pas bij hover */
}

.dashboard-melding {
    background: var(--table-bg) !important;
}


span.info-icon svg {
    height: 23px;
    width: 23px;
    box-sizing: border-box;
}

td.sticker-template {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

iframe#pdfPreviewFrame {
    border: 1px solid var(--border-color) !important;
    border-bottom: 2px solid var(--border-color) !important;
    border-radius: 5px !important;
}

.sticker br {
    display: none !important;
}

.sticker-config-table {
    table-layout: fixed;
}