.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
  padding: 1.4rem;
  border: 1px solid rgba(33, 78, 205, 0.16);
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(6, 22, 71, 0.2);
  color: var(--blue-1, #061647);
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.cookie-consent__copy {
  max-width: 52ch;
}

.cookie-consent__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.cookie-consent__copy p {
  margin: 0.5rem 0 0;
  color: rgba(6, 22, 71, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent__copy a {
  color: inherit;
  font-weight: 700;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.cookie-consent__button {
  min-height: 44px;
  border: 1px solid var(--blue-2, #214ecd);
  border-radius: 0;
  padding: 0.65rem 1rem;
  background: #ffffff;
  color: var(--blue-2, #214ecd);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button--primary {
  background: var(--blue-2, #214ecd);
  color: #ffffff;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  background: var(--blue-1, #061647);
  border-color: var(--blue-1, #061647);
  color: #ffffff;
}

@media (max-width: 680px) {
  .cookie-consent__content {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent__button {
    flex: 1 1 180px;
  }
}

.cookie-consent__settings {
  margin: 1rem;
  padding: .5rem;
  min-height: 44px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-consent__settings:focus-visible,
.cookie-consent__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
