/* VideoManuales — estilos del frontend */
:root{ --vm-brand:#4f46e5; }

.vm-hero,.vm-steps,.vm-dashboard{ max-width:1080px; margin:0 auto; padding:0 20px; box-sizing:border-box; }

/* Hero */
.vm-hero{ padding:64px 20px; text-align:center; }
.vm-hero__inner{ max-width:760px; margin:0 auto; }
.vm-badge{ display:inline-block; background:color-mix(in srgb, var(--vm-brand) 15%, #fff); color:var(--vm-brand); font-weight:600; font-size:13px; padding:6px 14px; border-radius:999px; margin-bottom:20px; }
.vm-hero h1{ font-size:clamp(28px,5vw,46px); line-height:1.1; margin:0 0 18px; }
.vm-lead{ font-size:18px; color:#4b5563; line-height:1.6; }
.vm-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:28px; }

/* Botones */
.vm-btn{ display:inline-block; text-decoration:none; font-weight:600; border-radius:10px; padding:12px 22px; cursor:pointer; border:2px solid transparent; font-size:15px; transition:.15s; }
.vm-btn--primary{ background:var(--vm-brand); color:#fff; }
.vm-btn--primary:hover{ filter:brightness(.92); }
.vm-btn--ghost{ background:transparent; color:var(--vm-brand); border-color:var(--vm-brand); }
.vm-btn--small{ padding:8px 14px; font-size:13px; }
.vm-btn--link{ background:none; border:none; color:#b91c1c; padding:8px 6px; }

/* Steps */
.vm-steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; padding-bottom:64px; }
.vm-card{ background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:26px; }
.vm-step-num{ width:38px; height:38px; border-radius:10px; background:var(--vm-brand); color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.vm-card h3{ margin:0 0 8px; }
.vm-card p{ color:#6b7280; margin:0; }

/* Dashboard */
.vm-dashboard{ padding:40px 20px; }
.vm-panel{ background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:26px; margin-bottom:24px; }
.vm-panel h2{ margin:0 0 18px; font-size:20px; }
.vm-form label{ display:block; margin-bottom:14px; }
.vm-form label > span{ display:block; font-weight:600; font-size:14px; margin-bottom:6px; }
.vm-form input[type=text],.vm-form input[type=url],.vm-form input[type=password],.vm-form select,.vm-form textarea{ width:100%; padding:10px 12px; border:1px solid #d1d5db; border-radius:10px; box-sizing:border-box; font-size:15px; }
.vm-form .vm-check{ display:flex; align-items:center; gap:8px; font-weight:500; }
.vm-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px; }
.vm-logo-preview img{ max-width:140px; margin:6px 0 14px; border:1px solid #e5e7eb; border-radius:10px; padding:6px; }

/* Alerts */
.vm-alert{ padding:12px 16px; border-radius:10px; margin-bottom:20px; font-weight:500; }
.vm-alert--ok{ background:#ecfdf5; color:#065f46; }
.vm-alert--error{ background:#fef2f2; color:#991b1b; }

/* Lista de flujos */
.vm-flows{ display:flex; flex-direction:column; gap:12px; }
.vm-flow{ display:flex; justify-content:space-between; align-items:center; gap:16px; border:1px solid #e5e7eb; border-radius:12px; padding:16px; flex-wrap:wrap; }
.vm-flow__main{ display:flex; flex-direction:column; gap:2px; }
.vm-flow__meta{ font-size:13px; color:#6b7280; }
.vm-flow__url{ font-size:13px; color:#9ca3af; word-break:break-all; }
.vm-flow__side{ display:flex; align-items:center; gap:14px; }
.vm-flow__actions{ display:flex; align-items:center; gap:8px; }
.vm-flow__actions form{ margin:0; }
.vm-empty{ color:#6b7280; }

/* Estados */
.vm-status{ font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; white-space:nowrap; }
.vm-status--draft{ background:#f3f4f6; color:#374151; }
.vm-status--queued{ background:#eff6ff; color:#1d4ed8; }
.vm-status--processing{ background:#fffbeb; color:#b45309; }
.vm-status--done{ background:#ecfdf5; color:#065f46; }
.vm-status--error{ background:#fef2f2; color:#991b1b; }

.vm-locked{ text-align:center; padding:60px 20px; }
