.container-left {
  width: 225px;
  min-height: 100vh;
  background-color: var(--bg-primary);
  display: block;
  position: sticky;
  top: 75px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

.top-center-button {
  gap: 15px;
  display: flex;
}

span.notification-badge {
  background: #d90e0e;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white !important;
  right: -10px;
  top: 5px;
  font-size: 12px !important;
}

#containerLeft {
  padding: 0px 10px;
  height: 100vh;
  overflow: auto;
  max-height: calc(100vh - 120px);
}

/* Top navigation */
.top {
  width: 100%;
  height: 75px;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: row;
  z-index: 2;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05),
    0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

.top-right {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px 50px;
  position: relative;
  gap: 15px;
}

.top-left {
  width: 260px;
  height: 100%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


.top-left img {
  width: 100% !important;
  height: 50px;
  object-fit: contain;
  max-width: 100% !important;
  padding: 0px 20px;
}

.nav-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 100%;
  flex-direction: column;
}

.nav-logo a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top-center {
  width: 60%;
  height: 100%;
  padding: 1vh 30px;
  display: flex;
  align-items: center;
}

.top-center svg {
  color: var(--text-primary);
}

.top-center svg:hover {
  color: var(--huisstijlkleur);
}

.top-center-button .btn {
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  position: relative;
  font-size: 16px;
  border: 1px solid transparent;
  text-align: center;
  background: var(--bg-secondary);
  color: var(--table-header-text);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.top-center-button .btn:hover {
  border: 1px solid var(--huisstijlkleur);
  color: var(--huisstijlkleur);
}


/* Company styling */
.company-dropdown-wrapper {
  position: relative;
  width: 220px;
}

.company-dropdown-btn {
  width: 100%;
  background: var(--bg-secondary);
  color: var(--text-primary) !important;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 36px 10px 12px;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-size: 16px;
}

.company-dropdown-btn:hover,
.company-dropdown-btn:focus {
  border: 1px solid var(--huisstijlkleur);
  background: var(--bg-secondary);
}

.company-dropdown-selected {
  display: inline-block;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.sidebar-dropdown-content {
  padding-left: 35px !important;
}

.hide .sidebar-dropdown-content {
  padding: 0px !important;
}

.company-dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.dropdown-arrow svg {
  width: 25px !important;
  height: 25px !important;
}

.company-dropdown-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 110%;
  background: var(--bg-dropdown);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  list-style: none;
}

.company-dropdown-option {
  padding: 8px 36px 8px 16px;
  cursor: pointer;
  color: var(--text-primary);
  position: relative;
  transition: background 0.2s;
}

.company-dropdown-option:hover,
.company-dropdown-option.selected {
  background: var(--select);
}

.company-dropdown-check {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--huisstijlkleur);
}

.company-dropdown-option {
  position: relative;
  padding-left: 36px;
}

.company-dropdown-option span {
  font-weight: 500;
  color: var(--text-primary) !important;
}

.company p {
  margin: 0;
  color: var(--text-secondary);
}

/* Profile styling */
.profile {
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.circle svg,
.dropdown-content i {
  height: 22px !important;
  width: 22px !important;
}


.circle i {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--huisstijlkleur);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
  color: white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.circle p {
  margin: 0;
  font-size: 14px;
}

.notifications .circle,
.settings .circle {
  background: var(--input-bg);
  box-shadow: none;
  color: var(--huisstijlkleur);
  border: 1px solid;
  transition: all 0.2s ease;
}

.circle a {
  text-decoration: none;
}

.notifications .circle:hover,
.settings .circle:hover {
  background: var(--huisstijlkleur);
  box-shadow: none;
  color: white;
  border: 1px solid var(--huisstijlkleur);
}

.settings a {
  text-decoration: none;
}

.notifications.active .circle,
.settings.active .circle {
  background: var(--huisstijlkleur);
  box-shadow: none;
  color: white;
  border: 1px solid var(--huisstijlkleur);
}

.theme-toggle-container {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  margin: 4px 0;
}

.theme-toggle-container svg {
  color: var(--text-primary);
}

.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.theme-icon {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.theme-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--input-bg);
  transition: 0.3s;
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
  background-color: var(--huisstijlkleur);
}

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

/* Dropdown menu */

.dropdown-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dropdown-content {
  position: absolute;
  background-color: var(--bg-dropdown);
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  top: 75px;
  right: 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  pointer-events: none;
}

.dropdown-content.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.dropdown-content a {
  color: var(--text-primary);
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: var(--bg-secondary);
  color: var(--huisstijlkleur);
}

.dropdown-content a:last-child {
  border-bottom: none;
}


/* Left navigation menu */

.sidebar-dropdown-content .active {
  color: var(--menu-left-color) !important;
  font-weight: 500;
}


.top-center .fa-solid.fa-table-columns,
.top-center .fa-solid.fa-table-columns:hover,
.top-center .fa-solid.fa-table-columns:focus,
.top-center .fa-solid.fa-table-columns:active {
  color: var(--menu-left-color);
}

/* slide left */

.container-left svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.container-left {
  transition: all 0.3s ease;
  margin-left: 0;
  opacity: 1;
  width: 250px;
  min-width: 250px;

}

.container-left.hide {
  width: 80px;
  min-width: 80px;
  max-height: 0 !important;
  padding: 0;
}



.hide .sidebar-dropdown-content {
  background-color: none;
  width: 80px !important;

}



.sidebar-dropdown-content li,
.hide .sidebar-dropdown-content {
  background: none !important;
}

.hide .menu-items .sidebar-dropdown-content a {
  background: none;
}

.container-left .icon-menu-item p,
.container-left .menu-item p {
  opacity: 1;
  transition: opacity 0.2s;
  white-space: nowrap;
  font-weight: 400;
}

.container-left .menu-item .active p {
  font-weight: 500;
}

.menu-items .active .icon-menu-item p {
  font-weight: 500;
}

.container-left.hide .icon-menu-item p,
.container-left.hide .menu-item p,
.container-left.hide .dropdown-arrow,
.hide .sidebar-dropdown-content p {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.hide .sidebar-dropdown-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

/* Ingeklapt: dropdown iconen centreren en chevron fade out */
.container-left.hide .menu-item.dropdown .icon-menu-item {
  justify-content: flex-start;
  align-items: center;
  width: 68px;
  padding: 12px;
}

.submenu-text {
  opacity: 1;
  transition: opacity 0.2s, width 0.2s !important;
  white-space: nowrap;
}

.container-left.hide .submenu-text {
  opacity: 0;
  width: 0;
  pointer-events: none;
  overflow: hidden;
}

.sidebar-dropdown-content i {
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-size: 18px;
  transition: width 0.3s, font-size 0.3s, margin 0.3s;
}

.hide i,
.hide .sidebar-dropdown-content i {
  width: 35px !important;
}

/*  */
.container-left-inside {
  position: sticky;
  top: 100px;
}

.container-left .menu-items-ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.container-left ul li {
  padding: 12px;
  text-align: left;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  border-bottom: none;
  /* border-left: 5px solid transparent; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border-radius: 10px;
  line-height: 16px;
  position: relative;

}

.container-left ul li:hover,
.container-left ul li.active {
  background-color: var(--bg-secondary);
  color: var(--menu-left-color);
  /* border-left: var(--huisstijlkleur) 5px solid !important; */
  box-sizing: border-box;
}

.menu-items .active {
  background: var(--bg-secondary);
  border-radius: 5px;
  color: var(--menu-left-color) !important;
}

.menu-items .active .icon-menu-item, 
.menu-items .active .icon-menu-item a {
  color: var(--menu-left-color) !important;
  font-weight: 600;
}

.container-left a {
  text-decoration: none;
  color: var(--text-primary);
}

.icon-menu-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}

.icon-menu-item i {
  font-size: 18px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  transition: width 0.3s, font-size 0.3s, margin 0.3s;

}


/* DROPDOWN MENU STYLING  */
.menu-item.dropdown .icon-menu-item {
  justify-content: start;
  align-items: center;
  width: 205px;
  padding: 12px;
}



.fa-solid.fa-gear {
  margin-left: 0px !important;
  transition: all 0.3s ease;
}

.dropdown-arrow {
  transition: transform 0.3s ease !important;
  margin-left: auto;
  padding-right: 5px;
  position: absolute;
  right: 10px;
}

/* VERANDER HOVER NAAR ACTIVE CLASS */
.menu-item.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.sidebar-dropdown-content {
  background-color: var(--bg-secondary);
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  list-style: none;
  width: 100%;
  border-radius: 10px;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  opacity: 0;

}

.menu-item.dropdown.active .sidebar-dropdown-content {
  max-height: 1000px;
  opacity: 1;

}

.sidebar-dropdown-content li {
  padding: 0 !important;
  text-align: left;
  color: #8a9ba8;
  font-size: 13px;
  border-left: none !important;
  display: flex;
  align-items: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  background-color: transparent;
}

.sidebar-dropdown-content li:hover {
  background-color: #0f1419;
  color: white;
  border-left: none !important;
}

.sidebar-dropdown-content li a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
}

.sidebar-dropdown-content li a i {
  font-size: 18px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

.container-left ul .sidebar-dropdown-content li,
.container-left ul .sidebar-dropdown-content li:hover {
  border-left: 0px !important;
  border: 0px !important;
}

.menu-item.dropdown {
  padding: 0 !important;
}

/* Alleen bij actieve submenu-items */
.sidebar-dropdown-content a.active {
  position: relative;
  /* nodig om pseudo-element te positioneren */
}

/* Het driehoekje */
.sidebar-dropdown-content a.active::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-right: 15px solid currentColor;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  color: var(--menu-left-arrow);
}

div#notificationsDropdown {
  width: 300px;
  height: calc(100vh - 75px);
  box-shadow: none;
  background: var(--helpdesk);
  border-radius: 0;
  padding: 0;
}

div#notificationsDropdown .content-block.notifications {
  display: flex;
  flex-direction: column;
  justify-content: start;
  background: transparent;
  overflow: auto;
}

.content-block.notifications .dashboard-melding {
  margin: 0;
  padding-bottom: 30px;
  flex-direction: column;
}

.dashboard-melding {
  background: white;
  margin-bottom: 0;
}

.dashboard-melding small {
  position: absolute;
  font-size: 10px;
  right: 10px;
  bottom: 10px;
}


.author-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 0px;
  padding: 5px 0px 10px 0px;
}

.melding-tekst strong {
  font-weight: 500;
  color: var(--text-primary);
}

.melding-tekst svg {
  height: 30px;
  width: 30px;
}