#wcc-banner {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999999;
  padding: 14px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  max-width: 660px;
}

#wcc-banner.wcc-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

#wcc-banner.wcc-pos-bottom { bottom: 0; }
#wcc-banner.wcc-pos-top { top: 0; }

#wcc-banner .wcc-card {
  max-width: 600px;
  background: #d87764;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  border: 2px solid #fff;
}

#wcc-banner .wcc-head {
  padding: 14px 16px 0 16px;
}

#wcc-banner .wcc-title {
  font-size: 16px;
  font-weight: 700;
}

#wcc-banner .wcc-body {
  padding: 10px 16px 16px 16px;
}

#wcc-banner .wcc-msg {
  margin: 6px 0 22px 0;
  line-height: 1.4;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
}

#wcc-banner .wcc-link {
  color: #fff;
  text-decoration: underline;
}

#wcc-banner .wcc-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#wcc-banner .wcc-actions-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

#wcc-banner .wcc-btn {
  appearance: none;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all .4s ease;
}

#wcc-banner .wcc-btn:hover {
  border-color: rgba(255,255,255,0.35);
}

#wcc-banner .wcc-btn-primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}

#wcc-banner .wcc-btn-primary:hover {
  filter: brightness(0.95);
}

#wcc-banner .wcc-btn-ghost {
  background: transparent;
}

#wcc-banner .wcc-prefs {
  margin: 12px 0 12px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 12px;
}

#wcc-banner .wcc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#wcc-banner .wcc-row:last-child {
  border-bottom: 0;
}

#wcc-banner .wcc-col {
  flex: 1;
}

#wcc-banner .wcc-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

#wcc-banner .wcc-label {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
}

#wcc-banner .wcc-desc {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.35;
}

#wcc-banner .wcc-badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

/* Toggle switch */
#wcc-banner .wcc-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

#wcc-banner .wcc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#wcc-banner .wcc-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255,255,255,0.25);
  transition: .2s;
  border-radius: 999px;
}

#wcc-banner .wcc-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}

#wcc-banner .wcc-switch input:checked + .wcc-slider {
  background-color: rgba(255,255,255,0.9);
}

#wcc-banner .wcc-switch input:checked + .wcc-slider:before {
  transform: translateX(20px);
}


@media (max-width: 480px) {
  #wcc-banner .wcc-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  #wcc-banner .wcc-actions-right {
    justify-content: flex-start;
  }

  #wcc-banner .wcc-msg {
    font-size: 14px;
  }

  #wcc-banner .wcc-btn {
    flex: 1;
  }
}