.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0b1118;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  padding: 20px 24px;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #edf3fc;
  font-size: 14px;
  line-height: 1.55;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cc-banner.is-visible {
  transform: translateY(0);
}

.cc-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.cc-copy {
  flex: 1 1 420px;
}

.cc-copy p {
  margin: 0 0 6px;
}

.cc-copy a {
  color: #35cdd9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-copy a:hover {
  color: #f5c84c;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.cc-btn-accept {
  background: #f5c84c;
  color: #0a192f;
}

.cc-btn-accept:hover {
  background: #f7d36e;
}

.cc-btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: #edf3fc;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cc-btn-reject:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cc-btn-settings {
  background: transparent;
  color: #b9c8dc;
  padding: 10px 12px;
  font-size: 13px;
}

.cc-btn-settings:hover {
  color: #edf3fc;
}

/* Settings panel (shown when user clicks "Cookie settings") */
.cc-settings {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.cc-banner.cc-show-settings .cc-settings {
  display: block;
}

.cc-setting-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.cc-setting-row + .cc-setting-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-setting-label {
  flex: 1;
}

.cc-setting-name {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.cc-setting-desc {
  font-size: 13px;
  color: #a5b3c7;
}

.cc-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cc-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
}

.cc-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #edf3fc;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cc-toggle input:checked + .cc-toggle-track {
  background: #35cdd9;
}

.cc-toggle input:checked + .cc-toggle-track::after {
  transform: translateX(18px);
}

.cc-toggle input:disabled + .cc-toggle-track {
  opacity: 0.5;
  cursor: default;
}

.cc-setting-always {
  font-size: 12px;
  color: #a5b3c7;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 4px;
}

.cc-settings-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .cc-banner {
    padding: 16px;
  }

  .cc-inner {
    flex-direction: column;
  }

  .cc-actions {
    width: 100%;
  }

  .cc-btn-accept,
  .cc-btn-reject {
    flex: 1;
  }
}
