:root {
  --cookie-accent: #555;
  --cookie-accent-hover: #333;
  --cookie-accent-shadow: rgba(0, 0, 0, 0.22);
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(380px, calc(100vw - 32px));
  margin: 0;
  padding: 18px 20px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
  font-family: Tahoma, Arial, sans-serif;
  color: #222;
  animation: cookie-banner-in 0.35s ease;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.cookie-banner__text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}

.cookie-banner__text a {
  color: var(--cookie-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--cookie-accent-hover);
}

.cookie-banner__btn {
  display: inline-block;
  min-width: 88px;
  height: 36px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: var(--cookie-accent);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--cookie-accent-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cookie-banner__btn:hover {
  background: var(--cookie-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--cookie-accent-shadow);
}

.cookie-banner__btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .cookie-banner {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
  }

  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

.legal-doc {
  padding: 28px 0 48px;
}

.legal-doc h3 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.3;
}

.legal-doc p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #222;
}
