/* style.css - style dla dostępności */

/* Przycisk dostępności w menu */

.accessibility-menu {
  display: flex;
  gap: 6px;
  margin-left: 16px;
  align-items: center;
}
.accessibility-btn {
  background: #f8f9fa;
  border: 1px solid #d1d5db;
  color: #333;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  opacity: 0.85;
  min-width: 32px;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.accessibility-btn i {
  font-size: 15px;
}
.accessibility-btn:hover {
  background: #e9ecef;
  opacity: 1;
}

/* Zwiększanie wielkości liter */
body.uppercase {
  text-transform: uppercase !important;
}
body.lowercase {
  text-transform: none !important;
}

/* Kontrast */
body.high-contrast {
  background: #000 !important;
  color: #fff !important;
}
body.high-contrast a {
  color: #ffd700 !important;
}
body.low-contrast {
  background: #fff !important;
  color: #222 !important;
}


  .high-contrast-card {
    background: #222 !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 0 0 2px #fff !important;
  }
  .high-contrast-card a,
  .high-contrast-card h2,
  .high-contrast-card .link-title {
    color: #fff !important;
  }
  .low-contrast-card {
    background: #fff !important;
    color: #222 !important;
    border-color: #eaeaea !important;
    box-shadow: 0 0 10px #eaeaea !important;
  }
  .low-contrast-card a,
  .low-contrast-card h2,
  .low-contrast-card .link-title {
    color: #222 !important;
  }

  .card-dark {
    background-color: #000 !important;
    color: #fff; /* jeśli chcesz, żeby tekst był widoczny */
}

.card-body-dark {
    background-color: #111 !important; /* lub inny kolor, który pasuje do ciemnego motywu */
    color: #fff; /* jeśli chcesz, żeby tekst był widoczny */
}
