.bi-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 24px;
  font-family: 'Space Grotesk', sans-serif;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bi-cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.bi-cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bi-cookie-banner__text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  flex: 1;
  min-width: 0;
}

.bi-cookie-banner__text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bi-cookie-banner__text a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.bi-cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bi-cookie-banner__btn {
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.bi-cookie-banner__btn:hover {
  background: #888888;
  transform: translateY(-1px);
}

.bi-cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.bi-cookie-toggle__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.bi-cookie-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bi-cookie-toggle__switch {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.bi-cookie-toggle__switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.bi-cookie-toggle__input:checked + .bi-cookie-toggle__switch {
  background: rgba(255, 255, 255, 0.45);
}

.bi-cookie-toggle__input:checked + .bi-cookie-toggle__switch::after {
  transform: translateX(16px);
}

@media (max-width: 768px) {
  .bi-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .bi-cookie-banner__actions {
    justify-content: stretch;
  }

  .bi-cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}
