.ism-wrap {
    --ism-bg: #0f1720;
    --ism-panel: #13202e;
    --ism-border: rgba(255, 255, 255, 0.12);
    --ism-text: #e8f2ff;
    --ism-muted: #9ab0c7;
    --ism-accent: #2fa4ff;
    --ism-height: 620px;

    width: 100%;
    color: var(--ism-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.ism-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(180deg, #182434 0%, #0f1720 100%);
    border: 1px solid var(--ism-border);
    border-bottom: 0;
    padding: 12px;
}

.ism-toolbar__left {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    flex: 1;
}

.ism-toolbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ism-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ism-muted);
    margin-bottom: 5px;
}

.ism-geocoder .mapboxgl-ctrl-geocoder {
    min-width: 280px;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 0;
    border: 1px solid var(--ism-border);
    background: #fff;
}

.ism-btn {
    border: 1px solid #2f4963;
    background: #173149;
    color: #dbeafe;
    padding: 9px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ism-btn:hover {
    background: #1e3f5d;
}

.ism-meta {
    font-size: 12px;
    color: var(--ism-muted);
}

.ism-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    border: 1px solid var(--ism-border);
    background: #0b1420;
    min-height: var(--ism-height);
}

.ism-map {
    min-height: var(--ism-height);
}

.ism-sidebar {
    border-left: 1px solid var(--ism-border);
    background: var(--ism-panel);
    overflow: auto;
    padding: 14px;
}

.ism-sidebar h3 {
    margin: 0 0 12px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #bcd4ec;
}

.ism-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ism-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
    cursor: pointer;
}

.ism-item:hover {
    border-color: #2f85cf;
}

.ism-item__top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.ism-item__name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.ism-item__distance {
    color: #7dd3fc;
    font-size: 12px;
    white-space: nowrap;
}

.ism-item__meta {
    font-size: 12px;
    color: var(--ism-muted);
}

.ism-popup-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.ism-popup-meta {
    font-size: 12px;
    color: #27445f;
}

@media (max-width: 900px) {
    .ism-body {
        grid-template-columns: 1fr;
    }

    .ism-sidebar {
        border-left: 0;
        border-top: 1px solid var(--ism-border);
        max-height: 260px;
    }
}
