
/* Eugen Service Computer Accessibility Widget - FIXED CSS */
.asw-widget-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999999;
  background: linear-gradient(135deg, #ff0000, #0048ff);
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.asw-panel {
  position: fixed;
  left: 20px;
  bottom: 90px;
  z-index: 999999;
  width: 340px;
  max-width: calc(100% - 40px);
  background: #0d0d0d;
  color: #f2f2f2;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.asw-panel .asw-head {
  background: linear-gradient(135deg, #0048ff, #ff0000);
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.asw-panel .asw-body {
  padding: 12px 14px;
  display: grid;
  grid-gap: 10px;
}

.asw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.asw-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.asw-btn:hover {
  background: #0048ff;
}

.asw-toggle {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.asw-toggle:hover {
  background: #ff0000;
}

.asw-small {
  font-size: 13px;
  color: #aaa;
}

/* Contrast modes - FORCED */
html.asw-contrast-dark, html.asw-contrast-dark body, html.asw-contrast-dark * {
  background: #000 !important;
  color: #fff !important;
}
html.asw-contrast-dark a { color: #66c2ff !important; }

html.asw-contrast-light, html.asw-contrast-light body, html.asw-contrast-light * {
  background: #fff !important;
  color: #000 !important;
}

/* Font scaling applied globally */
html[data-asw-fontscale] body, html[data-asw-fontscale] * {
  font-size: calc(var(--asw-font-scale, 1) * 1rem) !important;
}

/* Stop animations */
html.asw-stop-animations * {
  transition: none !important;
  animation: none !important;
}

/* Big cursor */
html.asw-big-cursor, html.asw-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='64' width='64'%3E%3Ccircle cx='32' cy='32' r='10' fill='%23ff0000'/%3E%3C/svg%3E") 32 32, auto !important;
}

/* Readable font */
@font-face {
  font-family: 'OpenDyslexicCustom';
  src: local('OpenDyslexic3'), local('Comic Sans MS');
}
html.asw-readable * {
  font-family: OpenDyslexicCustom, 'Comic Sans MS', Arial, sans-serif !important;
}
