/* Cookie Consent */
.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(760px, calc(100% - 48px));
  margin-left: auto;
  padding: 20px;
  color: #f5f5f2;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  font-family: "Inter", sans-serif;
  backdrop-filter: blur(12px);
}

.cookie-consent__content {
  max-width: 480px;
}

.cookie-consent__title,
.cookie-consent__text {
  margin: 0;
}

.cookie-consent__title {
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-consent__text {
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 0 18px;
  color: #111;
  background: #f5f5f2;
  border: 1px solid #f5f5f2;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.cookie-consent__button--secondary {
  color: #f5f5f2;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

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

.cookie-consent__button:focus-visible {
  outline: 2px solid #f5f5f2;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: auto;
    max-height: min(46dvh, 340px);
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 14px;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__button {
    flex: 1;
    min-height: 44px;
    padding-inline: 12px;
  }

  .cookie-consent__text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

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