.rx-cookie-consent {
  position: fixed;
  z-index: 2147483000;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 28px));
  padding: 15px 16px 14px;
  border: 1px solid rgba(108, 204, 232, .34);
  border-radius: 9px;
  background: #111b25;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .48);
  color: #d7e4eb;
  font: 12px/1.55 Roboto, Arial, sans-serif;
}

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

.rx-cookie-consent p {
  margin: 0;
}

.rx-cookie-consent strong {
  color: #fff;
  letter-spacing: .04em;
}

.rx-cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.rx-cookie-actions button {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: 700 12px/1 Roboto, Arial, sans-serif;
  cursor: pointer;
}

.rx-cookie-accept {
  background: #59d4ee;
  color: #07131a;
}

.rx-cookie-accept:hover {
  background: #82e5f6;
}

.rx-cookie-reject {
  border-color: rgba(215, 228, 235, .3) !important;
  background: transparent;
  color: #d7e4eb;
}

.rx-cookie-reject:hover {
  border-color: rgba(215, 228, 235, .58) !important;
  background: rgba(255, 255, 255, .06);
}

.rx-cookie-actions button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .rx-cookie-consent {
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    padding: 13px 14px;
    font-size: 11.5px;
  }

  .rx-cookie-actions button {
    min-height: 42px;
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rx-cookie-consent,
  .rx-cookie-actions button {
    scroll-behavior: auto;
    transition: none;
  }
}
