.mybox-locker-map,
.mybox-locker-map * {
    box-sizing: border-box;
}

.mybox-locker-map {
    display: flex;
    width: 100%;
    min-height: 560px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.mybox-locker-map__sidebar {
    width: 32%;
    min-width: 320px;
    height: 560px;
    padding: 18px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    overflow-y: auto;
}

.mybox-locker-map__search,
.mybox-locker-map__city {
    width: 100%;
    padding: 11px 12px;
    margin-bottom: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

.mybox-locker-map__search:focus,
.mybox-locker-map__city:focus {
    border-color: #999;
}

.mybox-locker-map__count {
    margin: 4px 0 12px;
    font-size: 13px;
    color: #777;
}

.mybox-locker-map__list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mybox-locker-map__item {
    padding: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 7px;
    cursor: pointer;
    background: #fff;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.mybox-locker-map__item:hover {
    background: #f7f7f7;
    border-color: #ccc;
    transform: translateY(-1px);
}

.mybox-locker-map__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #222;
}

.mybox-locker-map__address {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.mybox-locker-map__city-name {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

.mybox-locker-map__status {
    margin-top: 6px;
    font-size: 12px;
}

.mybox-locker-map__status--online {
    color: #238636;
}

.mybox-locker-map__status--offline {
    color: #999;
}

.mybox-locker-map__map {
    flex: 1;
    min-width: 0;
    min-height: 560px;
}

.mybox-locker-map__loading,
.mybox-locker-map__error,
.mybox-locker-map__empty {
    padding: 15px 5px;
    font-size: 14px;
    color: #777;
}

.mybox-locker-map__error {
    color: #b00020;
}

.mybox-locker-map__pin {
    width: 34px;
    height: 34px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    position: relative;
}

.mybox-locker-map__pin::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 9px;
    left: 9px;
}

.mybox-locker-map__pin--online {
    background: #2e7d32;
}

.mybox-locker-map__pin--offline {
    background: #777;
}

@media (max-width: 768px) {
    .mybox-locker-map {
        flex-direction: column;
        min-height: 0;
    }

    .mybox-locker-map__sidebar {
        width: 100%;
        min-width: 0;
        height: auto;
        max-height: 420px;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .mybox-locker-map__map {
        width: 100%;
        height: 450px !important;
        min-height: 450px;
    }
}
