/* ===== Search Bar ===== */
.searchbar {
  width: min(1200px, 95vw);
  margin: 10px auto 14px auto;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.searchbar input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 12px;
  background: #f8f9fb;
  font-size: 14px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.searchbar input:focus {
  border-color: rgba(0,0,0,0.40);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}

.searchbar button {
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .05s ease, filter .15s ease;
}

.searchbar button:hover {
  filter: brightness(1.05);
}

.searchbar button:active {
  transform: translateY(1px);
}

/* 회색 버튼 (초기화) */
.searchbar .btn-ghost {
  background: #fff;
  color: #111;
}

.searchbar .search-hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}

/* 모바일 */
@media (max-width: 680px) {
  .searchbar {
    grid-template-columns: 1fr;
  }
  .searchbar button {
    width: 100%;
  }
}
