.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1080;
}

.cookie-consent__content {
  display: flex;
  max-width: 860px;
  margin: 0 auto;
  padding: 1.25rem;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(var(--go-color-brand-rgb, 1, 94, 138), 0.16);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.2);
}

.cookie-consent__body {
  flex: 1 1 auto;
}

.cookie-consent__title {
  margin: 0 0 0.35rem;
  color: var(--go-color-brand-dark, #004b70);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.cookie-consent p {
  margin: 0;
  color: #263238;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent a {
  color: var(--go-color-brand, #015e8a);
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
}

.cookie-consent__button {
  flex: 0 0 auto;
  min-width: 8rem;
  min-height: 44px;
  color: #fff;
  background-color: var(--go-color-brand, #015e8a);
  border-color: var(--go-color-brand, #015e8a);
  font-weight: 600;
  white-space: nowrap;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  color: #fff;
  background-color: var(--go-color-brand-dark, #004b70);
  border-color: var(--go-color-brand-dark, #004b70);
}

.cookie-consent__button--secondary {
  color: var(--go-color-brand-dark, #004b70);
  background-color: #fff;
  border-color: var(--go-color-brand, #015e8a);
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus-visible {
  color: var(--go-color-brand-dark, #004b70);
  background-color: rgba(var(--go-color-brand-rgb, 1, 94, 138), 0.08);
  border-color: var(--go-color-brand-dark, #004b70);
}

.cookie-consent__button:focus-visible {
  outline: 3px solid rgba(var(--go-color-brand-rgb, 1, 94, 138), 0.3);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .cookie-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .cookie-consent__content {
    padding: 1rem;
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .cookie-consent__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column-reverse;
  }
}
