body,
#app {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    height: 300px;
    width: 1020px;
    overflow: auto;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.inner_block {
    padding-right: 210px;
    padding-left: 210px;
    padding-bottom: 10px;
    background-color: var(--color-bg);
    background-image: var(--circle-bg-image-url);
    background-repeat: no-repeat;
    background-position: 100% 0;
}

.title {
    margin-top: 32px;
    color: #f2f5fa;
    font-size: 36px;
    line-height: 42px;
    font-weight: 700;
}

.info_window {
    padding: 8px 12px 8px 32px;
    border-radius: 8px;
    background-color: #313133;
    background-image: url('./info-icon.svg');
    background-position: 8px 50%;
    background-repeat: no-repeat;
    gap: 8px;
    color: #f2f5fa;
    font-size: 14px;
    line-height: 20px;
}

.button {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--interact-btn-accent);
    color: var(--interact-btn-text-color);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    align-content: center;
    cursor: pointer;
    border: none;
}

.title__block {
    gap: 32px;
    display: flex;
    flex-direction: column;
}

.map__block {
    display: block;
    height: 250px;
    margin-top: 87px;
    background-color: rgba(36, 41, 48, 1);
    border-radius: 12px;
    overflow: hidden;
}

.behaviorControl {
    position: absolute;
    top: 8px;
    right: 40px;
    width: 228px;
    height: 32px;
}

.behaviorControl__title {
    font-size: 16px;
    color: #050d33;
    font-weight: 500;
    line-height: 20px;
}

.behaviorControl__block {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 228px;
    height: 32px;
    padding: 10px 16px;
    background-color: white;
    border-radius: 12px;
}

.behaviorControl__tooltip {
    font-size: 12px;
    line-height: 16px;
    color: #898a8f;
}

.behaviorControl__label {
    margin-left: auto;

    height: 22px;
    width: 40px;

    display: inline-block;
    position: relative;
}

.behaviorControl__label input {
    display: none;
}

.behaviorControl__slider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;

    cursor: pointer;
    border-radius: 22px;
    background-color: #ccc;
    transition: 0.4s;
}

.behaviorControl__slider:before {
    content: '';
    width: 16px;
    height: 16px;

    position: absolute;
    bottom: 3px;
    left: 3px;

    border-radius: 50%;
    background-color: #fff;
    transition: 0.4s;
}

.behaviorControl__label input:checked + .behaviorControl__slider {
    background-color: var(--interact-action);
}

.behaviorControl__label input:checked + .behaviorControl__slider:before {
    transform: translateX(18px);
}

.loader-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container._hide {
    display: none;
}

.loader {
    width: 30px;
    height: 30px;
    background-image: url('./loader.svg');
    background-repeat: no-repeat;
    background-position: 6px 6px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
