
.notification2 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.1); /* Прозрачный серый фон */
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999; /* Поверх всех элементов */
  width: 300px; /* Ширина уведомления */
}
.close-btn2 {
  float: right;
  cursor: pointer;
  font-size: 16px;
}
#notification-content {
  word-wrap: break-word;
}


@media (min-width: 1920px) {
  #toggle-button {
    display: none;
  }

}

@media (min-width: 1024px) and (max-width: 1919px) {
  #toggle-button {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hide-nav-elements{
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hide-nav-elements{
    display: none !important;
  }
  .hide-footer-elements{
    display: none !important;
  }
}


header {
  width: 100%;
}

.img-circle {
  border-radius: 50%;
  object-fit: cover;
}

a {
  text-decoration: none !important;
}


.navbar-nav .dropdown-menu {
  position: absolute !important;
}


.dropdown-in-middle {
  position: absolute;
  left: 50% !important; /* center the dropdown horizontally */
  transform: translateX(-50%) !important; /* align the dropdown's center with the center of the button */
  background-color: white;
  border: 1px solid gray;
  z-index: 1;
}

.disable-div {
  opacity: 0.5;
  pointer-events: none;
}


/* BUTTONS */
.blue-button {
  background-color: var(--blue-color);
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  font-size: 16px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  outline: none;
  position: relative;
  line-height: 22px;
  max-width: 243px;
  width: 100%;
  height: 42px;
  transition: background-color 0.3s ease-in-out;
}

.blue-button.small {
  font-size: 10px;
  
}

.blue-button::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid var(--blue-color);
  border-radius: 4px;
}

.blue-button:disabled {
  background-color: #6D6D6D;
  border: 1px solid #6D6D6D;
  color: white;
  opacity: 0.5;
  }
  
  .blue-button:hover{
  background-color: var(--hover-color);
  transition: background-color 0.3s ease-in-out;
  }
  
  .blue-button:focus {
  transition: background-color 0.5s ease-in-out;
  }


  @media screen and (max-width: 767px) {
    .create-button.blue-button {
      position: fixed !important;
      bottom: 16px;
      right: 16px;
      width: 56px;
      height: 56px;
      max-width: none;
      border-radius: 3px;
      padding: 0;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
      line-height: 56px;
      z-index: 999;
    }
  
    .create-button.blue-button img {
      display: none;
    }
  
    .create-button.blue-button::before {
      content: "+";
      font-size: 36px;
    }
  }

.white-button {
  font-family: 'Open Sans';
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  background-color: var(--background-color);
  border: 1px solid #056CDA;
  border-radius: 4px;
  color: #056CDA;
  font-size: 16px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  outline: none;
  position: relative;
  line-height: 22px;
  max-width: 243px;
  width: 100%;
  height: 44px;
  letter-spacing: -0.01em;

  }

  .white-button:disabled {
    background-color: #FFFFFF;
    border: 1px solid #6D6D6D;
    color: #6D6D6D;
    opacity: 0.5;
    }
    
  .white-button:hover{
    background-color: #E5EAF5;
    transition: background-color 0.3s ease-in-out;
    }
    
  .white-button:focus {
    transition: background-color 0.5s ease-in-out;
  }
  
  /* scroller */

/* Auto layout */

::-webkit-scrollbar {
  background-color: #f5f5f5;
  width: 6px;
}

/* настройка цвета полосы прокрутки */
::-webkit-scrollbar-thumb {
  gap: 10px;
  width: 4px;
  height: 86px;
  background-color: #D2D5D8;
  border-radius: 10px;
}

/* настройка цвета полосы прокрутки при наведении */
::-webkit-scrollbar-thumb:hover {
  background-color: #bdbfc2;
}



/* Checkbox */
.checkbox {
  position: relative;
  width: 24px;
  height: 24px;
}

/* Checkbox background */
.checkbox input[type=checkbox] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

/* Checkbox border */
.checkbox input[type=checkbox] + label {
  box-sizing: border-box;
  position: absolute;
  width: 24px;
  height: 24px;
  left: 0px;
  top: 0px;
  background: #FFFFFF;
  border: 2px solid #056CDA;
  border-radius: 4px;
}

/* Checkbox checked state */
.checkbox input[type=checkbox]:checked + label:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 5px;
  top: 5px;
  background: #056CDA;
  border-radius: 2px;
}

/* Checkbox checked state checkmark */
.checkbox input[type=checkbox]:checked + label:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 3px;
  height: 7px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


  .muted-image {
    filter: grayscale(100%);
    opacity: 0.6;
  }

  /* Table content */
  .table-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  /* Item Row */
  .item-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transition: transform 0.3s ease-out;
    cursor: pointer;
    border-bottom: 1px solid #D7E4F0B2;
  }

  .item-row-white-borders {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transition: transform 0.3s ease-out;
    border-bottom: 1px solid white;
  }

  .item-row-no-borders {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transition: transform 0.3s ease-out;
  }
   /* .item-row:hover {
    transform: rotateY(5deg);
    transition-timing-function: ease-in-out;
    opacity: 0.9;
    }*/
  
  /* Row Content */
  .row-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 32px;
    position: relative;
  }

  /* Query Cover */
  .query-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
  }

  .query-cover2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
  }

  .query-cover img {
    max-width: 100%;
    height: auto;
  }

  .query-cover2 img {
    max-width: 100%;
    height: 72px !important;
  }


  /* Query Details */
  .query-details {
    min-width: 0;
    margin: 0 16px;
  }

  .query-details.qd200 {
    width: 200px !important;
    word-break: break-word !important;
  }


  .query-details h4 {
    margin: 0;
  }

  .query-details p {
    margin: 4px 0 0 0;
  }



  @media (max-width: 767px) {
    .row-content {
      flex-wrap: wrap;
      padding: 12px 16px;
      gap: 16px;
    }
    .query-details {
      margin: 8px 0;
      flex: 0 0 100%;
    }
    .query-details:nth-child(1) {
      flex-basis: 72px;
    }
    .query-details:nth-child(2) {
      flex-basis: calc(100% - 112px);
    }
    .query-details:nth-child(3) {
      display: none;
    }
  }
  .edit-button {
    /* width: 122px; */
    height: 22px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: #056CDA;
    flex: none;
    order: 0;
    flex-grow: 0;
  }

  .query-name-style {
    font-style: normal;
    font-size: 21px;
    line-height: 30px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: var(--text-color);
    flex: none;
    order: 0;
    flex-grow: 1;
  }
  .query-description-style {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: var(--hover-color);
    flex: none;
    order: 1;
    flex-grow: 1;
  }

  .link-dark {
    color: var(--hover-color) !important;
  }
  .sidebar_link{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 10px;
    max-width: 184px;
    height: 40px;
    border-radius: 4px;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    color: var(--text-color) ;
    transition: all 0.8s ease;
}

.sidebar_link:hover{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 10px;
    background: var(--blue-light-background);
    color: var(--blue-light-text);
    border-radius: 4px;
    border: 1px solid #056CDA1A;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    box-shadow: 0px 2px 4px #4C56AF0F;
    transform: translateY(-2px);
}


.detected-statistic-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-radius: 2px;
}

.detected-statistic-form > * {
  /* flex: 1 1 calc(33.33% - 16px); */
  margin-bottom: 16px;
}

.detected-statistic-form .label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.detected-statistic-form .input {
  border: none;
  background: rgba(229, 234, 245, 0.7);
  outline: none;
  font-size: 14px;
  min-width: 96px;
  max-width: 128px;
  padding: 8px 12px;
}

.detected-statistic-form .date-picker {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
}

.detected-statistic-form .date-picker-label {
  flex: none;
}

.detected-statistic-form .date-picker-input {
  flex: 1;
}

@media only screen and (min-width: 481px) {
  .detected-statistic-form .date-picker-input {
      width: 90px;
  }
}

@media only screen and (min-width: 768px) {
  .query-details, .query-name-style, .query-description-style {
      word-break: break-word; /* Это свойство разрешает перенос слов */
  }
}

.grey-button {
  background-color: var(--grey-color);
  padding: 8px 12px;
  gap: 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.5s ease;
  text-decoration: none;
  color: var(--header-table);
  font-size: 16px;
  border: none;
}

.grey-button:hover {
  background-color: #2A3A45;
  color: var(--background-color);
}

.grey-button.grey-button-small {
  font-size: 12px;
  padding: 6px 8px;
}
.blue-btn {
  background-color: #056CDA;
  padding: 8px 12px;
  gap: 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.5s ease;
  text-decoration: none;
  color: whitesmoke;
  font-size: 16px;
  border: none;
}

.blue-btn:hover {
  background-color: #0E6FC0;
  color: var(--background-color)
}

html, body {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 !important;
}

.page-content {
  flex: 1;
}


/* Отступы между абзацами текста */
p + p {
  margin-top: 16px;
}

/* Отступы между фото в группе */
.photo + .photo {
  margin-top: 16px;
}

/* Отступы между группой однотипных объектов (исключая группу с фото) */
.group + .group {
  margin-top: 20px;
}

/* Отступы между блоками разных типов */
section {
  margin-top: 18px;
}

/* Отступы 32px и 64px */
section.space-32 {
  margin-top: 32px;
}

section.space-64 {
  margin-top: 64px;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans_Condensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('../fonts/OpenSans_Condensed-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

body {
  font-family: 'Open Sans Condensed', sans-serif !important;
  background-color: var(--background-color);
  color: var(--text-color);
}


.marker-location {
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #6D6D6D;

}

.marker-sort {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: var(--text-color);

}


/* Создайте файл с названием, например, styles.css */

.isActiveCheckbox {
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-color: #056CDA !important;
  border: 2px solid #056CDA !important;
  border-radius: 2px;
}

.sort-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  gap: 16px;
  background: rgba(229, 234, 245, 0.7);
  border-radius: 2px;
  height: 39px;
}

.sort-group {
  padding: 8px 12px;
  gap: 16px;
  background: rgba(229, 234, 245, 0.7);
  border-radius: 2px;
}

.sort-label {
  flex: none;
  font-size: 14px;
  font-weight: bold;
}

.sort-select {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
}

/* Классы для больших экранов */
@media (min-width: 768px) {
  .pleft3 {
  padding-left: 1rem !important;
  } 
  
  .pright3 {
  padding-right: 1rem !important;
  }
}

.blue-link-button, .blue-link {
  color: var(--a-blu-digitale, #056CDA);
  font-family: Open Sans;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600 !important;
  line-height: normal;
  letter-spacing: -0.01rem;
  cursor: pointer;
  display: inline;
}

.blue-link-button {
  background: none;
  border: none;
}

.blue-link-button:focus, .blue-link:focus {
  outline: none;
}

.button-outline-blue {
  background-color: var(--background-color);
  border: 1px solid #056CDA;
  color: #056CDA;
  padding: 12px 16px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600 !important;
  line-height: normal;
  letter-spacing: -0.16px;
  border-radius: 6px;
}

.button-outline-blue.slim {
  padding: 0 !important;
  font-size: 0.8rem;
}

.button-outline-blue:hover {
  background-color: #056CDA; /* Синий фон при наведении */
  color: #FFFFFF; /* Белый текст при наведении */
}

/* Для экранов меньше 768px */
@media only screen and (max-width: 768px) {
  .button-outline-blue {
    font-size: 10px; /* Меньший размер шрифта */
    padding: 6px 12px; /* Меньше отступы */
  }

  .button-outline-blue.stay-rem {
    font-size: 1rem !important;
    padding: 4px 8px;
  }
}

/* Для экранов меньше 480px */
@media only screen and (max-width: 480px) {
  .button-outline-blue {
    font-size: 8px; 
    padding: 4px 8px;
  }

  .button-outline-blue.stay-rem {
    font-size: 1rem !important;
    padding: 4px 8px;
  }

}

.button-outline-blue:hover i,
.button-outline-blue:hover svg,
.button-outline-blue:active i,
.button-outline-blue:active svg {
  color: #FFFFFF; /* Белые иконки при наведении и нажатии */
}

.row-image{
  max-height: 72px !important;
  max-width: 72px !important;
}
.a_Blu_digitale {
  font-size: 16px;
  line-height: 21.79px;
  letter-spacing: -1%;
  padding: 8px 12px 8px 8px;
  margin-right: 4px;
  color: var(--blue-color);
  background-color: var(--background-color);
  border: none;
  cursor: pointer;
  max-height: 38px !important;
  max-width: 111px !important;
}


.a_Blu_digitale_initial {
  font-size: 16px;
  line-height: 21.79px;
  letter-spacing: -1%;
  padding: 8px 12px 8px 8px;
  margin-right: 4px;
  color: var(--blue-color);
  border: none;
  cursor: pointer;
  max-height: 38px !important;
  max-width: 111px !important;
}

.a_White_digitale {
  font-size: 16px;
  line-height: 21.79px;
  letter-spacing: -1%;
  padding: 8px 12px 8px 8px;
  margin-right: 4px;
  color: #056CDA;
  background-color: white;
  cursor: pointer;
  max-height: 38px !important;
  max-width: 111px !important;
  position: relative;
}

.a_White_digitale:after {
  content: "";
  position: absolute;
  bottom: -1px; /* Устанавливаем отрицательный отступ, чтобы перекрыть верхнюю границу */
  left: 0;
  right: 0;
  border: 1px solid white;
}

.a_Blu_digitale.blue {
  background-color: #4C56AF0F;
}

.a_Blu_digitale.white {
  background-color: var(--background-color)
}

.a_White_digitale.blue {
  background-color: #4C56AF0F;
}

.a_White_digitale.white {
  background-color: var(--background-color)
}

.a_White_digitale.no-border {
  border: none;
}

.a_White_digitale.rounded-bottom {
  border-radius: 0 0 12px 12px;
}

.a_Blu_digitale_initial.white {
  background-color: var(--background-color)
}
ul#tabs {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.a_Blu_digitale.w100, .a_Blu_digitale_initial.w100 {
  max-width: 320px !important;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    background-color: #f5f5f5;
    text-align: center;
    z-index: 999;
    left: calc(-50vw + 50%);
}
  
.sticky-footer .navbar-nav {
    display: flex;
    justify-content: space-around;
}
  
.sticky-footer .nav-item img {
    width: 30px;
    height: 30px;
}
  
@media (min-width: 992px) {
    .sticky-footer {
        display: none;
    }
}

.bgblue-{
  background-color: rgba(76, 86, 175, 0.06);
}

.button-icon i.fa {
  color: grey;
}

.button-icon:hover i.fa {
  color: white;
}
.date-picker-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 60px;
}

.blue-text {
  color: #056CDA;
}

.dark-blue-bg {

  background-color: #e7f1ff;
}

.fit-image {
  object-fit: contain; /* содержание сохраняет свои пропорции */
  max-width: 640px !important;
  max-height: 480px !important;
}

.transparent-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) !important;
}

.grey-bg {
  background: var(--gradient-color) !important;
}

.text-grey {
  color: #b0b0b0 !important; 
}
.adcm-text {
  color: var(--text-color) !important; 
}
.adcm-text:hover {
  color: var(--header-table) !important; 
}
.no-wrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.small-text {
  font-size: small;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.fa, .fas {
  color: #056CDA;
}

.blue-border {
  border: 1px solid #056CDA !important;
}


.bg-blue {
  background-color: #056CDA !important;
}


.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  color: white !important;
  opacity: 0.9;
  z-index: 9990;
  transition: opacity 0.3s ease;
  background-color: #ccc;
}

.notification.success {
  background-color: #27ae60;  
  color: white !important;
}

.notification.error {
  background-color: #c0392b;
  color: white !important;
}

.close-button {
  position: absolute;
  top: 50%;
  right: 10px;
  cursor: pointer;
  transform: translateY(-50%);
}

.message {
  margin-right: 20px;
}
/* Новые стили */
.adcm-background {
   background-color: var(--blue-light-background);
}

/* Основные переменные для светлой темы */
:root {
  --blue-light-text: #056CDA;
  --blue-light-background: rgba(76, 86, 175, 0.06);
  --blue-light-background2: rgba(76, 86, 175, 0.2);
  --background-color: #ffffff; /* Белый фон */
  --backgroutd-select-color: #ffffff;
  --text-color: #636c72; /* Светло-серый текст */
  --blue-color: #056CDA;
  --query-container: rgba(229, 234, 245, 0.7);
  --gradient-color: linear-gradient(0deg, rgba(5, 108, 218, 0.1), rgba(5, 108, 218, 0.1)), #E5EAF5;
  --hover-color: #0E6FC0;
  --header-table: #ffffff;
  --tabs-color: #f1f1f1;
  --red-color: red;
  --grey-color: #9fa7ad;
  --dark-grey-color: #636c72;
}

/* Переменные для тёмной темы */
.dark-theme {
  --blue-light-text: #056CDA;
  --blue-light-background: rgba(40, 52, 150, 0.2);
  --blue-light-background: rgba(40, 52, 150, 0.3);
  --background-color: #1c1c1e; /* Тёмно-серый фон */
  --backgroutd-select-color: #77777A;
  --text-color: #cad2d3; /* Ярко-серый текст */
  --hover-color: #2a4565;
  --blue-color: #0a5a9c;
  --query-container: #2a4565;
  --gradient-color: none;
  --header-table: #ffffff;
  --tabs-color: #87b4c9;
  --red-color: red;
  --grey-color: #33383d;
  --dark-grey-color: #2a4565;
}
.dark-theme button:hover {
  background-color: var(--hover-color) !important;
}

.just-hover:hover {
  background-color: var(--hover-color) !important;
}
.grey-hover:hover {
  background-color: var(--blue-light-background) !important;
  color: var(--blue-color) !important;
}
.blue-color{
  color: var(--blue-color) !important;
}
.red-color{
  color: var(--red-color) !important;
}
.lighter {
  filter: brightness(145%) !important;
}
.grey-text {
  color: var(--grey-color)
}

#chat-container {
  background-color: var(--query-container); /* Прозрачность для поля чата */
  border-radius: 10px;
  padding: 10px;
}
.chat-log {
  height: 128px;
  overflow-y: scroll;
  color: var(--text-color)
}

#chat-message-input {
  background-color: var(--gradient-color);
  color: var(--text-color)

}
/* 
.glide__slide {
  max-width: 220px;
} */

.glide__arrow {
  border: 1px solid var(--blue-color);
  padding: 10px 15px;
  cursor: pointer;
}
.fa {
  color: var(--blue-color)
}


.table-header {
  color: var(--background-color) !important;
}


.dark-theme.table-header {
  color: var(--blue-color);
}


@keyframes hoverScale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.02);
  }
}

@keyframes activeScale {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* .card-style {
  overflow:auto ;
} */

.card-style:hover {
  transform: scale(1.02); /* Увеличивает размер блока при наведении */
  transition: all 0.5s ease;
}
/* 
.card-style:hover .background-image {
  transform: scale(1.01); 
  transition: all 0.7s ease;
}
 */

.input_text__field {
  background-color: var(--background-color) !important;
}

.input_text__field[type="checkbox"] {
  background-color: var(--background-color) !important;
  border-color: var(--background-color) !important;
}

.input_text__field[type="checkbox"]:checked {
  background-color: var(--background-color) !important;
  border-color: var(--background-color) !important;
}

.select__field {
  background-color: var(--backgroutd-select-color) !important;
  /* color: var(--text-color) !important;  */
}

.select__field::-webkit-datetime-edit-fields-wrapper,
.select__field::-webkit-datetime-edit-fields-wrapper-inner {
  background-color: var(--backgroutd-select-color) !important; 
}

.hidden {
  display: none;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
}


.editable-field {
  color: var(--text-color) !important;
  font-size:medium;
  font-weight:bold !important;
}

/* .card-hover {
  position: relative;
  cursor: pointer;
  background-color: var(--background-color) !important;
}
.card-hover:hover .card-img-top {
  transform: scale(1.05);
} */

.scroll-buttons {
  position: fixed;
  bottom: 60px!important;
  right: 20px;
  z-index: 1000;
}

.scroll-buttons .btn {
  margin-bottom: 10px;
  bottom: 60px!important;
  font-size: 20px; /* Fixed size */
}

.dropdown-menu {
  display: none; /* Скрыть меню по умолчанию */
  position: absolute;
  z-index: 9990 !important;
  background-color: var(--background-color) !important;

}

.totheleft{
  transform: translateX(-100%);
}

.show {
  display: block;
  z-index: 1040 !important;
}

/* Стиль для отображения меню при активации */
.show-dropdown {
  display: block;
}
.form-control {
  background-color: var(--background-color) !important;
  color: var(--text-color) !important;
}


.list-group-item {
  background-color: var(--background-color) !important;
  color: var(--text-color) !important;
}


.spinner-grow {
  z-index: 9999 !important;
}

.modal {
  z-index: 1041 !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.just-text {
  color: var(--text-color) !important;
}


.list-group-item.sidebar_link {
  cursor: pointer;
}

.modal-content {
  background-color: var(--background-color) !important;
}

/* 🎨 Плавный переход для кнопки в таблице */
.table-button {
  color: var(--dark-grey-color);
  transition: color 1.2s ease, font-size 2.0s ease; /* Плавный переход для цвета текста и размера шрифта */
  font-size: 1.4rem;
}

.table-button:hover {
  color: var(--blue-color);
  font-size: 1.41rem; /* Небольшое увеличение размера при наведении */
}
.query-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  gap: 16px;
  background: var(--query-container);
  border-radius: 2px;
  min-width: 200px;
}

.query-label {
  flex: none;
  font-size: 14px;
  font-weight: bold;
}

.query-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 60px;
}



.disable-on-update.disabled {
  pointer-events: none; /* Предотвращает клики */
  opacity: 0.5; /* Делает элемент полупрозрачным */
}


.disabled-content {
  opacity: 0.5; /* Сделать содержимое бледным */
  pointer-events: none; /* Предотвратить взаимодействие */
}

/* 🎨 Анимация изменения фона и прозрачности */
@keyframes highlighting {
  0% {
    background-color: var(--backgroutd-select-color); /* Цвет начала анимации */
    opacity: 1; /* Начальная непрозрачность */
  }
  50% {
    background-color: var(--backgroutd-select-color); /* Цвет середины анимации */
    opacity: 1; /* Непрозрачность в середине анимации */
  }
  100% {
    background-color: transparent; /* Цвет конца анимации */
    opacity: 0; /* Конечная непрозрачность */
  }
}

.highlight {
  animation: highlighting 4s ease-in-out; /* Длительность и тип анимации */
}

.copy-link:hover {
  cursor: pointer;
}

.constructor-card {
  height: 100% !important;
  max-height: 350px !important;
  overflow-y: hidden !important;
  position: relative;
  transition: transform 0.5s ease, box-shadow 0.8s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none; /* Убираем границы */
}

.constructor-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.constructor-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px; /* Высота размытой области */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 70px, rgba(255, 255, 255, 1) 20px); 
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.constructor-card.expanded {
  max-height: none !important;
  overflow-y: visible !important;
}

.constructor-card.expanded:after {
  opacity: 0;
}

.constructor-card .card-body {
  transition: max-height 0.7s ease;
}


.highlight-background {
  background-color: var(--query-container);
  color: var(--dark-grey-color);
}

#sidebar {
  margin-top: 0px !important
 }


