.cookie-consent {
  position: fixed;
  z-index: 2147483000;
  right: 22px;
  bottom: 22px;
  width: min(520px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  color: #14213a;
  background: rgba(247, 249, 252, 0.92);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  font-family: var(--font-outfit, Outfit, Arial, sans-serif);
  text-align: left;
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  animation: cookie-consent-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-consent strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.cookie-consent p {
  max-width: 455px;
  margin: 7px 0 0;
  color: #43516a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.cookie-consent button {
  min-width: 96px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cookie-consent button:hover {
  transform: translateY(-1px);
}

.cookie-consent button:focus-visible {
  outline: 3px solid rgba(17, 24, 39, 0.24);
  outline-offset: 2px;
}

.cookie-consent-reject {
  border: 1px solid rgba(20, 33, 58, 0.1);
  color: #14213a;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
}

.cookie-consent-accept {
  border: 1px solid #111820;
  color: #fff;
  background: #0f151d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px rgba(15, 21, 29, 0.2);
}

@keyframes cookie-consent-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
    border-radius: 20px;
  }

  .cookie-consent p {
    font-size: 12.5px;
  }

  .cookie-consent-actions {
    gap: 8px;
  }

  .cookie-consent button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { animation: none; }
  .cookie-consent button { transition: none; }
}
