.cookie-consent {
  position: fixed;
  inset: auto 1rem calc(env(safe-area-inset-bottom) + 1rem) 1rem;
  z-index: 80;
}

.cookie-consent--hidden {
  display: none;
}

.cookie-consent__panel {
  display: flex;
  max-width: 64rem;
  margin: 0 auto;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  padding: 1rem;
  color: #1f2937;
}

.cookie-consent__body {
  min-width: 0;
}

.cookie-consent__title {
  margin: 0;
  font-weight: 800;
}

.cookie-consent__text,
.cookie-consent__status {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  white-space: nowrap;
}

.cookie-consent__button,
.cookie-consent__link,
.cookie-consent-settings,
.lp-public-footer__link-button {
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.cookie-consent__button {
  min-height: 2.5rem;
  border: 1px solid #056db5;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
}

.cookie-consent__button--primary {
  background: #056db5;
  color: #ffffff;
}

.cookie-consent__button--secondary {
  background: #ffffff;
  color: #056db5;
}

.cookie-consent__link {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.95rem;
  color: #1f2937;
  text-decoration: none;
}

.cookie-consent-settings {
  position: fixed;
  right: 1rem;
  bottom: calc(env(safe-area-inset-bottom) + 1rem);
  z-index: 70;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  color: #1f2937;
  cursor: pointer;
  font-size: 0.8125rem;
  padding: 0.45rem 0.7rem;
}

.lp-public-footer__link-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.lp-public-footer__link-button:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .cookie-consent {
    inset: auto 0.75rem calc(env(safe-area-inset-bottom) + 0.75rem) 0.75rem;
  }

  .cookie-consent__panel {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__button,
  .cookie-consent__link {
    justify-content: center;
    flex: 1 1 8rem;
  }
}
