html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #0b0b0f;
  font-family: system-ui;
  overflow: hidden;
}

/* ======================
   VIEWS (SPA SYSTEM)
====================== */

.view {
  display: none;
  height: 100vh;
  width: 100%;
}

.view.active {
  display: block;
}

/* ======================
   MAPA
====================== */

#map {
  height: 100vh;
  width: 100%;
}

/* ======================
   SEARCH / PAGES
====================== */

.screen {
  padding: 20px;
  color: white;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: none;
  outline: none;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.08);
  color: white;
}

.card {
  background: rgba(255,255,255,0.08);
  padding: 12px;
  margin: 10px 0;
  border-radius: 14px;
  backdrop-filter: blur(20px);
}

/* ======================
   SEARCH RESULTS
====================== */

.result {
  padding: 12px;
  margin: 8px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* estrella */
.star {
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.star:active {
  transform: scale(0.8);
}

/* ======================
   LIQUID GLASS TAB BAR
====================== */

.tabbar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 9999;
}

/* ======================
   ICONOS ACTIVE (APPLE STYLE)
====================== */

.icon {
  font-size: 22px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 0.25s ease;
}

.active-icon {
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

glass-element {
  position: relative;
  overflow: hidden;
}

/* ✨ highlight dinámico tipo Apple */
glass-element::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 200%;
  height: 200%;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.35),
    transparent 40%
  );

  transform: rotate(25deg);
  animation: glassShine 6s infinite linear;

  pointer-events: none;
}

@keyframes glassShine {
  0% { transform: translateX(-30%) rotate(25deg); }
  100% { transform: translateX(30%) rotate(25deg); }
}