.cookie-popup {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  top: auto;
  width: 500px;
  max-width: calc(100vw - 32px);
  z-index: 10500;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.cookie-popup.is-open {
  display: block;
}

.cookie-popup-card {
  background: #fff;
  border: 1px solid #D4D4D4;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
}

.cookie-popup .modal-header {
  padding: 16px 16px 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cookie-popup .close {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  margin: 0;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.cookie-popup .modal-body {
  padding: 24px 16px 32px;
}

.cookie-popup .confirm-download {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.cookie-popup .btn,
.cookie-popup .close,
.cookie-popup .btn-reject-cookie {
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(13, 164, 198, 0.2);
}

.cookie-popup .btn.btn-primary {
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0DA4C6;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.cookie-popup .cookies-description .text-primary {
  color: #0DA4C6;
}

.cookie-popup button img,
.cookie-btn img {
  pointer-events: none;
}

.cookies-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
}

.cookie-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 10510;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  transform: translateZ(0);
  touch-action: manipulation;
  pointer-events: auto;
}

.cookie-btn:hover {
  cursor: pointer;
}

.bg-open {
  background-color: #6699CC;
}

.bg-close {
  background-color: #6CC04A;
}

.cookie-popup .btn-reject-cookie,
.btn-reject-cookie {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  margin-right: 0;
}

@media (max-width: 576px) {
  .cookie-popup {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
  }

  .cookie-popup-card {
    border-radius: 4px 4px 0 0;
  }
}

@media (min-width: 577px) {
  .cookie-popup {
    right: 40px;
    bottom: 24px;
  }
}
