/* =========================
   ERİŞİLEBİLİRLİK – CSS
========================= */
.acc-item input[type="checkbox"]{
  display:block !important;
}



/* Açma Butonu */
.acc-open {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #205c97;
  color: #fff;
  font-size: 22px;
  border: none;
  cursor: pointer;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

html[class^="acc-"] .acc-open {
  background: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13,110,253,.25);
}

/* Panel */
.acc-panel {
  position: fixed;
  bottom: 20px;
  right: -360px;
  width: 330px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 14px;
  transition: .3s ease;
  z-index: 100000;
  font-family: Arial, sans-serif;
}

.acc-panel.active {
  right: 20px;
}

/* Başlık */
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Kapat */
.acc-close {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
}
.acc-close:hover {
  background: #c62828;
}

/* Satır */
.acc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 4px;
  background: #f5f7fa;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background .2s, border .2s;
}

.acc-item span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Aktif satır */
.acc-item:has(input:checked) {
  background: #e3f2fd;
  border-color: #0d6efd;
}
.acc-item:has(input:checked) span {
  color: #0d6efd;
  font-weight: bold;
}

/* Switch */
.acc-item input {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #cfd8dc;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
}

.acc-item input::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: .3s;
}

.acc-item input:checked {
  background: #0d6efd;
}
.acc-item input:checked::before {
  transform: translateX(20px);
}

/* Reset */
.acc-reset {
  position: sticky;
  bottom: 0;
  margin-top: 12px;
  z-index: 2;

  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff5252, #c62828);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

/* =========================
   ERİŞİLEBİLİRLİK SINIFLARI
========================= */

html.acc-font body,
html.acc-font body * {
  font-size: 20px !important;
  line-height: 1.6 !important;
}

html.acc-contrast body {
  background: #121212 !important;
}
html.acc-contrast body * {
  background-color: transparent !important;
  color: #fff !important;
}
html.acc-contrast .acc-panel,
html.acc-contrast .acc-panel * {
  background: #fff !important;
  color: #222 !important;
}

html.acc-images img { display: none !important; }
html.acc-links a { background: yellow !important; color: #000 !important; }
html.acc-bold * { font-weight: bold !important; }

html.acc-redgreen   { filter: grayscale(100%); }
html.acc-greenblind { filter: hue-rotate(90deg); }
html.acc-blueyellow { filter: hue-rotate(200deg); }

html.acc-cursor,
html.acc-cursor * {
  cursor: url('../images/big-cursor.svg') 16 16, auto !important;
}

/* Okuma kılavuzu */
.acc-reading-guide {
  position: fixed;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ffcc00;
  pointer-events: none;
  z-index: 99998;
  display: none;
}
html.acc-guide .acc-reading-guide { display: block; }

/* Okuma maskesi */
.acc-mask-top,
.acc-mask-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,.6);
  pointer-events: none;
  z-index: 99997;
  display: none;
}
.acc-mask-top { top: 0; }
.acc-mask-bottom { bottom: 0; }

html.acc-mask .acc-mask-top,
html.acc-mask .acc-mask-bottom {
  display: block;
}

/* Mobil */
@media (max-width: 480px) {
  .acc-panel {
    width: 94vw;
    right: -100%;
  }
  .acc-panel.active {
    right: 3vw;
  }
.acc-open {
  bottom: 30px !important;}

}

