.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483647;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pf-v5-global--spacer--md, 16px);

  padding: var(--pf-v5-global--spacer--md, 16px)
    var(--pf-v5-global--spacer--lg, 24px);

  background: var(--pf-v5-global--BackgroundColor--100, #ffffff);
  color: var(--pf-v5-global--Color--100, #151515);

  border-top: 1px solid var(--pf-v5-global--BorderColor--100, #d2d2d2);
  box-shadow: var(
    --pf-v5-global--BoxShadow--md,
    0 4px 10px rgba(0, 0, 0, 0.15)
  );
}

.cookie-text {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-text p {
  margin: 0;
  font-size: var(--pf-v5-global--FontSize--sm, 0.875rem);
  line-height: var(--pf-v5-global--LineHeight--md, 1.5);
}

.cookie-buttons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--pf-v5-global--spacer--sm, 8px);
}

.cookie-accept-button {
  appearance: none;
  border: 0;
  border-radius: var(--pf-v5-global--BorderRadius--sm, 4px);
  padding: calc(var(--pf-v5-global--spacer--sm, 8px) + 2px)
    var(--pf-v5-global--spacer--md, 16px);

  background: var(--pf-v5-global--primary-color--100, #0066cc);
  color: var(--pf-v5-global--Color--light-100, #ffffff);
  font-weight: var(--pf-v5-global--FontWeight--semi-bold, 600);
  cursor: pointer;
}

.cookie-accept-button:focus {
  outline: 2px solid var(--pf-v5-global--active-color--100, #73bcf7);
  outline-offset: 2px;
}

.cookie-accept-button:hover {
  filter: brightness(0.95);
}

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

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    justify-content: flex-end;
  }

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