/* LimitlessAI cookie notice + settings dialog. Shared by the React app and the static pages. */
.lcc-banner, .lcc-dialog {
  --lcc-ink: #161617;
  --lcc-soft: #5b5f6a;
  --lcc-line: rgba(22, 22, 23, 0.1);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lcc-ink);
  -webkit-font-smoothing: antialiased;
}

.lcc-banner {
  position: fixed;
  z-index: 2147483000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 26rem;
  padding: 1.1rem 1.15rem 1rem;
  background: #fff;
  border: 1px solid var(--lcc-line);
  border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(16, 24, 40, 0.22), 0 2px 6px rgba(16, 24, 40, 0.06);
  animation: lcc-in 0.35s ease-out both;
}
@keyframes lcc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lcc-banner { animation: none; } }

.lcc-banner-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lcc-soft);
}
.lcc-banner-text a, .lcc-intro a {
  color: var(--lcc-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcc-banner-actions, .lcc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.lcc-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  background: var(--lcc-ink);
  color: #fff;
  transition: background-color 0.2s ease;
}
.lcc-btn:hover { background: #2c2c2f; }
.lcc-btn--ghost {
  background: #fff;
  color: var(--lcc-ink);
  box-shadow: inset 0 0 0 1px var(--lcc-line);
}
.lcc-btn--ghost:hover { background: #f5f5f7; }
.lcc-btn:focus-visible, .lcc-close:focus-visible, .lcc-switch input:focus-visible + span {
  outline: 2px solid #6557d9;
  outline-offset: 2px;
}

.lcc-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  overflow: auto;
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(16, 24, 40, 0.35);
}
.lcc-dialog::backdrop { background: rgba(17, 17, 20, 0.35); }
.lcc-panel { padding: 1.5rem 1.5rem 1.25rem; }

.lcc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lcc-head h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lcc-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f5;
  color: var(--lcc-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lcc-intro { margin: 0.6rem 0 0.4rem; font-size: 13.5px; line-height: 1.55; color: var(--lcc-soft); }

.lcc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--lcc-line);
}
.lcc-row:first-of-type { margin-top: 0.6rem; }
.lcc-row h3 { margin: 0; font-size: 14.5px; font-weight: 600; }
.lcc-row p { margin: 0.25rem 0 0; font-size: 13px; line-height: 1.5; color: var(--lcc-soft); }
.lcc-always { flex: none; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--lcc-soft); }

.lcc-switch { position: relative; flex: none; width: 40px; height: 24px; margin-top: 1px; cursor: pointer; }
.lcc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.lcc-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d5d6db;
  transition: background-color 0.2s ease;
}
.lcc-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.lcc-switch input:checked + span { background: linear-gradient(135deg, #2678d4, #6557d9 55%, #ca35bd); }
.lcc-switch input:checked + span::after { transform: translateX(16px); }

.lcc-actions { border-top: 1px solid var(--lcc-line); padding-top: 1rem; margin-top: 0; }

@media (max-width: 520px) {
  .lcc-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: none; }
  .lcc-actions .lcc-btn { flex: 1 1 auto; }
}
