.cookie-banner-center {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(460px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(236, 72, 153, 0.88), rgba(37, 99, 235, 0.92));
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 36px rgba(236,72,153,.28);
  z-index: 99999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(24px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
  backdrop-filter: blur(18px);
}
.cookie-banner-center.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-title {
  margin: 0;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}
.cookie-text {
  margin: 0 0 16px;
  color: rgba(255,255,255,.88);
}
.cookie-text a {
  color: #FACC15;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(255,255,255,.10);
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cookie-btn:hover,
.cookie-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  border-color: rgba(250,204,21,.7);
  background: rgba(255,255,255,.16);
}
.cookie-btn.accept {
  background: linear-gradient(135deg, #EC4899, #2563EB);
  border-color: rgba(250,204,21,.44);
  box-shadow: 0 10px 24px rgba(236,72,153,.25);
}
.cookie-btn.reject,
.cookie-btn.manage {
  background: rgba(17,24,39,.45);
}
.cookie-btn.save {
  width: 100%;
  margin-top: 14px;
}
.cookie-icon {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(250,204,21,.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827, #EC4899 58%, #2563EB);
  box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 28px rgba(236,72,153,.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 99998;
  font-size: 23px;
  transition: transform .2s ease, opacity .2s ease;
}
.cookie-icon.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-icon:hover,
.cookie-icon:focus-visible {
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
.cookie-settings-panel {
  color: #fff;
}
.cookie-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.toggle-title {
  font-weight: 800;
  color: #fff7ed;
}
.toggle-desc {
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.cookie-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: rgba(17,24,39,.35);
  cursor: pointer;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 27px;
  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(17,24,39,.62);
  border: 1px solid rgba(255,255,255,.18);
  transition: .2s;
}
.slider:before {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
}
.toggle-switch input:checked + .slider {
  background: linear-gradient(135deg, #EC4899, #2563EB);
  border-color: rgba(250,204,21,.44);
}
.toggle-switch input:checked + .slider:before {
  transform: translateX(21px);
}
@media (max-width: 520px) {
  .cookie-banner-center {
    right: 16px;
    bottom: 16px;
    padding: 16px;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
  }
  .cookie-icon {
    left: 16px;
    bottom: 16px;
  }
}
