body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.bg-primary {
  background-color: #8b9be8;
}
.bg-secondary-900 {
  background-color: #191919;
}
.bg-secondary-500 {
  background-color: #2d2d2d;
}
.bg-secondary-200 {
  background-color: #a4a4a4;
}
.bg-secondary-100 {
  background-color: #bababa;
}

.portal-background {
  width: 500px;
  height: 350px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 54px;
  font-style: italic;
  display: flex;
  align-items: center;
  margin: 20px;
  font-weight: 600;
}

.wordmark {
  width: 260px;
  height: auto;
}

.portal-btn {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #191919;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 0.4rem 1.5rem;
}

.portal-btn:hover {
  background: #8b9be8;
  color: #111;
  border-color: #8b9be8;
}

.input-range {
  accent-color: #8b9be8;
}

.date-picker {
  color-scheme: dark;
}

.star {
  position: absolute;
  background-color: #fff;
  width: 2px;
  height: 2px;
  opacity: 0.7;
  pointer-events: none;
  animation: fall linear infinite;
}

@keyframes fall {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(-10%);
  }
}

.collection-background {
  width: 550px;
  height: 550px;
}

.collection-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent, rgb(17 24 39) 70%);
}

.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s linear, visibility 0.5s linear;
}

.fade-in {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s linear, visibility 0.5s linear;
}

.main-container {
  transition: flex-grow 0.3s ease-in-out;
}

.custom-select {
  appearance: none; /* This removes the default browser styling */
  border: 1px solid #d2d6dc;
  padding-right: 2rem; /* This creates space for our custom arrow */
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23ffffff"><path d="M7 7l3-3 3 3m0 6l-3 3-3-3"></path></svg>');
  background-repeat: no-repeat;
  background-position: right 0.5rem center; /* This positions our custom arrow */
  background-size: 1.5rem;
}

@layer utilities {
  /* Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
}

.progress-bar {
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 5px;
}

.progress {
  height: 100%;
  background-color: #4caf50;
  width: 0%;
  transition: width 0.4s ease-in-out;
  border-right: 2px solid #fff; /* pixelated edge */
}

#explore-geospatiality,
#genesis-geospatiality,
#explore-geospatiality-maplibre,
#genesis-geospatiality-maplibre {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.maplibregl-map {
  width: 100%;
  height: 100%;
}

.maplibregl-ctrl-attrib {
  font-size: 10px;
  opacity: 0.7;
}

.map-origin-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
  border: 2px solid #fff;
}
