/* Demo "free-download" (/descargas-gratis). Base: fl-phone.css.
   data-state: start | typing | sent | lead */

.lla-fd { --lla-brand: #16a34a; --lla-cursor-ring: rgba(22, 163, 74, .55); --lla-glow-b: rgba(22, 163, 74, .14); }

.lla-fd__chip--qr { left: 0; top: 40px; }
.lla-fd__chip--qr .bi { color: #0f172a; }
html[data-theme="dark"] .lla-fd__chip--qr .bi { color: inherit; }
.lla-fd__chip--csv { left: 14px; top: 466px; animation-delay: -2.5s; }
.lla-fd__chip--csv .bi { color: #16a34a; }

.lla-fd__cover {
  display: flex; align-items: center; justify-content: center; height: 128px; margin: 4px 12px 0; border-radius: 16px;
  background: linear-gradient(150deg, #dcfce7, #bbf7d0 55%, #fef08a); color: #15803d; font-size: 52px;
}
.lla-fd__body { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; }
.lla-fd__badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: rgba(22, 163, 74, .12); color: #15803d; font-size: 9px; font-weight: 700;
}
.lla-fd__title { font-size: 14px !important; font-weight: 800; line-height: 1.2; }
.lla-fd__desc { color: var(--lla-muted); font-size: 9.5px !important; line-height: 1.35; }

.lla-fd__form { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; transition: opacity .35s var(--lla-ease), transform .35s var(--lla-ease); }
.lla-fd__label { color: var(--lla-muted); font-size: 9.5px !important; font-weight: 600; }
.lla-fd__input { position: relative; display: block; min-height: 30px; padding: 8px 10px; border: 1px solid var(--lla-border); border-radius: 9px; font-size: 10.5px; }
.lla-fd__ph { position: absolute; left: 10px; top: 8px; color: #b8c0cc; }
.lla-fd:not([data-state="start"]) .lla-fd__ph { opacity: 0; }
.lla-fd[data-state="typing"] .lla-fd__input { border-color: rgba(22, 163, 74, .6); box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }
.lla-fd__optin { display: flex; align-items: center; gap: 6px; color: var(--lla-muted); font-size: 9px; }
.lla-fd__optin i { flex: none; width: 11px; height: 11px; border: 1.5px solid var(--lla-border); border-radius: 3px; }
.lla-fd__btn { margin-top: 4px; }

.lla-fd__done {
  position: absolute; left: 14px; right: 14px; top: 88px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px; border-radius: 12px; background: var(--lla-surface); text-align: center; font-size: 10.5px; font-weight: 600;
  opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .4s var(--lla-ease), transform .4s var(--lla-ease);
}
.lla-fd__done .bi { color: var(--lla-ok); font-size: 30px; }
.lla-fd:is([data-state="sent"], [data-state="lead"]) .lla-fd__form { opacity: 0; transform: translateY(8px); }
.lla-fd:is([data-state="sent"], [data-state="lead"]) .lla-fd__done { opacity: 1; transform: none; }

.lla-fd__lead { left: 330px; top: 150px; width: 224px; }
.lla-fd[data-state="lead"] .lla-fd__lead { opacity: 1; transform: none; }
.lla-fd__lead-icon { background: linear-gradient(135deg, #4ade80, #16a34a); }
.lla-fd__count { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--lla-border); }
html[data-theme="dark"] .lla-fd__count { border-top-color: rgba(255, 255, 255, .1); }
.lla-fd__count small { font-size: 10.5px !important; opacity: .75; }
.lla-fd__count b { font-size: 20px !important; font-weight: 800; font-variant-numeric: tabular-nums; }
