/* Demo "seo-google" (/seo). Base: fl-phone.css.
   data-state: start | sent | search | results | metrics */

.lla-seo { --lla-brand: #377dff; --lla-cursor-ring: rgba(55, 125, 255, .55); }

.lla-seo__chip--sitemap { left: 0; top: 30px; }
.lla-seo__chip--sitemap .bi { color: #377dff; }
.lla-seo__chip--gsc { left: 14px; top: 470px; animation-delay: -2.5s; }
.lla-seo__chip--gsc .bi { color: #16a34a; }

/* Pantallas del celular */
.lla-seo__pane { transition: opacity .45s var(--lla-ease), transform .45s var(--lla-ease); }
.lla-seo__pane--search { opacity: 0; transform: translateX(24px); }
.lla-seo:is([data-state="search"], [data-state="results"], [data-state="metrics"]) .lla-seo__pane--panel { opacity: 0; transform: translateX(-24px); }
.lla-seo:is([data-state="search"], [data-state="results"], [data-state="metrics"]) .lla-seo__pane--search { opacity: 1; transform: none; }

/* Panel: producto nuevo */
.lla-seo__form { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; }
.lla-seo__photo { display: flex; align-items: center; justify-content: center; height: 92px; margin-bottom: 4px; border-radius: 12px; background: linear-gradient(160deg, #fef3c7, #fde68a); color: #b45309; font-size: 40px; }
.lla-seo__label { margin-top: 4px !important; color: var(--lla-muted); font-weight: 600; font-size: 9.5px !important; }
.lla-seo__label .bi { color: var(--lla-brand); }
.lla-seo__input { display: block; padding: 6px 8px; border: 1px solid var(--lla-border); border-radius: 8px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lla-seo__input--seo { border-color: rgba(55, 125, 255, .45); background: rgba(55, 125, 255, .05); }
.lla-seo__input--area { white-space: normal; height: 44px; color: var(--lla-muted); line-height: 1.35; }
.lla-seo__publish { margin-top: 10px; }

.lla-seo__sent { left: 330px; top: 70px; width: 228px; }
.lla-seo:is([data-state="sent"], [data-state="search"]) .lla-seo__sent { opacity: 1; transform: none; }
.lla-seo__sent .lla-fl__card-icon { background: linear-gradient(135deg, #4f8bff, #377dff); }

/* Buscador */
.lla-seo__search { display: flex; align-items: center; gap: 7px; margin: 36px 12px 10px; padding: 9px 12px; border: 1px solid var(--lla-border); border-radius: 999px; box-shadow: 0 2px 8px rgba(30, 41, 59, .08); font-size: 11px; }
.lla-seo__search .bi { color: var(--lla-muted); }
.lla-seo__q { min-height: 1em; }
.lla-seo__results { display: flex; flex-direction: column; gap: 12px; padding: 4px 14px; }
.lla-seo__res { display: flex; flex-direction: column; gap: 3px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--lla-ease), transform .4s var(--lla-ease); }
.lla-seo:is([data-state="results"], [data-state="metrics"]) .lla-seo__res { opacity: 1; transform: none; }
.lla-seo:is([data-state="results"], [data-state="metrics"]) .lla-seo__res:nth-child(2) { transition-delay: .12s; }
.lla-seo:is([data-state="results"], [data-state="metrics"]) .lla-seo__res:nth-child(3) { transition-delay: .24s; }
.lla-seo__res--ours { padding: 8px; margin: -8px; border-radius: 10px; background: rgba(55, 125, 255, .07); box-shadow: inset 0 0 0 1px rgba(55, 125, 255, .25); }
.lla-seo__res-url { display: flex; align-items: center; gap: 5px; color: var(--lla-muted); font-size: 9px !important; }
.lla-seo__fav { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #b45309; color: #fff; font-size: 8px; font-weight: 800; }
.lla-seo__fav--b { background: #64748b; }
.lla-seo__fav--c { background: #94a3b8; }
.lla-seo__res-title { color: #1a0dab; font-size: 11.5px !important; font-weight: 600; line-height: 1.25; }
.lla-seo__res-desc { color: var(--lla-muted); font-size: 9.5px !important; line-height: 1.35; }
.lla-seo__skeleton { display: flex; flex-direction: column; gap: 4px; }
.lla-seo__skeleton i { display: block; height: 6px; border-radius: 4px; background: var(--lla-surface); }
.lla-seo__skeleton i + i { width: 70%; }

/* Tarjeta Search Console */
.lla-seo__metrics { left: 342px; top: 300px; width: 214px; }
.lla-seo[data-state="metrics"] .lla-seo__metrics { opacity: 1; transform: none; }
.lla-seo__m-title { display: flex; align-items: center; gap: 6px; font-size: 11px !important; font-weight: 700; opacity: .8; }
.lla-seo__m-title .bi { color: #377dff; }
.lla-seo__m-row { display: flex; gap: 18px; margin-top: 8px; }
.lla-seo__m-row span { display: flex; flex-direction: column; }
.lla-seo__m-row small { font-size: 10px !important; opacity: .7; }
.lla-seo__m-row b { font-size: 20px !important; font-weight: 800; font-variant-numeric: tabular-nums; }
.lla-seo__m-up { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--lla-ok); font-size: 11px; font-weight: 700; }
.lla-seo__bars { display: flex; align-items: flex-end; gap: 5px; height: 36px; margin-top: 8px; }
.lla-seo__bars i { flex: 1; height: 0; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #4f8bff, #377dff); transition: height .6s var(--lla-ease); }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(1) { height: 22%; }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(2) { height: 30%; transition-delay: .05s; }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(3) { height: 28%; transition-delay: .1s; }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(4) { height: 45%; transition-delay: .15s; }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(5) { height: 58%; transition-delay: .2s; }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(6) { height: 74%; transition-delay: .25s; }
.lla-seo[data-state="metrics"] .lla-seo__bars i:nth-child(7) { height: 100%; transition-delay: .3s; }
