/* WordPress Accessibility Widget Styles */
#wp-a11y-trigger-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99999;
  background-color: #1c1917;
  color: #facc15;
  border: 1px solid #44403c;
  border-radius: 9999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  font-family: inherit;
}

#wp-a11y-trigger-btn:hover {
  background-color: #0c0a09;
}

#wp-a11y-panel {
  position: fixed;
  bottom: 75px;
  left: 20px;
  z-index: 99999;
  width: 320px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d6d3d1;
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
  font-family: inherit;
  direction: rtl;
  text-align: right;
  overflow: hidden;
}

#wp-a11y-panel .a11y-head {
  background: #1c1917;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#wp-a11y-panel .a11y-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

#wp-a11y-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

#wp-a11y-panel .a11y-body {
  padding: 14px;
}

.a11y-row {
  margin-bottom: 12px;
}

.a11y-row strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: #292524;
}

.a11y-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.a11y-btns button {
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #1c1917;
  cursor: pointer;
  font-family: inherit;
}

.a11y-btns button:hover {
  background: #e7e5e4;
}

.a11y-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e7e5e4;
  padding-top: 10px;
  margin-top: 8px;
}

#a11y-reset-all {
  background: transparent;
  border: none;
  color: #78716c;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}

.a11y-stmt-link {
  color: #b45309;
  font-weight: bold;
  font-size: 12px;
  text-decoration: underline;
}

#wp-a11y-ruler {
  position: fixed;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(251, 191, 36, 0.25);
  border-top: 2px solid #f59e0b;
  border-bottom: 2px solid #f59e0b;
  pointer-events: none;
  z-index: 99998;
}

/* Modifier Classes */
.a11y-high-contrast {
  background-color: #000000 !important;
  color: #ffffff !important;
}
.a11y-high-contrast article,
.a11y-high-contrast header,
.a11y-high-contrast footer {
  background-color: #111111 !important;
  color: #ffffff !important;
}

.a11y-invert {
  filter: invert(1) hue-rotate(180deg);
}
.a11y-grayscale {
  filter: grayscale(100%);
}

.a11y-highlight-links a {
  background-color: #fef08a !important;
  color: #000000 !important;
  font-weight: bold !important;
  text-decoration: underline !important;
}
