/* ==========================================================================
   Standalone Kakao Map Styles
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  overflow: hidden;
}

/* Custom Kakao Map CustomOverlay & InfoWindow */
.custom-infowindow {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid #E2E8F0;
  min-width: 200px;
  max-width: 280px;
  position: relative;
  animation: infowindow-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes infowindow-pop {
  0% { transform: scale(0.8) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.custom-infowindow::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #FFFFFF transparent;
  display: block;
  width: 0;
}

.custom-infowindow .title {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.custom-infowindow .address {
  font-size: 11px;
  color: #64748B;
  line-height: 1.4;
}

.custom-infowindow .btn-route {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #2563EB;
  margin-top: 8px;
  text-decoration: none;
}

.custom-infowindow .btn-route:hover {
  text-decoration: underline;
}

/* Map Type Button Active State */
.map-type-btn.active {
  background-color: #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 800;
}

/* Custom Scrollbar for Search Results */
#search-results-box::-webkit-scrollbar {
  width: 6px;
}

#search-results-box::-webkit-scrollbar-track {
  background: transparent;
}

#search-results-box::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}
