.rem-cookie-root {
  position: relative;
  z-index: 2147483000;
  font-family: 'Montserrat', sans-serif;
}

.rem-cookie-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483001;
}

.rem-cookie-launcher__button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #16334a, #289acc);
  color: #fff;
  box-shadow: 0 14px 32px rgba(22, 51, 74, 0.22);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.rem-cookie-panel {
  position: fixed;
  inset: auto 18px 76px auto;
  width: min(560px, calc(100vw - 36px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2147483001;
}

.rem-cookie-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rem-cookie-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 48, 71, 0.1);
  box-shadow: 0 28px 64px rgba(20, 48, 71, 0.18);
  padding: 22px;
  color: #17354b;
}

.rem-cookie-card--embedded {
  box-shadow: none;
  border: 0;
  padding: 0;
}

.rem-cookie-card__eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(40, 154, 204, 0.12);
  color: #176f9a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rem-cookie-card h2 {
  margin: 14px 0 10px;
  font-size: 1.38rem;
}

.rem-cookie-card__summary {
  margin: 0 0 10px;
  color: #4d6a7d;
  line-height: 1.65;
}

.rem-cookie-card__summary--fine {
  font-size: 0.88rem;
}

.rem-cookie-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.rem-cookie-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  background: #f7fbfd;
  border: 1px solid rgba(20, 48, 71, 0.08);
}

.rem-cookie-toggle.is-required {
  background: rgba(40, 154, 204, 0.08);
}

.rem-cookie-toggle__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rem-cookie-toggle__copy strong {
  font-size: 0.95rem;
}

.rem-cookie-toggle__copy span {
  color: #5b7689;
  line-height: 1.5;
  font-size: 0.88rem;
}

.rem-cookie-toggle input {
  width: 20px;
  height: 20px;
}

.rem-cookie-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rem-cookie-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.rem-cookie-button--primary {
  background: linear-gradient(135deg, #289acc, #176f9a);
  color: #fff;
}

.rem-cookie-button--soft {
  background: rgba(144, 208, 238, 0.26);
  color: #176f9a;
}

.rem-cookie-button--ghost {
  background: #edf3f7;
  color: #17354b;
}

.rem-cookie-card__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.rem-cookie-card__meta a {
  color: #176f9a;
  font-weight: 700;
  text-decoration: none;
}

.rem-cookie-root--static .rem-cookie-launcher {
  display: none;
}

.rem-cookie-root--static .rem-cookie-panel {
  position: static;
  inset: auto;
  width: auto;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 680px) {
  .rem-cookie-panel {
    inset: auto 12px 72px 12px;
    width: auto;
  }

  .rem-cookie-card {
    border-radius: 22px;
    padding: 18px;
  }

  .rem-cookie-card__actions {
    flex-direction: column;
  }

  .rem-cookie-button {
    width: 100%;
  }
}
