@charset "utf-8";
/* CSS Document */

.highlight {
  outline: 3px solid #4CAF50;
  box-shadow: 0 0 10px #4CAF50;
}

.demo-tooltip {
  background: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 10000;
  pointer-events: none;
}

#demoCursor {
  width: 40px;
  height: 40px;
  border: 4px solid black;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  position: fixed; /* ✅ FIXED for viewport-anchored positioning */
  z-index: 9999;
  pointer-events: none;
  transition: top 0.5s ease, left 0.5s ease;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

#demoCursor.pulse {
  animation: pulse 0.4s ease;
}

#walkthroughTrigger:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.orientationControl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.orientationControl label {
  font-size: 14px;
  color: #222;
}

.orientationControl select {
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Hide default checkbox */
.toggle-row input[type="checkbox"] {
  appearance: none;
  width: 36px!important;
  height: 18px;
  background-color: #ccc;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Slider knob inside the track */
.toggle-row input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Toggle on state */
.toggle-row input[type="checkbox"]:checked {
  background-color: #22c55e;
}

.toggle-row input[type="checkbox"]:checked::before {
  transform: translateX(18px);
}

/* Optional: consistent label spacing */
.toggle-label {
  display: inline-block;
}

.toggle-row * {
  all: unset;             /* strip inherited styles */
  box-sizing: border-box; /* fix any box issues */
}

.toggle-row {
  all: unset;
  display: flex!important;
  align-items: center;
  gap: 5px;
/*  font-family: system-ui, sans-serif;*/
  font-size: 15px;
  line-height: 1.2;
}

#circleSlidersContainer {
    width:100%;
    margin-bottom: 15px;
}
#circleSlidersContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Wrap each slider + value in a responsive row */
.slider-row {
  display: flex;
  align-items: center;
/*  gap: 10px;*/
  width: 100%;
    margin-bottom: 9px;
}

/* Slider stretches to fill available space */
.slider-row input[type="range"] {
  flex-grow: 1;
}

/* Optional: fix width of value span */
.slider-row span {
  min-width: 4ch;
  text-align: center;
  font-family: monospace;
}
.circleSlidersContainer label{
    padding-bottom: 3px !important;
}
.submenu{
    margin-bottom: 5px;
}
#areaBorderStroke, #districtBorderStroke {
    margin-top:0px;
    width:100%;
}
#showAreaBorders, #showDistrictBorders {
    width:18px;
    height:18px;
}
.aligned-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;                /* space between checkbox and text */
  font-size: 15px;         /* adjust as needed */
  cursor: pointer;
  margin-bottom: 7px;
}
#londonInsetTitle {
    width:200px;
    font-size: 15px;
    float: none;
    margin: 0;
    margin-top: 7px;
    width: auto;
    text-align: left;
    padding-bottom: 3px;
    display: inline-block;
    font-weight: 600;
}


.aligned-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
    margin-top:-3px;
  vertical-align: middle;
}
.ring-size-circle {
  display: inline-block;
  border-radius: 50%;
  background: white;
  margin-left: 0px;
  vertical-align: middle;
  transition: width 0.2s, height 0.2s;
  min-width: 0 !important;
  margin-top: -5px;
    border:1px solid black;
}
#selectAllMarkers {
    width:18px;
    height:18px;
}
