/* whitelabel.dev — cookie consent banner styles.
   Matches the lowercase / mono voice of the rest of the site.
   Sticks to the bottom of the viewport; non-blocking. */

.wl-cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%, calc(100% + 2rem));
  width: min(56rem, calc(100vw - 2rem));
  background: #0a0a0a;
  color: #fff;
  border-radius: 0.4rem;
  padding: 0.85rem 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 9990; /* below the workspace switcher overlay (10010) on purpose */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  opacity: 0;
  transition: transform 280ms ease, opacity 200ms ease;
}

.wl-cookie-banner.wl-cookie-in {
  transform: translate(-50%, 0);
  opacity: 1;
}

.wl-cookie-banner.wl-cookie-out {
  transform: translate(-50%, calc(100% + 2rem));
  opacity: 0;
}

.wl-cookie-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.wl-cookie-text {
  flex: 1;
  min-width: 16rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.wl-cookie-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wl-cookie-text a:hover { opacity: 0.85; }

.wl-cookie-buttons {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.wl-cookie-btn {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}

.wl-cookie-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.32);
}

.wl-cookie-btn.wl-cookie-accept {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.wl-cookie-btn.wl-cookie-accept:hover {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 600px) {
  .wl-cookie-banner {
    bottom: 0.6rem;
    width: calc(100vw - 1.2rem);
    padding: 0.7rem 0.85rem;
  }
  .wl-cookie-text { font-size: 0.72rem; }
  .wl-cookie-buttons { width: 100%; }
  .wl-cookie-btn { flex: 1; }
}
