.bg-black-aceesibility {
  background-color: #000;
  color: white;
}

.accessibility-panel {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;

  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  width: 360px;
  min-height: 200px; /* jaga minimal height */
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  z-index: 1000;
  padding: 20px;
  /* padding-right: 20px; */
}
.container-button-drag {
  display: flex;
  justify-content: space-between;
  margin-right: 30px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.reset-btn {
  margin-right: 30px;
  padding: 10px 0px;
  border-radius: 10px;
  cursor: pointer;
}

.button-drag-text {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

/* Heading panel */
.accessibility-panel-title {
  font-size: 16px;
  margin: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
  color: #000;
}

/* Floating button */
.accessibility-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;

  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.accessibility-fab:hover {
  background: #222;
  transform: scale(1.05);
}
.accessibility-fab:active {
  transform: scale(0.95);
}

/* Kontainer fitur */
.containerbutton {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Feature toggle wrapper */
.feature-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

/* Info di sebelah kiri */
.feature-info {
  flex: 1;
}

/* Switch container */
.switch-wrapper {
  position: relative;
  width: 40px;
  height: 20px;
}
.switch-input {
  display: none; /* sembunyiin asli */
}
.switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 20px;
  transition: background 0.3s;
}
.switch-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  background: #fff;
  transition: transform 0.3s;
}

/* aktif */
.switch-input:checked + .switch-slider {
  background: #000;
}
.switch-input:checked + .switch-slider::before {
  transform: translateX(20px);
}

/* Tombol biasa */
.button {
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.button:hover {
  background: #333;
}
.button:active {
  background: #555;
}

/* Scroll dalam panel */
.container-main-panel {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 6px;
}

/* jangan diubah */
.reading_mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999999999;
  pointer-events: none;
  display: none;
}

.hidden {
  display: none;
}
