.cookie-consent-fallback {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-consent-fallback__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  pointer-events: auto;
}

.cookie-consent-fallback__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.cookie-consent-fallback__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #0a0a0a;
}

.cookie-consent-fallback__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #666666;
}

.cookie-consent-fallback__text a {
  color: #0a0a0a;
}

.cookie-consent-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-fallback__btn {
  flex: 1 1 140px;
  padding: 10px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  color: #0a0a0a;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.cookie-consent-fallback__btn--primary {
  border: none;
  background: #0a0a0a;
  color: #ffffff;
}

@media (max-width: 640px) {
  .cookie-consent-fallback {
    padding: 16px;
    align-items: center;
  }

  .cookie-consent-fallback__panel {
    width: 100%;
    border-radius: 16px;
  }

  .cookie-consent-fallback__btn {
    flex: 1 1 100%;
  }
}
