/* public/css/consent.css — first-party consent banner (public/js/consent.js).
   Self-contained: own tokens, fixed to the bottom, glass panel matching the
   rest of the site's dark UI. */

.mo-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147482000; /* under the AI widget (2147483000), over everything else */
  display: flex;
  justify-content: center;
  padding: 14px;
  transform: translateY(120%);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mo-consent.mo-consent-in {
  transform: translateY(0);
}

.mo-consent-inner {
  pointer-events: auto;
  max-width: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(16, 14, 12, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(245, 240, 230, 0.16);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  color: #f5f0e6;
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
}

.mo-consent-copy {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cfc7ba;
  flex: 1;
}

.mo-consent-copy a {
  color: #f5f0e6;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.mo-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.mo-consent-btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(245, 240, 230, 0.24);
  background: transparent;
  color: #f5f0e6;
  transition: border-color 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.mo-consent-reject:hover {
  border-color: rgba(245, 240, 230, 0.55);
}

.mo-consent-accept {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, #3b82f6 0%, #9b6fd1 33%, #d6409f 66%, #fa557a 100%);
}

.mo-consent-accept:hover {
  filter: brightness(1.08);
}

@media (max-width: 560px) {
  .mo-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .mo-consent-actions {
    justify-content: flex-end;
  }
}
