#cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#cookie-popup {
  background: #1a2235;
  border: 0.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
}

.cookie-title {
  font-size: 15px;
  font-weight: 600;
  color: #D4AF37;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.cookie-btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.cookie-btn:hover { opacity: 0.85; }

.cookie-btn-secondary {
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.cookie-btn-outline {
  background: transparent;
  border: 0.5px solid rgba(212, 175, 55, 0.4);
  color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-primary {
  flex: 1.5;
  background: #D4AF37;
  border: none;
  color: #1a2235;
  font-weight: 600;
}

.cookie-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 0;
}

.cookie-legal a {
  color: rgba(212, 175, 55, 0.6);
  text-decoration: none;
}

.cookie-option {
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-option-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.9); margin: 0 0 2px; }
.cookie-option-desc  { font-size: 12px; color: rgba(255,255,255,0.45); margin: 0; }

.cookie-badge {
  font-size: 11px;
  background: rgba(212,175,55,0.15);
  color: #D4AF37;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.cookie-toggle { position: relative; display: inline-block; width: 40px; height: 22px; cursor: pointer; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-track {
  display: block;
  background: rgba(255,255,255,0.15);
  border-radius: 11px;
  width: 40px;
  height: 22px;
  transition: background 0.2s;
}
.cookie-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle input:checked ~ .cookie-toggle-track { background: #D4AF37; }
.cookie-toggle input:checked ~ .cookie-toggle-track .cookie-toggle-thumb { transform: translateX(18px); }