/* ══════════════════════════════
   COOKIE CONSENT BANNER
   ══════════════════════════════ */
.cookie-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 99998; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cookie-overlay.show { opacity: 1; visibility: visible; }

.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 99999; width: calc(100% - 48px); max-width: 560px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 32px; font-family: 'Inter', system-ui, sans-serif;
  opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.cookie-banner h3 {
  font-size: 1.15rem; font-weight: 700; color: #1a1d2e; margin-bottom: 8px;
}
.cookie-banner p {
  font-size: 0.88rem; color: #6b7394; line-height: 1.6; margin-bottom: 20px;
}
.cookie-banner a { color: #4B42FF; text-decoration: underline; }

/* Toggle Switches */
.cookie-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.cookie-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #f7f8fc; border-radius: 12px;
}
.cookie-option-info { display: flex; flex-direction: column; }
.cookie-option-label { font-size: 0.88rem; font-weight: 600; color: #1a1d2e; }
.cookie-option-desc { font-size: 0.75rem; color: #8b8fa3; margin-top: 2px; }

/* Toggle */
.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; inset: 0; background: #d1d5db; border-radius: 24px;
  cursor: pointer; transition: all 0.25s;
}
.cookie-toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%;
  transition: transform 0.25s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: #4B42FF; }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { background: #4B42FF; opacity: 0.6; cursor: default; }

/* Buttons */
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  flex: 1; min-width: 120px; padding: 12px 20px; border-radius: 12px;
  font-family: inherit; font-weight: 600; font-size: 0.85rem;
  border: none; cursor: pointer; transition: all 0.2s; text-align: center;
}
.cookie-btn-accept {
  background: #4B42FF; color: #fff;
  box-shadow: 0 4px 14px rgba(75,66,255,0.3);
}
.cookie-btn-accept:hover { background: #3a33cc; }
.cookie-btn-save {
  background: rgba(75,66,255,0.08); color: #4B42FF;
  border: 1px solid rgba(75,66,255,0.2);
}
.cookie-btn-save:hover { background: rgba(75,66,255,0.15); }
.cookie-btn-reject {
  background: transparent; color: #6b7394;
  border: 1px solid rgba(0,0,0,0.1);
}
.cookie-btn-reject:hover { background: #f7f8fc; }

/* Responsive */
@media (max-width: 479px) {
  .cookie-banner { padding: 24px; bottom: 12px; width: calc(100% - 24px); }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { min-width: unset; }
}
