body {
    background: var(--highcharts-background-color);
    color: var(--highcharts-neutral-color-100);

    .highcharts-breadcrumbs-button rect {
        /* убрать фон с кнопки Регион со стрелкой  */
        width: auto !important;
    }
}

/*
    #container {
      height: 720px;
      min-width: 400px;
      max-width: 800px;
      margin: 0 auto;
    }
*/
.highcharts-focus-border {
    display: none !important;
}

.highcharts-data-label text,
.highcharts-data-label tspan {
    pointer-events: none !important;
}

.container {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    color: #333333;
    /*pointer-events: none;*/
    box-sizing: border-box;
    padding-right: 10px;
    /*font-size: 12px;*/
    /*background-color: grey;*/
    height: calc(100vh - 15vh);
    width: 100%;
    min-height: 370px;
    /*margin-top: 20px;*/
    min-width: 120px;
    max-width: 1200px;
    margin: 0 auto;
    /* Диаграмма занимает всю доступную ширину контейнера */
    z-index: 3;

    /*border: 2px solid blue;*/
}


@media only screen and (max-width: 680px) {}

@media only screen and (max-width: 680px) {}


/* xs (<=543px) */

@media only screen and (max-width: 575px) {

    .container {
        height: calc(100vh - 44vh);
        /*height: calc(100vh - 495px); */
    }

}


/* sm (>=576 и <=767) */

@media only screen and (min-width: 576px) and (max-width: 767px) {}


/* md (>=768 и <=991) */

@media only screen and (min-width: 768px) and (max-width: 991px) {}


/* lg (>=992 и <=1199) */

@media only screen and (min-width: 992px) and (max-width: 1199px) {}


/* xl (>=1200 и <=1919) */

@media only screen and (min-width: 1200px) and (max-width: 1919px) {

    .container {
        height: calc(100vh - 25vh);
        /* Adjusting height for larger screens */
    }

}


/* Кнопка переключения режимов */
.mode-toggle-btn {
    position: fixed;
    bottom: 80px;
    right: 10px;
    z-index: 999;
    background-color: #F4F4F7;
    color: #363949;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;        /* всегда скруглённые углы */
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;

    display: none;
    width: 105px;
    text-align: center;
    outline: none;

    /* плавная анимация только для цвета фона и текста */
    transition: background-color 0.15s ease, color 0.15s ease;
    will-change: background-color, color;

    -webkit-tap-highlight-color: transparent; /* убирает эффект выделения при таче */
}

/* Активное состояние */
.mode-toggle-btn.active {
    background-color: #2caffe; /* основной цвет */
    color: white;
    /* оставляем border-radius и transition неизменными */
}

/* Показываем кнопку на мобильных устройствах */
@media only screen and (max-width: 575px) {
    .mode-toggle-btn {
        display: block;
    }
}

/* Когда сайдбар открыт — делаем кнопку полупрозрачной и неактивной */
.sidebar.open ~ .mode-toggle-btn {
    opacity: 0.5;
    pointer-events: none;
}