
.cookie-banner-center {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(440px, calc(100vw - 32px));
  padding: 20px;
  z-index: 99999;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #CBD5E1;
  background: linear-gradient(145deg, rgba(2,6,23,.98), rgba(15,23,42,.96));
  border: 1px solid rgba(94,234,212,.28);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(2,6,23,.68), inset 0 1px 0 rgba(248,253,255,.08);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.cookie-banner-center::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(94,234,212,.26), transparent 44%), radial-gradient(circle at bottom right, rgba(203,213,225,.12), transparent 40%);
}
.cookie-banner-center.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie-title { margin: 0; color: #F8FDFF; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.cookie-text { margin: 0; color: rgba(203,213,225,.92); font-size: 14px; line-height: 1.6; }
.cookie-text a { color: #5EEAD4; text-decoration: none; border-bottom: 1px solid rgba(94,234,212,.42); }
.cookie-text a:hover { border-bottom-color: #5EEAD4; }
.cookie-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.cookie-btn {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(203,213,225,.24);
  background: rgba(248,253,255,.05);
  color: #F8FDFF;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cookie-btn:hover { transform: translateY(-1px); border-color: rgba(94,234,212,.55); background: rgba(248,253,255,.08); }
.cookie-btn.accept { color: #020617; border-color: transparent; background: linear-gradient(135deg, #F8FDFF 0%, #5EEAD4 58%, #CBD5E1 100%); box-shadow: 0 12px 30px rgba(94,234,212,.20); }
.cookie-btn.reject, .cookie-btn.manage { color: #CBD5E1; }
.cookie-save { margin-top: 16px; }
.cookie-icon {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99998;
  min-width: 76px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(94,234,212,.38);
  background: rgba(2,6,23,.92);
  color: #F8FDFF;
  box-shadow: 0 16px 42px rgba(2,6,23,.46), 0 0 24px rgba(94,234,212,.16);
  font: 600 13px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease, border-color .2s ease;
}
.cookie-icon.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-icon:hover { border-color: #5EEAD4; }
.cookie-header-settings { justify-content: flex-start; }
.cookie-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(203,213,225,.25);
  background: rgba(248,253,255,.06);
  color: #F8FDFF;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.cookie-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(203,213,225,.12);
}
.toggle-title { color: #F8FDFF; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.toggle-desc { color: rgba(203,213,225,.78); font-size: 13px; line-height: 1.45; }
.toggle-switch { position: relative; display: inline-flex; width: 52px; height: 30px; flex: 0 0 auto; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; border-radius: 999px; background: rgba(203,213,225,.24); transition: .22s ease; }
.slider::before { content: ""; position: absolute; width: 22px; height: 22px; left: 4px; top: 4px; border-radius: 50%; background: #F8FDFF; transition: .22s ease; box-shadow: 0 3px 10px rgba(2,6,23,.35); }
.toggle-switch input:checked + .slider { background: #5EEAD4; }
.toggle-switch input:checked + .slider::before { transform: translateX(22px); background: #020617; }
.toggle-switch input:disabled + .slider { cursor: not-allowed; opacity: .9; }
@media (max-width: 520px) {
  .cookie-banner-center { right: 16px; bottom: 16px; padding: 17px; border-radius: 18px; }
  .cookie-icon { left: 16px; bottom: 16px; }
}
