/* Gamingentdecker — Consent Console */

.geo-consent {
  position: fixed;
  left: var(--ge-space-2);
  bottom: var(--ge-space-2);
  z-index: 180;
  width: min(420px, calc(100vw - 2 * var(--ge-space-2)));
  background: var(--ge-panel);
  border: 1px solid var(--ge-line);
  border-radius: var(--ge-radius-m);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: var(--ge-space-3);
  display: none;
}

.geo-consent.is-visible {
  display: block;
}

.geo-consent__title {
  font-family: var(--ge-font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4em;
  text-transform: lowercase;
}

.geo-consent__text {
  font-size: 0.85rem;
  margin-bottom: var(--ge-space-2);
}

.geo-consent__cats {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: var(--ge-space-2);
  display: none;
}

.geo-consent__cats.is-open {
  display: flex;
}

.geo-consent__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.5em 0.7em;
  border: 1px solid var(--ge-line);
  border-radius: var(--ge-radius-s);
  font-size: 0.85rem;
}

.geo-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.geo-consent__links {
  margin-top: var(--ge-space-2);
  font-size: 0.78rem;
  color: var(--ge-muted);
  display: flex;
  gap: 1em;
}

/* Simple toggle switch */
.geo-switch {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.geo-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.geo-switch__track {
  position: absolute;
  inset: 0;
  background: var(--ge-panel-soft);
  border: 1px solid var(--ge-line);
  border-radius: 999px;
  pointer-events: none;
}

.geo-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ge-muted);
  transition: transform 0.2s ease, background 0.2s ease;
}

.geo-switch input:checked ~ .geo-switch__track::after {
  transform: translateX(16px);
  background: var(--ge-electric);
}

.geo-switch input:disabled ~ .geo-switch__track {
  opacity: 0.6;
}
