:root {
  --shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
  --backgGreen: #3572e1;
}

.bodyBlock {
  padding: 2rem;
}

.imageFilter {
  display: block;
  width: 100%;
  height: 20px;
}

.arrow {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.arrow.close {
  transform: rotate(0deg);
}

.sidebarFilter_block {
  width: 304px;
}

.panel-heading {
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 0.5px solid #21252936;
}

.filters_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1px;
}

/* Start Selected */

.selectedFilter_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 5px;
  width: 100%;
}

.selectedFilter_boxis {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid #dc354688;
  transition: 0.3s;
  cursor: pointer;
}

.selectedFilter_boxis:hover {
  background-color: #dc3545;
  color: white;
}

.selectedButton_block {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 100%;
}

.selectedFilter_button {
  display: block;
  padding: 4px 0;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 5px;
  background-color: #dc3545;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.selectedFilter_button:hover {
  transform: scale(0.97, 0.97);
}

/* Start Search Global */

.searchGlobal,
.priceFilter,
.filterBase_block,
.selectedFilter_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 1rem;
  border-radius: 5px;
  transition: max-height 0.3s ease;
  box-shadow: var(--shadow);
  -webkit-box-shadow: var(--shadow);
  -moz-box-shadow: var(--shadow);
}

.filterBase_block {
  max-height: 410px;
  overflow: hidden;
}

.searchGlobal_title {
  margin-bottom: 0 !important;
  width: 100%;
  color: #212529;
}

.searchGlobal_titleI {
  font-style: normal;
}

.searchBox {
  display: flex;
  justify-content: center;
  width: 100%;
}

.searchGlobal_input {
  display: block;
  padding-left: 0.5rem;
  width: 100%;
  line-height: 30px;
  font-size: 12px;
  border-radius: 5px;
  border: 0.5px solid #21252936;
}

/* Start Price  */

.priceFrom_box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.priceFilter_title {
  margin-bottom: 0 !important;
  width: 100%;
  color: #212529;
}

.priceFrom_input {
  padding-left: 0.5rem;
  width: 60px;
  line-height: 28px;
  font-size: 12px;
  border-radius: 4px;
  border: 0.5px solid #21252936;
}

.priceFrom_button {
  padding: 0.4rem;
  background-color: var(--backgGreen);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.priceFrom_button:hover {
  transform: scale(0.96, 0.96);
}

.priceRange_block {
  position: relative;
  padding: 0.5rem 0;
  width: 100%;
}

/* ---- */

.priceRange {
  position: relative;
  height: 4px;
  background: #ddd;
  margin: 10px 0;
}

.priceRange_left,
.priceRange_right {
  position: absolute;
  top: -6px;
  width: 16px;
  height: 16px;
  background: #333;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  background-color: var(--backgGreen);
}

.priceRange_line {
  position: absolute;
  top: 0;
  height: 100%;
  background: #cbcbc6;
  z-index: 1;
}

/* Start Filter Base */

.filterBase_container:nth-child(1) {
  display: flex;
  justify-content: space-between;
}

.filterBase_container:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0.5rem 0;
  overflow: auto;
}

.filterBase_container {
  width: 100%;
}

.filterBase_box {
  display: flex;
  align-items: center;
  gap: 5px;
}

.filterBase_title {
  margin-bottom: 0 !important;
  max-width: 125px;
  line-height: 12px;
  font-size: 12px;
  font-weight: 500;
}

.iconInfoFilter {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 20px;
  text-align: center;
  font-size: 12px;
  color: #212529;
  border-radius: 50%;
  border: 1px solid #e3e3e3;
  cursor: pointer;
}

.iconInfoFilter:hover {
  transform: scale(0.96, 0.96);
}

/* Start checkbox */

.filterCheckbox_box {
  position: relative;
  display: block;
  height: 20px;
  width: 45px;
  border-radius: 10px;
  background-color: #909592;
  cursor: pointer;
}

.filterCheckbox_plus,
.filterCheckbox_minus {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  display: block;
  font-size: 18px;
  color: white;
}

.filterCheckbox_plus {
  left: 7px;
}

.filterCheckbox_minus {
  right: 7px;
}

.checkboxInput {
  display: none;
}

.filterCheckbox_button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 25px;
  height: 25px;
  background-color: var(--backgGreen);
  border-radius: 50%;
  border: 1px solid #cec5c5;
  transform: translateX(20px);
  transition: transform 0.3s ease;
}

.iconFilter_box {
  width: 20px;
  cursor: pointer;
}

.checkboxInput:checked ~ .filterCheckbox_button {
  background-color: var(--backgGreen);
}

.checkboxInput:checked ~ .filterCheckbox_button::before {
  transform: translateX(0px);
}

/* Start Filter checkbox */

.filterCheckbox_container {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 15px;
  font-size: 14px;
  cursor: pointer;
}

.filterCheckbox_container input {
  width: 14px !important;
}

.filterBase_text {
  position: relative;
  display: block;
  font-size: 12px;
  cursor: pointer;
}

.custom-tooltip {
  position: absolute;
  width: auto;
  max-width: 400px;
  padding: 5px 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: var(--shadow);
  z-index: 1000;
  pointer-events: none; /* чтобы тултип не перехватывал события */
  white-space: normal;
  word-break: break-word;
}

.loader {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px; /* Можно увеличить */
  font-size: 0;
}

.loader::before {
  content: '';
  width: 48px;
  height: 48px;
  border: 4px solid #ccc;
  border-top-color: var(--backgGreen); /* Основной цвет */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

aside {
  padding: 1px;
}

aside::-webkit-scrollbar {
  width: 0;
}

#ocfilter {
  border: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* перебиваю не нужные мне стили*/

.filters_list .scroll-content > * {
  margin-bottom: 20px;
}

.filters_list .scroll-content > :last-child {
  margin-bottom: 40px;
}

@media only screen and (min-width: 991px) {
  #column-left {
    position: sticky;
    top: 70px;
    max-height: 92vh;
    overflow: auto;
  }
}

@media (max-width: 992px) {
  /* #ocfilter .list-group {
      height: auto !important;
    } */
  #ocfilter {
    width: 300px !important;
  }
}
