#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0A0F1A;
  color: #F7F5F2;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 99999;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
#cookie-consent-banner a {
  color: #C4835A;
  text-decoration: underline;
}
#cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#cookie-consent-banner button {
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
#cookie-consent-banner .btn-accept {
  background: #C4835A;
  color: #F7F5F2;
}
#cookie-consent-banner .btn-accept:hover {
  background: #b3744d;
}
#cookie-consent-banner .btn-manage {
  background: transparent;
  color: #C4835A;
  border: 1px solid #C4835A;
}
#cookie-consent-banner .btn-manage:hover {
  background: rgba(196,131,90,0.1);
}
#cookie-consent-banner .btn-decline {
  background: transparent;
  color: #888;
  border: 1px solid #444;
}
#cookie-consent-banner .btn-decline:hover {
  background: rgba(255,255,255,0.05);
}
#cookie-consent-banner .btn-save {
  background: #C4835A;
  color: #F7F5F2;
}
#cookie-consent-banner .btn-save:hover {
  background: #b3744d;
}

/* Preferences panel */
#cookie-preferences {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(196,131,90,0.3);
  width: 100%;
}
#cookie-preferences .pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
#cookie-preferences .pref-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#cookie-preferences .pref-label strong {
  font-size: 14px;
  color: #F7F5F2;
}
#cookie-preferences .pref-label span {
  font-size: 12px;
  color: #999;
}
#cookie-preferences .pref-tag {
  font-size: 11px;
  color: #666;
  font-style: italic;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #333;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle .slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #F7F5F2;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .slider {
  background: #C4835A;
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .slider {
  opacity: 0.5;
  cursor: default;
}

@media (max-width: 640px) {
  #cookie-consent-banner {
    flex-direction: column;
    text-align: center;
  }
  #cookie-consent-banner .cookie-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
}
