/* Accessibility Panel Styles */
.accessibility-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--teal) 100%);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.accessibility-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.accessibility-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: var(--navy);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 10000;
  padding: 1.5rem;
  display: none;
  border: 2px solid var(--teal);
}

.accessibility-panel[aria-hidden="false"] {
  display: block;
}

.accessibility-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  display: none;
}

.accessibility-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.accessibility-header h2 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--orange);
}

.close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.setting-group {
  margin-bottom: 1.5rem;
}

.setting-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.setting-group input[type="range"] {
  width: 100%;
  margin: 0.5rem 0;
}

.value-display {
  display: inline-block;
  min-width: 50px;
  text-align: right;
  font-weight: 600;
}

.accessibility-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Accessibility Classes */
.text-size-100 { font-size: 100% !important; }
.text-size-110 { font-size: 110% !important; }
.text-size-120 { font-size: 120% !important; }
.text-size-130 { font-size: 130% !important; }
.text-size-140 { font-size: 140% !important; }
.text-size-150 { font-size: 150% !important; }
.text-size-160 { font-size: 160% !important; }
.text-size-170 { font-size: 170% !important; }
.text-size-180 { font-size: 180% !important; }
.text-size-190 { font-size: 190% !important; }
.text-size-200 { font-size: 200% !important; }

.high-contrast {
  --orange: #FFA500;
  --teal: #00FFFF;
  --dark-blue: #000000;
  --darker-blue: #000000;
  --navy: #000000;
  color: #FFFFFF !important;
  background-color: #000000 !important;
}

.high-contrast a {
  color: #FFFF00 !important;
}

.high-contrast .btn {
  border: 2px solid #FFFFFF !important;
}

.dark-contrast {
  --dark-blue: #121212;
  --darker-blue: #000000;
  --navy: #1E1E1E;
}

.inverted-colors {
  filter: invert(100%);
}

.dyslexia-friendly {
  font-family: "OpenDyslexic", sans-serif !important;
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

.highlight-links a {
  text-decoration: underline !important;
  outline: 2px solid yellow !important;
}