/* queenie.ai consent UI — matches the site's Inter + coral (#fe7767) palette. */

.qt-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147483000;
  width: min(400px, calc(100vw - 40px));
  box-sizing: border-box;
  padding: 20px 22px;
  background: #ffffff;
  color: #1c1c1c;
  border: 1px solid #e6e6e8;
  border-radius: 14px;
  box-shadow: 0 8px 34px rgba(0, 0, 0, .14);
  font-family: inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease;
}

.qt-banner.qt-in { opacity: 1; transform: translateY(0); }

.qt-banner h2 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #1c1c1c;
}

.qt-banner p { margin: 0 0 14px; color: #6d6d73; }

.qt-banner a { color: #fe7767; text-decoration: underline; text-underline-offset: 2px; }
.qt-banner a:hover { color: #ff998d; }

.qt-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.qt-btn {
  font: inherit;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.qt-btn-accept { background: #fe7767; color: #fff; }
.qt-btn-accept:hover { background: #ff998d; }

.qt-btn-reject { background: #fff; color: #4a4a50; border-color: #d8d8dc; }
.qt-btn-reject:hover { background: #f5f5f6; border-color: #c4c4ca; }

.qt-btn-link {
  background: none;
  border: none;
  color: #6d6d73;
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qt-btn-link:hover { color: #1c1c1c; }

/* Compact single-line variant for the non-strict notice. */
.qt-banner-notice { max-width: 460px; }
.qt-banner-notice p { margin-bottom: 12px; }

.qt-banner :focus-visible { outline: 2px solid #fe7767; outline-offset: 2px; }

@media (prefers-color-scheme: dark) {
  .qt-banner {
    background: #1c1c1e;
    color: #f2f2f4;
    border-color: #34343a;
    box-shadow: 0 8px 34px rgba(0, 0, 0, .5);
  }
  .qt-banner h2 { color: #f2f2f4; }
  .qt-banner p { color: #a9a9b2; }
  .qt-btn-reject { background: #1c1c1e; color: #d4d4da; border-color: #45454d; }
  .qt-btn-reject:hover { background: #26262a; }
  .qt-btn-link { color: #a9a9b2; }
  .qt-btn-link:hover { color: #f2f2f4; }
}

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