/* ==========================================================================
   Accessibility Tools widget
   ========================================================================== */

.acc-toggle-btn{
  position: fixed;
  top: 160px;
  left: 0;
  z-index: 10000;
  width: 52px;
  height: 52px;
  background: #1a73c7;
  border: 2px solid #fff;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.acc-toggle-btn:hover{ background:#155a9c; transform: scale(1.05); }
.acc-toggle-btn svg{ width:26px; height:26px; fill:#fff; }

.acc-panel{
  position: fixed;
  top: 160px;
  left: 0;
  z-index: 9999;
  width: 260px;
  background: #2c2c2c;
  color: #fff;
  border: 2px solid #1a73c7;
  border-radius: 0 8px 8px 0;
  padding: 22px 20px 20px;
  transform: translateX(-110%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  font-family: var(--font-body, sans-serif);
}
.acc-panel.open{
  transform: translateX(0);
  opacity: 1;
}
.acc-panel h4{
  color:#fff;
  font-family: var(--font-head, sans-serif);
  font-size: 18px;
  margin: 0 0 16px;
  padding-right: 40px;
}
.acc-list{
  list-style:none;
  margin:0;
  padding:0;
}
.acc-list li{
  margin-bottom: 4px;
}
.acc-item{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  background:none;
  border:none;
  color:#e6e6e6;
  font-size:14px;
  font-family: var(--font-body, sans-serif);
  padding:9px 6px;
  border-radius:4px;
  cursor:pointer;
  text-align:left;
  transition: background .15s ease, color .15s ease;
}
.acc-item:hover{ background: rgba(255,255,255,.08); color:#fff; }
.acc-item.active{ background: #1a73c7; color:#fff; }
.acc-item .acc-icon{
  width:20px; text-align:center; flex-shrink:0; font-size:15px; line-height:1;
}
.acc-item .acc-icon svg{ width:17px; height:17px; fill:currentColor; }

.acc-close{
  position:absolute;
  top:14px; right:14px;
  background:none;
  border:none;
  color:#bbb;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  padding:2px 6px;
}
.acc-close:hover{ color:#fff; }

/* ---------------- Applied accessibility effects ---------------- */
html.acc-grayscale{ filter: grayscale(100%); }
html.acc-contrast{ filter: contrast(1.5) saturate(1.15); }
html.acc-negative{ filter: invert(1) hue-rotate(180deg); }
html.acc-negative img,
html.acc-negative .hero,
html.acc-negative .page-banner,
html.acc-negative .testimonials{ filter: invert(1) hue-rotate(180deg); }

html.acc-light-bg body{ background:#fff !important; }
html.acc-light-bg body,
html.acc-light-bg body *{ background-color:#fff !important; color:#111 !important; }
html.acc-light-bg a{ color:#0645ad !important; }
html.acc-light-bg .navbar,
html.acc-light-bg .topbar,
html.acc-light-bg footer{ background:#f0f0f0 !important; }

html.acc-underline a{ text-decoration: underline !important; }

html.acc-readable-font,
html.acc-readable-font *{
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: .2px !important;
}

@media (max-width: 600px){
  .acc-toggle-btn{ top:auto; bottom:20px; }
  .acc-panel{ top:auto; bottom:20px; max-height:70vh; overflow-y:auto; }
}
