/* ================================================
   1. BASIS CSS
   ================================================ */

@import url("https://fonts.googleapis.com/css2?family=Signika:wght@300..700&display=swap&v=2");
:root {
  --color-action-primary: #264B7E;
  --color-action-primary-hover: #0e4ba9;
  --color-highlight-soft: #90CAF9;
  --color-highlight-accent: #179EDA;
  --color-notification-info: #1696ea;
  --color-status-success: #2E8B57;
  --color-status-danger: #D32F2F;
  --color-status-warning: #FF9800;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden; /*prevents scrolling */
  box-sizing: border-box;
}
.documents {
    display: flex;
    justify-content: space-around;
}
#passwordInput {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
#togglePassword {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}
    table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 20px;
      background: #fff;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    th, td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }
    th {
      background-color: #f2f2f2;
    }
    #sessions-message {
      margin-bottom: 20px;
      color: #d00;
	  text-align: start;
    }
#module-sessions {
	display: none;
}
#refresh-module-sessions, #add-module-sessions {
	margin-left: 10px;
}

.toggle-button:hover {
	background-color: #999999;
}
#update-popup {
  border: 5px solid var(--color-action-primary);
  display: none;
  overflow-y: auto;
  max-height: 90%;
}
.update-popup-title {
  color: var(--color-action-primary);
}
.update-body {
  padding: 10px;
  padding-top: 0;
}

#settings-content {
	display:none;
  background-color: white;
  padding: 20px;
  width: 80%; /* Responsive width */
	max-height: 90%;
    overflow-y: auto;
  max-width: 500px; /* Limit width on larger screens */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  text-align: center;
  border-radius: 15px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#settings-content::-webkit-scrollbar {
  width: 0;
}

/* Modal Title */
#settings-content h2 {
  font-size: 24px;
  color: var(--color-action-primary);
  margin-bottom: 20px;
	display:flex;
}
#settings-content h3 {
  color: var(--color-action-primary);
  margin-bottom: 20px;
	display:flex;
}

#settings-button {
    color: white;
    cursor: pointer;
    font-size: 22px;
    margin-right: 15px;
    transition: color 0.3s ease;
    align-items: center;
    display: flex;
}

#settings-button:hover {
  color: var(--color-action-primary-hover); /* Slight hover effect */
}

.settings-group {
  border-bottom: 2px solid var(--color-action-primary);
  padding-bottom: 20px;
}

.settings-div .settings-group:last-child {
  border-bottom: none;
}


.app-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  text-align: left;
  overflow-y: hidden;
}
.header-box {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: var(--color-action-primary);
  height: 51px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: solid 1px var(--color-action-primary);
  font-family: "Signika", sans-serif;
  display: flex;
}
#current-time {
  margin-left: 10px;
  margin-right: auto;
  width: auto;
  color: #ffffff;
  justify-content: center;
  font-size: 20px;
  cursor: default;
}
.tsuna-logo {
  width: auto;
  height: 30px;
  border-radius: 50%;
}
.product-naam {
  font-weight: bold;
  font-size: 24px;
  color: #ffffff;
  padding: 0 10px;
	cursor: default;
}
.tsuna-logo, .product-naam {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.logo-div {
  position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 47%;
}

/* Slide/fade omhoog */
.hidden-up {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* Notificatie container */
#header-notification {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -70%);
  display: none;
  align-items: center;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000;
}

/* Actieve staat (slide omlaag + fade in) */
#header-notification.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Icoon en tekst apart animeren */
#header-notification .icon,
#header-notification .text {
  display: inline-block;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#header-notification.show .icon {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.05s; /* icoon iets eerder */
}

#header-notification.show .text {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.15s; /* tekst iets later */
}

/* Kleuren volgens jouw schema */
#header-notification.success { border-color: var(--color-status-success); }
#header-notification.success .icon { color: var(--color-status-success); }

#header-notification.error { border-color: var(--color-status-danger); }
#header-notification.error .icon { color: var(--color-status-danger); }

#header-notification.info { border-color: var(--color-notification-info); }
#header-notification.info .icon { color: var(--color-notification-info); }

#header-notification.warning { border-color: var(--color-status-warning); }
#header-notification.warning .icon { color: var(--color-status-warning); }

/* Container net onder de header/toast */
#persistent-notifications {
  position: fixed;
  top: 65px; /* iets onder #header-notification */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

/* Meldingskaartje */
#persistent-notifications .notif {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  gap: 8px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  border-left: 6px solid transparent; /* duidelijk verschil met toast */
  border-right: 6px solid transparent;
  opacity: 0;
  transform: translateY(-20px);
}

/* Slide/fade in */
#persistent-notifications .notif.show {
  opacity: 1;
  transform: translateY(0);
}

/* Icon + tekst animaties */
#persistent-notifications .notif .icon,
#persistent-notifications .notif .text {
  display: inline-block;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#persistent-notifications .notif.show .icon {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.05s;
  padding-bottom: 3px;
}

#persistent-notifications .notif.show .text {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.15s;
  color: black;
}

/* Close button */
#persistent-notifications .notif .close {
    margin-left: auto;
    border: none;
    background: transparent;
    font-size: 22px;
    padding-top: 2px;
    cursor: pointer;
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 6px rgba(0,0,0,0.15); }
  50%  { box-shadow: 0 0 12px currentColor; }
  100% { box-shadow: 0 0 6px rgba(0,0,0,0.15); }
}

/* Kleurenaccent links */
#persistent-notifications .notif.success { border-left-color: var(--color-status-success); border-right-color: var(--color-status-success); color: var(--color-status-success); animation: pulseGlow 2s infinite; }
#persistent-notifications .notif.success .icon { color: var(--color-status-success); }

#persistent-notifications .notif.error { border-left-color: var(--color-status-danger); border-right-color: var(--color-status-danger); color: var(--color-status-danger); animation: pulseGlow 2s infinite; }
#persistent-notifications .notif.error .icon { color: var(--color-status-danger); }

#persistent-notifications .notif.info { border-left-color: var(--color-notification-info); border-right-color: var(--color-notification-info); color: var(--color-notification-info); animation: pulseGlow 2s infinite; }
#persistent-notifications .notif.info .icon { color: var(--color-notification-info); }

#persistent-notifications .notif.warning { border-left-color: var(--color-status-warning); border-right-color: var(--color-status-warning); color: var(--color-status-warning); animation: pulseGlow 2s infinite; }
#persistent-notifications .notif.warning .icon { color: var(--color-status-warning); }

.tab {
    overflow: hidden;
    background-color: var(--color-action-primary);
	margin-left: auto;
	margin-right: 15px;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    border: none;
	border-radius: 10px;
    outline: none;
    padding: 10px 16px;
    font-size: 17px;
	font-family: "Signika", sans-serif;
	color: white;
	cursor: pointer;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: var(--color-action-primary-hover);
    transition: background-color 0.3s ease;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: var(--color-action-primary-hover);
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
}
#refresh-button {
	max-height: 16px;
	width: auto;
	padding: 8px;
	margin-left: 10px;
}

#refresh-button > i {
	font-size: 16px;
}
#search-bar {
	width: 100%;
	height: 30px;
	font-family: Signika, sans-serif;
	padding-left: 15px;
	border: none;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	margin-bottom: 1px;
}
.dienst {
  white-space: nowrap;
  overflow: hidden;
}
#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  z-index: 3; /* Ensure it's above other content */
}

#welcome-message {
	font-size: 24px;
	color: var(--color-action-primary);
	font-weight: bold;
}
#login-button {
	display: block; /* Block level element */
	width: auto; /* Full width */
	padding: 10px; /* Padding for touch area */
	background-color: var(--color-action-primary);
	color: white; /* White text */
	border: none; /* No border */
	border-radius: 5px; /* Rounded corners */
	cursor: pointer; /* Pointer cursor on hover */
	font-size: 16px; /* Larger font size */
	font-family: "Signika", sans-serif;
  font-weight: bold;
	position: relative;
	transition: background-color 0.3s ease;
}

#login-button:hover {
    background-color: var(--color-action-primary-hover);
}

#qr-container {
  position: absolute;
  top: 5.7em;
  padding: 10px;
  border: 3px solid var(--color-action-primary);
  display: none;
  border-radius: 5px;
  background-color: white;
}

#qr-code {
  padding-bottom: 10px;
  display:none;
}

#qr-countdown {
  font-family: 'Signika', sans-serif;
  color: var(--color-action-primary);
  font-weight: bold;
  text-align: center;
}

#logout-button {
	display: none;
 color: white;
 font-size: 22px;
	justify-content: center;
	cursor: pointer;
	margin-right: 15px;
		transition: color 0.3s ease;
}

#logout-button:hover {
	color:var(--color-action-primary-hover); 
}

.forgot-password {
  margin-top: 5px;
}

.forgot-password a {
  color: var(--color-notification-info);
  font-size: 0.9em;
  text-decoration: underline;
  cursor: pointer;
}
.forgot-password a:hover {
  color: var(--color-action-primary);
}

/* The Modal (background) */
.modal {
  display:none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  font-family: "Signika", sans-serif;
}

/* Modal Content/Box */
.modal-content {
	background-color: #ffffff;
	padding: 20px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	text-align: center;
	width: 500px;
	border-radius: 15px;
	align-items: center;
	justify-content: center;
	margin: 5px auto; /* 15% from the top and centered */
	display: grid;
}

#id01 {
  padding-top: 4em;
}

#reload {
    color: var(--color-action-primary);
    cursor: pointer;
    font-size: 28px;
}
#login-form {
  position: relative;
}
#close-login {
	color: var(--color-action-primary);
    cursor: pointer;
    font-size: 28px;
}
.authenticator-input {
  display: flex;
  gap: 10px;
  margin: 20px auto;
}

.digit-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
  font-family: 'Signika', sans-serif;
}

.digit-input:focus{
  border-color: #1156c1;
}

.digit-input::-webkit-outer-spin-button,
.digit-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.digit-input[type="tel"] {
  -moz-appearance: textfield;
}
#login-close {
	display: block; /* Block level element */
	width: 45%;
	padding: 5px; /* Padding for touch area */
	margin-top: 20px; /* Space above the button */
	background-color: var(--color-action-primary); 
	color: white; /* White text */
	border: none; /* No border */
	border-radius: 5px; /* Rounded corners */
	cursor: pointer; /* Pointer cursor on hover */
	font-size: 14px; /* Larger font size */
	font-family: "Signika", sans-serif;
	transition: background-color 0.3s ease;
	margin-left: auto;
	margin-right: auto;
}
#login-close:hover {
  background-color: var(--color-action-primary-hover);
}
/* Center the avatar image inside this container */
.imgcontainer {
  text-align: center;
}

/* Avatar image */
img.avatar {
  width: 60%;
}
.container {
	margin: 5px;
	display: grid;
}
.container > label {
	margin: 5px;
}
.container > input, #changePW > input, #resetPW > input, #askEmail > input  {
	text-align: center;
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}
.button-input-bar {
	height: 70px;
	width: 100%;
	position: sticky;
	top:0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
	background-color: #ffffff;
}


.button-input-bar > header {
	font-size: 32px;
	font-weight: bold;
	font-family: "Signika", sans-serif;
	margin-right: 5px;
	padding-left: 25px;
}
#action-bar {
    height: auto;
    font-family: 'Signika', sans-serif;
    font-weight: bold;
    background-color: #F9F9F9;
    text-align: center;
    border-radius: 12px;
    margin: 5px auto 10px auto;
    width: 90%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

#action-bar span {
	background-color: none;
	text-align: center;
	padding: 5px;
}
.header-container {
	display: flex;
    align-items: center;
    position: absolute;
    left: 0;
}
.header-container > header {
	font-size: 32px;
	font-weight: bold;
	font-family: "Signika", sans-serif;
	margin-right: 5px;
	padding-left: 25px;
}

#Assistente {
	background-color: var(--color-action-primary);
}
#Huisarts {
	background-color: var(--color-status-success);
}
#POH-GGZ {
	background-color: #FDCC4B;
}
.button-input-bar button {
  height: 2.2em;
	margin-top: 5px;
	margin-bottom: 5px;
	font-family: "Signika", sans-serif;
	border-radius: 5px;
}
.label-toggle-button {
    border-radius: 10px;
    border-color: #e1e1e1;
    background-color: #e1e1e1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.label-toggle-button:hover {
    background-color: #d4d4d4;  /* iets donkerder grijs */
    border-color: #c0c0c0;
}
.assign-btn {
    margin-left: auto;
    border-radius: 8px;
    border-color: #e1e1e1;
    background-color: #e1e1e1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.assign-popup {
   position: absolute;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    justify-content: flex-start;
    display: flex;
    right: 0%;
    transform: translateY(-70%);
}
#agenda-select-all, #bloktype-select-all {
  margin-left: 5px;
}
.selected-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: 10px;
}

.key-label {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  text-align: center;
}

#new-card-div {
  display: none;
  overflow-y: auto; 
  overflow-x: hidden;
}
#new-card-title{
    resize: none;
    font-family: Signika, sans-serif;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px;
    scrollbar-width: none;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    border-image: initial;
    width: 90%;
}
#new-card-template{
    resize: none;
    font-family: Signika, sans-serif;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    border-image: initial;
    min-height: 150px;
}
#new-card-div select {
    font-family: 'Signika', sans-serif;
    height: 37px;
    border-radius: 5px;
    border: 2px solid var(--color-action-primary);
    color: var(--color-action-primary);
    font-size: 14px;
    cursor: pointer;
}

.new-card-group {
  margin-bottom: 15px;
}

.new-card-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.new-card-greetings {
    text-align: start;
    font-size: 14px;
    margin-left: 10px;
    margin-top: 0;
}

/* #template-greetings {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
} */

.delete-btn {
  position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: none;
    color: var(--color-status-danger);
    margin: 7px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.delete-btn:hover {
    color: #9A0007;
}

.scope-bubble {
    height: 24px;
    background-color: #ccc;
    border-radius: 10px;
    padding: 0 6px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px #fff;
}

.new-card-grid {
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
}
#new-card-grid-2 {
  grid-template-columns: repeat(4, 1fr); 
}
.flag {
    text-align: center;
    margin-right: 25px;
    color: #ccc;
    border: none;
    background: none;
    transition: color 0.3s ease;
    font-size: 18px;
		cursor: pointer;
	margin-left:auto;
}
.flag:hover {
	color: orange;
}
.highlight {
	color: orange;
}
/* 🔹 Popup Container (Hidden by Default) */
.popup-container {
    display: none;
    position: absolute;
    top: 100px; /* Adjust for placement under the flag */
    right: 10px; /* Adjust for alignment */
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    width: 250px;
    z-index: 1000;
	font-family: 'Signika', sans-serif;
}

/* 🔹 Popup Content */
.popup h3 {
    margin-top: 0;
    font-size: 18px;
}

.popup select {
    width: 100%;
    margin: 10px 0;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.popup textarea {
    width: 93%;
    height: 40px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
	font-family: 'Arial', sans-serif;
}
.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.popup-buttons button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#add-label {
	border: none;
    background: none;
    font-size: 20px;
    margin: 0;
    color: black;
    cursor: pointer;
}
.reopen {
	background: #ccc;
	border-color: #ccc;
	width: auto;
	height: 30px;
	transition: background-color 0.3s ease;
		font-weight: bold;
	font-size: 16px;
	cursor: pointer;
}
.reopen:hover {
	background: #bcbcbc;
	border-color: #bcbcbc;
}
#resolved {
    background: var(--color-action-primary);
    border-color: var(--color-action-primary);
    color: #ffffff;
    width: auto;
    margin-left: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    height: 30px;
}
/* Optional textarea */
.hidden {
    display: none;
}
.invisible {
  visibility: hidden;
}

/* Submit button */
.submit-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.submit-btn:hover {
    background-color: var(--color-action-primary-hover);
}
.blurred {
  filter: blur(4px);
}
#leeftijd {
  clear: none;
  font-style: italic;
}
#phone-number-div {
	display: none;
}
#registration-time {
	background-color: #eef;
	padding: 2px 6px;
	border-radius: 4px;
}

.registration-time {
	background-color: #eef;
  position: relative;
  color: #555;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.editable-text {
margin: 15px 10px;
	font-size: 14px;
}
@keyframes pulse {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.2); opacity: 0.7; }
	100% { transform: scale(1); opacity: 1; }
}
.summary {
	padding: 0 10px;
	width: 100%;
	height: auto;
}
.copy-summary {
	border: 1px solid var(--color-action-primary);
    border-radius: 0 5px 5px 0;
    border-left: none;
    background: var(--color-action-primary);
    color: white;
}
.s-button {
	width: 20px;
    cursor: pointer;
    font-size: 20px;
    margin-left: auto;
}
#summary-button {
	margin-left: 10px;
}
.pencil-icon {
  cursor: pointer;
  margin-left: 10px;
  font-size: 16px;
}

.edit-input {
    width: 100%;
    height: auto;
    resize: none;
    font-family: 'Signika', sans-serif;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
	border: 1px solid var(--color-action-primary);
	margin-bottom: 5px;
}
.area {
	margin-top: 10px;
	height: auto;
    display: flex;
}
#edit-input-plan, #edit-input-summary {
	display:none;
}

.message-select {
	display: none;
    cursor: pointer;
    transform: scale(1.2); /* Slightly increase checkbox size for ease of use */
    margin-right: 10px;
}
.copyright-text {
  text-align: center;
  position: absolute;
  bottom: 1px;
  font-weight: bold;
  font-family: Signika, sans-serif;
  font-size: 9px;
  overflow-x: auto;
  margin-left: 5px;
  z-index: 1000;
}

.blue-button img {
    width: auto; /* Set the image width to 50px */
    height: 16px; /* Maintain the aspect ratio */
    vertical-align: middle; /* Aligns the image vertically in line with the text */
}

.blue-button:hover {
    background-color: var(--color-action-primary-hover);
	border-color: var(--color-action-primary-hover);
    transition: background-color 0.3s ease;
}
.blue-button span {
    margin-left: 8px; /* Adds space between the image and the text */
    font-size: 16px; /* Sets the font size for the text */
	color: var(--color-action-primary);
}
.white-button img {
    width: auto; /* Set the image width to 50px */
    height: 16px; /* Maintain the aspect ratio */
    vertical-align: middle; /* Aligns the image vertically in line with the text */
}

.white-button:hover {
    background-color: var(--color-action-primary); /* Changes background to the border color */
    color: #fff; /* Changes text color to white */
    /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);  Adds a soft shadow to make the button pop */
    /* transform: scale(1.05); Slightly enlarges the button */
    border-color: #1a3b5e; /* Darkens the border on hover */
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.white-button span {
    margin-left: 8px; /* Adds space between the image and the text */
    font-size: 16px; /* Sets the font size for the text */
	color: var(--color-action-primary);
}

/* Define a loading spinner */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.message-sender {
  font-size: 10px;
  font-weight: bold;
  text-align: left;
}
#input-bar {
	width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0px 5px 0;
    height: 50px; /* Increased height for better touch area */
	font-family: 'Signika', sans-serif;
	box-sizing: border-box;
	height: auto;
}

#input-bar.overlay {
	background-color: #cccccc;
	color: #666666; /* Disabled text color */
	z-index: 100;
}

#message-input {
    flex-grow: 1; /* Allows the input to fill the space */
    margin-right: 10px;
    padding: 8px 8px 0px 8px;
    border: 1px solid var(--color-action-primary);
    border-radius: 4px;
    outline: none;
    resize: none;
	overflow: auto;
    height: 30px;
    font-family: 'Signika', sans-serif;
    max-height: 140px;
}
#send-button {
	margin-right: 5px;
}
#file-input-label {
	margin-right: 10px;
	display: inline-flex;
	cursor: pointer;
}
#file-input-icon {
	font-size: 35px;
	color: var(--color-action-primary);
}
#send-button img {
    width: 20px; /* Ensure the image size is controlled */
    height: auto;
}

#send-button:hover {
    background-color: var(--color-action-primary-hover);
    transition: background-color 0.3s ease;
}

#send-button:disabled, #file-input-label:disabled {
  background: #cccccc; /* Disabled background */
  color: #666666; /* Disabled text color */
  cursor: not-allowed; /* Change cursor to indicate the button is disabled */
}

#send-button:disabled:hover, #file-input-label:disabled:hover {
  background: #cccccc; /* Keep the background the same on hover */
  color: #666666; /* Keep the text color the same on hover */
}
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.expanded-image {
    max-width: 90%;
    max-height: 90%;
}
.info-icon {
	display: inline-block;
	position: relative;
	cursor: pointer;
	font-size: 16px;
	margin-left: 6px;
	color: #555;
}

.info-icon:hover .tooltip {
	opacity: 1;
	visibility: visible;
}
.with-tooltip {
  position: relative;
  overflow: visible;
}
.with-tooltip:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.6s; /* Delay showing the tooltip */
}
.tooltip {
	position: absolute;
	bottom: 125%;
	left: 50%;
	transform: translateX(-40%) translateY(10px);
	background-color: #333;
	color: #fff !important;
	padding: 8px 12px;
	border-radius: 6px;
	white-space: nowrap;
	font-size: 13px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	z-index: 999;
	font-family: 'Signika', sans-serif;
}
.tooltip.left {
	transform: translateX(-10em) translateY(10px);
}
.tooltip.bottom-left {
	transform: translateX(-10em) translateY(60px)
}
.tooltip.bottom-right {
	transform: translateX(20%) translateY(60px)
}
.tooltip.bottom {
	transform: translateX(-10em) translateY(60px)
}
.tooltip.wrap {
    white-space: normal;
    width: 30em;
}
.tooltip.small {
  font-size: 12px;
}

.tooltip::after {
/* 	content: ""; */
	position: absolute;
	top: 100%;
	left: 40%;
	margin-left: -6px;
	border-width: 6px;
	border-style: solid;
	border-color: #333 transparent transparent transparent;
}

#afhandelen-tooltip {
  background-color: #e9e9e9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  color: black !important;
  transform: translateX(-40%) translateY(85px);
  font-size: 14px;
}

.close-generic-content {
    color: var(--color-action-primary);
    font-size: 24px;
    margin-right: 10px;
    cursor: pointer;
	  margin-left: auto;
} 
#unreadMessageBadge:hover {
	transform: scale(1.1);
}
@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.1); }
	100% { transform: scale(1); }
}
#unreadMessageBadge.pulse {
	animation: pulse 1.5s infinite;
}
.disabled {
	opacity: 0.5;
	cursor: not-allowed !important;
}
.disabled:hover {
	opacity: 0.5;
	cursor: not-allowed !important;
}

.empty-cell {
    background: none;
}

.day-name, .week-number {
	display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: var(--color-action-primary);
}
.week-number {
    justify-content: flex-end;
    font-size: 16px;
    margin-right: 5px;
}
.day {
    border: 1px solid #ccc;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--color-highlight-accent);
    color: white;
}

.day.closed {
    background-color: #ccc;
    cursor: not-allowed;
}
.day.closed.selected {
    background-color: #ccc;
    cursor: not-allowed;
	border: 2px solid var(--color-action-primary);
    background-color: var(--color-highlight-accent);
}

.day.selected {
    border: 2px solid var(--color-action-primary);
    background-color: var(--color-highlight-accent);
}

.day.available {
    background-color: rgb(46, 139, 87); /* Red */
    color: white;
}
.day.settings-closed {
    background-color: #992222; /* Red */
    color: white;
}

.time-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 10px 10px 0 25px;
}

.time-block button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--color-highlight-accent); /* Available */
    cursor: pointer;
	color: white;
	font-family: 'Signika', sans-serif;
	font-size: 14px;
}

.time-block button.available {
    background-color: rgb(46, 139, 87); /* Blocked */
}

.comment-section {
    margin-top: 10px;
}

.availability {
	padding: 10px;
    font-size: 18px;
    font-weight: bold;
}
.tsuna-select {
	width: 200px;
    font-family: 'Signika', sans-serif;
    height: 37px;
    border-radius: 5px;
    border: 2px solid var(--color-action-primary);
    color: var(--color-action-primary);
    font-size: 14px;
	margin-left: 5px;
	cursor: pointer;
}
.checkbox-entry {
  position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 0.5em;
	padding: 0.4em 0.8em;
	border-radius: 8px;
	background: #f8f8f8;
	cursor: pointer;
	transition: background 0.2s ease;
  opacity: 0.5;
}
.checkbox-entry:hover {
	background: #eef1f5;
}
.checkbox-entry input[type="checkbox"] {
	margin-right: 0.5em;
}
.checkbox-entry:has(input:checked) {
    opacity: 1;
}
#loading-placeholder {
  display: none;
  font-size: 50px;
  color: var(--color-action-primary);
}

.autogrow {
	height: auto;
	min-height: 87px;
	max-height: 150px;
}
.selected-codes {
	display: flex;
	flex-wrap: wrap;
}
.remove-code {
	margin-left: 5px;
	cursor: pointer;
	color: var(--color-action-primary);
}
.draggable-text {
    cursor: grab; /* Show a hand cursor to indicate draggable text */
}

.draggable-text:active {
    cursor: grabbing; /* Change cursor while dragging */
}

#arrow {
	margin-bottom: 15px;
	transform: rotate(90deg); 
	transition: transform 0.3s; 
	margin-left: 5px;
}
#restricted-message {
	position: absolute;
    background-color: white;
	text-align: center;
	font-size: 20px;
	padding: 20px;
	color: black;
	width: 100vw;
	height: 100vh;
	font-family: 'Signika', sans-serif;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	display: none;
}
#twoFA {
	display: flex;
    flex-direction: column;
    position: relative;
}
#cancel {
	display: none;
}
/* Algemene styling voor de wachtwoordregels */
#password-policy li {
    list-style: none;
    font-size: 14px;
    padding: 5px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
}

/* ❌ Niet-geldige vereisten (rood kruisje, rode tekst) */
#password-policy .invalid {
    color: #d9534f; /* Rood */
}

#password-policy .invalid::before {
    content: "❌";  /* Rood kruisje voor de regel */
    margin-right: 8px;
}

/* ✅ Geldige vereisten (groen vinkje, groene tekst) */
#password-policy .valid {
    color: #28a745; /* Groen */
    font-weight: bold;
}

#password-policy .valid::before {
    content: "✅";  /* Groen vinkje voor de regel */
    margin-right: 8px;
}
#change-password-btn, #reset-submit, #email-submit {
	width: 45%;
	padding: 5px;
	margin-top: 20px;
	background-color: #1156c1;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	font-family: "Signika", sans-serif;
	transition: background-color 0.3s ease;
	margin-left: auto;
	margin-right: auto;
}

#email-input {
  width: 60%;
}

/* ================================================
   2. SLIMME TRIAGE MODULE
   ================================================ */

#app, #form-screen {
  display: none;
}

#advies-tickets {
	display: none;
}

/* The switch - the slider */
.slider-container {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
	font-family: 'Signika', sans-serif;
	font-weight: bold;
}
#slider-container-chatbot {
  margin: 20px;
  justify-content: start;
}

/* The switch - the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-left: 120px;
}
.switch.red {
  margin-left: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: var(--color-notification-info);
}
.switch.red + .slider {
  background-color: var(--color-notification-info); /* Red color for the switch */
}
.switch.red input:checked + .slider {
  background-color: #992222; /* Red color for the switch */
}

.switch input:checked + .slider:before {
  transform: translateX(26px);
}

/* Toggle button */
.toggle-button {
	position: fixed;
	top: calc(51px + 50%);
	left: 274px; /* Places the button just outside the ticket list */
	transform: translateY(-50%);
	width: 16px;
	height: 60px;
	background-color: #ccc;
	color: white;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	border-radius: 0px 5px 5px 0px;
	transition: background-color 0.3s ease;
    z-index: 4;
}

/* Dropdown */

#body-box {
  position: absolute;
  top: 52px;
  width: 100%;
  bottom: 0px;
  font-family: 'Signika', sans-serif;
  border-radius: 0px 0px 15px 15px;
}
#dropdown-menus {
	position: absolute;
	left: 0;
	right: calc(100% - 274px);
	top: 0;
	bottom: 0;
	border-right: solid 1px #ccc;
	border-radius: 0px 0px 0px 15px;
	font-family: Signika, sans-serif;
	z-index: 3;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.dropdown-menus-header {
  display: flex;
    justify-content: flex-start;
    padding: 10px;
    font-size: 28px;
    text-align: left;
    font-weight: bold;
    cursor: default;
}
/* Collapsed state for the ticket list */
#dropdown-menus.collapsed {
	transform: translateX(-100%);
}

.dropdown-menus-header-div {
  position: absolute;
    z-index: 10;
    width: 100%;
    background: white;
    height: 120px;
}

.dropdown-menus-summary {
  font-weight: bold;
  padding: 5px;
  background-color: #e9e9e9;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.dropdown-menus-summary-div {
  overflow-y: auto;
  top: 120px;
  position: absolute;
  width: 100%;
  bottom: 0px;
  overflow-x: hidden;
}

.ticket {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  position: relative;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-left 0.25s ease;
}

/* Hover effect (lichte hint, niet te druk) */
.ticket:hover {
  background: #f4f8fc;
}

/* Geselecteerde ticket */
.ticket.selected {
  background: #eaf5ff !important; /* zachte highlight */
  border-left: 4px solid var(--color-action-primary-hover); /* jouw felle blauw */
}

.ticketheader {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #333;
  max-width: 200px;
  overflow-x: hidden;
}

.ticket:hover .multi-select-toggle {
  visibility: visible;
}

.ticket.multiselect-active .multi-select-toggle {
  visibility: visible;
}

.ticket div {
  margin-bottom: 5px;
}

.ticket div:nth-child(2) {
  color: #555;
  background-color: #eef;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.ticket div:nth-child(3) {
  color: #555;
}
.label-bubble {
    position: absolute;
    top: 6px;
    right: 8px;
    height: 24px;
    background-color: #ccc;
    border-radius: 10px;
    padding: 0 6px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 0 1px #fff;
}
.urgency {
 margin-right: 5px;
 white-space: nowrap;
}
/* Apply different colors for urgency levels */
.urgency-U3 {
  background-color: #77D077;
  padding: 5px;
  border-radius: 12px;
}

.urgency-U4 {
  background-color: #5EA8EC;
  padding: 5px;
  border-radius: 12px;
}

.urgency-U5 {
  background-color: #bbb;
  padding: 5px;
  border-radius: 12px;
}

.urgency-Advies, .dienst{
  padding: 5px;
  border-radius: 12px;
}

#form-screen {
	left: 274px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	border-radius: 0px 0px 15px 0px;
	overflow-y: auto ;
	scrollbar-width: none; /* Firefox */
	padding-bottom: 20px;
}
#form-screen::-webkit-scrollbar {
  width: 0;
}
#tag-select {
    margin-left: 10px;
    padding: 5px;
    /*background-color: var(--color-action-primary);*/
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Signika', sans-serif;
    transition: background-color 0.3s;
}
.tag-button {
	cursor: pointer;
}
.answer-library-div {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#concept-answer-div, #answer-library, #advice-library {
  display: none;
}

#advice-library-list {
    height: 280px;
    max-height: 280px;
    width: 100%;
    margin: 0px;
    padding: 0;
    overflow-x: hidden;
}

#concept-advice-grid {
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 10px; 
  flex: 1; 
  overflow-y: auto; 
  margin-bottom: 10px;
}
.advice-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
  max-width: 210px;
}

.advice-card:hover {
  background: #eef6ff;
}

.advice-card .emoji {
  font-size: 22px;
  margin-right: 5px;
}

.advice-card p {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#concept-advice-div {
    display: none;
    background-color: white;
    padding: 10px 20px;
    width: 80%;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 75%;
    flex-direction: column;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px;
    text-align: center;
    scrollbar-width: none;
    border-radius: 10px;
}
#concept-advice-overlay {
  display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 50px;
}
.answer-library-div h3 {
  margin: 0;
  margin-bottom: 10px;
  color: rgb(38, 75, 126);
  display: flex;
  justify-content: center;
}
#concept-advice-input {
    resize: none;
    font-family: Signika, sans-serif;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px;
    scrollbar-width: none;
    padding: 10px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    border-image: initial;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}
.concept-advice-buttons {
    margin-top: 10px;
    gap: 20px;
    display: flex;
    justify-content: center;
}
.concept-advice-buttons button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

/* Accept button */
#accept-concept-advice {
    background-color: var(--color-status-success);
    border-color: var(--color-status-success);
}
#accept-concept-advice:hover {
    background-color: var(--color-status-success);
    transform: translateY(-1px);
}

/* Decline button */
#decline-concept-advice {
    background-color: var(--color-status-danger);
    border-color: var(--color-status-danger);
}
#decline-concept-advice:hover {
    background-color: var(--color-status-danger);
    transform: translateY(-1px);
}
/* Decline button */
#save-concept-advice:hover {
    background-color: var(--color-action-primary-hover);
    transform: translateY(-1px);
}
.ticket-buttons {
	width: auto;
	height: auto;
  white-space: nowrap;
}
.tag-container {
    margin-top: 5px;
    display: flex;
}

/* Buttons hidden by default */
.tag-buttons {
    display: none; /* Initially hidden */
    flex-direction: row;
    gap: 10px;
    padding: 5px;
	opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(-150%);
}

.tag-buttons.visible {
    transform: translateX(0);
	opacity: 1;
}
#waiting-status-button {
  margin-left: 10px;
  background-color: var(--color-status-warning);
  border-color: var(--color-status-warning);
}

#waiting-status-button:hover {
  background-color:var(--color-status-warning);
  border-color:var(--color-status-warning);
}

#chat-buttons {
	display: flex;
	min-width: 10%;
  position: absolute;
  right: 0;
}
#invite-chat {
	height: 30px;
	text-align: center;
		font-weight: bold;
	font-size: 16px;
	cursor: pointer;
}

.primary-info, #vragenlijst, #chat {
	position: relative;
    padding: 10px;
/*    border: 1px solid #eaeaea; */
	background-color: #f9f9f9;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	width: 90%;
	margin: 0px auto;
	font-family: "Signika", sans-serif;
	box-sizing: border-box;
}

.primary-info {
    display: flex;
    flex-wrap: wrap; /* Allow the children to wrap below if there's not enough space */
    gap: 10px; /* Space between ticket details */
	margin-bottom: 20px;
	margin-top: 5px;
}

.dashboard-div {
	width: 100%;
    display: flex;
	flex-wrap: wrap;
}
.ticket-detail {
    flex: 1;
    min-width: 150px; /* Minimum width of each ticket-detail, adjust as needed */
    padding: 10px 10px 0 10px;; /* Padding inside each ticket-detail */
    box-sizing: border-box;
}

.ticket-detail label {
    display: block; /* Make the label take the full width and be above the span */
    font-weight: bold;
    margin-bottom: 5px; /* Space between label and span */
}

.ticket-detail span {
    display: block;
    float: left;
	clear: both;
}
.ticket-detail h4 {
	margin:0;
	padding:0;
	margin-bottom:5px;
	cursor: default;
}

#bsn, #birthdate {
	display: inline-block;
	margin-right: 10px;
	box-sizing: border-box;
	margin-bottom: 15px;
	width: 100%;
}
#birthdate {
  width: auto;
  margin-right: 5px;
}
#birthdate-header {
white-space: nowrap;
}
#bsn-button, #birthdate-button {
	display: inline-block;
	margin-left: 5px;
	cursor: pointer;
}
#birthdate-search-his {
margin-left: 5px;
}
.urgency-container {
    display: flex;
    gap: 10px; /* Space between the spans */
}

.waiting-icon {
  position: absolute;
  top: 6px;
  right: 12px;
}
#status-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  max-width: 270px;
  margin: 0 10px;
  margin-bottom: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 10px;
  box-sizing: border-box;
  background-color: #e9e9e9;
}

.status-bar-lock {
  font-size: 12px;
  margin-left: 2px;
}

#multi-ticket-toggle {
    margin-right: 16px !important;
    margin-left: 4px !important;
}

.multi-select-toggle, #multi-ticket-toggle {
	appearance: none;
	-webkit-appearance: none; /* For Safari */
	-moz-appearance: none;    /* For Firefox */
  width: 15px;
  height: 15px;
  min-width: 15px;
  max-width: 15px;
  min-height: 15px;
  max-height: 15px;
	border-radius: 4px;
	position: relative;
	vertical-align: middle;
	background-color: #eaeaea;
	border: 1px solid #808080;
	transition: background-color 0.3s ease;
  cursor: pointer;
  margin: 0;
  margin-left: 6px;
}

/* Style the checked state */
.multi-select-toggle:checked, #multi-ticket-toggle:checked {
	background-color: #007bff; /* Change this to the color you want for the checked box */
	border: none;
}

/* Add a checkmark using a pseudo-element */
.multi-select-toggle:checked::after, #multi-ticket-toggle:checked::after {
	content: '\2713';
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 10px;
	font-weight: bold;
	color: #eaeaea; /* Color of the checkmark */
}

.status-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ddd;
  font-size: 18px;
  transition: transform 0.15s ease, color 0.15s ease;
  position: relative;
  flex: 1;
}

.status-item .count {
  font-size: 13px;
  margin-left: 3px;
}

.status-item:hover {
  transform: translateY(-1px);
}

.status-item.active {
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* 🎨 Statuskleuren */
.status-item[data-status="open"]       { color: #bdbdbd; }   /* grijs */
.status-item[data-status="busy"]       { color: var(--color-notification-info); }   /* blauw */
.status-item[data-status="resolved"]   { color: var(--color-status-success); }   /* groen */
.status-item[data-status="waiting"]    { color: var(--color-status-warning); }   /* oranje */

.status-item[data-status="open"].active {
  color: #e0e0e0; /* iets lichtere grijs → duidelijk maar neutraal */
}

.status-item[data-status="busy"].active {
  color: #40c4ff; /* helder lichtblauw (accentkleur, goed zichtbaar) */
}

.status-item[data-status="resolved"].active {
  color: #3ddc84; /* fris medisch-groen, voelt “voltooid” aan */
}

.status-item[data-status="waiting"].active {
  color: var(--color-status-warning); /* warmgeel/oranje → energie, “in afwachting” */
}



#patient-language {
	background-color: var(--color-action-primary);
	color: white;
    border-radius: 12px;
    padding: 5px;
    font-size: 12px;
    text-align: center;
    width: 80%;
	margin: 0 auto 10px;
}
.patientquestion {
	padding: 10px;
	padding-top: 0;
	width: 100%;
	min-height: 120px;
}
#vragenlijst, #chat {
	display: flex;
	flex-direction: column;
	padding: 10px 20px 5px 20px;
	overflow: hidden;
}
#vragenlijst {
	font-size: 14px;
}
#chat {
	max-height: 490px;
	width: 54%;
}
.question-answer {
  margin-bottom: 20px; /* Space between each Q&A pair */
}

.question-answer label {
  font-weight: bold;
  display: block; /* Ensure labels are on their own line */
}

.question-answer .question {
  margin-left: 40px; /* Indent for the question text */
}

.question-answer .answer {
  margin-left: 40px; /* Indent for the answer text */
}

#chatai-button {
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 15px;
}
#answerlibrary-button, #add-new-card-btn {
    position: absolute;
    right: 19px;
    top: 10px;
    height: 24px;
    width: 34px;
    font-size: 13px;
    justify-content: center;
}
.variable-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
}
#close-variable-overlay {
  position: absolute;
  top: 50px; right: 30px;
  color: white;
}

.variable-hole {
  position: absolute;
  background: rgba(255,255,255,0.2); /* doorzichtig */
  border: 2px dashed #fff;
  cursor: pointer;
  border-radius: 5px;
  padding: 10px;
}

.message-box {
  flex-grow: 1;
  width: 100%;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  font-family: "Signika", sans-serif;
  font-size: 14px;
  padding: 5px 0 40px 0;
  background-color: white;
  border-radius: 4px;
  margin-bottom: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.message-box::-webkit-scrollbar {
  width: 0;
}
.chat-info-container {
	background-color: #eef;
    border-radius: 12px;
    padding: 5px;
    font-size: 12px;
    text-align: center;
    width: 80%;
    margin: 5px auto 10px auto;
}
.message-container-receiver {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  max-width: 100%;
}
.message-group-received {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  width: 100%;
  margin-right: 3px;
}
.message-group-received > div:last-child {
  flex-grow: 1;
}
.message-container-receiver > div:first-child > img {
  height: 25px;
  width: 25px;
  margin: auto 6px;
}
.message-received button {
  border: none;
  background: #EAEAEA;
  color: var(--color-action-primary);
  font-weight: bold;
  cursor: pointer;
}
.message-received button:hover {
  color: var(--color-action-primary-hover);
}
.message-sent button {
  border: none;
  background: var(--color-notification-info);
  color: #FFFFFF;
  font-weight: bold;
	cursor: pointer;
}
.message-sent button:hover {
  color: var(--color-action-primary);
}

.message-received {
  max-width: 75%;
  margin: 2px;
  display: flex;
  justify-content: space-between;
}
.message-received:last-child > .message-received-text {
  border-bottom-left-radius: 5px;
}
.message-timestamp {
	text-align: right;
	font-size: 10px;
	font-style: italic;
}
.message-read-status {
    margin-left: 5px;
    color: #fdcc4b;
}
.message-received-text {
  padding: 12px;
  padding-bottom: 5px;
  min-height: 20px;
  background: #eaeaea;
  border-radius: 12px;
  white-space: pre-wrap;
  font-family: 'Signika', sans-serif;
  font-size: 14px;
}
.message-group-sent {
  max-width: 100%;
  margin-bottom: 20px;
  text-align: right;
  margin-right: 6px;
}
.message-sent {
  max-width: 75%;
  display: flex;
  margin: 2px 0 2px auto;
}
.message-sent-text {
  background: var(--color-notification-info);
  border-radius: 12px 12px 5px 12px;
  min-height: 10px;
  padding: 12px;
  padding-bottom: 5px;
  margin-left: auto;
  color: #ffffff;
  white-space: pre-wrap;
  font-family: 'Signika', sans-serif;
  font-size: 14px;
}

.message-received-image {
  max-height: 300px;
  padding: 12px;
}
.message-link , .qr-button{
    margin-left: auto;
    font-size: 20px;
}
.qr-container {
    position: absolute;
    display: none;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
#specific-advice-button:disabled {
  background: #cccccc; /* Disabled background */
  color: #666666; /* Disabled text color */
  cursor: not-allowed; /* Change cursor to indicate the button is disabled */
}
.calendar-container {
	width: 100%;
	padding-top: 20px;
	border-top: 1px solid #ccc;
	margin-top: 10px;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
	font-family: 'Signika', sans-serif;
	color: var(--color-action-primary);
}

.calendar-nav {
    background-color: var(--color-highlight-accent);
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.calendar-nav:hover {
    background-color: var(--color-action-primary-hover);
}

.calendar-grid {
    display: grid;
    grid-template-columns: 10px repeat(7, 1fr); /* 7 days + 1 column for week numbers */
    gap: 5px;
    padding: 10px;
    font-family: 'Signika', sans-serif;
}

.patientdiv {
	width: 47%;
	margin-right: 10px;
}

#patientcalendar {
	text-align: center;
	margin-left: 10px;
}

#chatbot-variables-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

#chatbot-options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.chatbot-field label {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}

.chatbot-field input,
.chatbot-field textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#save-chatbot-variables {
  margin-left:10px;
}

.chat-placeholder {
	height: 211px;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 5px;
    opacity: 0.6;
}
#invite-placeholder, #loading-placeholder {
  height: 300px;
	opacity: 1;
}
#vragenlijst-header {
	display: flex; 
	align-items: center; 
	cursor: pointer; 
	user-select: none;
}
#vragenlijst-header h2 {
	margin-top: 5px;
}
#vragenlijst-content {
	overflow: hidden; 
	transition: max-height 0.3s ease-out;
}

#qrcode {
	width: 200px;
	margin-right: auto;
	margin-left: auto;
}
.input-qr {
 	display: flex;
	justify-content: space-around;
	align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
}
@media (max-width: 950px) {
	.ticket-detail {
		min-width: 140px;
	}	
}

/* ================================================
   3. SPRAAKHERKENNING MODULE
      (consult, transcript, SOEP, feedback, audio)
   ================================================ */

#timer {
	display:none;
	font-size: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--color-highlight-accent);
}
#calibrate-countdown {
	color: white;
}
#threshold-display {
	font-size: 18px;
	font-weight: bold;
	color: var(--color-action-primary);
}
.audio-wave-div {
    display: flex;
    align-items: center;
    gap: 10px;
}
#audio-wave-div {
	display: none;
}
#calibration-wave-div {
	margin-bottom: 20px;
}
#consult-loading {
	color: var(--color-action-primary);
	font-size: 20px;
}
#audio-visualizer {
    width: 100px;
    height: 35px;
    border-radius: 5px;
	border: 2px solid var(--color-action-primary);
}
#calibration-visualizer {
    border-radius: 5px;
	border: 2px solid var(--color-action-primary);
}
#spraakherkenning-container, #spraakherkenning-container-settings{
justify-content: center;
	display: none;
}

#spraakherkenning-switch {
	display: inline-flex;
	margin-left: 0;
}

/* The Modal (background) */
#generic-modal {
	display:none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  font-family: "Signika", sans-serif;
}

#add-button, #consult-button {
	max-height: 16px;
	width: auto;
	margin-left: auto;
	padding: 8px;
}

.urgency-span, .urgency-span-audio {
	font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
	cursor: pointer;
	opacity: 0.5; /* Dark/deselected */
	transition: opacity 0.3s, transform 0.2s;
}

.urgency-span.selected, .urgency-span-audio.selected {
    opacity: 1; /* Bright/selected */
    transform: scale(1.1); /* Slightly enlarge selected */
}
#POH-Somatiek {
	background-color: var(--color-status-danger);
}
.source:hover {
  background-color: #f9f9f9;
}

.source-advice-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 10px;
}

.source-advice-complaint {
  font-weight: 500;
  color: #333;
}

.source-advice-tags {
  margin-left: 6px;
  font-size: 12px;
  color: #999; /* lichtgrijs */
  text-wrap: nowrap;
}


#consult-flag {
	display: none;
  margin-right: 0;
  align-items: center;
}
#submit-feedback {
    background: orange;
    color: white;
}

#cancel-feedback {
    background: #ccc;
}

#resolved:hover, #open-his-modal:hover {
	background: var(--color-action-primary-hover);
	border-color: var(--color-action-primary-hover);
    transition: background-color 0.3s ease;
}

#open-his-modal {
	margin-left: 5px;
	background: var(--color-action-primary);
    border-color: var(--color-action-primary);
    color: #ffffff;
    cursor: pointer;
}
#primary-info-consult {
	display: none;
}
#ai-consent-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Signika', sans-serif;
    width: 70%;
    margin: 20px auto;
    max-width: 600px;
}

#ai-consent-container p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#ai-consent-container ul {
    padding-left: 20px;
    list-style-type: none;
}

#ai-consent-container li {
    font-size: 16px;
    margin-bottom: 10px;
    align-items: flex-start;
}

#ai-consent-container li::before {
    content: "✔";
    color: var(--color-notification-info);
    font-weight: bold;
    margin-right: 10px;
}

#ai-consent-container label {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    color: #444;
}

#ai-consent-checkbox {
	appearance: none;
	-webkit-appearance: none; /* For Safari */
	-moz-appearance: none;    /* For Firefox */
	width: 20px;
	min-width: 20px;
	height: 20px;
	border-radius: 4px;
	position: relative;
	vertical-align: middle;
	background-color: #eaeaea;
	border: 1px solid #808080;
	transition: background-color 0.3s ease;
	margin-right: 12px;
    cursor: pointer;
}

/* Style the checked state */
#ai-consent-checkbox:checked {
	background-color: #007bff; /* Change this to the color you want for the checked box */
	border: none;
}

/* Add a checkmark using a pseudo-element */
#ai-consent-checkbox:checked::after {
	content: '\2713';
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 16px;
	font-weight: bold;
	color: #eaeaea; /* Color of the checkmark */
}

/* Add hover effect for clarity */
#ai-consent-container label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #222;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
	margin-top: 30px;
}

#ai-consent-container label:hover {
    color: var(--color-action-primary-hover);
}
#feedback-consult {
display: none;
}
#feedback-container {
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin: auto;
    font-family: 'Arial', sans-serif;
}

#feedback-container h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

/* Grid for two-column layout */
.feedback-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Column styles */
.feedback-column {
    flex: 1;
    min-width: 320px; /* Ensures responsiveness */
}

/* General feedback section styling */
.feedback-section {
    margin-bottom: 20px;
    text-align: center;
}

.feedback-section p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.feedback-btn {
    padding: 8px 12px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: background 0.2s;
    color: white;
}

.feedback-btn.yes {
    background-color: #4CAF50;
}

.feedback-btn.yes:hover {
    background-color: #3e8e41;
}

.feedback-btn.no {
    background-color: var(--color-status-danger);
}

.feedback-btn.no:hover {
    background-color: #b71c1c;
}

.feedback-btn {
    background-color: #007BFF;
}

.feedback-btn:hover {
    transform: scale(1.05);
}

/* Star rating styles */
.feedback-btn.stars { background-color: #FFA500; }


#feedback-text {
    width: 100%;
    height: 40px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}

.record-container {
	width: auto;
    justify-content: flex-end;
    display: flex;
	align-items: center;
	margin-left: auto;
}
#startRecording, #stopRecording {
	margin: 5px;
	display: none;
}
.recording-status {
	width: 15px;
	height: 15px;
	background-color: red;
	border-radius: 50%;
	opacity: 0;
	animation: pulse 1s infinite;
	margin-right: 2px;
}
.recording-status.active {
	opacity: 1;
}

#audio-app {
	z-index: 10;
	display: none;
}
#button-input-bar-audio header {
	margin-right: 20px;
}
#startRecording-audio, #stopRecording-audio {
	margin: 5px;
}
.recording-status-audio {
	width: 15px;
	height: 15px;
	background-color: red;
	border-radius: 50%;
	opacity: 0;
	animation: pulse 1s infinite;
	margin-right: 2px;
}
.recording-status-audio.active {
	opacity: 1;
}
#chatai-button-audio {
	margin-right: 25px;
}
.edit-input-audio {
    width: 100%;
    height: auto;
    resize: none;
    font-family: 'Signika', sans-serif;
    padding: 5px;
    border-radius: 10px;
    font-size: 14px;
	box-shadow: 0 0 5px rgb(0, 0, 0, 0.1);
    border: none;
}
#transcript-audio h3 {
	width: 100%;
}
#transcript-text-audio {
	margin: 0;
    margin-left: 10px;
}
.blue-button {
    display: inline-flex; /* Makes the button flex to align image and text nicely */
    align-items: center; /* Aligns items vertically in the center */
    padding: 7px; /* Adds some padding inside the button */
    cursor: pointer; /* Changes the mouse cursor to pointer to indicate it's clickable */
    border: 1px solid var(--color-action-primary); /* Adds a subtle border to the button */
    background-color: var(--color-action-primary); /* Sets the background color of the button */
    border-radius: 6px; /* Rounds the corners of the button */
	font-family: 'Signika', sans-serif;
	font-weight: bold;
	color: white;
	font-size: 16px;
  transition: background-color 0.2s ease , color 0.2s ease, border-color 0.2s ease, font-weight 0.2s ease;
}
.white-button {
    display: inline-flex; /* Makes the button flex to align image and text nicely */
    align-items: center; /* Aligns items vertically in the center */
    padding: 8px; /* Adds some padding inside the button */
    cursor: pointer; /* Changes the mouse cursor to pointer to indicate it's clickable */
    border: 1px solid var(--color-action-primary); /* Adds a subtle border to the button */
    background-color: #fff; /* Sets the background color of the button */
    border-radius: 6px; /* Rounds the corners of the button */
	font-family: 'Signika', sans-serif;
	color: var(--color-action-primary);
	font-size: 16px;
  transition: background-color 0.2s ease , color 0.2s ease, border-color 0.2s ease, font-weight 0.2s ease;
}
.regenerate-single-button {
	margin-left: 10px;
	display: none;
}
#sources-button {
    height: 36px;
    width: 36px;
    font-size: 18px;
    margin-right: 5px;
    align-items: center;
    justify-content: center;
}
.source {
	padding: 6px 8px;
    border-bottom: 1px solid #ccc;
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
	font-size: 14px;
	color: black;
}
.source div:nth-child(4) {
	margin-left: 10px;
}

#sources-list-consult {
    -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#sources-list-consult::-webkit-scrollbar {
  display: none;
}
#sources-list-consult div:nth-child(1) .tooltip {
	bottom: -125%;
}
#sources-list-consult div:nth-child(1) .tooltip::after {
	bottom: 100%;
    top: unset;
    border-color: transparent transparent #333 transparent;
}

.generic-modal-content {
    height: auto;
    padding: 0px 15px 15px 15px;
    width: 47%;
    background: white;
    border-radius: 15px;
    border-top: 1px solid #ccc;
    margin-top: 10px;
}

.generic-modal-header {
  display: flex;
  align-items: center;
}
#consult-patientid {
	margin: 0;
    margin-right: 5px;
    color: white;
}
#sources-consult {
	width: 100%;
}
.search-bar-sources {
	width: 100%;
    height: 30px;
    font-family: "Signika", sans-serif;
    padding-left: 10px;
    border: solid 1px #ccc;
	border-radius: 4px 4px 0 0;
}
.sources-list {
	height: 140px;
	margin-bottom: 5px;
	background-color: #ffffff;
	border-radius: 0 0 4px 4px;
	border: 1px solid #ccc;
	border-top: none;
	overflow-y: auto;
}
.source-image {
	height: 30px;
	width: auto;
	margin-right: 10px;
}
#specific-advice-button, #manual-search-button, #send-to-his-assistant {
  margin-left: 10px;
  font-size: 12px;
}
#unreadMessageBadge {
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 16px;
	padding: 8px; /* Adds some padding inside the button */
	background-color: var(--color-notification-info);  /* Blue background for unread messages */
	margin-left: 10px;
	color: white;
	text-align: center;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	transition: transform 0.2s ease-in-out;
	font-weight: bold;
}
#consult-app {
	display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
#consult-app::-webkit-scrollbar {
  width: 6px;
}
#consult-app::-webkit-scrollbar-thumb {
  background-color: rgba(38, 75, 126, 0.4);
  border-radius: 4px;
}
#consult-app::-webkit-scrollbar-track {
  background: transparent;
}

#button-input-bar-consult header {
	margin-right: 20px;
}

#consult-language-select {
	width: auto;
}
#soep-format-select {
	margin-left: auto;
	width: 95px;
	height: auto;
}
#analyse {
	width: 48%;
    display: flex;
    flex-wrap: wrap;
    height: 95%;
    margin: 0px 10px;
}
#episodesnumber {
    width: 30px;
    height: 30px;
    text-align: end;
    border: 3px solid var(--color-action-primary);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 2px;
    color: var(--color-action-primary);
    font-weight: bold;
    font-size: 22px;
    background-color: transparent;
}

#episodesnumber::-webkit-outer-spin-button,
#episodesnumber::-webkit-inner-spin-button {
	cursor: pointer;
}
#episodes-btn {
	border-radius: 0 6px 6px 0;
}
#analyse-tabs, #settings-tabs {
	display: flex;
    width: 100%;
    border-bottom: 1px solid #ccc;
	margin-top: 5px;
}
.analyse-tab, .settings-tab {
	padding: 2px 10px 2px 10px;
    color: #ccc;
	cursor: pointer;
}
.analyse-tab.selected, .settings-tab.selected {
	border-bottom: 2px solid var(--color-action-primary);
    color: var(--color-action-primary);
}

#tetra-settings, #practice-settings-tab-content, #links-tab-content {
  display: none;
}
#save-tetra-settings {
  margin-left: 10px;
}
.soep {
	display: flex;
    flex-wrap: wrap;
	width: 40%;
    box-shadow: 0 0 5px rgb(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    margin: 0 10px;
}

#soep-audio {
	width: 100%;
}
#finish-consult, #save-consult, #cancel-consult, #delete-consult, #cancel-feedback-consult, #send-to-his, #consult-patientid, #search-patient-consult, #open-his-modal, #birthdate-search-his {
	display: none;
}

#save-consult, #cancel-consult {
  border-radius: 0 6px 6px 0;
}

#search-patient-consult {
  margin-left: 5px;
}

#cancel, #send-to-his{
  border-radius: 6px 0 0 6px;
  border-right-color: white;
}

#delete-consult {
	background-color: #992222;
    border-color: #992222;
    margin-left: 5px;
}
#delete-consult:hover {
	background-color: #B94C4C;
    border-color: #B94C4C;
}
#saved-consults {
	display: none;
}
.consult {
  padding: 10px 10px 5px 10px;
	cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.consult.disabled {
	opacity: 0.5;
}

.consult div {
  margin-bottom: 5px;
}

.consult div:first-child {
  font-weight: bold;
  color: #333;
}

.consult div:nth-child(2) {
  color: #555;
  background-color: #eef;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.consult div:nth-child(3) {
  color: white;
  background-color: var(--color-highlight-soft);
  padding: 5px;
  border-radius: 12px;
}
.hoofdklacht {
    color: white;
    transition: color 0.1s ease;
}
.hoofdklacht.rood {
    color: #B00020 !important;
	font-weight: bold;
}
#consult-soep {
	display: flex;
    flex-wrap: wrap;
	margin-top: 10px;
}
#consult-personalisation {
    display: flex;
    flex-wrap: wrap;
    max-width: 42em;
    padding: 20px 25px;
    overflow-y: auto;
}

#close-personalisation {
  	color: var(--color-action-primary);
    cursor: pointer;
    font-size: 28px;
}
#consult-buttons {
  display: flex;
  align-items: center;
}
.consult-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: auto;
    border-radius: 0px 5px 5px 0px;
    border: 1px solid #ccc;
    border-left: 0;
	cursor: grab;
    transition: background-color 0.3s ease;
}
.consult-button:hover {
	background: #d0d0d0;
	border-color: #d0d0d0;
}
.consult-info {
	display: flex;
    flex-wrap: wrap;
    width: 48%;
	flex-direction: column;
	height: auto;
  position: relative;
}
.consult-info h2 {
	margin: 10px 0;
}
#transcript-consult {
	width: 98.5%;
}
#transcript-consult h2.SOMhidden {
    border-bottom: 1px solid #ccc;
    padding-bottom: 29.5px;
	margin-bottom: 20px;
}
#toggleSOMdiv {
    position: absolute;
    top: 2%;
    right: 2%;
    font-size: 25px;
    z-index: 1;
}
#toggleSOM {
    cursor: pointer;
    color: var(--color-action-primary);
    transition: color 0.2s ease;
}
#sources-consult h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 29.5px;
	margin-bottom: 20px;
}

#consult-chat {
	height: 211px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	border: solid 1px #ccc;
	padding: 5px 10px;
	width: 98.5%;
	border-radius: 5px;
}
#message-box {
	min-height: 225px;
}
#startRecording-consult, #stopRecording-consult {
	margin: 5px;
	margin-right: 25px;
  white-space: nowrap;
}
.recording-status-audio {
	width: 15px;
	height: 15px;
	background-color: red;
	border-radius: 50%;
	opacity: 0;
	animation: pulse 1s infinite;
	margin-right: 2px;
}
.recording-status-audio.active {
	opacity: 1;
}
#chatai-button-consult {
  margin-left: auto;
  border-radius: 6px 0 0 6px;
  border-right-color: white;
}
.summary-audio {
    padding: 10px;
    width: 100%;
    height: auto;
    flex-direction: row;
    display: flex;
    align-items: center;
}
.personalisation-row {
  justify-content: space-between;
  padding: 15px 10px;
  flex-direction: column;
  width: 100%;
  display: flex;
}
.subtext {
    margin: 0;
    margin-bottom: 15px;
    color: #787878;
}
#personalisation-button-consult {
  border-radius: 0 6px 6px 0;
}
.personalisation-row button {
    width: 15em;
    justify-content: center;
}
.button-spacer {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.soep-letter {
	font-size: 30px;
    font-weight: bold;
    padding-right: 10px;
	cursor: default;
}

.personalisation-letter {
    font-size: 1.3em !important;
    padding-bottom: 5px !important;
}
.edit-input-consult {
    width: 100%;
    height: 87px;
    resize: none;
    font-family: 'Signika', sans-serif;
    padding: 5px;
	border-radius: 5px 0 0 5px;
    font-size: 14px;
    box-shadow: 0 0 5px rgb(0, 0, 0, 0.1);
    border: 1px solid #ccc;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.personalisation-input {
  height: auto !important;
}

#soep-personalisation-div {
  justify-content: center;
  align-items: center;
}

.edit-input-consult::-webkit-scrollbar {
  display: none;
}
#edit-input-evaluatie-consult {
	background: none;
	border-radius: 5px;
    height: auto;
	width: calc(100% - 10px);
}
.evaluatie-area {
	height: auto;
	min-height: 80px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px 0 0 5px;
    z-index: 1;
}
.meetwaarde-input {
    border: none;
    background: none;
    resize: none;
    overflow: hidden;
    font-weight: bold;
    font-size: 14px;
    margin-left: 6px;
    min-width: 20px;
    max-width: 50px;
    height: 19.2px;
    white-space: nowrap;
    font-family: 'Signika', sans-serif;
}
#consult-area {
  display: flex;
  flex-direction: column;
}
#meetwaarden-div {
  display: none;
  margin-top: 5px;
}
#edit-input-objectief-consult {
    background: none;
    border-radius: 5px;
    height: auto;
    width: calc(100% - 10px);
    display: flex;
    flex-grow: 1;
    min-height: 50px !important;
}
.suggestions {
max-height: 150px;
    overflow-y: auto;
    background: white;
    width: calc(100% + 5px);
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.suggestions::-webkit-scrollbar {
  display: none;
}
.suggestion-item {
	padding: 8px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    background-color: #f0f0f0;
    margin-bottom: 5px;
    width: calc(100% - 20px);
}
.suggestion-item:hover {
	background-color: #d0d0d0;
}
.code-block {
	background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
	margin-right: 5px;
	margin-bottom: 2px;
    margin-top: 2px;
	cursor: grab;
}
.icpc-div {
	display: flex;
	flex-wrap: wrap;
}
#icpc-search-bar {
    height: 20px;
    min-width: 160px;
    width: 30%;
	background: none;
    border-radius: 5px;
	margin-right: 5px;
}
#icpc-search-bar-assistant, #episode-title-input {
	height: auto;
    margin: 5px 0;
    border-radius: 5px;
}
.transcript-message-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0;
    padding-bottom: 2px;
    font-family: 'Signika', sans-serif;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ccc;
}

.transcript-dot {
    height: 8px;
	min-width: 8px;
    width: 8px;
    background-color: var(--color-notification-info);
    border-radius: 50%;
    margin-right: 10px;
}

.transcript-text {
    flex-grow: 1; /* Take up remaining space */
    text-align: left; /* Align text to the left */
    color: #333;
}
.transcript-text[contenteditable="true"]:hover {
    border: 1px dashed var(--color-action-primary);
    outline: none;
}

.transcript-timestamp {
    margin-left: 10px;
    font-size: 12px;
    font-style: italic;
    color: #888;
}
