.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 16px;
  background: var(--card, #ffffff);
  border-top: 1px solid var(--border, #e5e7eb);
  box-shadow: 0 -8px 32px rgba(45, 52, 54, 0.12);
}

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

.cookie-banner__inner {
  max-width: var(--max-content, 680px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #2d3436);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted, #636e72);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--purple, #6c5ce7);
  font-weight: 600;
}

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

.cookie-banner__actions .btn {
  min-width: 120px;
}

html.theme-dark .cookie-banner {
  background: var(--card, #16213e);
  border-top-color: var(--border, #2d3436);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

html.theme-dark .cookie-banner__title {
  color: var(--text, #f5f6fa);
}

html.theme-dark .cookie-banner__text {
  color: var(--text-muted, #b2bec3);
}

@media (min-width: 640px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner__copy {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 16px;
  }

  .cookie-banner__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
}
