body {
  background: white;
}

.accessibility-wrapper {
  position: fixed;
  top: 180px;
  right: 0;
  transform: translate(2px, 0);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  pointer-events: none;
}

.accessibility-wrapper > * {
  pointer-events: auto;
}

/* Botão */
.accessibility-btn {
  width: 58px;
  height: 58px;
  background: #008dd2;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
  padding: 0;
  margin: 0;
}

/* Painel escondido */
.accessibility-panel {
  width: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid #008dd2;
  border-right: none;
  transition: width 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(34, 32, 32, 0.15);
}

/* Painel aberto */
.accessibility-wrapper.active .accessibility-panel {
  width: 240px;
  transform: translate(0, 0);
}

.accessibility-panel ul {
  list-style: none;
  width: 240px;
  padding: 0;
  margin: 0;
}

.accessibility-panel li {
  border-bottom: 1px solid #ddd;
}

.accessibility-btn svg {
  width: 32px;
}

.accessibility-panel button svg {
  width: 20px;
}

.accessibility-panel li::before {
  content: none !important;
}

.accessibility-panel button {
  width: 100%;
  border: none;
  background: #fff;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  border-radius: 0;
}

.accessibility-panel button:hover {
  background: #b9b9b9;
}

.accessibility-panel button:active {
  background: #9b9b9b;
}

.accessibility-panel button.active::after {
  content: "✓";
  font-weight: bold;
  margin: -4px 0;
  font-size: 20px;
}

/* Recursos */
.high-contrast {
  background: #000 !important;
  color: #fff !important;
}

.high-contrast * {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

.high-contrast .accessibility-wrapper {
  background: transparent !important;
  filter: invert(1) hue-rotate(180deg);
}

.invert {
  filter: invert(1);
}

.highlight-links a:not([href^="#"]) {
  background: yellow !important;
  color: #000 !important;
  border-radius: 4px;
}
