.cookie-banner {
  position: fixed;
  z-index: 120;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-card {
  pointer-events: auto;
  width: min(420px, 100%);
  background: #fff;
  color: #102a4b;
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: 0 18px 50px rgba(16, 42, 75, 0.22);
  font-family: "IBM Plex Sans", sans-serif;
}

.cookie-kicker {
  margin: 0 0 6px;
  color: #10a088;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #102a4b;
}

.cookie-card p {
  margin: 0 0 10px;
  color: rgba(16, 42, 75, 0.78);
  font-size: 14.5px;
  line-height: 1.55;
}

.cookie-policy {
  color: #0d8a76;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cookie-btn {
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn-primary {
  background: #10a088;
  color: #fff;
}

.cookie-btn-ghost {
  background: rgba(16, 42, 75, 0.08);
  color: #102a4b;
}

.cookie-btn-text {
  background: transparent;
  color: #102a4b;
}

.cookie-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-row input {
  margin-top: 3px;
  accent-color: #10a088;
}

.cookie-row strong,
.cookie-row small {
  display: block;
}

.cookie-row small {
  margin-top: 2px;
  color: rgba(16, 42, 75, 0.62);
  font-size: 13px;
}

a.cookie-launcher {
  display: inline-block;
  text-decoration: none;
}

.cookie-launcher {
  position: fixed;
  z-index: 110;
  left: 16px;
  bottom: 16px;
  border: 0;
  border-radius: 999px;
  background: #102a4b;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 42, 75, 0.25);
}

.cookie-launcher[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .cookie-banner {
    justify-content: center;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
