#wpcmp-banner {
  position: fixed;
  z-index: 999999;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0d1b2a;
  color: #f8f9fa;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

#wpcmp-banner.wpcmp-banner--light {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: #111827;
  backdrop-filter: blur(10px);
}

#wpcmp-banner.wpcmp-banner--auto {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
  backdrop-filter: blur(10px);
}

.wpcmp-banner,
.wpcmp-banner *,
.wpcmp-manage-consent,
.wpcmp-manage-consent * {
  box-sizing: border-box;
}

.wpcmp-banner__content {
  padding: 18px 20px;
}

#wpcmp-banner .wpcmp-banner__content h3,
#wpcmp-banner .wpcmp-banner__content h3 a,
#wpcmp-banner .wpcmp-banner__content h3 span {
  margin: 0 0 8px;
  color: #f8f9fa !important;
  -webkit-text-fill-color: #f8f9fa;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
}

.wpcmp-banner__content p {
  margin: 0;
  color: rgba(248, 249, 250, 0.92);
  font-family: inherit;
  font-size: 0.975rem;
  line-height: 1.45;
}

.wpcmp-banner__meta {
  margin-top: 10px;
}

.wpcmp-banner__policy-link {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wpcmp-banner__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpcmp-banner__actions .button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  text-transform: none;
}

.wpcmp-banner__actions .button:first-child {
  background: #22c55e;
  color: #03210f;
}

.wpcmp-banner__actions .button:nth-child(2) {
  background: #f97316;
  color: #1c1209;
}

.wpcmp-banner__actions .button.button-secondary {
  border: 1px solid rgba(147, 197, 253, 0.9);
  background: transparent;
  color: #f8f9fa;
}

.wpcmp-banner__actions .button:hover,
.wpcmp-banner__actions .button:focus,
.wpcmp-preferences .button:hover,
.wpcmp-preferences .button:focus,
.wpcmp-manage-consent:hover,
.wpcmp-manage-consent:focus {
  filter: brightness(1.03);
  outline: none;
}

.wpcmp-preferences {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.wpcmp-preferences label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8f9fa;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
}

.wpcmp-preferences input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.wpcmp-preferences .button {
  appearance: none;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #f6b64b;
  color: #1b1408;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.wpcmp-manage-consent {
  position: fixed;
  z-index: 999998;
  bottom: 16px;
  min-height: 46px;
  padding: 10px 14px;
  border: 0;
  border-radius: 20px;
  background: #1d4ed8;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.1;
}

.wpcmp-manage-consent--right {
  right: 16px;
  left: auto;
}

.wpcmp-manage-consent--left {
  left: 16px;
  right: auto;
}

#wpcmp-banner.wpcmp-banner--light .wpcmp-banner__content h3,
#wpcmp-banner.wpcmp-banner--light .wpcmp-banner__content h3 a,
#wpcmp-banner.wpcmp-banner--light .wpcmp-banner__content h3 span,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content h3,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content h3 a,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content h3 span {
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
}

#wpcmp-banner.wpcmp-banner--light .wpcmp-banner__content p,
#wpcmp-banner.wpcmp-banner--light .wpcmp-preferences label,
#wpcmp-banner.wpcmp-banner--light .wpcmp-banner__policy-link,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content p,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-preferences label,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__policy-link {
  color: #374151;
}

#wpcmp-banner.wpcmp-banner--light .wpcmp-banner__actions .button.button-secondary,
#wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__actions .button.button-secondary {
  border-color: rgba(29, 78, 216, 0.5);
  color: #1f2937;
}

@media (prefers-color-scheme: dark) {
  #wpcmp-banner.wpcmp-banner--auto {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(13, 27, 42, 0.92);
    color: #f8f9fa;
  }

  #wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content h3,
  #wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content h3 a,
  #wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content h3 span {
    color: #f8f9fa !important;
    -webkit-text-fill-color: #f8f9fa;
  }

  #wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__content p,
  #wpcmp-banner.wpcmp-banner--auto .wpcmp-preferences label,
  #wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__policy-link {
    color: rgba(248, 249, 250, 0.92);
  }

  #wpcmp-banner.wpcmp-banner--auto .wpcmp-banner__actions .button.button-secondary {
    border-color: rgba(147, 197, 253, 0.9);
    color: #f8f9fa;
  }
}

@media (max-width: 640px) {
  #wpcmp-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
  }

  .wpcmp-manage-consent {
    bottom: 10px;
    font-size: 0.8rem;
  }

  .wpcmp-manage-consent--right {
    right: 10px;
  }

  .wpcmp-manage-consent--left {
    left: 10px;
  }
}

.wpcmp-embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 240px;
  margin: 16px 0;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
  color: #f8fafc;
  text-align: center;
}

.wpcmp-embed-placeholder__inner {
  max-width: 560px;
}

.wpcmp-embed-placeholder__title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.wpcmp-embed-placeholder__message {
  margin: 0 0 14px;
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.5;
}

.wpcmp-embed-placeholder__button.button {
  border-color: rgba(147, 197, 253, 0.85);
  color: #fff;
}

.wpcmp-embed-placeholder__frame {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 16px;
  margin: 16px 0;
}
