.cookie-banner-center {
  position: fixed;
  top: auto;
  right: 24px;
  bottom: 24px;
  left: auto;
  margin: 0;
  width: min(440px, calc(100vw - 32px));
  max-width: 440px;
  padding: 0;
  border: 1px solid rgba(255, 247, 237, .18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6,78,59,.98), rgba(56,189,248,.92) 55%, rgba(82,82,91,.98));
  color: #FFF7ED;
  box-shadow: 0 26px 70px rgba(6, 78, 59, .34);
  z-index: 99999;
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
  font-family: Inter, Arial, sans-serif;
}
.cookie-banner-center::backdrop { background: rgba(6, 20, 18, .24); }
.cookie-banner-center.show { opacity: 1; transform: translateY(0) scale(1); }
.cookie-main, .cookie-settings-panel { padding: 24px; }
.cookie-settings-panel[hidden], .cookie-main[hidden] { display: none !important; }
.cookie-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cookie-title { margin: 0; font-size: 20px; line-height: 1.2; color: #FFF7ED; }
.cookie-text { margin: 0 0 18px; color: rgba(255,247,237,.88); line-height: 1.55; font-size: 14px; }
.cookie-text a { color: #E0F2FE; font-weight: 700; text-decoration: underline; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn {
  border: 1px solid rgba(255,247,237,.25);
  border-radius: 999px;
  padding: 10px 15px;
  color: #FFF7ED;
  background: rgba(255,255,255,.10);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.cookie-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.18); }
.cookie-btn.accept { background: #FFF7ED; color: #064E3B; border-color: #FFF7ED; }
.cookie-btn.reject { background: rgba(6,78,59,.28); }
.cookie-btn.manage { background: rgba(82,82,91,.25); }
.cookie-icon {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,247,237,.75);
  border-radius: 50%;
  background: linear-gradient(135deg, #064E3B, #38BDF8);
  color: #FFF7ED;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 99998;
  font-size: 24px;
  box-shadow: 0 12px 34px rgba(6,78,59,.34);
  transition: opacity .2s ease, transform .2s ease;
}
.cookie-icon.show { opacity: 1; pointer-events: auto; }
.cookie-icon:hover { transform: translateY(-2px); }
.cookie-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,247,237,.16);
}
.toggle-title { font-weight: 800; color: #FFF7ED; }
.toggle-desc { color: rgba(255,247,237,.76); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.cookie-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,247,237,.25);
  background: rgba(255,255,255,.12);
  color: #FFF7ED;
  cursor: pointer;
}
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: 0 0 48px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(255,255,255,.22);
  border-radius: 999px;
  transition: .2s;
}
.slider:before {
  position: absolute; content: '';
  height: 22px; width: 22px;
  left: 3px; bottom: 3px;
  background: #FFF7ED;
  border-radius: 50%;
  transition: .2s;
}
.toggle-switch input:checked + .slider { background: #38BDF8; }
.toggle-switch input:checked + .slider:before { transform: translateX(20px); }
@media (max-width: 520px) {
  .cookie-banner-center { right: 16px; bottom: 16px; }
  .cookie-main, .cookie-settings-panel { padding: 20px; }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; }
}
