/* Accessibility Widget Styles */

.access-ignore, .access-ignore * {
  zoom: 1 !important;
  filter: none !important;
  text-transform: none !important;
  letter-spacing: 0px !important;
  line-height: 1 !important;
}

#access-btn {
  position: fixed;
  bottom:8px;
  left: 15px;
  z-index: 9999;
  width: 45px;
  height: 45px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #BCE2A0 0%, #88C045 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.21);
}

#access-btn:hover {
  background: #2AA745;
}

#access-panel {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: calc(100% - 25px);
  max-height: 450px;
  max-width: 380px;
  min-height: 300px;
  min-width: 280px;
  z-index: 999999999;
  border-radius: 10px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  background: #e4eddd;
  display: none;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  user-select: none;
}

#access-panel.open {
  display: flex;
}

.access-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(180deg, #f80505e3 0%, #ff3a00 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  height: 30px;
  width: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

.access-header {
  background: #2aa745;
  padding: 0 20px;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

.access-header h2 {
  font-size: 20px !important;
  font-weight: bold !important;
  margin: 15px 0 !important;
  color: #000 !important;
}

.access-content {
  padding: 10px 20px;
  overflow-y: auto;
  flex: 1;
  color: #000;
}

.access-content::-webkit-scrollbar { width: 6px; }
.access-content::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; }

.access-footer {
  padding: 15px;
  text-align: center;
  background: #2aa745;
  border-radius: 0 0 10px 10px;
}

.access-reset {
  background: white;
  color: black;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  width: 100px;
}

.access-reset:hover { transform: scale(1.05); }

.access-section-title {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #2f2e2e !important;
  border-bottom: 1px solid #595959 !important;
  margin: 15px 0 10px !important;
  padding-bottom: 5px !important;
  text-align: left !important;
}

.access-box {
  background: white;
  padding: 10px;
  border-radius: 10px;
  margin: 0 8px 8px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex-grow: 1;
  display: inline-block;
  vertical-align: top;
}

.access-inline {
  display: flex;
  flex-wrap: wrap;
}

.access-box-title {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #000;
}

.access-colors {
  display: flex;
  flex-wrap: wrap;
}

.access-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
}

.access-color:hover { opacity: 0.7; }
.access-color.active { border: 2px solid purple; }

.access-counter {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 2px 5px;
  width: fit-content;
}

.access-counter button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0 10px;
  color: #000;
}

.access-counter span {
  font-size: 12px;
  background: white;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 35px;
  text-align: center;
  color: #000;
}

.access-select {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

.access-font-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  margin: 2px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 5px;
  color: #000;
}

.access-font-btn.active { background: #ccc; }

.access-toggle {
  width: 40px;
  height: 20px;
  border-radius: 20px;
  background: #ccc;
  position: relative;
  cursor: pointer;
}

.access-toggle.active { background: #4caf50; }

.access-toggle .knob {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
}

.access-toggle.active .knob { left: 22px; }

