/* ═══════════════════════════════════════════
   ECLIPTA — Cookie Consent Bar
   ═══════════════════════════════════════════ */

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-bar.visible {
  transform: translateY(0);
}

.cookie-bar-text {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}

.cookie-bar-text a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-bar-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn-accept:hover { opacity: 0.9; }

.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.cookie-btn-reject:hover { border-color: var(--text-muted); }

@media (max-width: 480px) {
  .cookie-bar { flex-direction: column; text-align: center; }
  .cookie-bar-text { font-size: 12px; }
}
