.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Ikona aktywatora ♿ */
#wcag-toggle {
  position: fixed;
  bottom: 20px;
  right: 10px;
  width: 56px;
  height: 56px;
  background-color: #29ac3f;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

/* Panel dostępności */
#wcag-widget {
  position: fixed;
  bottom: 90px;
  right: 10px;
  background: #fff;
  border: 2px solid #29ac3f;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 0 18px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(200%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

#wcag-widget.active {
  transform: translateY(0);
}

/* Przycisk */
#wcag-widget button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding: 10px 14px;
  background: #e9f5eb;
  border: 1px solid #29ac3f;
  color: #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

#wcag-widget button:hover {
  background-color: #cfead4;
}

/* Kontrast */
.wcag-contrast, .wcag-contrast * {
  background-color: #000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}
.wcag-contrast a {
  color: cyan !important;
  text-decoration: underline !important;
}

/* Tryb nocny */
.wcag-night, .wcag-night * {
  background-color: #121212 !important;
  color: #f0f0f0 !important;
}

/* Linki */
.wcag-underline a {
  text-decoration: underline !important;
}
 
/* Skala szarości */  
body.grayscale-mode {
  filter: grayscale(100%) !important;
    
}

body.grayscale-mode {
  filter: grayscale(100%) !important;
}

body.grayscale-mode #wcag-widget,
body.grayscale-mode #wcag-toggle {
  filter: none !important;
  position: fixed !important;
  z-index: 10000 !important;
}

.wcag-reduce-motion *, 
.wcag-reduce-motion *::before, 
.wcag-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}