/* =========================
   Global
========================= */
body {
  font-family: 'Pretendard', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #f9fafb, #f3f4f6);
  color: #1f2937;
  letter-spacing: -0.15px;
}

/* =========================
   🌿 Search Box Container
========================= */
.where-to-go-container {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
  position: relative;
}

.where-to-go-container:hover {
  transform: translateY(-1px);
}

.where-to-go-container:focus-within {
  border-color: #00c471;
  box-shadow:
    0 0 0 4px rgba(0, 196, 113, 0.15),
    0 10px 30px rgba(0, 196, 113, 0.2);
}

/* =========================
   Input
========================= */
.where-to-go-container input.where-to-go {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  padding: 0.45rem 0.2rem;
  color: #111827;
}

.where-to-go-container input.where-to-go::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* =========================
   Icons
========================= */
.where-to-go-container svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
  fill: #9ca3af;
  transition:
    fill 0.25s ease,
    transform 0.2s ease;
}

.where-to-go-container svg:hover {
  fill: #00c471;
  transform: scale(1.08);
}

/* =========================
   Dropdown
========================= */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 96%;
  max-height: 260px;
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.where-to-go-container:focus-within + .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   Dropdown Items
========================= */
.dropdown-menu a.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #1f2937;
  text-decoration: none;
  border-radius: 12px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.dropdown-menu a.dropdown-item:hover {
  background: linear-gradient(135deg, #00c471, #00b067);
  color: #ffffff;
  transform: translateX(4px);
}

/* =========================
   Scrollbar (Soft)
========================= */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
