
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #f9f9f9;
  border: 1px solid #ccc;
  min-width: 400px;
  z-index: 9999;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
}

/* Removed duplicate display:flex in .controls-row */
.controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dropdown.show .dropdown-content {
  display: block;
}

/* Dropdown button */
.dropdown {
  position: relative;
}
.dropdown button {
  background: #89b827;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropdown button i {
  margin-right: 8px;
}

.dropdown-content.show {
  display: block;
}

/* Category boxes */
.category-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px 16px;
  margin-bottom: 15px;
  background: #fff;
}
.category-box h3 {
  margin-top: 0;
    font-size: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    display: flex
;
    align-items: center;
    gap: 8px;
}
.category-box h3 i {
  color: #0078d7;
}

/* Individual access buttons */
.access-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  padding: 10px 5px;
  cursor: pointer;
 /* aspect-ratio: 1 / 1;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 12px;
  width: 100px;
}
.access-btn i {
  font-size: 25px;
  margin-bottom: 5px;
}
.access-btn:hover {
  background: #ccc;
  border-color: #89b827;
}
.access-btn.active,
.access-btn[aria-checked="true"] {
  background-color: #587221;
  color: white;
  border-color: #89b827;
}

/* Scrollbar styles */
.dropdown-content::-webkit-scrollbar {
  width: 8px;
}
.dropdown-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.dropdown-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.dropdown-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Accessibility Styles */
.high-contrast {
  background-color: black !important;
  color: #38ff8b; !important;
}
.highlight-links a {
  outline: 3px dashed red;
}
.invert {
  filter: invert(1) hue-rotate(180deg);
  color: #ff6e00; !important
}
.low-saturation {
  filter: saturate(30%);
}
.screen-reader {
  font-size: 1.4em;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.hidden-images img {
  display: none !important;
}
