/* ===== SHARED.CSS — Cookie Banner, Lang Toggle, Legal Footer ===== */

/* ── LANGUAGE TOGGLE ── */
.lang-toggle-wrap { display: flex; align-items: center; }
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; overflow: hidden;
}
.lang-btn {
  padding: 6px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  background: none; border: none; color: rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.2s;
}
.lang-btn.active {
  background: #6366f1;
  color: #fff;
}
.lang-btn:hover:not(.active) { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

/* ── COOKIE CONSENT BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(12,12,20,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-banner__content {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__content p {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  max-width: 680px; line-height: 1.5; margin: 0;
}
.cookie-banner__content p a { color: #818cf8; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie {
  padding: 9px 20px; border-radius: 7px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 700;
  transition: all 0.2s;
}
.btn-cookie--accept {
  background: #6366f1; color: #fff;
  box-shadow: 0 0 16px rgba(99,102,241,0.3);
}
.btn-cookie--accept:hover { background: #818cf8; }
.btn-cookie--reject {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}
.btn-cookie--reject:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── FOOTER LEGAL LINKS ── */
.footer__legal-links {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
}
.footer__legal-links a {
  color: rgba(255,255,255,0.3); text-decoration: none;
  transition: color 0.2s;
}
.footer__legal-links a:hover { color: rgba(255,255,255,0.7); }
.footer__legal-links span { color: rgba(255,255,255,0.15); }

/* ── MOBILE ── */
@media (max-width: 600px) {
  .cookie-banner__content { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .btn-cookie { flex: 1; text-align: center; }
  .footer__legal-links { flex-wrap: wrap; justify-content: center; }
}
