@media (min-width: 768px) {
  .ingelogde-klant-container {
    margin-left: 200px;
    width: auto;
  }
}
.ingelogde-klant-container {
  margin-bottom: 90px;
}

#eventsTable td {
  min-width: 120px;
}

body {
  font-size: 14px;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 14px;
}

p {
  font-size: 14px;
}

small {
  font-size: 12px;
}

body {
  font-family: "Inter", sans-serif !important;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

#content {
  margin-left: 200px;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  #content {
    margin-left: 0 !important;
    width: 100%;
    max-width: 100vw;
    padding: 12px;
    padding-bottom: 96px;
    overflow-x: hidden;
  }
}
.styled-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.styled-table {
  border-collapse: collapse;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9em;
  min-width: 400px;
  width: 100%;
  border: 1px solid #dddddd;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .styled-table {
    min-width: unset;
    font-size: 0.8em;
  }
}
.styled-table th, .styled-table td {
  padding: 6px 7px;
}
.styled-table thead tr {
  color: black;
  text-align: left;
}
.styled-table thead tr th:first-child {
  border-top-left-radius: 4px; /* Round top-left corner */
}
.styled-table thead tr th:last-child {
  border-top-right-radius: 4px; /* Round top-right corner */
}
.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}
.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
.styled-table tbody tr:nth-of-type(even) td {
  background-color: #f3f3f3 !important;
}
.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #1d78c0;
}
.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #1d78c0;
}
.styled-table tbody tr:last-child {
  border-bottom-left-radius: 4px;
}
.styled-table tbody td:first-child {
  border-bottom-left-radius: 4px;
}

button {
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}
.form-field {
  margin-bottom: 10px;
}
.form-field label {
  display: block;
  margin-bottom: 5px;
}
.form-field input[type=text],
.form-field input[type=date],
.form-field input[type=number],
.form-field textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.form-field input[type=submit] {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
}
.form-field .form-error {
  color: #f00;
  font-size: 12px;
  margin-top: 5px;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px; /* Adjust this value as needed */
}

.btn-group {
  display: flex;
  gap: 10px;
}

.ts-btn {
  background: #F5F6FA;
  box-shadow: 2px 4px 10px 0px rgba(0, 0, 0, 0.1019607843);
}
.ts-btn:hover {
  background: #eceefb !important;
}

.right-align-bottom {
  display: flex;
  justify-content: flex-end; /* Verplaatst de inhoud naar rechts */
  align-items: flex-end; /* Verplaatst de inhoud naar de onderkant van de div */
  height: 100%; /* Zorgt ervoor dat de div volledig benut wordt voor positionering */
}

.search-box {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1019607843);
  width: 400px;
}

.searchbar {
  border: none;
  padding: 10px;
  width: 100%;
}

.rowsperpage {
  margin-left: 10px;
  height: 44px;
}
.rowsperpage select {
  height: 100%;
  border: none;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1019607843);
}

.align-bottom-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.pagination, .pagenationPROJ {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.pagination a, .pagenationPROJ a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.pagination a:hover, .pagenationPROJ a:hover {
  background-color: #f0f0f0;
}
.pagination a.active, .pagenationPROJ a.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.sectionhead {
  padding: 20px;
}

.fc-header-toolbar {
  padding-left: 20px;
  padding-right: 20px;
}

tr.status-vervallen {
  text-decoration: line-through !important;
}

.filter-button-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.filter-button-container form {
  margin-right: 1rem;
}
.filter-button-container button {
  margin-left: 1rem;
}

.dashboard-icon {
  content: url("../../images/icons/graph.webp");
}

.projects-icon {
  content: url("../../images/icons/project.webp");
}

.client-icon {
  content: url("../../images/icons/client.webp");
}

.product-icon {
  content: url("../../images/icons/tag.webp");
}

.werknemers-icon {
  content: url("../../images/icons/badge.webp");
}

.diensten-icon {
  content: url("../../images/icons/gears.webp");
}

.uren-icon {
  content: url("../../images/icons/clock.webp");
}

.kilometer-icon {
  content: url("../../images/icons/indicator.webp");
}

.boekhouding-icon {
  content: url("../../images/icons/book.webp");
}

.cron-icon {
  content: url("../../images/icons/task.webp");
}

.werknemerbadge-icon {
  content: url("../../images/icons/werknemerbadge.webp");
}

.archive-icon {
  content: url("../../images/icons/archive.webp");
}

.plusperson-icon {
  content: url("../../images/icons/plusperson.webp");
}

.threedots-icon {
  content: url("../../images/icons/threedots.webp");
}

.nav-item:hover .dashboard-icon {
  content: url("../../images/icons/graph_blue.webp");
}

.nav-item:hover .projects-icon {
  content: url("../../images/icons/project_blue.webp");
}

.nav-item:hover .client-icon {
  content: url("../../images/icons/client_blue.webp");
}

.nav-item:hover .product-icon {
  content: url("../../images/icons/tag_blue.webp");
}

.nav-item:hover .werknemers-icon {
  content: url("../../images/icons/badge_blue.webp");
}

.nav-item:hover .diensten-icon {
  content: url("../../images/icons/gears_blue.webp");
}

.nav-item:hover .uren-icon {
  content: url("../../images/icons/clock_blue.webp");
}

.nav-item:hover .kilometer-icon {
  content: url("../../images/icons/indicator_blue.webp");
}

.nav-item:hover .boekhouding-icon {
  content: url("../../images/icons/book_blue.webp");
}

.nav-item:hover .cron-icon {
  content: url("../../images/icons/task_blue.webp");
}

.invoice-icon {
  content: url("../../images/icons/invoice-black.png");
}

.nav-item:hover .invoice-icon {
  content: url("../../images/icons/invoice-blue.png");
}

#navbar {
  margin-top: 0;
  position: fixed;
  top: 82px;
  left: 0;
  width: 200px;
  height: calc(100vh - 82px);
  background-color: #FFFFFF;
  padding: 7px 7px 10px;
  color: #000000;
  font-size: 13px;
  box-shadow: 2px 0px 20px 0px rgba(0, 0, 0, 0.1019607843);
  box-sizing: border-box;
  overflow: visible;
  z-index: 998;
  scrollbar-width: thin;
  scrollbar-color: #d0d5dd transparent;
}
#navbar::-webkit-scrollbar {
  width: 8px;
}
#navbar::-webkit-scrollbar-thumb {
  background: #d0d5dd;
  border-radius: 999px;
}
#navbar.collapsed {
  width: 50px;
  padding: 7px 6px 10px !important;
}
#navbar.collapsed #toggleMenu {
  left: 36px;
}
#navbar.collapsed .nav-section-title,
#navbar.collapsed .nav-plugin-name,
#navbar.collapsed .nav-plugin-chevron,
#navbar.collapsed .nav-plugin-pages,
#navbar.collapsed ul li a span {
  display: none;
}
#navbar.collapsed ul li {
  margin-bottom: 2px;
}
#navbar.collapsed ul li a,
#navbar.collapsed .nav-plugin-toggle {
  justify-content: center;
  gap: 0;
  min-height: 34px;
  padding: 7px 0;
}
#navbar.collapsed .nav-item a > i,
#navbar.collapsed .nav-plugin-icon,
#navbar.collapsed .nav-fallback-icon {
  flex-basis: 24px;
  margin: 0;
}
#navbar img {
  width: 100%;
}
#navbar ul {
  list-style: none;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0 2px 0 0;
  scrollbar-width: thin;
  scrollbar-color: #d0d5dd transparent;
}
#navbar ul::-webkit-scrollbar {
  width: 6px;
}
#navbar ul::-webkit-scrollbar-thumb {
  background: #d0d5dd;
  border-radius: 999px;
}
#navbar ul li {
  display: block;
  margin-bottom: 2px;
}
#navbar ul li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 8px;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#navbar ul li > a:hover {
  background: #f2f7ff;
  color: #0b5ed7;
}
#navbar ul li.active > a {
  background: #eef4ff;
  color: #0b5ed7;
  font-weight: 600;
}
#navbar .nav-item a > i,
#navbar .nav-plugin-icon,
#navbar .nav-fallback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 20px;
  height: 20px;
  color: #667085;
  font-size: 14px;
}
#navbar .nav-item.active a > i,
#navbar .nav-item a:hover > i,
#navbar .nav-plugin-group.active .nav-plugin-icon,
#navbar .nav-plugin-toggle:hover .nav-plugin-icon {
  color: #0b5ed7;
}
#navbar .nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
#navbar .nav-section-title {
  margin: 12px 7px 5px;
  color: #98a2b3;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#navbar .nav-plugin-group {
  display: block;
  margin-bottom: 2px;
}
#navbar .nav-plugin-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1f2937;
  font: inherit;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#navbar .nav-plugin-toggle:hover {
  background: #f2f7ff;
  color: #0b5ed7;
}
#navbar .nav-plugin-group.active .nav-plugin-toggle {
  background: #eef4ff;
  color: #0b5ed7;
  font-weight: 600;
}
#navbar .nav-plugin-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#navbar .nav-plugin-chevron {
  margin-left: auto;
  color: #667085;
  font-size: 11px;
  transition: transform 0.2s ease;
}
#navbar .nav-plugin-toggle:not(.collapsed) .nav-plugin-chevron {
  transform: rotate(180deg);
}
#navbar .nav-plugin-pages {
  margin: 2px 0 5px 27px;
  padding: 2px 0 2px 8px;
  border-left: 1px solid #d0d5dd;
}
#navbar .nav-plugin-page {
  display: block;
  min-height: 0;
  padding: 5px 7px;
  border-radius: 6px;
  color: #475467;
  font-size: 12.5px;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}
#navbar .nav-plugin-page:hover, #navbar .nav-plugin-page.active {
  background: #f8fbff;
  color: #0b5ed7;
  font-weight: 600;
}

#toggleMenu {
  position: fixed;
  top: calc(82px + 9px);
  left: 184px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #eef2f6;
  color: #344054;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  z-index: 1001;
}
#toggleMenu:hover {
  background-color: #e0e7ff;
  color: #0b5ed7;
}

#topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 14px;
  height: 82px;
  background-color: #eef0fd;
  gap: 12px;
  max-width: 100%;
  box-sizing: border-box;
}

.topbar-side {
  width: 200px;
  min-width: 0;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
}

.topbar-brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.topbar-brand-logo {
  display: block;
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
}

.topbar-brand-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.topbar-brand-title {
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-brand-title:hover {
  color: #0b5ed7;
}

.topbar-brand-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #667085;
  font-size: 11px;
}
.topbar-brand-links a {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-brand-links a:hover {
  color: #0b5ed7;
}

.topbar-brand-separator {
  color: #98a2b3;
}

.topbar-side-right {
  justify-content: flex-end;
}

.topbar-storage {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475467;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.topbar-storage:hover .topbar-storage-circle,
.topbar-storage.show .topbar-storage-circle {
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08), 0 0 0 3px rgba(13, 110, 253, .12);
}

.topbar-storage-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(var(--storage-color) var(--storage-percent), #e5e7eb 0);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
  flex: 0 0 42px;
}

.topbar-storage-circle span {
  color: #111827;
  font-size: 10px;
  font-weight: 700;
}

.topbar-storage-circle .topbar-storage-alert {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.topbar-storage-text {
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-usage-menu {
  width: min(360px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  overflow: hidden;
}

.topbar-usage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #eef2f6;
}

.topbar-usage-title {
  color: #101828;
  font-size: 14px;
  font-weight: 700;
}

.topbar-usage-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
}

.topbar-usage-subtitle span {
  padding: 2px 6px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar-usage-link {
  color: #0b5ed7;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.topbar-usage-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
}

.topbar-usage-breakdown div {
  min-width: 0;
}

.topbar-usage-breakdown span,
.topbar-usage-row-head span {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 600;
}

.topbar-usage-breakdown strong {
  display: block;
  margin-top: 3px;
  color: #101828;
  font-size: 13px;
}

.topbar-usage-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.topbar-usage-row {
  min-width: 0;
}

.topbar-usage-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.topbar-usage-row-head strong {
  flex: 0 0 auto;
  color: #101828;
  font-size: 12px;
  font-weight: 700;
}

.topbar-usage-row-head strong span {
  color: #667085;
  font-weight: 600;
}

.topbar-usage-bar {
  height: 7px;
  border-radius: 999px;
  background: #eef2f6;
  overflow: hidden;
}

.topbar-usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.topbar-main {
  min-width: 0;
}

.topbar-search {
  width: 50%;
  min-width: 280px;
  max-width: 600px;
}

.topbar-notification-menu {
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
}

.search-box {
  position: relative;
  width: 300px;
}

#topbar .topbar-search {
  width: 50%;
  min-width: 280px;
  max-width: 600px;
}

.result-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 1000;
  display: none;
}
.result-dropdown .search-item {
  padding: 10px;
  cursor: pointer;
}
.result-dropdown .search-item:hover {
  background-color: #f2f2f2;
}

.boekhoudingnav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 2px solid #e2e2e2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.boekhoudingnav a {
  text-decoration: none;
  color: #007bff;
  padding: 10px 15px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}
.boekhoudingnav a:hover {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}
.boekhoudingnav a:active {
  background-color: #0056b3;
  color: #fff;
}
.boekhoudingnav a.selected {
  background-color: #007bff;
  color: #fff;
}

#search-input {
  border: none;
  padding: 10px;
  width: 100%;
}

#bottom-navbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 74px;
  background-color: #ffffff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
}

#navbar-container {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  gap: 2px;
}

#bottom-navbar .nav-item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #344054;
  text-align: center;
  text-decoration: none;
  line-height: 1.1;
}

#bottom-navbar .nav-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 19px;
}

#bottom-navbar .nav-item img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

#bottom-navbar .nav-item span {
  display: block;
  max-width: 100%;
  color: inherit;
  font-size: 10.5px;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bottom-navbar .nav-item.active,
#bottom-navbar .nav-item:hover,
#bottom-navbar .mobile-menu-trigger {
  background: #eef4ff;
  color: #0b5ed7;
}

#bottom-navbar .mobile-menu-trigger {
  cursor: pointer;
}

.mobile-nav-offcanvas {
  height: min(78vh, 680px) !important;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.mobile-nav-offcanvas .offcanvas-body {
  overflow-y: auto;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.mobile-nav-section + .mobile-nav-section {
  margin-top: 20px;
}

.mobile-nav-section-title {
  margin-bottom: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav-link,
.mobile-plugin-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #ffffff;
  color: #101828;
  text-decoration: none;
}

.mobile-nav-link.active,
.mobile-nav-link:hover,
.mobile-plugin-link:hover {
  border-color: #b2ccff;
  background: #eff6ff;
  color: #0b5ed7;
}

.mobile-nav-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mobile-nav-link span,
.mobile-plugin-link {
  overflow-wrap: anywhere;
}

.mobile-plugin-accordion .accordion-item {
  border-color: #eaecf0;
  border-radius: 10px;
  overflow: hidden;
}
.mobile-plugin-accordion .accordion-item + .accordion-item {
  margin-top: 8px;
}

.mobile-plugin-accordion .accordion-button {
  padding: 12px;
  font-weight: 600;
}

.mobile-plugin-accordion .accordion-body {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
}

@media (max-width: 768px) {
  #topbar {
    height: auto;
    min-height: 56px;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 10px !important;
    max-width: 100vw;
    overflow: visible;
  }
  #topbar .btn {
    margin: 0;
    padding: 6px 8px;
  }
  .topbar-side-left {
    display: none !important;
  }
  .topbar-main {
    flex: 1 1 0 !important;
    min-width: 0;
    justify-content: flex-start !important;
    gap: 6px !important;
  }
  .topbar-side-right {
    flex: 0 0 auto;
    width: auto;
    gap: 4px !important;
  }
  .topbar-storage {
    gap: 0;
  }
  .topbar-usage-menu {
    position: fixed !important;
    top: 52px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto;
    transform: none !important;
  }
  .topbar-storage-circle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .topbar-storage-circle span {
    font-size: 9px;
  }
  .topbar-storage-text {
    display: none;
  }
  .topbar-search {
    flex: 1 1 120px;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  #search-input {
    min-width: 0;
    text-align: left !important;
  }
  .topbar-notification-menu {
    width: min(320px, 100vw - 20px) !important;
    max-width: calc(100vw - 20px);
    max-height: min(400px, 100vh - 90px);
  }
  #bottom-navbar {
    display: flex;
  }
}
@media (max-width: 420px) {
  #topbar {
    align-items: center;
  }
  #topbar .btn-group-sm > .btn,
  #topbar .btn-sm {
    padding: 5px 7px;
    font-size: 12px;
  }
  #topbar .dropdown-toggle::after {
    margin-left: 2px;
  }
  #notificationDropdown i {
    font-size: 1.2rem !important;
  }
  #userDropdown img {
    width: 30px !important;
    height: 30px !important;
  }
}
#column-toggle-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
#column-toggle-container .filter-item {
  display: flex;
  align-items: center;
}
#column-toggle-container .filter-item input[type=checkbox] {
  margin-right: 0.5rem;
}

#timerContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Centraal in het scherm */
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.btn-danger {
  background-color: #dc3545;
  border: none;
}

.btn-success {
  background-color: #28a745;
  border: none;
}

#liveTimer {
  font-size: 18px;
  text-align: center;
  margin: 0;
}

.employee-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.employee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.employee-card .card-body {
  display: flex;
  align-items: center;
  padding: 1rem;
}
.employee-card .werknemerbadge-icon {
  font-size: 2.5rem;
  color: #0d6efd;
}
.employee-card .card-title {
  font-size: 1.25rem;
  font-weight: bold;
}
.employee-card .card-text {
  color: #6c757d;
}
.employee-card .expanded-info {
  padding: 0.5rem 0;
}
.employee-card .expanded-info p {
  margin-bottom: 0.5rem;
}
.employee-card .edit-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.9rem;
}
.employee-card .toggle-collapse {
  font-size: 0.9rem;
  color: #0d6efd;
}

#external-events {
  width: 300px; /* Breedte van de activiteitenlijst */
  max-height: 500px; /* Vaste hoogte */
  overflow-y: auto; /* Scroll toevoegen als er teveel content is */
  padding: 10px;
  background: #f4f4f4;
  border: 1px solid #ddd;
}

.external-events-list .fc-event {
  margin: 5px 0;
  cursor: pointer;
  padding: 5px;
  background: #3788d8;
  color: #fff;
}

#calendar {
  flex: 1; /* Laat de kalender de resterende ruimte innemen */
  /*max-width: 900px;*/
  min-height: 600px;
}

.fc-daygrid-event {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fc-daygrid-event:hover {
  transform: scale(1.2);
  z-index: 100;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  #external-events {
    width: 100%; /* Volledige breedte voor mobiel */
    max-height: none; /* Geen limiet op hoogte */
  }
  #calendar {
    max-width: 100%; /* Volledige breedte voor mobiel */
  }
  /* Zorg ervoor dat de twee secties onder elkaar staan */
  div[style="display: flex; gap: 20px;"] {
    flex-direction: column;
  }
}
