.cookie-alert {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 14px 10px;
  border-top: 2px solid var(--main-color);
  box-shadow: 0 -5px 5px -5px rgba(216, 221, 225, 0.6);
  border-radius: 12px 12px 0 0;
  z-index: 9999999;
}

.cookie-alert__close-button {
  position: absolute;
  top: 20px;
  right: 15px;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.cookie-alert__close-button::before,
.cookie-alert__close-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
}

.cookie-alert__close-button::before {
  transform: translate(-50%, -50%) rotate(45deg); /* Поворот на 45° */
}

.cookie-alert__close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg); /* Поворот на -45° */
}

.cookie-alert__wrapper {
  display: block;
}

@media (min-width: 768px) {
  .cookie-alert__wrapper {
    display: flex;
    padding-right: 50px;
  }
}

@media (min-width: 1518px) {
  .cookie-alert__wrapper {
    padding-right: 0;
  }
}

.cookie-alert.active .cookie-alert__wrapper {
  flex-direction: column;
}

.cookie-alert__content {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: black;
}

@media (min-width: 1024px) {
  .cookie-alert__content {
    font-size: 15px;
    line-height: 20px;
  }
}

.cookie-alert__title {
  font-size: 20px;
  line-height: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .cookie-alert__title {
    font-size: 22px;
    line-height: 25px;
  }
}

.cookie-alert__category {
  color: black;
}

.cookie-alert__category p {
  font-size: 12px;
  line-height: 16px;
  font-weight: 200;
  margin-bottom: 10px;
}

.cookie-alert__actions {
  display: flex;
  gap: 10px;
  flex-direction: row;
  margin: 10px auto 0 auto;
  width: max-content;
}

@media (min-width: 768px) {
  .cookie-alert__actions {
    flex-direction: column;
    margin-left: 10px;
  }
}

.cookie-alert.active .cookie-alert__actions {
  display: none;
}
.cookie-alert .cookie-alert__actions-active {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-alert .b-btn {
  height: max-content;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
}

.cookie-alert__actions .b-btn {
  width: 100px;
}

.cookie-alert__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cookie-alert__input {
  margin: 0;
  font: inherit;
  text-transform: none;
  outline: none;
  box-shadow: none;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.cookie-alert__indicator {
  background: #f6f6f6;
  border: 1px solid #eaeaea;
  display: flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 18px;
  overflow: hidden;
  border: 1px solid var(--main-color);
  border-radius: 2px;
}

.cookie-alert__indicator:before {
  content: '';
  width: 6px;
  height: 10px;
  margin: auto;
  background: transparent;
  border-color: transparent var(--main-color) var(--main-color) transparent;
  border-style: solid;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  visibility: hidden;
  opacity: 0;
}

.cookie-alert__input:checked ~ .cookie-alert__indicator:before {
  visibility: visible;
  opacity: 1;
}

.cookie-alert__toggle {
  cursor: pointer;
}
.cookie-alert__toggle.disabled {
  cursor: auto;
}
.cookie-alert__toggle.disabled .cookie-alert__indicator:before {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-alert__settings {
  font-size: 18px;
}