.acb-banner {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(8px);
}

.acb-banner--hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  pointer-events: none;
}

.acb-banner--error {
  outline: 2px solid #dc3545;
}

.acb-position-1 {
  top: 0;
}

.acb-position-2 {
  bottom: 0;
}

.acb-content {
  flex: 1;
  min-width: 280px;
}

.acb-content p {
  margin: 0;
}

.acb-preferences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.acb-privacy-link {
  color: inherit;
  text-decoration: underline;
  margin-left: 0.35rem;
}

.acb-preference {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
  cursor: pointer;
  font-size: 0.9em;
}

.acb-preferences__modules {
  flex-basis: 100%;
  margin: 0.5rem 0 0;
  padding: 0.75rem 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.acb-preferences__modules legend {
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0;
}

.acb-preference--module {
  display: flex;
  width: 100%;
  margin-bottom: 0.35rem;
}

.acb-preference__label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.acb-preference__hint {
  font-size: 0.85em;
  opacity: 0.85;
}

.acb-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.acb-btn {
  padding: 0.65rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.acb-btn-primary {
  background: var(--acb-button-bg, #2fb5d2);
  color: #fff;
}

.acb-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.acb-btn-secondary {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.acb-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .acb-banner {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .acb-actions {
    width: 100%;
    justify-content: center;
  }
}
