.branch-panel {
    background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.03), rgba(255, 255, 255, 1));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.09);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.branch-list {
    max-height: 470px;
    overflow-y: auto;
}

.branch-item {
    background: #fff;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.08);
    transition: all 0.2s ease;
}

.branch-item:hover,
.branch-item.active {
    background: rgba(var(--bs-primary-rgb), 0.04);
    border-color: rgba(var(--bs-primary-rgb), 0.2);
    box-shadow: 0 8px 18px rgba(var(--bs-primary-rgb), 0.08);
}

.map-panel {
    padding: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.09);
}

.map-surface {
    position: relative;
    height: 100%;
    min-height: 360px;
    background:
        linear-gradient(135deg, rgba(11, 98, 180, 0.22), rgba(26, 196, 173, 0.12)),
        linear-gradient(180deg, #f0f7ff 0%, #dfeefc 100%);
    overflow: hidden;
}

.map-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(122, 162, 204, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 162, 204, 0.22) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.55;
}

.map-surface::after {
    content: "";
    position: absolute;
    inset: 15% 10% 10% 18%;
    border-radius: 50%;
    background: rgba(152, 197, 255, 0.12);
    filter: blur(20px);
}

.map-road {
    position: absolute;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(78, 120, 170, 0.18);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(158, 181, 219, 0.2);
}

.map-road-a {
    width: 72%;
    height: 14px;
    left: 12%;
    top: 36%;
    transform: rotate(17deg);
}

.map-road-b {
    width: 68%;
    height: 14px;
    right: 12%;
    top: 56%;
    transform: rotate(-20deg);
}

.map-road-c {
    width: 14px;
    height: 70%;
    left: 45%;
    top: 14%;
    transform: rotate(8deg);
}

.map-pin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #0d6efd 0%, #0aa7b8 100%);
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.18), 0 10px 18px rgba(12, 120, 156, 0.28);
    transform: rotate(-45deg);
    z-index: 2;
}

.map-pin::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
}

.pin-one {
    left: 46%;
    top: 52%;
}

.pin-two {
    left: 67%;
    top: 36%;
}

.pin-three {
    left: 58%;
    top: 64%;
}

.pin-four {
    left: 32%;
    top: 44%;
}

.map-tooltip {
    position: absolute;
    z-index: 2;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 80, 142, 0.12);
    box-shadow: 0 10px 18px rgba(18, 48, 74, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
    color: #173d63;
}

.tooltip-one {
    left: 48%;
    top: 47%;
}

.tooltip-two {
    left: 69%;
    top: 31%;
}

.tooltip-three {
    left: 61%;
    top: 71%;
}

.tooltip-four {
    left: 27%;
    top: 40%;
}

@media (max-width: 991.98px) {
    .map-surface {
        min-height: 300px;
    }
}