html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, sans-serif;
}

#map {
    position: absolute;
    inset: 0;
}

#search {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    width: 320px;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    outline: none;
}

#search-input:focus {
    border-color: #6b7280;
}

#search-results {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}

#search-results li {
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.3;
    color: #1f2937;
}

#search-results li:hover,
#search-results li.active {
    background: #f3f4f6;
}

/* Popup card */
.bk-popup .maplibregl-popup-content {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.bk-card {
    width: 260px;
    font-family: system-ui, -apple-system, sans-serif;
}

.bk-card__img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #e5e7eb;
}

.bk-card__body {
    padding: 10px 12px 12px;
}

.bk-card__stars {
    color: #febb02;
    font-size: 12px;
    letter-spacing: 1px;
}

.bk-card__name {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.bk-card__area {
    margin: 2px 0 8px;
    font-size: 12px;
    color: #006ce4;
}

.bk-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #1a1a1a;
}

.bk-card__score {
    background: #003b95;
    color: #fff;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px 4px 4px 0;
}

.bk-card__word {
    font-weight: 700;
}

.bk-card__reviews {
    color: #6b7280;
}

.bk-card__price {
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
}

.bk-card__amount {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.bk-card__per {
    font-size: 12px;
    color: #6b7280;
}
