/* ================================================
   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: var(--color-action-primary);
    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%;
}