
.accessibility-toolbar {
  position: fixed;
  top: 0;
  left: 0px;
  width: 180px;
  height: 100vh;
  /* overflow-y: auto; */
  padding: 12px;
  background: #f1f3f5;
  border-right: 1px solid #ccc;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

.accessibility-toolbar h3 {
  font-size: 17px;
  margin: 5px 0 12px;
}

.accessibility-toolbar h4 {
  font-size: 13px;
  margin: 15px 0 6px;
}

.accessibility-toolbar button,
.accessibility-toolbar select {
  display: block;
  width: 100%;
  padding: 7px 5px;
  margin: 5px 0;
  font-size: 12px;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #fff;
  color: #222;
  cursor: pointer;
}

.accessibility-toolbar button:hover {
  background: #e2e6ea;
}

.accessibility-toolbar button:focus-visible,
.accessibility-toolbar select:focus-visible {
  outline: 3px solid #ff9800;
  outline-offset: 2px;
}

#speech-status {
  font-size: 11px;
}

/* Existing website content */
.website-content {
  margin-left: 180px;
}

/* High contrast */
body.high-contrast, body.high-contrast p, body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, body.high-contrast h4, body.high-contrast h5, body.high-contrast h6, body.high-contrast span, body.high-contrast div, body.high-contrast li, body.high-contrast a, body.high-contrast button, body.high-contrast select, body.high-contrast textarea, body.high-contrast label, body.high-contrast table, body.high-contrast th, body.high-contrast td, body.high-contrast ul, body.high-contrast ol, body.high-contrast section, body.high-contrast article, body.high-contrast nav, body.high-contrast footer, body.high-contrast header, body.high-contrast main, body.high-contrast aside, body.high-contrast figure, body.high-contrast figcaption, body.high-contrast blockquote, body.high-contrast pre, body.high-contrast code, body.high-contrast em, body.high-contrast strong, body.high-contrast small, body.high-contrast sub, body.high-contrast sup, body.high-contrast i, body.high-contrast b, body.high-contrast u, body.high-contrast s, body.high-contrast mark, body.high-contrast q, body.high-contrast time, body.high-contrast audio, body.high-contrast video, body.high-contrast canvas, body.high-contrast svg, body.high-contrast iframe, body.high-contrast details, body.high-contrast summary, body.high-contrast menu, body.high-contrast menuitem, body.high-contrast dialog, body.high-contrast slot, body.high-contrast template, body.high-contrast picture, body.high-contrast source, body.high-contrast track, body.high-contrast wbr, body.high-contrast section:after, body.high-contrast article:after, body.high-contrast nav:after, body.high-contrast footer:after, body.high-contrast header:after, body.high-contrast main:after, body.high-contrast aside:after, body.high-contrast figure:after, body.high-contrast figcaption:after, body.high-contrast blockquote:after, body.high-contrast pre:after, body.high-contrast code:after, body.high-contrast em:after, body.high-contrast strong:after, body.high-contrast small:after, body.high-contrast sub:after, body.high-contrast sup:after, body.high-contrast i:after, body.high-contrast b:after, body.high-contrast u:after, body.high-contrast s:after, body.high-contrast mark:after, body.high-contrast q:after, body.high-contrast time:after, body.high-contrast audio:after, body.high-contrast video:after, body.high-contrast .overlay-style-01::before, body.high-contrast .overlay-style-02::before, body.high-contrast .overlay-style-03::before, body.high-contrast .overlay-style-04::before, body.high-contrast .overlay-style-05::before, body.high-contrast .overlay-style-06::before, body.high-contrast .overlay-style-07::before, body.high-contrast .overlay-style-08::before, body.high-contrast .overlay-style-09::before, body.high-contrast .overlay-style-10::before {
  background: #000 !important;
  color: #fff !important;
  border-color: #555 !important;
}
body.high-contrast input.label, body.high-contrast select.label, body.high-contrast textarea.label, body.high-contrast span.label {
  background: #000 !important;
  color: #fff !important;
  border:1px solid #555 !important;

}
body.high-contrast input, body.high-contrast .col-{
  background: #333 !important;
  color: #fff !important;
  border-color: #555 !important;
}
body.high-contrast a, body.high-contrast a:visited {
  color: #ffff00 !important;
  border: 1px solid #ffff00 !important;
}

body.high-contrast .accessibility-toolbar {
  background: #000;
  color: #fff;
  border-color: #fff;
}

body.high-contrast button,
body.high-contrast select {
  background: #000;
  color: #fff;
  border-color: #fff;
}




/* Accessibility Panel Slide Animation */

.accessibility-toolbar {
  transform: translateX(0);
  transition: transform 0.35s ease;
}

/* Hide panel */

.accessibility-toolbar.panel-hidden {
  transform: translateX(-100%);
}

/* Floating Accessibility Button */

.accessibility-floating-button {
  position: fixed;
  left: 180px;
  top: 40%;
  width: 42px;
  height: 42px;
  border-radius: 0px 10px 10px 0px;
  background: #faa831;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10001;
  transition: 0.35s ease;
}

/* Button moves when panel closes */

.accessibility-floating-button.panel-closed {
  left: 0px;
}

.accessibility-floating-button:focus-visible {
  outline: 4px solid #ff9800;
  outline-offset: 3px;
}

/* Mobile positioning */



@media (prefers-reduced-motion: reduce) {
  .accessibility-toolbar,
  .accessibility-floating-button {
    transition: none;
  }
}
