/* A nonmodal notice: no blur, scroll lock or interruption of service details. */
.consent-banner {
  position: fixed;
  z-index: 9000;
  right: 24px;
  bottom: 24px;
  width: min(640px, calc(100% - 48px));
  padding: 22px 24px;
  color: #253b31;
  background: #fffdf7;
  border: 1px solid #d5cebb;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgb(31 45 36 / 16%);
}

.consent-banner[hidden] {
  display: none;
}

.consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.consent-title {
  margin: 0 0 6px;
  color: #183c2e;
  font-size: 1rem;
  font-weight: 650;
}

.consent-text {
  margin: 0;
  color: #4a574e;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.consent-btn {
  min-width: 120px;
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.3;
  cursor: pointer;
  border: 1px solid #9ba89e;
  border-radius: 10px;
}

.consent-btn--accept {
  color: #fffdf7;
  background: #214d3b;
  border-color: #214d3b;
}

.consent-btn--decline {
  color: #214d3b;
  background: #fffdf7;
}

.consent-btn:hover {
  box-shadow: 0 2px 8px rgb(31 45 36 / 16%);
}

.consent-btn:focus-visible {
  outline: 3px solid #af841d;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .consent-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .consent-actions {
    flex-flow: row wrap;
  }

  .consent-btn {
    flex: 1 1 8rem;
  }
}
