.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  background: rgba(20, 10, 14, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  color: #fff;
}

.cookie-banner__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text { max-width: 780px; }
.cookie-banner__small {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.35;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-link { color: #f1c77a; text-decoration: underline; }

.btn-cookie {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.cookie-modal__card {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  margin: 7vh auto 0;
  background: #140A0E;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  overflow: hidden;
}

.cookie-modal__header {
  padding: 16px 16px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cookie-modal__body { padding: 6px 16px 12px; }
.cookie-modal__footer {
  padding: 12px 16px 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-x {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.cookie-row {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-row__left { max-width: 520px; }
.cookie-row__right { flex: 0 0 auto; }

.switch { position: relative; display: inline-block; width: 44px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(255,255,255,0.18);
  transition: .2s;
  border-radius: 999px;
}
.slider:before {
  position: absolute; content: "";
  height: 20px; width: 20px;
  left: 3px; top: 3px;
  background: white;
  transition: .2s;
  border-radius: 50%;
}
.switch input:checked + .slider { background: rgba(241,199,122,0.9); }
.switch input:checked + .slider:before { transform: translateX(18px); }

@media (max-width: 720px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .btn-cookie { width: 100%; }
}
