.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: none;
  padding: 18px 0;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cookie-consent__text {
  flex: 1;
}

.cookie-consent__title {
  margin: 0 0 6px;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.cookie-consent__description {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent__button {
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid #229ac8;
  border-radius: 3px;
  background: #229ac8;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus {
  background: #1f90bb;
  color: #fff;
}

.cookie-consent__button--secondary {
  background: #fff;
  color: #19779a;
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus {
  background: #f1f8fb;
  color: #19779a;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #23a1d1;
  cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
  color: #23527c;
  text-decoration: underline;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.55);
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__dialog {
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  padding: 22px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.cookie-modal__title {
  margin: 0 0 10px;
  font-size: 24px;
}

.cookie-modal__intro {
  margin-bottom: 18px;
  line-height: 1.5;
}

.cookie-modal__category {
  padding: 15px 0;
  border-top: 1px solid #ddd;
}

.cookie-modal__category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.cookie-modal__category-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.cookie-modal__category-description {
  margin: 8px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-modal__required {
  color: #438600;
  font-size: 12px;
  font-weight: 600;
}

.cookie-modal__checkbox {
  width: 20px;
  height: 20px;
  margin: 0;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #ddd;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .cookie-consent {
    padding: 15px 0;
  }

  .cookie-consent__content {
    display: block;
  }

  .cookie-consent__actions {
    margin-top: 15px;
  }

  .cookie-consent__button {
    flex: 1 1 100%;
    width: 100%;
  }

  .cookie-modal__dialog {
    padding: 18px;
  }

  .cookie-modal__actions .cookie-consent__button {
    width: 100%;
  }
}