.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(26, 26, 46, 0.98);
  color: #fff;
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  font-family: 'Inter', system-ui, sans-serif;
}
.cookie-banner.active { display: flex; }
.cookie-banner-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 320px;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}
.cookie-banner-text strong { color: #fff; }
.cookie-banner-text a { color: #D4AAFF; text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner-actions button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: .82rem;
  transition: transform .15s, opacity .15s;
}
.cookie-banner-actions button:hover { transform: translateY(-1px); }
.cookie-btn-accept { background: #10B981; color: #fff; }
.cookie-btn-custom { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35) !important; }
.cookie-btn-reject { background: rgba(255,255,255,.12); color: #fff; }

.cookie-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-panel-backdrop.active { display: flex; }
.cookie-panel {
  background: #fff;
  color: #1A1A2E;
  width: 92%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.cookie-panel h3 { margin: 0 0 6px; font-size: 1.25rem; }
.cookie-panel-sub { margin: 0 0 22px; font-size: .85rem; color: #6B7280; }
.cookie-category {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.cookie-category-title { font-weight: 700; font-size: .95rem; }
.cookie-category-desc { font-size: .8rem; color: #6B7280; line-height: 1.45; }
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #E5E7EB;
  border-radius: 24px;
  transition: .25s;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .25s;
}
.cookie-switch input:checked + .cookie-slider { background: #10B981; }
.cookie-switch input:checked + .cookie-slider:before { transform: translateX(20px); }
.cookie-switch input:disabled + .cookie-slider { opacity: .6; cursor: not-allowed; }
.cookie-panel-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cookie-panel-actions button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: .85rem;
}
.cookie-panel-save { background: #10B981; color: #fff; }
.cookie-panel-cancel { background: #F3F4F6; color: #374151; }

@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: center; text-align: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
  .cookie-banner-actions button { flex: 1; }
}
