.progress-bar {
    transition: width .3s ease;
    /*transition: none;*/
}
.progress {
    transition: width .3s ease;
    /*transition: none;*/
}

/*#newFilesCardId{*/
/*    --animate-duration: 0.75s;*/
/*}*/
.htmx-indicator{
        display:none !important;
    }
.htmx-request .htmx-indicator{
         display:inline-flex !important;
    }
.htmx-request.htmx-indicator{
         display:inline-flex  !important;
    }

.spinner-border,
.spinner-grow {
        --bs-spinner-animation-speed: 0.75s
    }

.theme-toggle {
    color: #dee2e6;
}
        #ymap {
            width: 100% !important;
            height: 100%  !important;
        }


        .ymaps-2-1-79-balloon__content{
            color: #211313 !important;
            font-size: 1rem !important;
        }




/*Меняю отображение на телефонах, чтобы меньше отступов от краев экрана было*/
@media (max-width: 991.98px){

    .card .card-body {
        padding: 0.75rem
    }

    .container{
        padding-right: 0;
        padding-left: 0;
    }

    .content_container{
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: auto;
        margin-left: auto
    }

    .col-12:has(.card){
        padding-right: 0;
        padding-left: 0
    }

    .row:has(.card){
        margin-right: 0;
        margin-left: 0
    }

    .page-heading{
        margin-bottom: 1rem;
    }
   .page-heading h1, h2, h3, h4{
        text-align: center;
    }

   .dataTable-input{
        max-width: 10rem;
    }

}

[data-tippy-content]{
    align-items: center !important;
    cursor: help;
}

[data-tippy-root]{
    text-align: center !important;
}

/*[data-tippy-root] a{*/
/*    color: #728be5;*/
/*}*/

[data-tippy-text]{
    border-bottom: 1px dashed var(--bs-gray);
    display: inline-block;
}


.tippy-box[data-theme~='custom'] {
  background-color: #40404d;
  color: #ffffff;
}

.tippy-box[data-theme~='custom'][data-placement^=top]>.tippy-arrow:before {
    border-top-color: #40404d;
}

.tippy-box[data-theme~='custom'][data-placement^=bottom]>.tippy-arrow:before {
    border-bottom-color: #40404d;
}

.tippy-box[data-theme~='custom'][data-placement^=left]>.tippy-arrow:before {
    border-left-color: #40404d;
}

.tippy-box[data-theme~='custom'][data-placement^=right]>.tippy-arrow:before {
    border-right-color: #40404d;
}

.tippy-box[data-theme~='custom']>.tippy-backdrop {
    background-color: #40404d;
}

.tippy-box[data-theme~='custom']>.tippy-svg-arrow {
    fill: #40404d;
}

.divider .divider-text:before,
.divider .divider-text:after{
    border-color: #6c757d;
    opacity: .85;
}

hr {
    color: #6c757d;
    opacity: .85;
}

.theme-toggle{
    color: #8e9aa4;
}

.theme-toggle .form-check .form-check-input{
    border-color: #8e9aa4;
    opacity: 1;
}


.form-check-input{
    cursor: pointer;
}

/*Запрет отображения кнопки шага изменения величины у input number*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*Настройки описания точек на карте*/
.ymaps-2-1-79-balloon, .ymaps-2-1-79-balloon__layout, .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-hint-overlay, .ymaps-2-1-79-hint, .ymaps-2-1-79-hint__text{
    background-color: #e7e7ec !important;
    /*border-color: #40404d !important;*/
    /*color: #211313 !important;*/
    font-size: 1rem !important;
    font-family: var(--bs-body-font-family) !important;
    font-size: var(--bs-body-font-size) !important;
    font-weight: 600 !important;
    line-height: var(--bs-body-line-height) !important;
    color: var(--bs-body-color) !important;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-color: #44505DFF !important;
    border-radius: 0.5rem !important;
}
html[data-bs-theme=dark] .ymaps-2-1-79-balloon,
html[data-bs-theme=dark] .ymaps-2-1-79-balloon__tail,
html[data-bs-theme=dark] .ymaps-2-1-79-hint{
    background-color: #0b0c0e !important;
}

.ymaps-2-1-79-balloon__tail:after{
    background-color: #e7e7ec !important;
}

.ymaps-2-1-79-gototaxi,
.ymaps-2-1-79-gotoymaps,
.ymaps-2-1-79-gototech{
/*.ymaps-2-1-79-copyright__text{*/
/*.ymaps-2-1-79-copyright{*/
    display: none !important;

}

    .header-top{
        background-color: rgba(65, 114, 243, 0) !important;
    }

    /*body {*/
    /*    zoom: 90%;*/
    /*}*/

    /*.custom-chart{*/
    /*    zoom: 111%*/
    /*}*/
@media screen and (min-width: 2300px) {
    /*body {*/
    /*    zoom: 165%;*/
    /*}*/
    /*.custom-chart{*/
    /*    zoom: 60.6%;*/
    /*}*/
}

.progress.vertical {
    width: 2rem !important; /* Ширина прогресс-бара */
    height: 6rem !important; /* Высота прогресс-бара */
    /*display: flex  !important;*/
    align-items: flex-end  !important;
    /*position: relative  !important;*/
}


/*.form-label{*/
/*    font-weight: 600;*/
/*}*/
.page-item .page-link{
    font-weight: 600;
    font-size: 1rem !important;
}
.page-item i,
.page-item svg {
    font-size: 1rem;
    /*margin-bottom: 10px;*/
}


.layout-horizontal .main-navbar ul>.menu-item{
    font-size: 130%;
    height: 2.1em;
}
.layout-horizontal .main-navbar ul .menu-link span>i {
    margin-right: 0.5em;
}


.dropdown-toggle:after {
    font-size: 1.6rem;
    /*color: hsl(193, 46%, 54%);;*/
}
.dropdown .avatar {
    margin-right: .1rem;
}

label[disabled] {
    cursor: default !important; /* Курсор в виде стрелки вместо пальца */
}


/*.table>:not(caption)>*>*,*/
/*.dataTable-table>:not(caption)>*>* {*/
/*    padding: .5rem !important;*/
/*}*/

.table td,
.dataTable-table td,
.table thead th,
.dataTable-table thead th {
    vertical-align: middle !important;
}

.form-select{
    cursor: pointer;
}

.input-group-text[disabled],
.flatpickr-input[disabled],
.form-control[disabled],
.form-check-input:disabled,
.d-inline-block:has(.form-check-input:disabled) {
    cursor: not-allowed !important;
}

.choices.is-disabled .choices__button {
    cursor: not-allowed !important;
    pointer-events: none;
}

/*Отступы для пунктов с точками в FAQ*/
.faq-points li {
    margin-bottom: 0.8rem; /* Отступ снизу */
    margin-left: 0.8rem;
}

@media (min-width: 992px) {
    .faq-points li {
        margin-left: 2rem;
    }
}






/* Стили крестика на кнопках отвязки соц сетей */
.social-remove-icon {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff0000;
    font-size: 0.9rem;
}

/* Эффект при нажатии на кнопках отвязки соц сетей */
.social-icon-btn:active .social-remove-icon {
    transform: translate(-50%, -50%) scale(0.7);
}

/* Кнопка закачки ЭВИ */
.green-download{
    color: rgb(83, 141, 0);
    font-size: 1.25rem !important;
}

.accordion-button:not(.collapsed) {
    color: var(--main-red-color);
}


.menu-item {
    /*margin: -10px 0; !* Сжимает фон сверху и снизу на 10px *!*/
}


.menu-item:active:not(.active) {
    /*background-color: rgba(0, 0, 0, 0.2);*/
    transform: translateY(0.15rem) !important;
}

html[data-bs-theme=dark] .form-check-input:checked, .form-check-input:checked {
    background-color: var(--main-blue-color) !important;
    border-color: var(--main-blue-color) !important;
}

html[data-bs-theme=dark] .choices__list--multiple .choices__item, .choices__list--multiple .choices__item {
    background-color: var(--main-blue-color) !important;
    border: 1px solid #408194 !important;
}

/*.btn-primary {*/
/*    --bs-btn-bg: var(--main-red-color);*/
/*    --bs-btn-border-color: var(--main-red-color);*/
/*    --bs-btn-hover-bg: #bd4530;*/
/*    --bs-btn-hover-border-color: #bd4530;*/
/*    --bs-btn-active-bg: #a63c2a;*/
/*    --bs-btn-active-border-color: #a63c2a;*/
/*}*/

html[data-bs-theme=dark] .btn-primary, .btn-primary  {
    --bs-btn-bg: var(--main-blue-color);
    --bs-btn-border-color: var(--main-blue-color);
    --bs-btn-hover-bg: var(--main-blue-color);
    --bs-btn-hover-border-color: var(--main-blue-color);
    --bs-btn-active-bg: #428598;
    --bs-btn-active-border-color: #428598;
    --bs-btn-disabled-bg: #428598;
    --bs-btn-disabled-border-color: #428598;

}

html[data-bs-theme=dark] .pagination.pagination-primary .page-item.active .page-link,
.pagination.pagination-primary .page-item.active .page-link{
    background-color: var(--main-blue-color);;
    border-color: var(--main-blue-color);;
    box-shadow: 0 2px 5px rgba(66, 134, 153, 0.3);
}

.page-item.active .page-link {
    color: #fff !important;
}

html[data-bs-theme=dark] a, a{
    color: var(--main-blue-color);
}

html[data-bs-theme=dark] a:hover, a:hover{
    color: #428598;
}
html[data-bs-theme=dark] .progress, .progress{
    --bs-progress-bar-bg: var(--main-red-color)
}

html[data-bs-theme=dark] .progress, .progress {
    height: 20px;
    overflow: hidden;
    /*background-color: #b2b2b2;*/
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

html[data-bs-theme=dark] .progress-bar, .progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    /*background-color: #337ab7;*/
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

/*Настройки отображение таблиц на странице запроса на мобилах*/
.mobile-table td{
    padding: 1rem .5rem !important;
}

@media (min-width: 992px) {
    .mobile-table td{
        padding: 1.5rem !important
    }
}

.mobile-table div {
  white-space: nowrap;
}

/* === Блок затенения поля выбора даты в панели === */
#timeEpochId.is-disabled-like {
  background-color: #e9ecef; !important;
  cursor: not-allowed;
}

/* Чтобы placeholder тоже выглядел спокойно */
#timeEpochId.is-disabled-like::placeholder {
  background-color: #e9ecef !important;
    cursor: not-allowed;
}


/* Серый disabled-вид для addon (замочек) */
#timeEpochAddonId.is-disabled-like {
  background-color: #e9ecef !important;
  cursor: not-allowed;
}

/* Серый цвет самой иконки замка */
#timeEpochAddonId.is-disabled-like #timeEpochAddonIconId {
  color: #607080 !important;
}

/* Серый disabled-вид для кнопки сброса */
#timeEpochResetBtnId.is-disabled-like,
#timeEpochResetBtnId:disabled {
  background-color: #e9ecef !important;
  color: #607080 !important;
  opacity: 1;          /* чтобы в dark-теме не становилась “бледной” непредсказуемо */
  cursor: not-allowed;
    border-color: #dce7f1 !important;
}

/* Иконка внутри кнопки сброса — тоже серая */
#timeEpochResetBtnId.is-disabled-like i,
#timeEpochResetBtnId:disabled i {
  color: #607080 !important;
}
/* === Конец блока затенения поля выбора даты в панели === */



/* ===== Language dropdown: light theme only ===== */
.lang-dd__btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  height: 32px;
  padding: 0;

  background: none;
  border: none;
  box-shadow: none;

  color: rgba(0,0,0,.72);
  cursor: pointer;

  /* лёгкая “площадка” на hover без рамки */
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.lang-dd__btn:hover{
  background: rgba(0,0,0,.05);
  color: rgba(0,0,0,.88);
}

/* флаг */
.lang-dd__flag{
  display: inline-flex;
  align-items: center;
}

.lang-dd__flag svg{
  display: block;
}

/* стрелка */
.lang-dd__arrow{
  width: 0.4em;
  height: 0.4em;

  border-right: 0.1em solid rgba(0,0,0,.45);
  border-bottom: 0.1em solid rgba(0,0,0,.45);
  transform: rotate(45deg) translateY(-1px);

  transition: transform .15s ease, border-color .15s ease;
}

.lang-dd__btn[aria-expanded="true"] .lang-dd__arrow{
  transform: rotate(-135deg) translateY(-1px);
  border-color: rgba(0,0,0,.70);
}

/* dropdown menu */
.lang-dd__menu{
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* items */
.lang-dd__item{
  color: rgba(0,0,0,.80);
  border-radius: 10px;
}

.lang-dd__item:hover{
  background: rgba(0,0,0,.05);
  color: rgba(0,0,0,.92);
}

.lang-dd__menu {
  display: none !important;
}
.lang-dd__menu.show {
  display: block !important;
}



 @media (max-width: 991.98px){
    .toggle-menu{
              position: absolute;
      right: 12px;


      margin-left: 0 !important;
      z-index: 2000;
    }
         .main-navbar .menu-actions{
      padding: 0;
    }

         .menu-link {
           padding-top: 0 !important;
         }
 }


 html[data-bs-theme="light"]   .layout-horizontal .main-navbar {
        background-color: #435ebe !important;
    }