.rq-cookie-consent[hidden] {
  display: none !important;
}

.rq-cookie-consent {
  position: fixed;
  z-index: 2147483000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(6, 118, 232, 0.18);
  border-radius: 22px;
  opacity: 0;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 80px rgba(20, 50, 86, 0.2), 0 3px 12px rgba(20, 50, 86, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  transform: translateY(18px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-sizing: border-box;
}

.rq-cookie-consent *,
.rq-cookie-consent *::before,
.rq-cookie-consent *::after {
  box-sizing: border-box;
}

.rq-cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rq-cookie-consent.is-closing {
  pointer-events: none;
}

.rq-cookie-consent-icon {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #eaf4ff, #f1edff);
}

.rq-cookie-consent-icon::before {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 25px;
  height: 25px;
  content: "";
  border: 2px solid #0676e8;
  border-radius: 50%;
}

.rq-cookie-consent-icon::after {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 17px;
  height: 17px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(145deg, #f3efff, #edf5ff);
  box-shadow: -4px 8px 0 -5px #0676e8;
}

.rq-cookie-consent-icon span,
.rq-cookie-consent-icon i,
.rq-cookie-consent-icon b {
  position: absolute;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0676e8;
}

.rq-cookie-consent-icon span { top: 17px; left: 17px; }
.rq-cookie-consent-icon i { top: 27px; left: 15px; }
.rq-cookie-consent-icon b { top: 29px; left: 26px; }

.rq-cookie-consent-copy h2 {
  margin: 0 0 5px;
  padding: 0;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.rq-cookie-consent-copy p {
  max-width: 460px;
  margin: 0;
  padding: 0;
  color: #667180;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.5;
}

.rq-cookie-consent-copy a {
  color: #0676e8;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(6, 118, 232, 0.35);
  text-underline-offset: 2px;
}

.rq-cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rq-cookie-consent-actions button {
  min-height: 42px;
  margin: 0;
  padding: 0 15px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rq-cookie-consent-actions button:hover {
  transform: translateY(-1px);
}

.rq-cookie-essential {
  border: 1px solid #d9e0e9;
  color: #344054;
  background: #fff;
}

.rq-cookie-essential:hover {
  border-color: #aebdcd;
  background: #f8fafc;
}

.rq-cookie-accept {
  border: 1px solid #0676e8;
  color: #fff;
  background: #0676e8;
  box-shadow: 0 8px 20px rgba(6, 118, 232, 0.2);
}

.rq-cookie-accept:hover {
  border-color: #0067d7;
  background: #0067d7;
}

.rq-cookie-consent[dir="rtl"] {
  direction: rtl;
}

@media (max-width: 720px) {
  .rq-cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 17px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    border-radius: 19px;
  }

  .rq-cookie-consent-icon {
    width: 42px;
    height: 42px;
  }

  .rq-cookie-consent-actions {
    grid-column: 1 / -1;
  }

  .rq-cookie-consent-actions button {
    min-width: 0;
    flex: 1 1 0;
  }
}

@media (max-width: 390px) {
  .rq-cookie-consent {
    grid-template-columns: 1fr;
  }

  .rq-cookie-consent-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rq-cookie-consent,
  .rq-cookie-consent * {
    transition-duration: 0.01ms !important;
  }
}
