* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  border: 0px;
  font-family: "Figtree", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: none;
}

:root {
  --point_path: #ffffff;
  --point_border: #2a2a2a;
  --point_border_hover: #3a3a3a;
  --point_border_active: #1c1c1c;
  --point_clicked_background: #000000;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MAIN */

.main_scroll {
  position: relative;
  display: flex;
  justify-content: flex-start; /* Prevent centering here */
  align-items: center;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  height: 100dvh;
  overflow-x: scroll; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Disable vertical scrolling */
  scroll-behavior: smooth;
  overscroll-behavior: none; /* Prevent bounce effect horizontally */
  touch-action: pan-x; /* Restrict scrolling to horizontal direction */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
}

.main1 {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_test {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main1 img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.main video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cls-1 {
  fill: rgba(255, 255, 255, 0);
  z-index: 50;
  stroke-width: 1px;
  stroke: rgba(255, 255, 255, 1);
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.cls-1:hover {
  fill: rgba(100, 100, 100, 0.4);
  stroke-width: 1px;
  stroke: rgba(255, 255, 255, 1);
}

.cls-1:active {
  fill: rgba(100, 100, 100, 0.6);
  stroke: rgba(255, 255, 255, 1);
}

.cls-1.force-hover {
  fill: rgba(100, 100, 100, 0.4);
  stroke-width: 1px;
  stroke: rgba(255, 255, 255, 1);
  transition:
    fill 0.25s ease,
    stroke 0.25s ease;
}

.spotlight-editor-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

.spotlight-editor-field path {
  pointer-events: all;
}

.spotlight-editor-field.has-status-fill path {
  fill: var(--field-fill, var(--unit-status-fill, rgba(255, 255, 255, 0.1)));
  fill-opacity: var(--field-fill-opacity, var(--unit-status-fill-opacity, 0.275));
  stroke: var(--field-stroke, var(--unit-status-fill, rgba(255, 255, 255, 1)));
  stroke-opacity: var(--field-stroke-opacity, 1);
  transition:
    fill 0.18s ease,
    fill-opacity 0.18s ease,
    stroke 0.18s ease;
}

.spotlight-editor-field.has-status-fill path:hover {
  fill: var(--field-hover-fill, var(--field-fill, var(--unit-status-fill, rgba(255, 255, 255, 0.1))));
  fill-opacity: var(--field-hover-fill-opacity, 0.41);
  stroke: var(--field-hover-stroke, var(--field-stroke, var(--unit-status-fill, rgba(255, 255, 255, 1))));
  stroke-opacity: var(--field-hover-stroke-opacity, var(--field-stroke-opacity, 1));
}

.spotlight-editor-field.has-status-fill path:active {
  fill: var(--field-active-fill, var(--field-fill, var(--unit-status-fill, rgba(255, 255, 255, 0.1))));
  fill-opacity: var(--field-active-fill-opacity, 0.475);
  stroke: var(--field-active-stroke, var(--field-stroke, var(--unit-status-fill, rgba(255, 255, 255, 1))));
  stroke-opacity: var(--field-active-stroke-opacity, var(--field-stroke-opacity, 1));
}

.spotlight-field-draw-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 35;
  cursor: crosshair;
}

.spotlight-field-draw-preview-path {
  fill: rgba(255, 255, 255, 0.1);
  stroke-width: 1px;
  stroke: rgba(255, 255, 255, 1);
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spotlight-field-draw-point {
  fill: rgba(255, 255, 255, 1);
  stroke: rgba(10, 20, 30, 0.95);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
}

.spotlight-field-draw-point-start {
  fill: rgba(78, 198, 255, 0.98);
  cursor: pointer;
}

/* HIDE SCROLLBAR */
.hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Edge */
}

/* MAIN */

.main_1 {
  display: flex;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.main_2 {
  display: none;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

/* SEQUENCES */

.area1_sequences,
.area2_sequences,
.area3_sequences,
.area4_sequences,
.area5_sequences,
.area6_sequences,
.area7_sequences {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  flex-shrink: 0;
}

.area1_sequence1_points {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  flex-shrink: 0;
}
.area1_sequence2_points,
.area1_sequence3_points,
.area1_sequence4_points,
.area2_sequence1_points,
.area2_sequence2_points,
.area2_sequence3_points,
.area2_sequence4_points,
.area3_sequence1_points,
.area3_sequence2_points,
.area3_sequence3_points,
.area3_sequence4_points,
.area4_sequence1_points,
.area4_sequence2_points,
.area4_sequence3_points,
.area4_sequence4_points,
.area5_sequence1_points,
.area5_sequence2_points,
.area5_sequence3_points,
.area5_sequence4_points,
.area6_sequence4_points,
.area7_sequence1_points,
.area7_sequence2_points,
.area7_sequence3_points,
.area7_sequence4_points,
.area8_sequence1_points,
.area8_sequence2_points,
.area8_sequence3_points,
.area8_sequence4_points,
.area9_sequence1_points,
.area9_sequence2_points,
.area9_sequence3_points,
.area9_sequence4_points {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  flex-shrink: 0;
}

/* Dynamic layers (editor-created views/sequences) */
.points > [id^="main_"] {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.points > [id$="_sequences"] {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  flex-shrink: 0;
}

.points > [id$="_sequences"] > [id$="_points"] {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  flex-shrink: 0;
}

/* CONTROLS BUILDING */

.controls {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: auto;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  z-index: 80;
}

.main_controls {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100%;
}

.main_navigation_controls {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.main_slider_title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  min-width: 80px;
  width: auto;
  padding: 0 18px;
  border-radius: 25px;
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: black;
  background-color: var(--lightgray1);
  z-index: 10;
}

.main_slider_title:hover {
  background-color: var(--lightgray1_hover);
}

.main_slider_title:active {
  background-color: var(--lightgray1_active);
}

.main_slider_degree_right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: auto;
  font-size: 0.9rem;
  color: var(--slider_text);
  font-weight: 600;
  padding-left: 0px;
  padding-right: 0px;
}

.main_slider_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  position: relative;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  outline: none;
  position: relative;
  z-index: 1;
}

/* Track styling */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
  border: none;
}

/* Thumb styling */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--slider_items);
  cursor: pointer;
  margin-top: -8.5px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background-color: var(--slider_items_hover);
}

input[type="range"]::-webkit-slider-thumb:active {
  background-color: var(--slider_items_active);
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--slider_items);
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb:hover {
  background-color: var(--slider_items_hover);
}

input[type="range"]::-moz-range-thumb:active {
  background-color: var(--slider_items_active);
}

input[type="range"]::-ms-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--slider_items);
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-ms-thumb:hover {
  background-color: var(--slider_items_hover);
}

input[type="range"]::-ms-thumb:active {
  background-color: var(--slider_items_active);
}

.main_slider_button_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 120px;
}

.main_slider_button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: var(--slider_text);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: var(--slider_background);
}

.main_slider_button:hover {
  background-color: var(--slider_text_hover);
}

.main_slider_button:active {
  background-color: var(--slider_text_active);
}

.main_slider_container.curved {
  padding: 0;
  height: 100px;
}

.slider-dot {
  fill: white;
  cursor: pointer;
  transition: fill 0.2s ease;
}

.slider-dot.hover {
  fill: rgb(0, 0, 0);
}

text {
  transition: opacity 0.2s ease;
  user-select: none;
  pointer-events: none;
  font-weight: 700;
}

/* BUTTON BACK */

.btnBack_container {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 400px;
  bottom: 50px;
  left: calc(50% - 200px);
  gap: 10px;
  z-index: 50;
}

.btnBack {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  padding-right: 20px;
  padding-left: 10px;
  height: 100%;
  gap: 0px;
  border-radius: 30px;
  background-color: var(--button_back_background);
}

.btnBack_title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
  width: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--button_back_text);
  background-color: var(--button_back_background);
}

.btnBack_title:hover {
  color: var(--button_back_background_hover);
}

.btnBack_title:active {
  color: var(--button_back_background_active);
}

.btnBack_icon {
  width: 28px;
  height: auto;
  padding: 10px;
  margin-right: 10px;
}

/* --- FILTER --- */

.option-group {
  border-radius: 50px;
  overflow: hidden;
  margin: 10px 0;
}

.option-group .group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 1px white;
  cursor: pointer;
}

.group-header input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--darkgray1);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  margin-right: 10px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
  outline: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: none; /* default no image */
}

.group-header input[type="checkbox"]:checked {
  background-color: rgba(42, 42, 42, 1);
  background-image: url("/assets/icons/beeldenfabriek/icon_beeldenfabriek_checkmark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.header_toggle_title {
  flex-grow: 1;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  color: rgba(255, 255, 255, 1);
  align-items: center;
  cursor: pointer;
}

.filter_icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  padding-right: 5px;
}

.filter_title {
  display: block;
  text-align: center;
  position: relative;
  width: 100%;
  color: black;
  font-size: 1.2rem;
  font-weight: 500;
  padding-bottom: 15px;
}

/* panel closed by default */
.information.collapsed {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.information.expanded {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* hide/show helpers */
.hide {
  display: none !important;
}

.filter_btn_main_container {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  height: 40px;
  position: relative;
}
.filter_btn_title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--darktext1);
  margin-right: 4px;
  letter-spacing: 0.02em;
  padding-left: 5px;
}
.filter_btn_container {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
  height: 40px;
}
.filter_btn_main {
  display: inline-block;
  background-color: none;
  padding: 8px 15px;
  border-radius: 50px;
  color: var(--darktext1);
  background-color: transparent;
  font-size: 1.2rem;
  border: 1px solid transparent;
  background-color: var(--darkgray1);
}
.toggle_information_mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--darkgray1);
  cursor: pointer;
  margin-left: auto;
}
.toggle_information_mobile img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.toggle_information_mobile:hover {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_hover);
}
.toggle_information_mobile:active {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_active);
}

.panel_close_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--darkgray1);
  cursor: pointer;
  margin-left: auto;
}
.panel_close_btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.panel_close_btn:hover {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_hover);
}
.panel_close_btn:active {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_active);
}

@media (max-width: 768px) {
  .toggle_information_container {
    display: flex;
    padding-left: 12px;
    padding-right: 12px;
  }
  .toggle_information_text {
    display: none;
  }
  .toggle_information_mobile {
    display: none;
  }
}
.filter_btn_main:hover {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_hover);
}
.filter_btn_main:active {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_active);
}
.filter_btn {
  display: inline-block;
  background-color: none;
  padding: 10px 15px;
  border-radius: 50px;
  color: var(--darktext1);
  background-color: transparent;
  font-size: 0.8rem;
  margin-right: 3px;
  border: 1px solid transparent;
  background-color: var(--darkgray1);
}
.filter_btn:hover {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_hover);
}
.filter_btn:active {
  border: 1px solid rgb(80, 80, 80);
  background-color: var(--darkgray1_active);
}

#previous-item,
#next-item {
  display: flex;
}

.clr_Appartementen,
.clr_Appartementen_filter {
  background-color: #773735;
  z-index: 50;
  border-radius: 50px;
}
.clr_Buurtplein,
.clr_Buurtplein_filter {
  background-color: #b9b74a;
  z-index: 50;
  border-radius: 50px;
}
.clr_Gezondheidscentrum,
.clr_Gezondheidscentrum_filter {
  background-color: #b33c3b;
  z-index: 50;
  border-radius: 50px;
}
.clr_Halte_OV,
.clr_Halte_OV_filter {
  background-color: #000000;
  z-index: 50;
  border-radius: 50px;
}
.clr_Kanaalweg,
.clr_Kanaalweg_filter {
  background-color: #7b964f;
  z-index: 50;
  border-radius: 50px;
}
.clr_Mobiliteitshub,
.clr_Mobiliteitshub_filter {
  background-color: #6b5e59;
  z-index: 50;
  border-radius: 50px;
}
.clr_Park,
.clr_Park_filter {
  background-color: #3f8c56;
  z-index: 50;
  border-radius: 50px;
}
.clr_School,
.clr_School_filter {
  background-color: #b75080;
  z-index: 50;
  border-radius: 50px;
}
.clr_Sporthal,
.clr_Sporthal_filter {
  background-color: #b56e3d;
  z-index: 50;
  border-radius: 50px;
}
.clr_Supermarkt,
.clr_Supermarkt_filter {
  background-color: #2c4883;
  z-index: 50;
  border-radius: 50px;
}
.clr_Waterverbinding,
.clr_Waterverbinding_filter {
  background-color: #3c87b7;
  z-index: 50;
  border-radius: 50px;
}
.clr_Wijkcultuurhuis,
.clr_Wijkcultuurhuis_filter {
  background-color: #483c7c;
  z-index: 50;
  border-radius: 50px;
}
.clr_Impressies,
.clr_Impressies_filter {
  background-color: #cccccc;
  z-index: 50;
  border-radius: 50px;
}
.clr_Labels,
.clr_Labels_filter {
  background-color: #202020;
  z-index: 50;
  border-radius: 50px;
}

/* hidden temp */
.main_overlay1,
.main_overlay2,
.main_overlay3,
.main_overlay4,
.main_overlay5,
.main_overlay9,
.main_overlay6,
.main_overlay7,
.main_overlay8,
.main_overlay10,
.main_overlay11,
.main_overlay1_building1 {
  display: none;
}

.editor-state-woningzoeker-svg,
[data-editor-state="woningzoeker-svg"] {
  display: none;
}

.editor-state-spotlight-svg,
[data-editor-state="spotlight-svg"] {
  display: block;
}

.editor-state-all-svg,
[data-editor-state="all-svg"] {
  display: block;
}

.spotlight-structure-editor .editor-state-woningzoeker-svg,
.spotlight-structure-editor [data-editor-state="woningzoeker-svg"] {
  display: block;
}

/* FILTER COLORS */
.Appartementen,
.Buurtplein,
.Gezondheidscentrum,
.Halte_OV,
.Kanaalweg,
.Mobiliteitshub,
.Park,
.School,
.Sporthal,
.Supermarkt,
.Waterverbinding,
.Wijkcultuurhuis {
  display: flex;
}

.Appartementen {
  border-color: #ffffff !important;
  background-color: #773735 !important;
}
.Buurtplein {
  border-color: #ffffff !important;
  background-color: #b9b74a !important;
}
.Gezondheidscentrum {
  border-color: #ffffff !important;
  background-color: #b33c3b !important;
}
.Halte_OV {
  border-color: #ffffff !important;
  background-color: #000000 !important;
}
.Kanaalweg {
  border-color: #ffffff !important;
  background-color: #7b964f !important;
}
.Mobiliteitshub {
  border-color: #ffffff !important;
  background-color: #6b5e59 !important;
}
.Park {
  border-color: #ffffff !important;
  background-color: #3f8c56 !important;
}
.School {
  border-color: #ffffff !important;
  background-color: #b75080 !important;
}
.Sporthal {
  border-color: #ffffff !important;
  background-color: #b56e3d !important;
}
.Supermarkt {
  border-color: #ffffff !important;
  background-color: #2c4883 !important;
}
.Waterverbinding {
  border-color: #ffffff !important;
  background-color: #3c87b7 !important;
}
.Wijkcultuurhuis {
  border-color: #ffffff !important;
  background-color: #483c7c !important;
}

.filter_hidden {
  display: none !important;
}

/* MAIN STORY */

.main_story_container {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 330px;
  height: auto;
  max-height: 90vh;
  z-index: 3000;
}

.main_story {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 180px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background-color: var(--darkgray1);
  border-radius: 10px;
  border: 1px solid var(--darkgray2);
  margin-top: 10px;
}

.main_story > * {
  flex-shrink: 0;
}

.main_story:hover {
  border: 1px solid var(--darkgray2_hover);
}

.main_story_image {
  position: relative; /* Required for absolutely positioning the hover image */
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.main_story_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main_story_sequenceBtn,
.main_story_link_wrapper {
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.main_story_sequenceBtn a,
.main_story_link_wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: var(--darkgray2);
  border-radius: 5px;
  color: var(--darktext1);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.main_story_sequenceBtn a:hover,
.main_story_link_wrapper a:hover {
  background-color: var(--darkgray2_hover);
}
.main_story_sequenceBtn a:active,
.main_story_link_wrapper a:active {
  background-color: var(--darkgray2_active);
}

.main_story_sequenceBtn button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: var(--darkgray2);
  border-radius: 5px;
  color: var(--darktext1);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.main_story_sequenceBtn button:hover {
  background-color: var(--darkgray2_hover);
}
.main_story_sequenceBtn button:active {
  background-color: var(--darkgray2_active);
}

/* Hover preview icon container */
.hover_preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* Hidden by default */
  z-index: 2;
  width: 30px;
  height: 30px;
  pointer-events: none; /* Ensures it doesn't interfere with hover */
}

/* Show preview only on hover */
.main_story_image:hover .hover_preview {
  display: block;
}

.close_btn_story {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 10;
  cursor: pointer;
}

.close_btn_story img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.main_story_title_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px;
}

.main_story_status_container {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 28px;
  max-width: 46%;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--main-story-status-color, rgba(245, 245, 245, 0.95));
  color: var(--main-story-status-text-color, rgb(20, 20, 20));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.main_story_status_text {
  display: none;
}

.main_story_status {
  overflow: hidden;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main_story_availability {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--darktext1);
  text-align: right;
}

.main_story_title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--darktext1);
}

.main_story_link a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--darktext1);
  text-decoration: none;
}

.main_story_link a:hover {
  text-decoration: underline;
  color: var(--darktext1);
}

.story_content {
  padding: 0 16px 12px;
  height: auto;
}

.main_story_text {
  font-size: 0.9rem;
  color: var(--darktext1);
  padding-top: 14px;
  border-top: 1px solid var(--darkgray2_hover);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.close_btn_story {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 30px;
  height: 30px;
  right: 10px;
  top: 10px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 10;
  background-color: var(--darkgray1);
}

.close_btn_story img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* DRAG MODAL */

.modal {
  position: fixed;
  bottom: 0;
  right: 30px;
  width: 330px;
  height: 70px; /* Start at 70px of the screen */
  max-height: 80%; /* Max height is 80% of the screen */
  transition: height 0.3s ease; /* Add smooth transition */
  z-index: 95;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding-left: 10px;
  padding-right: 10px;
  height: 70px;
  position: relative;
  font-size: 1.2rem;
  color: var(--darktext1);
}

.header_container {
  display: block;
  text-align: center;
  width: 100%;
  cursor: pointer;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  background-color: rgb(30, 30, 30);
  border-bottom: 1px solid rgb(30, 30, 30);
}

.header_container:hover {
  background-color: rgb(20, 20, 20);
}

.icon_sharing {
  position: absolute;
  right: 0;
  top: 0;
  margin: 20px;
  width: 35px;
  height: 35px;
}

.drag_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.drag-handle {
  width: 30px;
  height: 5px;
  transform: translateY(15px);
  background-color: var(--modal_head_text);
  border-radius: 5px;
}

.modal-content {
  overflow: scroll;
  height: 100%;
  background-color: rgb(50, 50, 50);
}

.scroll-container {
  overflow-y: auto;
  height: auto;
}

.project_title_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 100%;
}

.project_title {
  font-weight: 500;
  color: var(--modal_head_text);
  user-select: none;
}

.project_settings_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-left: 18px;
  margin-right: 13px;
  border-radius: 50%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0);
}

.project_settings_icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.project_sound {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  margin-left: 13px;
  margin-right: 13px;
  border-radius: 50%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0);
}

.project_sound img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* MAIN MESSAGE */

.main_message_container {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: start;
  width: 300px;
  height: auto;
  top: 15px;
  left: calc(50% - 150px);
  z-index: 3000;
}

.main_message {
  width: 300px;
  height: auto;
  padding: 12px;
  border-radius: 15px;
  background-color: var(--darkgray1);
}

.main_title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  width: 90%;
  color: var(--darktext1);
}

.main_text {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 5px;
  color: var(--darktext1);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.main_link {
  display: block;
  margin-top: 3px;
}

.main_link a {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--darktext1);
}

.main_link a:hover {
  text-decoration: underline;
}

.main_link a:active {
  text-decoration: none;
}

.close_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 25px;
  height: 25px;
  right: 6px;
  top: 6px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 10;
  background-color: var(--darkgray2);
}

.close_btn:hover {
  background-color: var(--darkgray2_hover);
}

.close_btn:active {
  background-color: var(--darkgray2_active);
}

.close_btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

/* LOGO */

.logo {
  display: flex;
  position: fixed;
  justify-items: center;
  align-items: center;
  width: 200px;
  height: 40px;
  top: 30px;
  left: 30px;
  z-index: 70;
  gap: 10px;
}

.logo img {
  width: auto;
  height: 35px;
  object-fit: contain;
}

.source {
  display: inline;
  z-index: 90;
  font-size: 18px;
  color: rgb(255, 255, 255);
}

.logo_client {
  display: none;
  justify-content: end;
  align-items: center;
  position: fixed;
  width: auto;
  top: 30px;
  right: 30px;
}

.logo_client img {
  width: auto;
  height: 35px;
  object-fit: contain;
}

/* LABEL AREA */

.label_area {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: auto;
  height: 30px;
  padding-top: 0px;
  padding-right: 10px;
  padding-bottom: 0px;
  padding-left: 10px;
  border-radius: 7px;
  z-index: 75;
  background-color: var(--darkgray1);
}

.label_area::after {
  content: "";
  display: block;
  width: 2px; /* Thickness of the vertical line */
  height: 10vh; /* Length of the vertical line */
  background-color: rgba(255, 255, 255, 0.7); /* Color of the line */
  position: absolute; /* Position relative to the label */
  left: 50%; /* Align the line to the center horizontally */
  transform: translateX(-50%); /* Ensure it's perfectly centered */
  top: 100%; /* Start at the bottom edge of the label */
}

.label_anchor {
  position: absolute;
  transform: translate(-50%, 0);
  z-index: 70;
  display: none;
  pointer-events: none;
}

.layout_body.woningzoeker-active .label_anchor {
  display: block;
}

.layout_body.woningzoeker-active .point:not(.editor-state-woningzoeker):not(.clr_Labels):not(.editor-state-all) {
  display: none !important;
}

.layout_body.woningzoeker-active .label_view {
  display: none !important;
}

.layout_body:not(.woningzoeker-active) .point.editor-state-woningzoeker:not(.editor-state-all),
.layout_body:not(.woningzoeker-active) .point.clr_Labels:not(.editor-state-all) {
  display: none !important;
}

.label_anchor > .label {
  pointer-events: auto;
}

.label_anchor:hover,
.label_anchor:focus-within {
  z-index: 110;
}

.label_anchor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: -1;
  pointer-events: none;
}

.label_anchor::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: rgb(255 255 255 / 80%);
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.label_view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 20px;
  z-index: 80;
  background-color: transparent;
}

.label_view[data-editor-role="perspective"],
.label_view[data-target-main] {
  background: transparent !important;
  background-color: transparent !important;
}

.point,
.label_view,
.label[data-handler],
.spotlight-editor-field[data-editor-role="field"],
.spotlight-editor-field[data-editor-role="field"] path,
svg[data-editor-role="field"],
svg[data-editor-role="field"] path {
  cursor: pointer;
}

.label_view img {
  display: inline;
  position: relative;
  float: left;
  width: 45px;
  height: 45px;
  padding: 7px;
  min-width: auto;
  object-fit: contain;
}

/* LABELS */

.label {
  position: relative;
  bottom: 10vh; /* Move label upward (same as ::after height) */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 999px;
  z-index: 75;
  background-color: rgb(255 255 255 / 50%);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.label:hover {
  background: rgba(45, 45, 45, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  color: rgb(255, 255, 255);
  z-index: 120;
}
.label:active {
  background: rgba(25, 25, 25, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(0);
}

.label::after {
  content: "";
  position: absolute;
  top: 100%; /* Directly below the label */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10vh;
  background-color: rgb(255 255 255 / 50%);
}

.label_start {
  background-color: var(--label_background);
}

.label_start:hover {
  background-color: var(--label_background_hover);
}

.label_start:active {
  background-color: var(--label_background_active);
}

.label_image_perspective {
  background-color: rgb(30, 30, 30);
  border-radius: 50px;
  margin: 5px;
}

.label_view.label_view_text {
  flex-direction: row;
  border-radius: 999px;
  background: transparent !important;
}

.label_view.label_view_text img,
.label_view.label_view_text .label_image_perspective {
  display: none;
}

.label_image {
  display: none;
  background-color: rgb(30, 30, 30);
  border-radius: 50px;
  margin: 5px;
}

.label_arrow {
  position: relative !important;
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 0px !important;
  margin-left: 5px;
  object-fit: contain !important;
}

.label_area img {
  display: none;
  position: relative;
  float: left;
  width: 35px;
  height: 35px;
  padding: 7px;
  min-width: auto;
  object-fit: contain;
}

.label_container {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  width: auto;
  min-width: auto;
  min-height: 1.4rem;
}

.label_title {
  display: block;
  position: relative;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  line-height: 1.2;
}

.label_view:hover .label_title {
  background-color: var(--darkgray2_hover); /* Highlight on hover */
}

.label_view_title {
  display: block;
  position: relative;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  background-color: rgb(30, 30, 30);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.label_view_title:hover {
  background-color: rgb(100, 100, 100);
}

.label_view_title:active {
  background-color: rgb(30, 30, 30);
}

.label_view.label_view_text .label_container {
  align-items: center;
  min-height: 0;
}

.label_view.label_view_text .label_view_title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 12px 14px;
  border-radius: 999px;
  color: rgb(20, 20, 20);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 140ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.label_view.label_view_text .label_view_title::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 1px;
  background-image: url("/assets/icons/asset_beeldenfabriek_arrow_right.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0);
  pointer-events: none;
}

.label_view.label_view_text:hover .label_view_title {
  background: rgb(255, 255, 255);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.label_view.label_view_text:active .label_view_title {
  background: rgba(240, 240, 240, 0.98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(0);
}

.label_status {
  display: none;
  position: relative;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  line-height: 1.2;
  align-items: center;
  gap: 8px;
}
.label_status br {
  display: none;
}

.label:hover .label_title,
.label:focus-visible .label_title {
  display: none;
}

.label:hover .label_status,
.label:focus-visible .label_status {
  display: inline-flex;
}

@media (max-width: 768px) {
  .label_title {
    display: block !important;
  }
  .label_status {
    display: block !important;
    margin-top: 2px;
  }
}

/* POINTS */

.point {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--point_border);
  border-radius: 50%;
  z-index: 10;
  background-color: var(--point_border);
}

.point svg path {
  fill: var(--point_path);
}

.point:hover {
  border: 3px solid var(--point_border_hover);
}

.point.spotlight-label-point {
  display: inline-flex;
  flex-direction: row;
  gap: 4px;
  justify-content: flex-start;
  align-items: center;
  width: auto;
  height: 28px;
  min-width: 0;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96) !important;
  color: rgb(20, 20, 20);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
  z-index: 82;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.point.spotlight-label-point:hover {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgb(255, 255, 255) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, calc(-50% - 1px));
}

.point.spotlight-label-point:active {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(240, 240, 240, 0.98) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.point.spotlight-label-point.clicked {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.point.spotlight-label-point .spotlight-label-arrow {
  display: block;
  position: static;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  min-width: 0;
  padding: 0;
  margin-top: 1px;
  filter: brightness(0);
  object-fit: contain;
}

.point.spotlight-label-point .spotlight-label-title {
  display: block;
  max-width: 220px;
  overflow: hidden;
  color: rgb(20, 20, 20);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.point.spotlight-label-point.has-status-color {
  border-color: var(--spotlight-label-status-border, rgba(255, 255, 255, 0.24)) !important;
  background: var(--spotlight-label-status-bg, rgba(255, 255, 255, 0.96)) !important;
  color: var(--spotlight-label-status-text, #fff);
}

.point.spotlight-label-point.has-status-color:hover,
.point.spotlight-label-point.has-status-color:active,
.point.spotlight-label-point.has-status-color.clicked {
  border-color: var(--spotlight-label-status-border, rgba(255, 255, 255, 0.24)) !important;
  background: var(--spotlight-label-status-bg, rgba(255, 255, 255, 0.96)) !important;
}

.point.spotlight-label-point.has-status-color .spotlight-label-title {
  color: var(--spotlight-label-status-text, #fff);
}

.point.spotlight-label-point.has-status-color .spotlight-label-arrow {
  filter: var(--spotlight-label-arrow-filter, brightness(0) invert(1));
}

.point.spotlight-link-point {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 150px;
  max-width: 280px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96) !important;
  color: rgb(20, 20, 20);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 82;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.point.spotlight-link-point::after {
  content: "";
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 10px;
  height: 10px;
  background-image: url("/assets/icons/asset_beeldenfabriek_arrow_right.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0);
  pointer-events: none;
}

.point.spotlight-link-point:hover {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgb(255, 255, 255) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, calc(-50% - 1px));
}

.point.spotlight-link-point:active {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(240, 240, 240, 0.98) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.point.spotlight-link-point.clicked {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.point.spotlight-link-point .spotlight-link-title,
.point.spotlight-link-point .spotlight-link-subtitle {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: rgb(20, 20, 20);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.point.spotlight-link-point .spotlight-link-title {
  grid-column: 1;
  grid-row: 1;
}

.point.spotlight-link-point .spotlight-link-subtitle {
  grid-column: 1;
  grid-row: 2;
}

.point.spotlight-link-point .spotlight-link-title,
.point.spotlight-link-point .spotlight-link-subtitle {
  width: 100%;
}

.point.spotlight-link-point .spotlight-link-title {
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.point.spotlight-link-point .spotlight-link-subtitle {
  margin-top: 3px;
  color: rgba(20, 20, 20, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.point svg path:hover {
  fill: var(--point_path);
  border: 2px solid var(--point_border_hover);
}

.point:active {
  border: 2px solid var(--point_border_active);
}

.point svg path:active {
  fill: var(--point_path);
  border: 2px solid var(--point_border_active);
}

.point.clicked {
  background-color: var(--point_clicked_background) !important;
  border: 2px solid var(--point_clicked_background) !important;
}

.point.clicked svg path {
  fill: var(--point_path) !important;
}

.bnr-tooltip {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  width: 350px;
}

.bnr-tooltip,
.bnr-tooltip * {
  box-sizing: border-box;
}

.bnr-tooltip .apartment-row,
.bnr-tooltip .apartment-info,
.bnr-tooltip .apartment-header,
.bnr-tooltip .apartment-specs {
  min-width: 0;
  overflow: hidden;
}

.bnr-tooltip .apartment-header {
  align-items: center;
}

.bnr-tooltip .apartment-specs {
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 10px;
}

.bnr-tooltip .apartment-row-title,
.bnr-tooltip .apartment-row-bnr,
.bnr-tooltip .apartment-spec-value,
.bnr-tooltip .apartment-status-pill {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bnr-tooltip .apartment-spec-label {
  min-width: max-content;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.bnr-tooltip .apartment-spec-value {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  text-align: right;
}

.bnr-tooltip.is-visible {
  display: block;
}

/* REFERENCE */

.reference {
  display: none;
  position: fixed;
  justify-content: start;
  align-items: center;
  height: 35px;
  width: 175px;
  top: 25px;
  left: calc(50% - 82px);
  text-decoration: none;
  gap: 10px;
  border-radius: 20px;
  z-index: 60;
  background-color: var(--reference_background);
}

.reference:hover {
  background-color: var(--reference_background_hover);
}

.reference:active {
  background-color: var(--reference_background_active);
}

.reference_icon_link {
  width: 16px;
  height: auto;
  margin-left: 12px;
}

.reference_title {
  color: var(--reference_title);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.reference_title:hover {
  color: var(--reference_title);
}

.reference_title:active {
  color: var(--reference_title);
}

.reference_icon_right {
  width: 8px;
  height: auto;
}

/* VIEWER */

.viewer {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 5000;
}

.viewer_content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-left: 40px;
  margin-right: 40px;
  height: calc(100% - 80px);
}

.viewer_image_container,
.viewer_video_container,
.viewer_iframe_container {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
}

.viewer_vr_container,
.viewer_iframe_container {
  display: none;
  width: calc(100vw - 80px);
  height: 100%;
}

.viewer_image {
  display: block;
  width: auto;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.viewer_video {
  display: block;
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.viewer_vr {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.viewer_iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.viewer_image_info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  color: white;
  left: 0;
  height: 80px;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 100;
  gap: 5px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.viewer_image_title {
  color: var(--viewer_text);
  padding-left: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.viewer_image_text {
  color: var(--viewer_text);
  padding-left: 20px;
  font-size: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.close_btn_viewer_image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-left: 13px;
  margin-right: 0px;
  z-index: 100;
  background-color: var(--darkgray1);
  cursor: pointer;
}

.close_btn_viewer_image:hover {
  background-color: var(--darkgray1_hover);
}

.close_btn_viewer_image:active {
  background-color: var(--darkgray1_active);
}

.close_btn_viewer_image img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* SETTINGS */

.settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* stays hidden until shown */
  z-index: 3000;
  pointer-events: auto;
}

.settings_container {
  width: 500px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);

  display: flex;
  flex-direction: column; /* stack topbar and content vertically */
}

.settings_topbar {
  display: block;
  width: 500px;
  height: 50px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: var(--darkgray1);
}

.settings_title_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.settings_title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--darktext1);
}

.settings_content {
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: flex-start;
  width: 500px;
  height: auto;
  padding: 25px;
  border-top: 1px solid var(--darkgray2);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background-color: var(--darkgray2);
}

.main_settings_text {
  display: block;
  width: 100%;
  height: auto;
  font-weight: 400;
  font-size: 1.1rem;
  padding-bottom: 10px;
  color: var(--darktext1);
}

.main_settings_link a {
  display: block;
  width: 100%;
  height: auto;
  font-size: 0.9rem;
  color: var(--darktext1);
  text-decoration: none;
}

.main_settings_link a:hover {
  text-decoration: underline;
}

.close_btn_settings_image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  z-index: 100;
  background-color: var(--darkgray2);
}

.close_btn_settings_image img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.close_btn_settings_image:hover {
  background-color: var(--darkgray2_hover);
}

.close_btn_settings_image:active {
  background-color: var(--darkgray2_active);
}

/* Insight panel */
#buildings_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: white;
}

.apartment-row {
  --apartment-bg: var(--darkgray1);
  --apartment-border: var(--darkgray1);
  --apartment-text: #3d352f;
  --apartment-muted: #8a847c;
  --apartment-accent: #2e6fa3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background-color: var(--darkgray1);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease,
    background-color 120ms ease;
}

.apartment-row:hover {
  transform: translateY(-2px);
  border-color: #c9bfb4;
  box-shadow: var(--apartment-shadow);
}

.apartment-row:active {
  transform: translateY(0);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.apartment-thumb {
  position: relative;
  width: 124px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8d1c9, #cbbfb1);
}

.apartment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apartment-status-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #d84c4c;
  color: #fff;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.apartment-status-pill.status-beschikbaar,
.apartment-status-pill.status-in-verkoop {
  background: #2e9156;
}

.apartment-status-pill.status-verkocht {
  background: #d84c4c;
}

.apartment-status-pill.status-gereserveerd,
.apartment-status-pill.status-later-in-verkoop,
.apartment-status-pill.status-onder-optie,
.apartment-status-pill.status-optiestatus,
.apartment-status-pill.status-onderoptie,
.apartment-status-pill.status-in-ontwikkeling,
.apartment-status-pill.status-in-ontwikkeling-voorverkoop {
  background: #606060;
}

.apartment-status-pill.status-onbekend {
  background: #000000;
}

.apartment-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.apartment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.apartment-row-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--darktext1);
  margin-bottom: 3px;
}

.apartment-row-bnr {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--darktext1);
}

.apartment-specs {
  display: grid;
  grid-template-columns: auto 1fr;

  row-gap: 4px;
  align-items: baseline;
}

.apartment-spec-label {
  color: var(--apartment-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1px;
}

.apartment-spec-value {
  color: var(--darktext1);
  font-size: 0.8rem;
  font-weight: 600;
  justify-self: end;
  text-align: right;
}

.apartment-spec-value.accent {
  color: var(--darktext1);
}

.status-btn {
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  background: #444;
}

.status-btn.beschikbaar {
  background: #28a745;
}

.status-btn.verkocht {
  background: #dc3545;
}

.spotlight-application-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
}

.spotlight-application-modal-overlay.hidden {
  display: none;
}

.spotlight-application-modal {
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  border-radius: 18px;
  padding: 22px;
  background: var(--darkgray1, #161616);
  color: var(--darktext1, #f5f5f5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.spotlight-application-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.spotlight-application-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.spotlight-application-modal-subtitle,
.spotlight-application-empty,
.spotlight-application-queue-meta,
.spotlight-application-status {
  color: var(--darktext2, #a8a8a8);
  font-size: 0.85rem;
}

.spotlight-application-close-btn,
.spotlight-application-move-btn {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--darkgray2, #222);
  color: var(--darktext1, #f5f5f5);
  cursor: pointer;
}

.spotlight-application-close-btn {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  border-color: transparent;
  background-color: var(--darkgray2, #222);
  font-size: 0;
  line-height: 0;
}

.spotlight-application-close-btn:hover,
.spotlight-application-close-btn:focus-visible {
  border-color: rgb(80, 80, 80);
  background-color: var(--darkgray1_hover);
}

.spotlight-application-close-btn:active {
  border-color: rgb(80, 80, 80);
  background-color: var(--darkgray1_active);
}

.spotlight-application-close-btn img {
  display: block;
  width: 11px;
  height: 11px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.spotlight-application-move-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.spotlight-application-modal-body {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(280px, 1fr);
  gap: 18px;
}

.spotlight-application-queue,
.spotlight-application-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotlight-application-queue-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  border-radius: 12px;
  padding: 10px;
  background: var(--darkgray2, #222);
}

.spotlight-application-queue-content {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding-right: 40px;
}

.spotlight-application-rank-controls {
  display: grid;
  grid-template-rows: 24px 24px 24px;
  align-items: center;
  justify-items: center;
  flex: 0 0 auto;
  gap: 2px;
}

.spotlight-application-queue-rank {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  border-radius: 999px;
  color: var(--darktext2, #a8a8a8);
  font-size: 0.72rem;
  font-weight: 800;
}

.spotlight-application-queue-thumb {
  position: relative;
  width: 121px;
  height: 94px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #d8d1c9, #cbbfb1);
}

.spotlight-application-queue-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-application-queue-thumb .apartment-status-pill {
  padding: 4px 7px;
  font-size: 6px;
}

.spotlight-application-queue-info {
  min-width: 180px;
}

.spotlight-application-move-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.spotlight-application-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50px;
  background-color: var(--darkgray1);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.spotlight-application-remove-btn:hover,
.spotlight-application-remove-btn:focus-visible {
  border-color: rgb(80, 80, 80);
  background-color: var(--darkgray1_hover);
}

.spotlight-application-remove-btn:active {
  border-color: rgb(80, 80, 80);
  background-color: var(--darkgray1_active);
}

.spotlight-application-remove-btn img {
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.spotlight-application-queue-title {
  font-weight: 700;
}

.spotlight-application-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight-application-field span {
  color: var(--darktext2, #a8a8a8);
  font-size: 0.78rem;
  font-weight: 700;
}

.spotlight-application-field input {
  width: 100%;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--darkgray2, #222);
  color: var(--darktext1, #f5f5f5);
}

.spotlight-application-submit-btn {
  justify-self: flex-start;
  background: #3eb489;
  color: #fff;
}

.spotlight-application-submit-btn:hover,
.spotlight-application-submit-btn:focus-visible {
  background: #35a37b;
}

.spotlight-application-submit-btn:active {
  background: #2f936f;
}

.spotlight-application-status[data-tone="success"] {
  color: #28a745;
}

.spotlight-application-status[data-tone="error"] {
  color: #dc3545;
}

.spotlight-application-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.spotlight-application-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  background: var(--darkgray2, #222);
  color: var(--darktext1, #f5f5f5);
  text-decoration: none;
}

.spotlight-application-login-btn:hover,
.spotlight-application-login-btn:focus-visible {
  border-color: #3eb489;
  color: var(--darktext1, #f5f5f5);
}

.spotlight-application-action-note {
  color: var(--darktext2, #a8a8a8);
  font-size: 0.75rem;
  line-height: 1.4;
}

@media screen and (max-width: 760px) {
  .spotlight-application-modal-body {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 520px) {
  .apartment-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .spotlight-application-queue-item {
    align-items: center;
    flex-direction: row;
  }

  .spotlight-application-queue-content {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .spotlight-application-queue-thumb {
    width: 82px;
    height: 58px;
  }

  .apartment-thumb {
    width: 100%;
    height: 180px;
  }

  .apartment-specs {
    width: 100%;
  }
}

.detail_title {
  padding: 0px 0px 0px 0px;
  font-size: 2rem;
  font-weight: 600;
}
.detail_list {
  font-size: 1rem;
  padding: 0px 0px 0px 0px;
  font-weight: 500;
}

.detail_list_tag {
  font-size: 0.8rem;
  color: rgb(180, 180, 180);
  padding: 15px 0px 5px 0px;
}

.detail_price {
  font-size: 1.6rem;
  font-weight: 600;
}

.detail_category_row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.detail_category_row .detail_category {
  margin: 0;
}

.detail_categrory {
  padding: 5px;
  font-size: 1rem;
  font-weight: 500;
}

/* === Dropdowns === */
#buildings_dropdowns {
  background-color: var(--darkgray1);
  border-radius: 10px;
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  grid-template-rows: auto auto; /* 2 rows */
  gap: 10px;
  margin-bottom: 15px;
}

#buildings_dropdowns select.sidebar-select {
  width: 100%;
  padding: 10px 35px 10px 12px; /* room for arrow */
  border-radius: 8px;
  border: none;
  background-color: var(--darkgray2);
  color: var(--darktext1);
  font-size: 14px;
  cursor: pointer;

  /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* custom arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

#buildings_dropdowns select.sidebar-select:hover {
  background-color: var(--darkgray2_hover);
}
#buildings_dropdowns select.sidebar-select:active {
  background-color: var(--darkgray2_active);
}

/* === Sliders === */
.slider-container {
  margin-top: 10px;
  border-radius: 10px;
  padding: 15px;
  background-color: var(--darkgray1);
  grid-column: 1 / -1;
  z-index: 2; /* keep thumbs above */
}

.spotlight-open-saved-units-btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(62, 180, 137, 0.48);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(62, 180, 137, 0.92), rgba(42, 138, 104, 0.92));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.spotlight-open-saved-units-btn:hover,
.spotlight-open-saved-units-btn:focus-visible {
  background: linear-gradient(135deg, rgba(69, 198, 150, 0.98), rgba(48, 153, 116, 0.98));
}

.spotlight-open-saved-units-btn:active {
  transform: translateY(1px);
}

.spotlight-open-saved-units-btn.hidden {
  display: none;
}

.range-slider .slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #666;
  transform: translateY(-50%);
  z-index: 1;
}

/* Host for two overlapped range inputs + overlay track + bubbles */
.range-slider {
  position: relative;
  width: 100%;
  height: 1.5em;
}

/* Base range reset */
.range-slider input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  -webkit-appearance: none;
  background: transparent;
  z-index: 2;
}

/* Track */
.range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  background: #444;
  border-radius: 6px;
}
.range-slider input[type="range"]::-moz-range-track {
  height: 10px;
  background: #444;
  border-radius: 6px;
}

/* Thumb (WebKit) */
.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #444;
  border: 2px solid white;
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 3;
  margin-top: -6px;
}

/* Thumb (Firefox) */
.range-slider input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #444;
  border: 2px solid white;
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 3;
  margin-top: -6px;
}

/* Bubbles */
.range-slider .bubble {
  position: absolute;
  top: -20px;
  background: var(--darkgray1);
  color: var(--darktext1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
  z-index: 4;
}

@media screen and (max-width: 950px) {
  .intro {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: auto;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    white-space: nowrap; /* Prevents text from wrapping to a new line */
  }

  .main_intro_project {
    font-size: 1rem;
  }

  .project_settings_icon_status {
    padding: 1px;
  }

  .project_settings_icon {
    width: 25px;
    height: 25px;
  }

  .project_sound_status {
    padding: 2px;
  }

  .project_sound {
    width: 27px;
    height: 27px;
  }

  /* AREA */

  .label_area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: auto;
    height: 30px;
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
    border-radius: 7px;
    z-index: 75;
    background-color: var(--label_background);
    /*pointer-events: none;*/
  }

  .label_area img {
    display: none;
    position: relative;
    float: left;
    width: 32px;
    height: 32px;
    padding: 7px;
    object-fit: contain;
  }

  .label_title {
    font-size: 0.7rem;
  }

  .label_status {
    font-size: 0.5rem;
  }

  .label_area::after {
    height: 7vh;
  }

  .cls-1 {
    display: inline-block;
    stroke-width: 1px;
    stroke: rgb(255 255 255 / 50%);
  }

  .controls {
    bottom: 10%;
  }

  .main_controls {
    width: auto;
  }

  .main_message_container {
    width: 94%;
    left: 3%;
  }

  .main_message {
    position: relative;
    width: 300px;
  }

  .main_message_title {
    font-size: 1.2rem;
  }

  .main_message_text {
    font-size: 1rem;
    margin-top: 7px;
  }

  .main_message_link {
    margin-top: 7px;
  }

  .main_message_link a {
    font-size: 1rem;
  }

  .viewer img {
    object-fit: contain;
  }

  .close_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
  }

  /* VIEWER */

  .viewer_content {
    width: 100%;
    height: 100%;
  }

  .viewer_image_container,
  .viewer_video_container,
  .viewer_vr_container,
  .viewer_iframe_container {
    display: none;
    width: 100vw;
    height: 100vh;
  }

  .viewer_image {
    border-radius: 0px;
    width: 100%;
  }

  .viewer_video {
    border-radius: 0px;
  }

  .viewer_vr {
    border-radius: 0px;
  }

  .viewer_iframe {
    border-radius: 0px;
  }

  .viewer_image_info {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .close_btn_viewer_image {
    right: 30px;
    top: 30px;
  }

  .main_slider_container.curved svg {
    width: auto;
    padding: 5px;
  }

  /* SETTINGS */

  .settings {
    width: 94%;
    height: auto;
    top: 15px;
    left: 3%;
    transform: translate(0, 0);
  }

  .settings_title {
    font-size: 1.2rem;
  }

  .settings_topbar {
    width: 100%;
  }

  .settings_content {
    width: 100%;
  }

  .settings_container {
    width: 100%;
  }

  .close_btn_settings_image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 100;
  }

  .main_title {
    font-size: 1.3rem;
    padding-bottom: 8px;
  }

  .main_text {
    font-size: 1rem;
    padding-bottom: 8px;
  }

  .main_link a {
    font-size: 1rem;
  }

  .main_story_container {
    width: 90vw;
    height: 100%;
    top: 20px;
    left: calc(50% - 45vw);
  }

  .close_btn_story {
    width: 30px;
    height: 30px;
  }

  .main_story_title {
  }

  .main_story_text {
    font-size: 0.9rem;
    padding-bottom: 10px;
  }

  .main_story_link a {
    font-size: 1rem;
  }

  .modal {
    left: 0px;
    width: 100%;
    height: 10%;
  }

  /* FILTERS */

  .filtering {
    display: none;
  }

  .header_toggle_title {
    width: 73%;
  }

  /* LOGO */

  .source {
    display: none;
  }

  .logo_client img {
    height: 30px;
  }

  /* REFERENCE */

  .reference {
    height: 40px;
    width: 184px;
    top: 28px;
    left: calc(50% - 92px);
    gap: 12px;
    border-radius: 24px;
  }

  .reference_icon_link {
    width: 18px;
    height: auto;
    margin-left: 14px;
  }

  .reference_title {
    font-size: 1rem;
  }

  .reference_icon_right {
    width: 8px;
    height: auto;
  }

  /* POINTS */

  .point {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 450px) {
  .main_message {
    width: 100%;
  }
}

/* POINT AUTHORING */
.spotlight-editor-collapse {
  display: block;
}

.spotlight-editor-collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding-right: 5px;
}

.spotlight-editor-collapse-toggle::-webkit-details-marker {
  display: none;
}

.spotlight-editor-collapse-icon {
  width: 12px;
  height: 12px;
  border-right: 2.5px solid rgba(255, 255, 255, 0.88);
  border-bottom: 2.5px solid rgba(255, 255, 255, 0.88);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.spotlight-editor-collapse[open] .spotlight-editor-collapse-icon {
  transform: translateY(2px) rotate(225deg);
}

.spotlight-editor-collapse-content {
  margin-top: 8px;
}

.spotlight-structure-editor .woningzoeker-toggle,
.spotlight-point-editor .woningzoeker-toggle {
  display: none !important;
}

.spotlight-structure-editor-panel {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 12000;
  width: 320px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 12px;
  border-radius: 10px;
  background: rgba(21, 21, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spotlight-structure-editor-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0;
}

.spotlight-structure-editor-panel .btn,
.spotlight-point-editor-panel .btn,
.spotlight-field-editor-panel .btn,
.spotlight-perspective-editor-panel .btn,
.spotlight-layer-delete-dialog .btn,
.spotlight-database-editor-modal .btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 34px;
  padding: 7px 10px;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  width: auto;
  min-width: 75px;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.spotlight-structure-editor-panel .btn:hover,
.spotlight-point-editor-panel .btn:hover,
.spotlight-field-editor-panel .btn:hover,
.spotlight-perspective-editor-panel .btn:hover,
.spotlight-layer-delete-dialog .btn:hover,
.spotlight-database-editor-modal .btn:hover {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-panel .btn:focus-visible,
.spotlight-point-editor-panel .btn:focus-visible,
.spotlight-field-editor-panel .btn:focus-visible,
.spotlight-perspective-editor-panel .btn:focus-visible,
.spotlight-layer-delete-dialog .btn:focus-visible,
.spotlight-database-editor-modal .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(78, 198, 255, 0.42);
}

.spotlight-structure-editor-panel .btn.btn-danger,
.spotlight-point-editor-panel .btn.btn-danger,
.spotlight-field-editor-panel .btn.btn-danger,
.spotlight-perspective-editor-panel .btn.btn-danger,
.spotlight-layer-delete-dialog .btn.btn-danger,
.spotlight-database-editor-modal .btn.btn-danger {
  border-color: rgba(255, 92, 92, 0.7);
  background: rgba(255, 92, 92, 0.16);
}

.spotlight-structure-editor-panel .btn.btn-danger:hover,
.spotlight-point-editor-panel .btn.btn-danger:hover,
.spotlight-field-editor-panel .btn.btn-danger:hover,
.spotlight-perspective-editor-panel .btn.btn-danger:hover,
.spotlight-layer-delete-dialog .btn.btn-danger:hover,
.spotlight-database-editor-modal .btn.btn-danger:hover {
  border-color: rgba(255, 92, 92, 0.9);
  background: rgba(255, 92, 92, 0.24);
}

.spotlight-structure-editor-panel .btn:disabled,
.spotlight-point-editor-panel .btn:disabled,
.spotlight-field-editor-panel .btn:disabled,
.spotlight-perspective-editor-panel .btn:disabled,
.spotlight-layer-delete-dialog .btn:disabled,
.spotlight-database-editor-modal .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.spotlight-database-editor-head-actions .btn {
  width: auto;
  min-width: 108px;
}

.spotlight-database-editor-modal .database-list-actions .btn {
  width: auto;
  min-width: 160px;
}

.spotlight-database-editor-modal .database-media-upload-btn {
  width: auto;
  min-width: 128px;
  align-self: flex-start;
}

.spotlight-database-editor-modal .btn.btn-ghost {
  border-color: var(--spotlight-editor-border, var(--darkborder1, #2b2b2b));
  background: var(--spotlight-editor-surface-hover, var(--darkgray2, #1a1a1a));
  color: var(--spotlight-editor-text, var(--darktext1, #f5f5f5));
}

.spotlight-database-editor-modal .btn.btn-ghost:hover {
  border-color: var(--spotlight-editor-border-strong, var(--darkborder2, #3a3a3a));
  background: var(--spotlight-editor-surface-hover, var(--darkgray2_hover, #242424));
}

.spotlight-database-editor-modal .btn.btn-primary {
  border-color: var(--spotlight-editor-accent, #3eb489);
  background: var(--spotlight-editor-accent, #3eb489);
  color: #fff;
  text-shadow: none;
}

.spotlight-database-editor-modal .btn.btn-primary:hover {
  border-color: var(--spotlight-editor-accent-hover, #38a27d);
  background: var(--spotlight-editor-accent-hover, #38a27d);
}

.spotlight-database-editor-modal .btn.btn-primary:active {
  border-color: var(--spotlight-editor-accent-active, #2f8869);
  background: var(--spotlight-editor-accent-active, #2f8869);
}

.spotlight-database-editor-modal .btn.btn-primary:disabled {
  border-color: var(--spotlight-editor-border, var(--darkborder1, #2b2b2b));
  background: var(--spotlight-editor-surface-active, var(--darkgray2_active, #202020));
  color: rgba(255, 255, 255, 0.62);
}

.spotlight-structure-editor-panel .hidden {
  display: none !important;
}

.spotlight-perspective-editor-panel .hidden {
  display: none !important;
}

.spotlight-structure-editor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.spotlight-structure-editor-item-row {
  display: block;
}

.spotlight-structure-editor-item-default {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 9px;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.spotlight-structure-editor-item-default:hover {
  border-color: rgba(78, 198, 255, 0.72);
}

.spotlight-structure-editor-item-default.is-active {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-item {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 6px;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.2;
  cursor: pointer;
  display: grid;
  grid-template-rows: auto auto;
  gap: 6px;
  align-items: start;
}

.spotlight-structure-editor-item:hover {
  border-color: rgba(78, 198, 255, 0.72);
}

.spotlight-structure-editor-item.is-active {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-item.is-default-layer {
  border-color: rgba(78, 198, 255, 0.62);
}

.spotlight-structure-editor-item-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.spotlight-structure-editor-item-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-structure-editor-item-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.spotlight-structure-editor-item-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 1.8em;
}

.spotlight-structure-editor-item-delete {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 9px;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.spotlight-structure-editor-item-delete:hover {
  border-color: rgba(255, 92, 92, 0.86);
  background: rgba(255, 92, 92, 0.2);
}

.spotlight-structure-editor-item-delete:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.spotlight-structure-editor-actions {
  display: grid;
  gap: 6px;
}

.spotlight-structure-editor-top-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.spotlight-structure-editor-add-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
}

.spotlight-structure-editor-layer-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.spotlight-structure-editor-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 7px 9px;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.3;
  min-height: 34px;
}

.spotlight-structure-editor-select option {
  color: #111;
}

.spotlight-structure-editor-item-add {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 9px;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.spotlight-structure-editor-item-close {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 9px;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.spotlight-structure-editor-item-close:hover {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-item-add:hover {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-item-rename {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 9px;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.spotlight-structure-editor-item-rename:hover {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-action-btn {
  width: 100%;
  min-width: 0;
}

.spotlight-editor-bottom-actions {
  position: fixed;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  z-index: 12040;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(21, 21, 21, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spotlight-editor-bottom-actions .spotlight-structure-editor-action-btn {
  min-width: 150px;
}

.spotlight-editor-bottom-action-item {
  display: grid;
  gap: 4px;
  min-width: 100px;
}

.spotlight-editor-bottom-action-title {
  color: var(--spotlight-editor-muted, rgba(255, 255, 255, 0.58));
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.spotlight-editor-bottom-action-item .spotlight-structure-editor-action-btn {
  min-width: 0;
  width: 100%;
}

.spotlight-editor-bottom-actions .spotlight-editor-state-toggle-btn {
  width: auto;
  min-width: 0;
  padding: 0 18px;
}

.spotlight-database-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(8, 10, 14, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.spotlight-database-editor-modal.is-open {
  display: flex;
}

.spotlight-database-editor-dialog {
  width: 100%;
  height: 80%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(21, 21, 21, 0.96);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spotlight-database-editor-head {
  position: relative;
  min-height: 62px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-right: 62px;
}

.spotlight-database-editor-head-copy {
  min-width: 0;
}

.spotlight-database-editor-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.spotlight-database-editor-head-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: calc(100% - 170px);
}

.spotlight-database-plugin-close.spotlight-database-editor-close-btn {
  top: 50%;
  right: 14px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
}

.spotlight-database-plugin-close.spotlight-database-editor-close-btn img {
  width: 12px;
  height: 12px;
}

.spotlight-database-editor-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 14px 14px;
}

.spotlight-database-plugin-modal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.62);
}

.spotlight-database-plugin-modal:not(.hidden) {
  display: flex;
}

.spotlight-database-plugin-dialog {
  position: relative;
  width: min(880px, calc(100vw - 44px));
  height: min(780px, calc(100dvh - 70px));
  max-height: calc(100dvh - 70px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.18));
  border-radius: 20px;
  background: var(--spotlight-editor-bg, #111316);
  color: var(--spotlight-editor-text, #f5f7fb);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.spotlight-database-plugin-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.18));
  border-radius: 50%;
  background: var(--spotlight-editor-surface, rgba(255, 255, 255, 0.08));
  cursor: pointer;
}

.spotlight-database-plugin-close:hover {
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.12));
}

.spotlight-database-plugin-close img {
  width: 13px;
  height: 13px;
  display: block;
}

.spotlight-database-plugin-header {
  flex: 0 0 auto;
  padding: 24px 76px 20px 24px;
  border-bottom: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
}

.spotlight-database-plugin-title {
  padding-right: 46px;
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 1.18rem;
  font-weight: 800;
}

.spotlight-database-plugin-intro {
  max-width: 640px;
  margin-top: 8px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.72));
  font-size: 0.9rem;
  line-height: 1.45;
}

.spotlight-database-plugin-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 18px 24px;
}

.spotlight-database-plugin-footer {
  flex: 0 0 auto;
  padding: 16px 24px;
  border-top: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  background: var(--spotlight-editor-bg, #111316);
}

.spotlight-database-plugin-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.spotlight-database-plugin-step {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 14px;
  background: var(--spotlight-editor-surface, rgba(255, 255, 255, 0.06));
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.68));
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
}

.spotlight-database-plugin-step:not(.is-locked):hover {
  border-color: var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.3));
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.1));
}

.spotlight-database-plugin-step.is-active {
  border-color: var(--spotlight-editor-accent, #3eb489);
  background: rgba(62, 180, 137, 0.12);
  color: var(--spotlight-editor-text, #f5f7fb);
}

.spotlight-database-plugin-step.is-locked {
  opacity: 0.58;
  cursor: not-allowed;
}

.spotlight-database-plugin-step.is-complete {
  border-color: rgba(62, 180, 137, 0.34);
}

.spotlight-database-plugin-step.is-complete .spotlight-database-plugin-step-index {
  background: rgba(62, 180, 137, 0.2);
  color: #76e4b6;
}

.spotlight-database-plugin-step-index {
  width: 28px;
  height: 28px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.12));
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.78rem;
  font-weight: 800;
}

.spotlight-database-plugin-step.is-active .spotlight-database-plugin-step-index {
  background: var(--spotlight-editor-accent, #3eb489);
  color: #06140f;
}

.spotlight-database-plugin-step-title {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
}

.spotlight-database-plugin-step-text {
  margin-top: 3px;
  overflow: hidden;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.68));
  font-size: 0.72rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-database-plugin-step-panel {
  margin-top: 0;
  padding: 16px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.spotlight-database-plugin-step-panel.hidden {
  display: none;
}

.spotlight-database-plugin-step-panel.is-active {
  border-color: rgba(62, 180, 137, 0.46);
  background: rgba(62, 180, 137, 0.07);
}

.spotlight-database-plugin-step-panel.is-locked {
  opacity: 0.64;
}

.spotlight-database-plugin-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.spotlight-database-plugin-step-heading > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.12));
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.72rem;
  font-weight: 800;
}

.spotlight-database-plugin-step-heading h3 {
  margin: 0;
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 1rem;
  line-height: 1.2;
}

.spotlight-database-plugin-step-heading p {
  max-width: 680px;
  margin: 5px 0 0;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.7));
  font-size: 0.84rem;
  line-height: 1.45;
}

.spotlight-database-plugin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spotlight-database-plugin-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 16px;
  background: var(--spotlight-editor-surface, rgba(255, 255, 255, 0.06));
}

.spotlight-database-plugin-card.is-selected {
  border-color: var(--spotlight-editor-accent, #3eb489);
  box-shadow: 0 0 0 1px rgba(62, 180, 137, 0.32);
}

.spotlight-database-plugin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.spotlight-database-plugin-card-title {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 1rem;
  font-weight: 800;
}

.spotlight-database-plugin-card-label,
.spotlight-database-plugin-description,
.spotlight-database-plugin-mapping-text {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.7));
  font-size: 0.78rem;
  line-height: 1.45;
}

.spotlight-database-plugin-description {
  margin: 0;
  flex: 1;
}

.spotlight-database-plugin-status,
.spotlight-database-plugin-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(62, 180, 137, 0.14);
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.spotlight-database-plugin-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.spotlight-database-plugin-tag {
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.1));
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.78));
}

.spotlight-database-plugin-action {
  width: 100%;
}

.spotlight-database-plugin-connect-panel {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.7));
  font-size: 0.86rem;
  line-height: 1.45;
}

.spotlight-database-plugin-step-panel > .spotlight-database-plugin-connect-panel {
  margin-top: 0;
}

.spotlight-database-plugin-workflow-panel {
  min-height: 220px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.72));
}

.spotlight-database-plugin-connect-eyebrow {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.7));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-database-plugin-connect-title {
  margin-top: 4px;
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.96rem;
  font-weight: 800;
}

.spotlight-database-plugin-connect-text {
  max-width: 680px;
  margin-top: 6px;
}

.spotlight-database-plugin-connect-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, 0.24);
  background: rgba(255, 193, 7, 0.1);
  color: #ffd56a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spotlight-database-plugin-connect-state.is-connected {
  border-color: rgba(62, 180, 137, 0.34);
  background: rgba(62, 180, 137, 0.16);
  color: #76e4b6;
}

.spotlight-database-plugin-card.is-connected {
  border-color: rgba(62, 180, 137, 0.42);
}

.spotlight-database-plugin-status.is-connected {
  background: rgba(62, 180, 137, 0.16);
  color: #76e4b6;
}

.spotlight-database-plugin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.spotlight-database-plugin-field,
.spotlight-database-plugin-fieldset {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spotlight-database-plugin-field > span,
.spotlight-database-plugin-fieldset legend {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spotlight-database-plugin-field input,
.spotlight-database-plugin-field select {
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.14));
  border-radius: 10px;
  outline: none;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.075));
  color: var(--spotlight-editor-text, #f5f7fb) !important;
  font: inherit;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.spotlight-database-plugin-field select {
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

.spotlight-database-plugin-field select option {
  background: var(--spotlight-editor-bg, #111316);
  color: var(--spotlight-editor-text, #f5f7fb);
}

.spotlight-database-plugin-field small {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.72rem;
  line-height: 1.35;
}

.spotlight-database-plugin-field input::placeholder {
  color: rgba(245, 247, 251, 0.38);
}

.spotlight-database-plugin-field input:hover,
.spotlight-database-plugin-field select:hover {
  border-color: var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.28));
  background: rgba(255, 255, 255, 0.095);
}

.spotlight-database-plugin-field input:focus,
.spotlight-database-plugin-field select:focus {
  border-color: var(--spotlight-editor-accent, #3eb489);
  box-shadow: 0 0 0 3px rgba(62, 180, 137, 0.14);
}

.spotlight-database-plugin-provider-managed {
  margin-top: 14px;
}

.spotlight-database-plugin-flow {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.spotlight-database-plugin-flow-step {
  padding: 14px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.spotlight-database-plugin-flow-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.spotlight-database-plugin-flow-index {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--spotlight-editor-accent, #3eb489);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
}

.spotlight-database-plugin-flow-title {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.88rem;
  font-weight: 850;
}

.spotlight-database-plugin-flow-text {
  max-width: 720px;
  margin-top: 3px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.68));
  font-size: 0.78rem;
}

.spotlight-database-plugin-form-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.spotlight-database-plugin-project-panel {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.spotlight-database-plugin-project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.spotlight-database-plugin-project-title-main {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.82rem;
  font-weight: 800;
}

.spotlight-database-plugin-project-text,
.spotlight-database-plugin-project-meta,
.spotlight-database-plugin-project-id,
.spotlight-database-plugin-project-empty {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.68));
  font-size: 0.76rem;
}

.spotlight-database-plugin-project-count {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spotlight-database-plugin-project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 240px;
  overflow: auto;
}

.spotlight-database-plugin-project-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.14));
  border-radius: 12px;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.065));
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 120ms ease;
}

.spotlight-database-plugin-project-item:hover {
  border-color: var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.28));
  background: rgba(255, 255, 255, 0.095);
}

.spotlight-database-plugin-project-item:active {
  transform: scale(0.985);
}

.spotlight-database-plugin-project-item:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

.spotlight-database-plugin-project-item.is-selected {
  border-color: rgba(62, 180, 137, 0.56);
  background: rgba(62, 180, 137, 0.14);
}

.spotlight-database-plugin-project-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spotlight-database-plugin-project-title {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.84rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-database-plugin-project-action {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--spotlight-editor-accent, #3eb489);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spotlight-database-plugin-project-item.is-selected .spotlight-database-plugin-project-action {
  background: rgba(255, 255, 255, 0.16);
}

.spotlight-database-plugin-fieldset {
  margin: 16px 0 0;
  padding: 13px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.spotlight-database-plugin-fieldset legend {
  padding: 0 6px;
}

.spotlight-database-plugin-checkbox-grid,
.spotlight-database-plugin-switch-row,
.spotlight-database-plugin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spotlight-database-plugin-switch-row,
.spotlight-database-plugin-action-row {
  margin-top: 14px;
}

.spotlight-database-plugin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.14));
  border-radius: 999px;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.065));
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.72));
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.spotlight-database-plugin-checkbox:hover,
.spotlight-database-plugin-checkbox:has(input:focus-visible) {
  border-color: var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.28));
  background: rgba(255, 255, 255, 0.09);
  color: var(--spotlight-editor-text, #f5f7fb);
}

.spotlight-database-plugin-checkbox:has(input:checked) {
  border-color: rgba(62, 180, 137, 0.5);
  background: rgba(62, 180, 137, 0.16);
  color: var(--spotlight-editor-text, #f5f7fb);
}

.spotlight-database-plugin-checkbox input[type="checkbox"] {
  position: relative;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.28));
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 120ms ease;
}

.spotlight-database-plugin-checkbox input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.72);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.spotlight-database-plugin-checkbox input[type="checkbox"]:checked {
  border-color: var(--spotlight-editor-accent, #3eb489);
  background: var(--spotlight-editor-accent, #3eb489);
}

.spotlight-database-plugin-checkbox input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.spotlight-database-plugin-checkbox input[type="checkbox"]:active {
  transform: scale(0.94);
}

.spotlight-database-plugin-action-row .btn {
  width: auto;
  min-width: 128px;
  min-height: 38px;
  border-radius: 999px;
}

.spotlight-database-plugin-connect-panel [data-spotlight-plugin-status],
.spotlight-database-plugin-workflow-panel [data-spotlight-plugin-status] {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.14));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.72));
  font-size: 0.8rem;
}

.spotlight-database-plugin-connect-panel [data-spotlight-plugin-status].success,
.spotlight-database-plugin-workflow-panel [data-spotlight-plugin-status].success {
  border-color: rgba(62, 180, 137, 0.38);
  background: rgba(62, 180, 137, 0.12);
  color: #76e4b6;
}

.spotlight-database-plugin-connect-panel [data-spotlight-plugin-status].error,
.spotlight-database-plugin-workflow-panel [data-spotlight-plugin-status].error {
  border-color: rgba(255, 92, 92, 0.42);
  background: rgba(255, 92, 92, 0.12);
  color: #ff9b9b;
}

.spotlight-database-plugin-preview-wrap {
  max-height: 220px;
  margin-top: 12px;
  overflow: auto;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.14));
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
}

.spotlight-database-plugin-preview-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.72));
  font-size: 0.78rem;
}

.spotlight-database-plugin-preview-table th,
.spotlight-database-plugin-preview-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  text-align: left;
  vertical-align: top;
}

.spotlight-database-plugin-preview-table th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spotlight-database-plugin-preview-table tr:last-child td {
  border-bottom: 0;
}

.spotlight-database-plugin-mapping-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.spotlight-database-plugin-mapping-title {
  margin-bottom: 6px;
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.9rem;
  font-weight: 800;
}

.spotlight-database-plugin-empty-state {
  min-height: 220px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  border: 1px dashed var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.26));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.spotlight-database-plugin-empty-state .spotlight-database-plugin-mapping-text {
  max-width: 520px;
}

.spotlight-database-plugin-empty-state .btn {
  margin-top: 4px;
}

.spotlight-database-plugin-mapping-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.spotlight-database-plugin-mapping-groups {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.spotlight-database-plugin-mapping-group {
  overflow: hidden;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.spotlight-database-plugin-mapping-group[open] {
  border-color: var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.26));
  background: rgba(255, 255, 255, 0.04);
}

.spotlight-database-plugin-mapping-group-toggle {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.spotlight-database-plugin-mapping-group-toggle::-webkit-details-marker {
  display: none;
}

.spotlight-database-plugin-mapping-group-toggle:hover {
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.06));
}

.spotlight-database-plugin-mapping-group-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spotlight-database-plugin-mapping-group-copy strong {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.9rem;
  font-weight: 850;
}

.spotlight-database-plugin-mapping-group-copy small {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.72rem;
  line-height: 1.35;
}

.spotlight-database-plugin-mapping-group-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.7rem;
  font-weight: 800;
}

.spotlight-database-plugin-mapping-group-arrow {
  width: 10px;
  height: 10px;
  display: block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.spotlight-database-plugin-mapping-group[open] .spotlight-database-plugin-mapping-group-arrow {
  transform: rotate(45deg);
}

.spotlight-database-plugin-mapping-group-content {
  padding: 0 14px 14px;
  border-top: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
}

.spotlight-database-plugin-mapping-group-content .spotlight-database-plugin-mapping-wrap {
  margin-top: 14px;
}

.spotlight-database-plugin-mapping-group-empty {
  margin-top: 14px;
  padding: 20px;
  border: 1px dashed var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 11px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.76rem;
  text-align: center;
}

.spotlight-database-plugin-mapping-group-empty strong {
  color: var(--spotlight-editor-text, #f5f7fb);
}

.spotlight-database-plugin-mapping-wrap {
  max-height: min(360px, 42vh);
}

.spotlight-database-plugin-mapping-table td:first-child {
  min-width: 180px;
}

.spotlight-database-plugin-mapping-table td:nth-child(2) {
  min-width: 250px;
}

.spotlight-database-plugin-mapping-table td:nth-child(3) {
  width: 34%;
}

.spotlight-database-plugin-mapping-table tr.is-unmapped td {
  opacity: 0.62;
}

.spotlight-database-plugin-mapping-table select {
  width: 100%;
  min-height: 38px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 9px;
  outline: none;
  background-color: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.08));
  color: var(--spotlight-editor-text, #f5f7fb);
  font: inherit;
}

.spotlight-database-plugin-mapping-table select:focus {
  border-color: var(--spotlight-editor-accent, #3eb489);
  box-shadow: 0 0 0 3px rgba(62, 180, 137, 0.14);
}

.spotlight-database-plugin-mapping-table select option {
  background: #171a1f;
  color: #f5f7fb;
}

.spotlight-database-plugin-mapping-table select optgroup {
  background: #171a1f;
  color: rgba(245, 247, 251, 0.68);
  font-weight: 800;
}

.spotlight-database-plugin-target-label,
.spotlight-database-plugin-target-key {
  display: block;
}

.spotlight-database-plugin-target-label {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-weight: 800;
}

.spotlight-database-plugin-target-key {
  margin-top: 3px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.7rem;
}

.spotlight-database-plugin-required {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(62, 180, 137, 0.15);
  color: #76e4b6;
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.spotlight-database-plugin-mapping-sample {
  max-width: 300px;
  overflow: hidden;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.68));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-database-plugin-step-actions {
  justify-content: flex-end;
}

.spotlight-database-plugin-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spotlight-database-plugin-review-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.spotlight-database-plugin-review-card > span {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spotlight-database-plugin-review-card strong {
  overflow: hidden;
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-database-plugin-review-card small {
  overflow: hidden;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-database-plugin-sync-schedule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.spotlight-database-plugin-sync-schedule > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.spotlight-database-plugin-sync-schedule > div > span {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spotlight-database-plugin-sync-schedule strong {
  color: var(--spotlight-editor-text, #f5f7fb);
  font-size: 0.92rem;
}

.spotlight-database-plugin-sync-schedule small {
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.62));
  font-size: 0.74rem;
  line-height: 1.4;
}

.spotlight-database-plugin-sync-schedule-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 999px;
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.7));
  font-size: 0.7rem;
  font-weight: 800;
}

.spotlight-database-plugin-sync-schedule.is-active {
  border-color: rgba(62, 180, 137, 0.38);
  background: rgba(62, 180, 137, 0.08);
}

.spotlight-database-plugin-sync-schedule.is-active .spotlight-database-plugin-sync-schedule-status {
  border-color: rgba(62, 180, 137, 0.42);
  background: rgba(62, 180, 137, 0.13);
  color: var(--spotlight-editor-text, #f5f7fb);
}

.spotlight-database-plugin-sync-note {
  margin-top: 14px;
  padding: 13px 14px;
  border-left: 3px solid var(--spotlight-editor-accent, #3eb489);
  border-radius: 0 11px 11px 0;
  background: rgba(62, 180, 137, 0.08);
  color: var(--spotlight-editor-muted, rgba(245, 247, 251, 0.76));
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .spotlight-database-plugin-form-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-database-plugin-project-list {
    grid-template-columns: 1fr;
  }

  .spotlight-database-plugin-review-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-database-plugin-mapping-summary,
  .spotlight-database-plugin-mapping-group-toggle {
    align-items: flex-start;
  }

  .spotlight-database-plugin-mapping-group-toggle {
    gap: 12px;
    padding: 14px;
  }

  .spotlight-database-plugin-mapping-group-meta > span:first-child {
    display: none;
  }

  .spotlight-database-plugin-action-row .btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

.spotlight-database-editor-modal .database-editor-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-database-editor-modal .database-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.spotlight-database-editor-modal .database-collapse-group {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.spotlight-database-editor-modal .database-collapse-toggle {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: rgba(244, 247, 251, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
}

.spotlight-database-editor-modal .database-collapse-toggle::-webkit-details-marker {
  display: none;
}

.spotlight-database-editor-modal .database-collapse-icon::before {
  content: "▸";
}

.spotlight-database-editor-modal .database-collapse-group[open] .database-collapse-icon::before {
  content: "▾";
}

.spotlight-database-editor-modal .database-collapse-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px 10px;
}

.spotlight-database-editor-modal .database-collapse-content--editor {
  padding: 0 14px 10px;
}

.spotlight-database-editor-modal .database-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 12px;
  align-items: start;
}

.spotlight-database-editor-modal .database-editor-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotlight-database-editor-modal .database-list-actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.spotlight-database-editor-modal .database-scroll-x {
  overflow-x: auto;
}

.spotlight-database-editor-modal .database-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.spotlight-database-editor-modal .database-table th,
.spotlight-database-editor-modal .database-table td {
  border: 1px solid var(--spotlight-editor-surface-hover);
  padding: 2px 4px;
  vertical-align: center;
  font-size: 0.75rem;
}

.spotlight-database-editor-modal .database-table th {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 251, 0.95);
  text-align: left;
  font-weight: 700;
}

.spotlight-database-editor-modal .database-table td {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(238, 243, 249, 0.95);
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.spotlight-database-editor-modal .database-table-row.is-selected td {
  background: rgba(110, 210, 170, 0.16);
}

.spotlight-database-editor-modal .database-table td.database-table-cell-active {
  outline: 0px solid rgba(113, 206, 255, 0.8);
  outline-offset: -1px;
}

.spotlight-database-editor-modal .database-edit-panel {
  border-radius: 8px;
  background: var(--spotlight-editor-surface-hover);
  overflow: hidden;
}

.spotlight-database-editor-modal .database-edit-panel--shared {
  position: sticky;
  top: 0px;
  align-self: start;
  max-height: calc(100dvh - 150px);
  overflow: auto;
  z-index: 2;
}

.spotlight-database-editor-modal .database-edit-collapse-group {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.spotlight-database-editor-modal .database-edit-panel-empty {
  color: rgba(238, 243, 249, 0.88);
  font-size: 0.8rem;
}

.spotlight-database-editor-modal .database-edit-panel-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spotlight-database-editor-modal .database-edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight-database-editor-modal .database-edit-field > span {
  color: var(--darktext2, rgba(238, 243, 249, 0.74));
  font-size: 0.74rem;
}

.spotlight-database-editor-modal .database-edit-field > .database-edit-field-title {
  color: var(--darktext1, rgba(245, 248, 252, 0.98));
  font-weight: 700;
}

.spotlight-database-editor-modal .database-edit-field input,
.spotlight-database-editor-modal .database-edit-field select,
.spotlight-database-editor-modal .database-edit-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.24));
  border-radius: 5px;
  background-color: var(--darkgray1, rgba(255, 255, 255, 0.08));
  color: var(--darktext1, #fff);
  padding: 9px 10px;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.35;
}

.spotlight-database-editor-modal .database-edit-field textarea {
  min-height: 68px;
  resize: vertical;
  font-family: "Figtree", sans-serif;
}

.spotlight-database-editor-modal .database-media-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spotlight-database-editor-modal .database-media-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spotlight-database-editor-modal .database-media-editor-title {
  color: var(--darktext1, rgba(245, 248, 252, 0.98));
  font-size: 0.78rem;
  font-weight: 700;
}

.spotlight-database-editor-modal .database-media-upload-btn {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  font-size: 0.76rem;
}

.spotlight-database-editor-modal .database-media-editor-status {
  min-height: 1em;
  flex: 1;
  color: rgba(238, 243, 249, 0.68);
  font-size: 0.72rem;
  text-align: right;
}

.spotlight-database-editor-modal .database-media-editor-status[data-tone="working"] {
  color: rgba(113, 206, 255, 0.92);
}

.spotlight-database-editor-modal .database-media-editor-status[data-tone="warning"] {
  color: rgba(255, 211, 120, 0.94);
}

.spotlight-database-editor-modal .database-media-editor-status[data-tone="error"] {
  color: rgba(255, 126, 126, 0.94);
}

.spotlight-database-editor-modal .database-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.spotlight-database-editor-modal .database-media-empty {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(238, 243, 249, 0.64);
  font-size: 0.76rem;
  text-align: center;
}

.spotlight-database-editor-modal .database-media-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.spotlight-database-editor-modal .database-media-item.is-main {
  border-color: rgba(110, 210, 170, 0.9);
  box-shadow: 0 0 0 1px rgba(110, 210, 170, 0.42);
}

.spotlight-database-editor-modal .database-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-database-editor-modal .database-media-main-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(3, 12, 18, 0.74);
  color: rgba(245, 248, 252, 0.96);
  font-size: 0.64rem;
  font-weight: 700;
}

.spotlight-database-editor-modal .database-media-item.is-main .database-media-main-badge {
  background: rgba(62, 180, 137, 0.94);
  color: #06140f;
}

.spotlight-database-editor-modal .database-edit-field input::placeholder,
.spotlight-database-editor-modal .database-edit-field textarea::placeholder {
  color: var(--darktext2, rgba(238, 243, 249, 0.6));
}

.spotlight-database-editor-modal .database-edit-field select {
  color-scheme: dark;
}

.spotlight-database-editor-modal .database-edit-field select option,
.spotlight-database-editor-modal .database-edit-field select optgroup {
  background: var(--darkgray1, #1f2124);
  color: var(--darktext1, #f2f5f8);
}

.spotlight-database-editor-modal .database-edit-field input:disabled,
.spotlight-database-editor-modal .database-edit-field select:disabled,
.spotlight-database-editor-modal .database-edit-field textarea:disabled {
  background-color: var(--darkgray1, rgba(255, 255, 255, 0.08));
  color: var(--darktext2, rgba(238, 243, 249, 0.6));
  opacity: 1;
}

.spotlight-database-editor-modal .database-edit-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.spotlight-database-editor-modal .database-edit-field input[type="number"]::-webkit-outer-spin-button,
.spotlight-database-editor-modal .database-edit-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.spotlight-database-editor-modal .database-edit-field input:focus,
.spotlight-database-editor-modal .database-edit-field select:focus,
.spotlight-database-editor-modal .database-edit-field textarea:focus {
  outline: none;
  border-color: rgba(78, 198, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(78, 198, 255, 0.2);
}

.spotlight-database-editor-open .spotlight-editor-bottom-actions {
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .spotlight-database-editor-modal .database-editor-layout {
    grid-template-columns: 1fr;
  }

  .spotlight-database-editor-modal .database-edit-panel--shared {
    position: static;
    max-height: none;
  }

  .spotlight-database-editor-modal .database-table {
    min-width: 640px;
  }

  .spotlight-database-plugin-list {
    grid-template-columns: 1fr;
  }

  .spotlight-database-plugin-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .spotlight-editor-bottom-actions {
    width: calc(100vw - 26px);
    justify-content: center;
  }

  .spotlight-editor-bottom-actions .spotlight-structure-editor-action-btn {
    min-width: 0;
    flex: 1 1 0;
  }

  .spotlight-editor-bottom-action-item {
    min-width: 0;
    flex: 1 1 0;
  }
}

.spotlight-structure-editor-media {
  display: grid;
  gap: 8px;
}

.spotlight-structure-editor-media-title {
  font-size: 0.83rem;
  font-weight: 700;
}

.spotlight-structure-editor-media-group {
  display: grid;
  gap: 8px;
}

.spotlight-layer-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 12020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 10, 14, 0.58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.spotlight-layer-delete-modal.is-open {
  display: flex;
}

.spotlight-layer-delete-dialog {
  width: min(420px, calc(100vw - 32px));
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(21, 21, 21, 0.96);
  color: #fff;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.spotlight-layer-delete-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.spotlight-layer-delete-message {
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.9;
}

.spotlight-layer-delete-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.spotlight-category-manager-modal {
  position: fixed;
  inset: 0;
  z-index: 12080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.spotlight-category-manager-modal.is-open {
  display: flex;
}

.spotlight-category-manager-dialog {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.2));
  border-radius: 14px;
  background: var(--spotlight-editor-bg, rgba(21, 21, 21, 0.96));
  color: var(--spotlight-editor-text, #fff);
  padding: 16px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.spotlight-category-manager-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-right: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
}

.spotlight-database-plugin-close.spotlight-category-manager-close-btn {
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
}

.spotlight-database-plugin-close.spotlight-category-manager-close-btn img {
  width: 12px;
  height: 12px;
}

.spotlight-category-manager-title {
  color: var(--spotlight-editor-text, #fff);
  font-size: 0.95rem;
  font-weight: 650;
}

.spotlight-category-manager-subtitle {
  margin-top: 3px;
  color: var(--spotlight-editor-muted, rgba(255, 255, 255, 0.62));
  font-size: 0.76rem;
  line-height: 1.35;
}

.spotlight-category-manager-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 14px;
}

.spotlight-category-manager-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.spotlight-category-manager-field span {
  color: var(--spotlight-editor-muted, rgba(255, 255, 255, 0.62));
  font-size: 0.72rem;
}

.spotlight-category-manager-field input:not([type="color"]),
.spotlight-category-manager-field select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.24));
  border-radius: 8px;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.08));
  color: var(--spotlight-editor-text, #fff);
  padding: 8px 10px;
  font: inherit;
  font-size: 0.78rem;
}

.spotlight-category-manager-field input:focus {
  outline: none;
  border-color: var(--spotlight-editor-accent, #3eb489);
  box-shadow: 0 0 0 1px rgba(62, 180, 137, 0.22);
}

.spotlight-category-manager-section-title {
  margin-top: 14px;
  color: var(--spotlight-editor-muted, rgba(255, 255, 255, 0.62));
  font-size: 0.72rem;
}

.spotlight-category-manager-style {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 5px;
  padding: 8px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.16));
  border-radius: 10px;
  background: var(--spotlight-editor-surface, rgba(255, 255, 255, 0.05));
}

.spotlight-category-manager-style.hidden {
  display: none;
}

.spotlight-category-manager-color-field {
  align-content: end;
}

.spotlight-category-manager-color-input {
  width: 64px;
  min-width: 64px;
  height: 36px;
  min-height: 36px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.24));
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.spotlight-category-manager-color-input:hover,
.spotlight-category-manager-color-input:focus {
  border-color: var(--spotlight-editor-accent, #3eb489);
  box-shadow: 0 0 0 1px rgba(62, 180, 137, 0.18);
}

.spotlight-category-manager-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.spotlight-category-manager-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.spotlight-category-manager-color-input::-moz-color-swatch {
  border: none;
  border-radius: 6px;
}

.spotlight-category-manager-category-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2px;
}

.spotlight-category-manager-category-actions .btn {
  width: auto;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.72rem;
}

.spotlight-category-manager-icon-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
  gap: 5px;
  min-width: 0;
}

.spotlight-category-manager-icon-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.spotlight-category-manager-icon-head {
  display: block;
}

.spotlight-category-manager-icon-head > span {
  color: var(--spotlight-editor-muted, rgba(255, 255, 255, 0.62));
  font-size: 0.72rem;
}

.spotlight-category-manager-icon-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  justify-content: flex-start;
}

.spotlight-category-manager-icon-actions .btn {
  width: auto;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.72rem;
}

.spotlight-category-manager-icon-btn {
  display: grid;
  place-items: center;
  min-height: 30px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.2));
  border-radius: 8px;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.07));
  cursor: pointer;
}

.spotlight-category-manager-icon-btn:hover,
.spotlight-category-manager-icon-btn.is-active {
  border-color: var(--spotlight-editor-accent, #3eb489);
  background: rgba(62, 180, 137, 0.18);
}

.spotlight-category-manager-icon-btn img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.spotlight-category-manager-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.spotlight-category-manager-save-btn {
  min-width: 120px;
}

.spotlight-category-manager-dialog .btn {
  min-height: 36px;
  border: 1px solid var(--spotlight-editor-border, rgba(255, 255, 255, 0.24));
  border-radius: 8px;
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.08));
  color: var(--spotlight-editor-text, #fff);
  padding: 8px 12px;
  box-shadow: none;
}

.spotlight-category-manager-dialog .btn:hover {
  border-color: var(--spotlight-editor-border-strong, rgba(255, 255, 255, 0.34));
  background: var(--spotlight-editor-surface-hover, rgba(255, 255, 255, 0.12));
}

.spotlight-category-manager-dialog .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.spotlight-category-manager-dialog .btn.spotlight-category-manager-category-remove-btn {
  border-color: rgba(217, 83, 79, 0.45);
  background: rgba(217, 83, 79, 0.1);
  color: #ffb7b5;
}

.spotlight-category-manager-dialog .btn.spotlight-category-manager-category-remove-btn:hover:not(:disabled) {
  border-color: rgba(217, 83, 79, 0.68);
  background: rgba(217, 83, 79, 0.18);
}

.spotlight-category-manager-dialog .btn.btn-primary {
  border-color: var(--spotlight-editor-accent, #3eb489);
  background: var(--spotlight-editor-accent, #3eb489);
  color: #fff;
}

.spotlight-category-manager-dialog .btn.btn-primary:hover {
  border-color: var(--spotlight-editor-accent-hover, #38a27d);
  background: var(--spotlight-editor-accent-hover, #38a27d);
}

.spotlight-category-manager-empty {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--spotlight-editor-border, rgba(255, 255, 255, 0.18));
  border-radius: 10px;
  color: var(--spotlight-editor-muted, rgba(255, 255, 255, 0.62));
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 620px) {
  .spotlight-category-manager-create,
  .spotlight-category-manager-style {
    grid-template-columns: 1fr;
  }

  .spotlight-category-manager-footer {
    justify-content: flex-start;
  }
}

.spotlight-layer-rename-field {
  margin-top: 12px;
  display: grid;
  gap: 4px;
}

.spotlight-layer-rename-field span {
  font-size: 0.73rem;
  opacity: 0.9;
}

.spotlight-layer-rename-field input,
.spotlight-layer-rename-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 7px 9px;
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.3;
}

.spotlight-layer-rename-field textarea {
  min-height: 68px;
  resize: vertical;
}

.spotlight-layer-rename-field input:focus,
.spotlight-layer-rename-field textarea:focus {
  outline: none;
  border-color: rgba(78, 198, 255, 0.72);
}

.spotlight-layer-rename-status {
  min-height: 1.1em;
  margin-top: 8px;
  font-size: 0.74rem;
  opacity: 0.9;
}

.spotlight-structure-editor-field {
  display: grid;
  gap: 4px;
}

.spotlight-structure-editor-field span {
  font-size: 0.73rem;
  opacity: 0.9;
}

.spotlight-structure-editor-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 7px 9px;
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.3;
}

.spotlight-structure-editor-field input:focus {
  outline: none;
  border-color: rgba(78, 198, 255, 0.72);
}

.spotlight-structure-editor-field input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.spotlight-structure-editor-media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.spotlight-structure-editor-file-btn {
  position: relative;
  overflow: hidden;
  justify-content: center;
  width: 100%;
}

label.spotlight-structure-editor-file-btn {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  min-height: 38px;
}

label.spotlight-structure-editor-file-btn:hover {
  border-color: rgba(78, 198, 255, 0.9);
  background: rgba(78, 198, 255, 0.18);
}

.spotlight-editor-state-toggle-btn.spotlight-structure-editor-file-btn {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  min-height: 38px;
}

.spotlight-editor-state-toggle-btn.spotlight-structure-editor-file-btn:hover,
.spotlight-editor-state-toggle-btn.spotlight-structure-editor-file-btn.active {
  border-color: rgba(78, 198, 255, 0.9);
  background: rgba(78, 198, 255, 0.18);
}

label.spotlight-structure-editor-file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.spotlight-structure-editor-step-head {
  display: grid;
  gap: 8px;
}

.spotlight-structure-editor-step-count {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.spotlight-structure-editor-step-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.spotlight-structure-editor-annotation-steps {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.spotlight-structure-editor-annotation-steps:empty {
  display: none;
}

.spotlight-structure-editor-annotation-step-title {
  font-size: 0.73rem;
  font-weight: 700;
}

.spotlight-structure-editor-annotation-step-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.spotlight-structure-editor-annotation-step-btn.is-active {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-annotation-step-btn.is-default {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.spotlight-structure-editor-step-rename {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.spotlight-structure-editor-step-rename-btn,
.spotlight-structure-editor-step-default-btn {
  width: 100%;
  min-height: 32px;
}

.spotlight-structure-editor-step-uploads {
  display: grid;
  gap: 8px;
}

.spotlight-structure-editor-step-uploads:empty {
  display: none;
}

.spotlight-structure-editor-step-upload {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
}

.spotlight-structure-editor-step-upload.is-active {
  border-color: rgba(78, 198, 255, 0.86);
  background: rgba(78, 198, 255, 0.2);
}

.spotlight-structure-editor-step-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spotlight-structure-editor-step-upload-head:focus-visible {
  outline: 1px solid rgba(113, 206, 255, 0.85);
  outline-offset: 2px;
  border-radius: 5px;
}

.spotlight-structure-editor-step-upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.spotlight-structure-editor-step-upload-title {
  font-size: 0.73rem;
  font-weight: 700;
}

.spotlight-structure-editor-step-upload-status {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.9;
  text-align: right;
  white-space: nowrap;
}

.spotlight-structure-editor-step-upload-status[data-tone="working"] {
  color: rgba(113, 206, 255, 0.95);
}

.spotlight-structure-editor-step-upload-status[data-tone="success"] {
  color: rgba(104, 217, 149, 0.95);
}

.spotlight-structure-editor-step-upload-status[data-tone="warning"] {
  color: rgba(255, 210, 120, 0.95);
}

.spotlight-structure-editor-step-upload-status[data-tone="error"] {
  color: rgba(255, 130, 130, 0.98);
}

.spotlight-structure-editor-step-upload-meta {
  font-size: 0.7rem;
  opacity: 0.88;
}

.spotlight-structure-editor-sequence-meta {
  font-size: 0.72rem;
  opacity: 0.9;
}

.spotlight-structure-editor-preview {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.spotlight-structure-editor-preview img {
  display: block;
  width: 100%;
  max-height: 126px;
  object-fit: contain;
  border-radius: 5px;
}

.spotlight-structure-editor-preview-empty {
  font-size: 0.72rem;
  opacity: 0.85;
}

.spotlight-point-editor-panel {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 12000;
  width: 280px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(21, 21, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spotlight-field-editor-panel {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 12000;
  width: 280px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(21, 21, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spotlight-perspective-editor-panel {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 12000;
  width: 280px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(21, 21, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spotlight-point-editor-panel .hidden {
  display: none !important;
}

.spotlight-field-editor-panel .hidden {
  display: none !important;
}

.spotlight-point-editor-panel.hidden,
.spotlight-field-editor-panel.hidden,
.spotlight-perspective-editor-panel.hidden {
  display: none !important;
}

.spotlight-perspective-editor-action-row {
  grid-template-columns: 1fr 1fr;
}

.spotlight-perspective-editor-state-row {
  grid-template-columns: 1fr;
}

.spotlight-perspective-editor-field-row {
  grid-template-columns: 1fr;
}

.spotlight-perspective-editor-done-row {
  grid-template-columns: 1fr;
}

.spotlight-perspective-editor-target-row {
  grid-template-columns: 1fr;
}

.spotlight-point-type-mount {
  display: flex;
  min-width: 0;
}

.spotlight-point-type-mount .spotlight-point-type-select,
.spotlight-point-target-field .spotlight-point-type-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 7px 9px;
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.3;
  min-height: 34px;
}

.spotlight-point-target-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.spotlight-point-target-field span {
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: rgba(234, 240, 247, 0.84);
}

.spotlight-editor-state-toggle-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 8px 10px;
  border-width: 1px;
}

.spotlight-structure-editor-select option,
.spotlight-point-editor-field select option,
.spotlight-point-type-mount .spotlight-point-type-select option,
.spotlight-point-target-field .spotlight-point-type-select option {
  color: #111;
  background: #fff;
}

.spotlight-point-editor-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0;
}

.spotlight-point-editor-row {
  font-size: 0.82rem;
  opacity: 0.92;
  margin-bottom: 10px;
}

.spotlight-point-editor-type-field {
  margin-bottom: 10px;
}

.spotlight-point-editor-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.spotlight-point-editor-meta.is-disabled {
  opacity: 0.65;
}

.spotlight-point-editor-field {
  display: grid;
  gap: 4px;
}

.spotlight-point-editor-field span {
  font-size: 0.73rem;
  opacity: 0.9;
}

.spotlight-point-editor-field input,
.spotlight-point-editor-field textarea,
.spotlight-point-editor-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 7px 9px;
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.3;
}

.spotlight-point-editor-field textarea {
  resize: vertical;
  min-height: 64px;
}

.spotlight-point-editor-field input:focus,
.spotlight-point-editor-field textarea:focus,
.spotlight-point-editor-field select:focus {
  outline: none;
  border-color: rgba(78, 198, 255, 0.72);
}

.spotlight-point-editor-field input::placeholder,
.spotlight-point-editor-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.spotlight-point-editor-field select option {
  color: #111;
}

.spotlight-point-editor-inline-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-point-editor-inline-controls input {
  flex: 1 1 auto;
}

.spotlight-point-editor-inline-btn {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.spotlight-point-editor-media-upload-btn {
  width: 100%;
}

.spotlight-point-editor-icon-library-wrap {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.spotlight-point-editor-icon-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 6px;
}

.spotlight-point-editor-icon-library-btn {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.spotlight-point-editor-icon-library-btn:hover,
.spotlight-point-editor-icon-library-btn.is-active {
  border-color: var(--spotlight-editor-accent, #3eb489);
  background: rgba(62, 180, 137, 0.18);
}

.spotlight-point-editor-icon-library-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.spotlight-point-editor-icon-library-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.spotlight-point-editor-media-preview {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.spotlight-point-editor-media-preview img {
  display: block;
  width: 100%;
  max-height: 156px;
  object-fit: cover;
  border-radius: 5px;
}

.spotlight-point-editor-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.spotlight-point-editor-status {
  margin-top: 10px;
  font-size: 0.75rem;
  opacity: 0.9;
  min-height: 1.1em;
}

.spotlight-point-editor .point {
  cursor: move !important;
  pointer-events: auto !important;
}

.spotlight-point-editor .label_view {
  cursor: move !important;
  pointer-events: auto !important;
}

.spotlight-point-editor--adding .points {
  cursor: crosshair;
}

.spotlight-point-editor .point.is-editor-selected {
  outline: 2px solid #4ec6ff;
  outline-offset: 2px;
}

.spotlight-point-editor .label_view.is-editor-selected {
  outline: 2px solid #4ec6ff;
  outline-offset: 2px;
}

.spotlight-point-editor .spotlight-editor-field.is-editor-selected path {
  stroke: rgba(78, 198, 255, 0.95) !important;
  fill: rgba(78, 198, 255, 0.18) !important;
}

.spotlight-field-edit-handles {
  pointer-events: all;
}

.spotlight-field-edit-handle {
  fill: #ffffff;
  stroke: rgba(78, 198, 255, 0.98);
  stroke-width: 1.4px;
  vector-effect: non-scaling-stroke;
  cursor: grab;
  pointer-events: all;
}

.spotlight-field-edit-handle:active {
  cursor: grabbing;
  fill: rgba(78, 198, 255, 0.98);
}

.spotlight-structure-editor .point.filter_hidden {
  display: flex !important;
}

.layout_body.woningzoeker-active .editor-state-woningzoeker-svg,
.layout_body.woningzoeker-active [data-editor-state="woningzoeker-svg"] {
  display: block !important;
}

.layout_body:not(.woningzoeker-active) .editor-state-woningzoeker-svg,
.layout_body:not(.woningzoeker-active) [data-editor-state="woningzoeker-svg"] {
  display: none !important;
}

body.woningzoeker-active .editor-state-spotlight-svg,
body.woningzoeker-active [data-editor-state="spotlight-svg"],
.layout_body.woningzoeker-active .editor-state-spotlight-svg,
.layout_body.woningzoeker-active [data-editor-state="spotlight-svg"] {
  display: none !important;
}

body:not(.woningzoeker-active) .editor-state-spotlight-svg,
body:not(.woningzoeker-active) [data-editor-state="spotlight-svg"],
.layout_body:not(.woningzoeker-active) .editor-state-spotlight-svg,
.layout_body:not(.woningzoeker-active) [data-editor-state="spotlight-svg"] {
  display: block !important;
}

/* Platform-aligned editor theme */
:root {
  --spotlight-editor-bg: var(--darkgray1, #151515);
  --spotlight-editor-surface: var(--darkgray2, #1a1a1a);
  --spotlight-editor-surface-hover: var(--darkgray2_hover, #242424);
  --spotlight-editor-surface-active: var(--darkgray2_active, #202020);
  --spotlight-editor-border: var(--darkborder1, #2b2b2b);
  --spotlight-editor-border-strong: var(--darkborder2, #3a3a3a);
  --spotlight-editor-text: var(--darktext1, #f5f5f5);
  --spotlight-editor-muted: var(--darktext2, #b3b3b3);
  --spotlight-editor-accent: #3eb489;
  --spotlight-editor-accent-hover: #38a27d;
  --spotlight-editor-accent-active: #2f8869;
  --spotlight-editor-danger: #e14b4b;
  --spotlight-editor-danger-hover: #c74141;
}

.spotlight-structure-editor-panel,
.spotlight-point-editor-panel,
.spotlight-field-editor-panel,
.spotlight-perspective-editor-panel {
  border: 1px solid var(--spotlight-editor-border);
  border-radius: 12px;
  background: var(--spotlight-editor-bg);
  color: var(--spotlight-editor-text);
}

.spotlight-structure-editor-panel {
  width: 340px;
}

.spotlight-point-editor-panel,
.spotlight-field-editor-panel,
.spotlight-perspective-editor-panel {
  width: 300px;
}

.spotlight-editor-module-head {
  box-sizing: border-box;
  min-height: 54px;
  align-items: center;
  padding: 2px 2px 12px;
  border-bottom: 1px solid var(--spotlight-editor-border);
}

.spotlight-editor-module-heading {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.spotlight-editor-module-eyebrow {
  color: var(--spotlight-editor-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.spotlight-editor-module-head .spotlight-structure-editor-title,
.spotlight-editor-module-head .spotlight-point-editor-title {
  margin: 0;
  color: var(--spotlight-editor-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.spotlight-editor-module-head .spotlight-editor-collapse-icon {
  position: relative;
  display: inline-flex;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--spotlight-editor-text);
  transform: none;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}

.spotlight-editor-module-head:hover .spotlight-editor-collapse-icon {
  border-color: var(--spotlight-editor-border);
  background: var(--spotlight-editor-surface-hover);
}

.spotlight-editor-module-head:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--spotlight-editor-accent);
  outline-offset: 2px;
}

.spotlight-editor-module-head .spotlight-editor-collapse-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M2%204L6%208L10%204'%20fill='none'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M2%204L6%208L10%204'%20fill='none'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.16s ease;
}

.spotlight-editor-collapse[open] > .spotlight-editor-module-head .spotlight-editor-collapse-icon {
  transform: none;
}

.spotlight-editor-collapse[open] > .spotlight-editor-module-head .spotlight-editor-collapse-icon::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.spotlight-editor-collapse-content {
  margin-top: 12px;
}

.spotlight-structure-editor-title,
.spotlight-point-editor-title,
.spotlight-database-editor-title,
.spotlight-layer-delete-title {
  color: var(--spotlight-editor-text);
  font-weight: 650;
}

.spotlight-structure-editor-panel .btn,
.spotlight-point-editor-panel .btn,
.spotlight-field-editor-panel .btn,
.spotlight-perspective-editor-panel .btn,
.spotlight-layer-delete-dialog .btn,
.spotlight-database-editor-modal .btn,
.spotlight-structure-editor-item-add,
.spotlight-structure-editor-item-close,
.spotlight-structure-editor-item-rename,
.spotlight-structure-editor-item-delete,
.spotlight-structure-editor-item-default,
.spotlight-editor-state-toggle-btn {
  border: 1px solid var(--spotlight-editor-border);
  border-radius: 8px;
  background: var(--spotlight-editor-surface-hover);
  color: var(--spotlight-editor-text);
  box-shadow: none;
}

.spotlight-database-editor-head-actions .btn {
  width: auto;
  min-width: 108px;
}

.spotlight-database-editor-modal .database-list-actions .btn {
  width: auto;
  min-width: 160px;
}

.spotlight-database-editor-modal .database-media-upload-btn {
  width: auto;
  min-width: 128px;
  align-self: flex-start;
}

.spotlight-structure-editor-panel .btn:hover,
.spotlight-point-editor-panel .btn:hover,
.spotlight-field-editor-panel .btn:hover,
.spotlight-perspective-editor-panel .btn:hover,
.spotlight-layer-delete-dialog .btn:hover,
.spotlight-database-editor-modal .btn:hover,
.spotlight-structure-editor-item-add:hover,
.spotlight-structure-editor-item-close:hover,
.spotlight-structure-editor-item-rename:hover,
.spotlight-structure-editor-item-default:hover,
.spotlight-editor-state-toggle-btn:hover {
  border-color: var(--spotlight-editor-border-strong);
  background: var(--spotlight-editor-surface-hover);
}

.spotlight-structure-editor-panel .btn.btn-primary,
.spotlight-point-editor-panel .btn.btn-primary,
.spotlight-field-editor-panel .btn.btn-primary,
.spotlight-perspective-editor-panel .btn.btn-primary,
.spotlight-layer-delete-dialog .btn.btn-primary,
.spotlight-database-editor-modal .btn.btn-primary {
  border-color: var(--spotlight-editor-accent);
  background: var(--spotlight-editor-accent);
  color: #fff;
}

.spotlight-structure-editor-panel .btn.btn-primary:hover,
.spotlight-point-editor-panel .btn.btn-primary:hover,
.spotlight-field-editor-panel .btn.btn-primary:hover,
.spotlight-perspective-editor-panel .btn.btn-primary:hover,
.spotlight-layer-delete-dialog .btn.btn-primary:hover,
.spotlight-database-editor-modal .btn.btn-primary:hover {
  border-color: var(--spotlight-editor-accent-hover);
  background: var(--spotlight-editor-accent-hover);
}

.spotlight-structure-editor-panel .btn.btn-primary:active,
.spotlight-point-editor-panel .btn.btn-primary:active,
.spotlight-field-editor-panel .btn.btn-primary:active,
.spotlight-perspective-editor-panel .btn.btn-primary:active,
.spotlight-layer-delete-dialog .btn.btn-primary:active,
.spotlight-database-editor-modal .btn.btn-primary:active {
  border-color: var(--spotlight-editor-accent-active);
  background: var(--spotlight-editor-accent-active);
}

.spotlight-structure-editor-panel .btn.btn-danger,
.spotlight-point-editor-panel .btn.btn-danger,
.spotlight-field-editor-panel .btn.btn-danger,
.spotlight-perspective-editor-panel .btn.btn-danger,
.spotlight-layer-delete-dialog .btn.btn-danger,
.spotlight-database-editor-modal .btn.btn-danger,
.spotlight-structure-editor-item-delete:hover {
  border-color: var(--spotlight-editor-danger);
  background: var(--spotlight-editor-danger);
  color: #fff;
}

.spotlight-structure-editor-panel .btn.btn-danger:hover,
.spotlight-point-editor-panel .btn.btn-danger:hover,
.spotlight-field-editor-panel .btn.btn-danger:hover,
.spotlight-perspective-editor-panel .btn.btn-danger:hover,
.spotlight-layer-delete-dialog .btn.btn-danger:hover,
.spotlight-database-editor-modal .btn.btn-danger:hover {
  border-color: var(--spotlight-editor-danger-hover);
  background: var(--spotlight-editor-danger-hover);
}

.spotlight-structure-editor-select,
.spotlight-point-type-mount .spotlight-point-type-select,
.spotlight-point-target-field .spotlight-point-type-select,
.spotlight-point-editor-field input,
.spotlight-point-editor-field textarea,
.spotlight-point-editor-field select,
.spotlight-category-manager-field select,
.spotlight-layer-rename-field input,
.spotlight-layer-rename-field textarea,
.spotlight-structure-editor-field input,
.spotlight-database-editor-modal .database-edit-field input,
.spotlight-database-editor-modal .database-edit-field select,
.spotlight-database-editor-modal .database-edit-field textarea {
  border: 1px solid var(--spotlight-editor-border);
  border-radius: 8px;
  color: var(--spotlight-editor-text);
}

.spotlight-structure-editor-select:focus,
.spotlight-point-type-mount .spotlight-point-type-select:focus,
.spotlight-point-target-field .spotlight-point-type-select:focus,
.spotlight-point-editor-field input:focus,
.spotlight-point-editor-field textarea:focus,
.spotlight-point-editor-field select:focus,
.spotlight-category-manager-field select:focus,
.spotlight-layer-rename-field input:focus,
.spotlight-layer-rename-field textarea:focus,
.spotlight-structure-editor-field input:focus,
.spotlight-database-editor-modal .database-edit-field input:focus,
.spotlight-database-editor-modal .database-edit-field select:focus,
.spotlight-database-editor-modal .database-edit-field textarea:focus {
  outline: none;
  border-color: var(--spotlight-editor-accent);
  box-shadow: 0 0 0 1px rgba(62, 180, 137, 0.22);
}

.spotlight-structure-editor-select,
.spotlight-point-type-mount .spotlight-point-type-select,
.spotlight-point-target-field .spotlight-point-type-select,
.spotlight-point-editor-field select,
.spotlight-category-manager-field select,
.spotlight-database-editor-modal .database-edit-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 32px;
  background-image: url("/assets/icons/asset_beeldenfabriek_arrow_down.svg");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 10px auto;
}

.spotlight-structure-editor-select::-ms-expand,
.spotlight-point-type-mount .spotlight-point-type-select::-ms-expand,
.spotlight-point-target-field .spotlight-point-type-select::-ms-expand,
.spotlight-point-editor-field select::-ms-expand,
.spotlight-category-manager-field select::-ms-expand,
.spotlight-database-editor-modal .database-edit-field select::-ms-expand {
  display: none;
}

.spotlight-point-target-field span,
.spotlight-point-editor-field span,
.spotlight-structure-editor-field span,
.spotlight-layer-rename-field span,
.spotlight-database-editor-modal .database-edit-field > span {
  color: var(--spotlight-editor-muted);
  opacity: 1;
}

.spotlight-structure-editor-item,
.spotlight-structure-editor-annotation-steps,
.spotlight-structure-editor-step-upload,
.spotlight-structure-editor-preview,
.spotlight-point-editor-media-preview {
  border: 1px solid var(--spotlight-editor-border);
  border-radius: 10px;
  background: var(--spotlight-editor-surface-hover);
  color: var(--spotlight-editor-text);
}

.spotlight-structure-editor-item:hover,
.spotlight-structure-editor-item.is-default-layer {
  border-color: var(--spotlight-editor-border-strong);
}

.spotlight-structure-editor-item.is-active,
.spotlight-structure-editor-item-default.is-active,
.spotlight-structure-editor-step-upload.is-active,
.spotlight-structure-editor-annotation-step-btn.is-active,
.spotlight-editor-state-toggle-btn.active {
  border-color: var(--spotlight-editor-accent);
  background: rgba(62, 180, 137, 0.18);
}

.spotlight-structure-editor-item-thumb {
  border-color: var(--spotlight-editor-border);
  background: var(--spotlight-editor-bg);
}

.spotlight-editor-bottom-actions {
  border: 1px solid var(--spotlight-editor-border);
  border-radius: 12px;
  background: var(--spotlight-editor-bg);
}

.spotlight-layer-delete-modal,
.spotlight-database-editor-modal {
  background: rgba(0, 0, 0, 0.72);
}

.spotlight-layer-delete-dialog,
.spotlight-database-editor-dialog {
  border: 1px solid var(--spotlight-editor-border);
  background: var(--spotlight-editor-bg);
  color: var(--spotlight-editor-text);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.spotlight-layer-delete-dialog {
  border-radius: 14px;
}

.spotlight-database-editor-dialog {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.spotlight-database-editor-head {
  border-bottom: 1px solid var(--spotlight-editor-border);
  background: var(--spotlight-editor-bg);
}

.spotlight-database-editor-modal .database-collapse-group,
.spotlight-database-editor-modal .database-edit-panel,
.spotlight-database-editor-modal .database-media-item {
  background: var(--spotlight-editor-surface);
}

.spotlight-database-editor-modal .database-collapse-toggle {
  color: var(--spotlight-editor-text);
  background: var(--spotlight-editor-surface);
}

.spotlight-database-editor-modal .database-table th {
  color: var(--spotlight-editor-text);
  background: var(--spotlight-editor-surface);
}

.spotlight-database-editor-modal .database-table th,
.spotlight-database-editor-modal .database-table td {
  border-color: var(--spotlight-editor-border);
}

.spotlight-database-editor-modal .database-table td {
  background: var(--spotlight-editor-surface);
  color: var(--spotlight-editor-text);
}

.spotlight-database-editor-modal .database-table-row.is-selected td,
.spotlight-database-editor-modal .database-table td.database-table-cell-active {
  background: rgba(62, 180, 137, 0.16);
}

.spotlight-database-editor-modal .database-row-actions-head,
.spotlight-database-editor-modal .database-table td.database-row-actions-cell {
  width: 1%;
  min-width: 118px;
  max-width: none;
  white-space: nowrap;
}

.spotlight-database-editor-modal .database-table td.database-row-actions-cell {
  overflow: visible;
  cursor: default;
}

.spotlight-database-editor-modal .database-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spotlight-database-editor-modal .database-row-action-btn {
  min-height: 28px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 0.7rem;
  line-height: 1;
}

.spotlight-database-editor-modal .database-media-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.spotlight-database-editor-modal .database-media-actions .btn {
  flex: 1 1 120px;
  min-width: 0;
}

.spotlight-database-editor-modal .database-media-remove-btn {
  min-width: 128px;
}

.spotlight-database-editor-modal .database-media-item.is-selected {
  border-color: rgba(113, 206, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(113, 206, 255, 0.42);
}

.spotlight-database-editor-modal .database-media-item.is-main.is-selected {
  border-color: rgba(110, 210, 170, 0.9);
  box-shadow: 0 0 0 1px rgba(110, 210, 170, 0.42);
}

.spotlight-point-editor .point.is-editor-selected,
.spotlight-point-editor .label_view.is-editor-selected {
  outline-color: var(--spotlight-editor-accent);
}

.spotlight-point-editor .spotlight-editor-field.is-editor-selected:not(.has-status-fill) path {
  stroke: var(--spotlight-editor-accent) !important;
  fill: rgba(62, 180, 137, 0.18) !important;
}

.spotlight-point-editor .spotlight-editor-field.is-editor-selected.has-status-fill path {
  filter: drop-shadow(0 0 5px rgba(62, 180, 137, 0.44));
}

.spotlight-field-edit-handle {
  stroke: var(--spotlight-editor-accent);
}

.spotlight-field-edit-handle:active {
  fill: var(--spotlight-editor-accent);
}

@media (max-width: 800px) {
  .spotlight-structure-editor-panel,
  .spotlight-point-editor-panel,
  .spotlight-field-editor-panel,
  .spotlight-perspective-editor-panel {
    left: 14px;
    right: 14px;
    width: auto;
  }
}

/* Spotlight provider application forms */
.spotlight-application-modal-overlay[data-application-form="nbo-activation"] .spotlight-application-modal {
  width: min(1080px, 100%);
}

.spotlight-application-form-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 2px;
}

.spotlight-application-form-title {
  color: var(--darktext1, #f5f5f5);
  font-size: 0.95rem;
  font-weight: 750;
}

.spotlight-application-form-text {
  color: var(--darktext2, #a8a8a8);
  font-size: 0.78rem;
  line-height: 1.45;
}

.spotlight-application-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spotlight-application-field--full {
  grid-column: 1 / -1;
}

.spotlight-application-field input,
.spotlight-application-field select,
.spotlight-application-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--darkborder1, rgba(255, 255, 255, 0.14));
  border-radius: 10px;
  padding: 10px 12px;
  background-color: var(--darkgray2, #222);
  color: var(--darktext1, #f5f5f5);
  font: inherit;
  outline: none;
}

.spotlight-application-field select {
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size:
    5px 5px,
    5px 5px;
}

.spotlight-application-field input:focus,
.spotlight-application-field select:focus,
.spotlight-application-field textarea:focus {
  border-color: #3eb489;
}

.spotlight-application-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 2px 0;
  color: var(--darktext2, #a8a8a8);
  cursor: pointer;
}

.spotlight-application-checkbox input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: #3eb489;
}

.spotlight-application-checkbox span {
  font-size: 0.78rem;
  line-height: 1.4;
}

.spotlight-application-checkbox a {
  color: #3eb489;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media screen and (max-width: 520px) {
  .spotlight-application-form-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-application-field--full {
    grid-column: auto;
  }
}
