.cookie {
  width: 100%;
  font-family: var(--cookie-font, Arial), Helvetica, sans-serif;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.cookie--hidden {
  opacity: 0;
}
.cookie__card {
  background: var(--cookie-bg, #fff);
  color: var(--cookie-color,#000);
  position: relative;
  overflow: hidden;
}
.cookie__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 12px;
}
.cookie__text {
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
}
.cookie__text a {
  display: inline;
  color: var(--cookie-link-color, #0d6efd);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  -webkit-text-decoration-skip: objects;
}
.cookie__close {
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: none;
  color: inherit;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 14px;
}
.cookie__close-progress {
  height: 2px;
  background: var(--cookie-progress-bg,#efefef);
  color: var(--cookie-progress-color, #0d6efd);
  width: 100%;
  flex-shrink: 0;
}
.cookie__close-progress-bar {
  height: 100%;
  width: 0%;
  background: currentColor;
  transition: width linear;
}
@media (min-width: 575px) {
  .cookie {
    position: fixed;
    inset: auto 0 0 0;
    max-width: var(--cookie-max-width, 480px);
    margin: 10px auto;
  }
  .cookie__card {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    border-radius: 4px;
  }
  .cookie__content {
    padding: 12px 12px 12px 16px;
  }
  .cookie__close-progress {
    height: 4px;
  }
}