* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "MS Sans Serif", "Segoe UI", Tahoma, sans-serif;
  background: #F5F1E8;
  color: #000000;
  overflow: hidden;
}

.map-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.map-header {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.map-header h1 {
  font-size: 24px;
  color: #000000;
  font-weight: normal;
  font-family: "warbler-text", sans-serif;
font-weight: 700;
font-style: normal;
}

.search-container {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 10;
  pointer-events: auto;
}

.input-wrapper {
  position: relative;
  width: 300px;
  background: #FFFEF7;
  overflow: hidden;
  border: 2px solid #000000;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#search-input {
  width: 100%;
  padding: 10px;
  background: transparent;
  font-size: 16px;
  font-family: "warbler-banner", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #000000;
  position: relative;
  z-index: 2;
  border: none;
  outline: none;
  min-width: 350px;
}

#search-input:focus {
  background: #FFFEF7;
}

.sliding-prompts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
}

.prompt-text {
  font-size: 14px;
  font-family: "warbler-banner", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #000000;
  opacity: 0.6;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.sliding-prompts.hidden {
  display: none;
}

#search-input:focus + .sliding-prompts,
#search-input:not(:placeholder-shown) + .sliding-prompts {
  display: none;
}

#search-input::placeholder {
  color: #000000;
  font-style: italic;
}

#search-input:focus {
  outline: none;
  border-color: #000000;
}

#search-btn,
#clear-btn {
  padding: 10px 16px;
  background: #FFFEF7;
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  font-family: "warbler-banner", sans-serif;
font-weight: 300;
font-style: normal;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#search-btn:hover,
#clear-btn:hover {
  background: #74b3ea;
}

#search-btn:active,
#clear-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Community Meeting Interface - Same styling as search */
#feedback-input {
  width: 300px;
  padding: 10px;
  background: #FFFEF7;
  font-size: 14px;
  font-family: "warbler-banner", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #000000;
}

#feedback-input::placeholder {
  color: #000000;
  font-style: italic;
}

#feedback-input:focus {
  outline: none;
  border-color: #000000;
}

#submit-btn {
  padding: 10px 16px;
  background: #FFFEF7;
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  font-family: "warbler-banner", sans-serif;
  font-weight: 300;
  font-style: normal;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#submit-btn:hover {
  background: #74b3ea;
}

#submit-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Oracle Interface - Same styling as search */
#oracle-input {
  width: 300px;
  padding: 10px;
  background: #FFFEF7;
  font-size: 14px;
  font-family: "warbler-banner", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #000000;
}

#oracle-input::placeholder {
  color: #000000;
  font-style: italic;
}

#oracle-input:focus {
  outline: none;
  border-color: #000000;
}

#oracle-submit {
  padding: 10px 16px;
  background: #FFFEF7;
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  font-family: "warbler-banner", sans-serif;
  font-weight: 300;
  font-style: normal;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#oracle-submit:hover {
  background: #74b3ea;
}

#oracle-submit:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#search-feedback {
  position: absolute;
  bottom: 80px;
  right: 30px;
  font-size: 13px;
  color: #000000;
  background: rgba(255, 254, 247, 0.9);
  padding: 8px 12px;
  max-width: 400px;
}

.map-canvas-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#map-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.info-panel {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 350px;
  max-height: 70vh;
  background: #ffffff;
  border: 3px solid #000000;
  box-shadow: 4px 4px 8px rgba(0, 0, .1, 10);
  padding: 20px;
  overflow-y: auto;
  z-index: 100;
}

.info-panel.hidden {
  display: none;
}

#close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  border: 2px solid #000000;
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #000000;
}

#close-panel:hover {
  background: #74b3ea;
}

#panel-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
  padding-right: 30px;
}

#panel-meta {
  font-size: 12px;
  color: #000000;
  margin-bottom: 10px;
  font-style: italic;
}

#panel-content {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #000000;
}

#panel-stats {
  padding-top: 10px;
  font-size: 12px;
  color: #000000;
}

.stats-bar {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #000000;
  background: rgba(255, 254, 247, 0.8);
  padding: 8px 16px;
  border: 1px solid #000000;
  border-radius: 3px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Scrollbar */
.info-panel::-webkit-scrollbar {
  width: 12px;
}

.info-panel::-webkit-scrollbar-track {
  background: #F5F1E8;
}

.info-panel::-webkit-scrollbar-thumb {
  background: #ffffff;
  border: 2px solid #000000;
}

/* Floating search queries */
.floating-search {
  position: absolute;
  font-family: "articulat-cf", sans-serif;
font-weight: 100;
font-style: normal;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  animation: float-across 5s ease-in-out;
  z-index: 5;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

@keyframes float-across {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) translateX(50px);
  }
}

/* Navigation bar */
.site-nav {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.nav-link {
  padding: 8px 14px;
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  font-family: "MS Sans Serif", sans-serif;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.nav-link:hover {
  background: #74b3ea;
}

.nav-link.active {
  background: #000000;
  color: #fff;
}