* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

/* -------------------- BÚSQUEDA FUERA DEL NAVBAR -------------------- */
.search-box {
  position: absolute;
  background-color: #fff;
  top: 4.2rem;
  /* justo debajo del navbar */
  right: 1.5rem;
  width: 20rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.search-box.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.row {
  display: flex;
  align-items: center;
}

#input-box {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: black;
  padding: 0.3rem 0.5rem;
}

::placeholder {
  color: #555;
}

.result-box {
  margin-top: 0.5rem;
}

.result-box ul {
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-box ul li {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.result-box ul li:hover {
  background-color: #e0f7fa;
}

/* -------------------- BOTÓN DE LUPA -------------------- */
.buscar {
  background: none;
  border: none;
  cursor: pointer;
}

.buscar i {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s ease;
  margin-right: 20px;
  transition: transform 0.2 ease;
}

.buscar i:hover {
  transform: scale(1.2);
}

/* -------------------- NAVBAR -------------------- */
.titleUnicor {
  text-decoration: none;
  color: white;
}

.navbar-item,
.coord-btn {
  min-width: 0%;
}

.searchList {
  list-style: none;
}

.navbar-menu {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border: none;
  border-radius: 20px;
}

.navbar-menu::-webkit-scrollbar {
  display: none;
}