/* LetisFlow – Cookie Consent Banner
 * Segue il design system --lfd-* (dashboard.css).
 * Nessuna dipendenza esterna. */

#lf-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px clamp(16px, 4vw, 32px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

#lf-cookie-banner.lf-cb--visible {
  transform: translateY(0);
}

#lf-cookie-banner.lf-cb--hiding {
  transform: translateY(100%);
}

.lf-cb__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.lf-cb__text {
  flex: 1;
  min-width: 220px;
  color: rgba(249, 250, 251, 0.72);
  font-size: 0.875rem;
  line-height: 1.55;
}

.lf-cb__text strong {
  display: block;
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.lf-cb__text a {
  color: #fb923c;
  text-decoration: none;
}

.lf-cb__text a:hover {
  text-decoration: underline;
}

.lf-cb__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.lf-cb__btn {
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.lf-cb__btn:hover {
  opacity: 0.82;
}

.lf-cb__btn--primary {
  background: #f97316;
  color: #fff;
}

.lf-cb__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(249, 250, 251, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 580px) {
  .lf-cb__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .lf-cb__actions {
    width: 100%;
  }
  .lf-cb__btn {
    flex: 1;
    text-align: center;
  }
}
