.zcs-consent-banner,
.zcs-consent-banner *,
.zcs-consent-settings {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

.zcs-consent-banner[hidden],
.zcs-consent-settings[hidden],
.zcs-consent-error[hidden] {
  display: none;
}

.zcs-consent-banner {
  position: fixed;
  z-index: 10000;
  left: 20px;
  bottom: 20px;
  width: min(600px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #444;
  border-left: 4px solid #ff3b3b;
  border-radius: 10px;
  background: #141414;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.zcs-consent-banner h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  line-height: 1.35;
}

.zcs-consent-description {
  margin: 0 0 10px;
  color: #ddd;
  font-size: 14px;
  line-height: 1.55;
}

.zcs-consent-policy {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff8a64;
  font-size: 14px;
  text-underline-offset: 3px;
}

.zcs-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zcs-consent-actions button,
.zcs-consent-settings {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #666;
  border-radius: 6px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.zcs-consent-actions .zcs-consent-accept {
  border-color: #ff3b3b;
  background: #ff3b3b;
  color: #111;
}

.zcs-consent-actions button:hover,
.zcs-consent-settings:hover {
  filter: brightness(1.15);
}

.zcs-consent-banner button:focus-visible,
.zcs-consent-settings:focus-visible,
.zcs-consent-policy:focus-visible {
  outline: 3px solid #ff9a80;
  outline-offset: 3px;
}

.zcs-consent-error {
  margin: 0 0 12px;
  color: #ffb6a7;
  font-size: 13px;
}

.zcs-consent-settings {
  position: fixed;
  z-index: 9999;
  left: 16px;
  bottom: 16px;
  border-color: #555;
  background: #141414;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .zcs-consent-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 16px;
  }

  .zcs-consent-actions {
    flex-direction: column-reverse;
  }
}
