.map-actions {
    z-index: 333999;
    position: absolute;
    bottom: 120px;
    left: 0;
}

.map-actions > div {
    background: url("/public/icons/r.png");
    background-size: 100% 100%;
    height: 40px;
    width: 40px;
    z-index: 11;
    border: none;
}

.p-abss {
    position: absolute;
    bottom: 15px;
    left: 10px;
    z-index: 111;
    border: 2px solid #000000b3;
    border-radius: 5px;
}

.map-container {
    border-radius: 5px;
    width: 100px;
    height: 100px;
    position: relative;
    background: url('/public/locations/5.png') no-repeat center center;
    background-size: 100% 100%;
    transition: transform 0.3s ease, z-index 0s ease 0.3s;
    cursor: pointer;

}

.map-container.expanded {
    z-index: 11;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(3.8);
    border: 1px solid #00000091;
    border-radius: 5px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10;
}

.overlay.active {
    display: block;
}

/* Стиль для выделенной ячейки */
.highlight {
    position: absolute;
    border-radius: 50%;
    background: red;
    pointer-events: none;
}




.inf-c {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    color: #ffffff;
    border-radius: 10px !important;
    text-align: center;
    font-size: 14px !important;
    background: linear-gradient(to bottom, #ffffff 0, #393939 100%);
    outline: 1px solid #000;
    padding: 1px 2px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .7);
    pointer-events: none;
    top: 0;
    right: -18px;
}

.inf-c-t {
    font-family: t1;
    padding: 0 2px;
    background: linear-gradient(180deg, #423229bd 35%, rgb(0 0 0 / 0%) 100%);
    border-radius: inherit;
    box-shadow: inset 0 0 4px 0 #000;
    min-width: 20px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divider-c {
    position: relative;
    width: 100%;
    height: 6px !important;
    background: url("/public/br_p.png") no-repeat;
    background-size: 100% 100%;
}
.main-title {
    font-family: "t3", Arial, sans-serif;
    font-size: 16px !important;
    color: #c1c0c0;
    filter: drop-shadow(0 0 1px rgb(0, 0, 0));
}

.main-title-wrap {
    position: relative;
    padding: 2%;
    background: linear-gradient(180deg, #2e241e 35%, rgb(0 0 0 / 0%) 100%);
    text-align: center;
    top: -1px;
}

.toggle-container {
    display: flex;
    margin-top: 5px;
    align-items: center;
    justify-content: center;
}
.toggle {
    display: inline-block;
    width: 80px;
    height: 30px;
    background-color: rgba(92, 92, 92, 0.43);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
}
.toggle::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: #e3e3e3;
    border-radius: 50%;
    top: 1px;
    left: 1px;
    transition: left 0.2s ease;
}
.toggle.active {
    background-color: #4a912b; /* Цвет для активного состояния */
}
.toggle.active::after {
    left: 51px; /* Положение переключателя при активном состоянии */
}
.label {
    font-size: 16px; /* Размер шрифта для текста */
}