:root {
  --fmt-primary: #e85d04;
  --fmt-primary-dark: #dc2f02;
  --fmt-bg: #f8f9fa;
  --fmt-card: #ffffff;
  --fmt-text: #212529;
  --fmt-border: #dee2e6;
  --fmt-success: #2d6a4f;
  --fmt-whatsapp: #25d366;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fmt-bg: #1a1a2e;
    --fmt-card: #16213e;
    --fmt-text: #e9ecef;
    --fmt-border: #334155;
  }
}

.fmt-wrap { max-width: 720px; margin: 2rem auto; padding: 0 1rem; font-family: system-ui, sans-serif; color: var(--fmt-text); }
.fmt-header { text-align: center; margin-bottom: 2rem; }
.fmt-header h2 { color: var(--fmt-primary); margin: 0; }
.fmt-steps { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; overflow-x: auto; }
.fmt-step { flex: 1; text-align: center; padding: 0.5rem; font-size: 0.75rem; background: var(--fmt-border); border-radius: 4px; min-width: 60px; }
.fmt-step.active { background: var(--fmt-primary); color: #fff; }
.fmt-panel { display: none; background: var(--fmt-card); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--fmt-border); }
.fmt-panel.active { display: block; }
.fmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.fmt-card-select { padding: 1rem; border: 2px solid var(--fmt-border); border-radius: 8px; cursor: pointer; text-align: center; transition: all 0.2s; background: var(--fmt-card); }
.fmt-card-select:hover, .fmt-card-select.selected { border-color: var(--fmt-primary); background: rgba(232,93,4,0.08); }
.fmt-list label { display: block; padding: 0.75rem; margin: 0.25rem 0; border: 1px solid var(--fmt-border); border-radius: 6px; cursor: pointer; }
.fmt-list label:has(input:checked) { border-color: var(--fmt-primary); background: rgba(232,93,4,0.08); }
.fmt-field { margin-bottom: 1rem; }
.fmt-field label { display: block; margin-bottom: 0.25rem; font-weight: 600; }
.fmt-field input, .fmt-field select, .fmt-field textarea { width: 100%; padding: 0.6rem; border: 1px solid var(--fmt-border); border-radius: 6px; background: var(--fmt-card); color: var(--fmt-text); box-sizing: border-box; }
.fmt-nav { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.fmt-btn { padding: 0.75rem 1.5rem; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-block; }
.fmt-btn-primary { background: var(--fmt-primary); color: #fff; }
.fmt-btn-secondary { background: var(--fmt-border); color: var(--fmt-text); }
.fmt-btn-whatsapp { background: var(--fmt-whatsapp); color: #fff; }
.fmt-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.fmt-success { text-align: center; padding: 2rem; background: var(--fmt-card); border-radius: 8px; }
.fmt-order-card { background: var(--fmt-card); border: 1px solid var(--fmt-border); border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.fmt-order-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.fmt-status { font-size: 0.8rem; padding: 0.2rem 0.5rem; border-radius: 4px; background: var(--fmt-border); }
.fmt-media-preview { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.fmt-media-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.fmt-summary p { margin: 0.5rem 0; }
.fmt-fee { font-size: 1.1rem; }
.fmt-wa-note { font-size: 0.9rem; color: #666; }
