.consent-banner {
  --consent-provider-color: #016699;

  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  margin: 0 auto;
  padding: 12px 16px;
  max-width: 760px;

  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--consent-provider-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-wrap: wrap;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1b3664;
}

.consent-banner__icon-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.consent-banner__icon {
  color: var(--consent-provider-color);
  width: 16px;
  height: 16px;
  display: block;
}

.consent-banner__text {
  flex: 1 1 300px;
}

.consent-banner__header {
  font-family: inherit;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.consent-banner__body {
  font-family: inherit;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.consent-banner__body a {
  color: var(--consent-provider-color);
  text-decoration: underline;
}

.consent-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.consent-banner__btn {
  min-width: 108px;
  height: 30px;
  margin: 0;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.5s ease;
}

.consent-banner__btn--accept {
  background: var(--consent-provider-color);
  color: #fff;
  border: 2px solid var(--consent-provider-color);
}

.consent-banner__btn--decline {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--consent-provider-color);
  border: 2px solid var(--consent-provider-color);
}

.consent-banner__btn--decline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--consent-provider-color);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.consent-banner__btn--decline:hover::before {
  opacity: 0.15;
}

.consent-banner__btn:hover {
  filter: brightness(115%);
}

.consent-banner__btn:focus {
  outline: none;
}

.consent-banner__btn:focus-visible {
  outline: 3px solid rgba(1, 102, 153, 0.4);
  outline-offset: 1px;
}

@media (max-width: 575px) {
  .consent-banner__actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }
  .consent-banner__btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}
