/* ===========================================
   기본
=========================================== */
body {
  font-family: Pretendard, sans-serif;
}

/* ===========================================
   상단 네비게이션
=========================================== */
header {
  backdrop-filter: blur(6px);
  background: rgba(13,17,23,0.92);
  border-bottom: 1px solid rgba(80,90,110,0.4);
}

header a:hover,
header button:hover {
  color: white;
  transition: 0.15s;
}

/* ===========================================
   검색창
=========================================== */
.main-search-input {
  background: #0f1218;
  border: 1.8px solid #30343f;
  border-radius: 12px;
  padding: 12px 16px;
  color: #dbe1ec;
  font-size: 15px;
  width: 260px;
  transition: all 0.25s ease;
}

.main-search-input:focus {
  width: 430px;
  border-color: #4ea9ff;
  background: #161b25;
  outline: none;
}

/* 검색 패널 */
.search-panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 430px;
  padding: 12px;
  background: #0f131a;
  border: 1px solid #2f3542;
  z-index: 9000;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
}

.search-panel.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.panel-title {
  font-size: 13px;
  color: #9ba3b5;
  margin-bottom: 4px;
}

/* ===========================================
   좌측 패널 (툴팁·즐겨찾기)
=========================================== */
.panel-box {
  background: #1a1f29;
  border: 1px solid rgba(100,110,130,0.3);
  padding: 16px;
  border-radius: 12px;
  transition: 0.2s;
}

.panel-box:hover {
  border-color: rgba(140,150,200,0.45);
}

#favItems div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

#favItems div:hover {
  background: rgba(255,255,255,0.05);
}

/* ===========================================
   옵션 필터
=========================================== */
.input-box {
  background: #11151c;
  border: 1px solid #394150;
  border-radius: 8px;
  padding: 8px;
  color: #d2dae6;
  outline: none;
  transition: 0.15s;
}

.input-box:focus {
  border-color: #4fa3ff;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: #202630;
  border: 1px solid #303a49;
  color: #c1cad8;
  transition: 0.15s;
}

.filter-btn:hover {
  background: #2b3240;
  border-color: #4fa3ff;
}

.filter-btn.active {
  background: #4f8bff;
  border-color: #7eb5ff;
  color: white;
}

/* ===========================================
   팝니다 / 삽니다 박스
=========================================== */

#sellList {
  border-color: rgba(80,140,255,0.4);
}

#buyList {
  border-color: rgba(70,180,90,0.4);
}

h3.text-blue-400 {
  font-weight: 600;
  font-size: 17px;
}

h3.text-green-400 {
  font-weight: 600;
  font-size: 17px;
}

.list-card {
  background: #11151c;
  border: 1px solid #3a4350;
  padding: 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.list-card:hover {
  background: #161b24;
  border-color: #5f6f85;
}

.list-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
