* { box-sizing: border-box; margin: 0; padding: 0; } :root { --primary: #2563eb; --primary-dark: #1d4ed8; --success: #16a34a; --warning: #ca8a04; --error: #dc2626; --bg: #f8fafc; --card: #ffffff; --border: #e2e8f0; --text: #1e293b; --text-muted: #64748b; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; } .container { max-width: 900px; margin: 0 auto; padding: 2rem; } header { text-align: center; margin-bottom: 2rem; } header h1 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.5rem; } header p { color: var(--text-muted); } .tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; } .tab { padding: 0.75rem 1.5rem; border: none; background: none; font-size: 1rem; cursor: pointer; border-radius: 0.5rem 0.5rem 0 0; color: var(--text-muted); transition: all 0.2s; } .tab:hover { background: var(--border); } .tab.active { background: var(--primary); color: white; } .tab-content { display: none; background: var(--card); border-radius: 0.75rem; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .tab-content.active { display: block; } .upload-zone { border: 2px dashed var(--border); border-radius: 0.75rem; padding: 3rem; text-align: center; transition: all 0.2s; cursor: pointer; } .upload-zone:hover, .upload-zone.dragover { border-color: var(--primary); background: #eff6ff; } .upload-zone input { display: none; } .upload-zone h3 { margin-bottom: 0.5rem; } .upload-zone p { color: var(--text-muted); font-size: 0.875rem; } .file-info { margin-top: 1rem; padding: 1rem; background: #f0fdf4; border-radius: 0.5rem; display: none; } .file-info.visible { display: block; } .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem; font-size: 1rem; cursor: pointer; transition: all 0.2s; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); } .btn-primary:disabled { background: var(--border); cursor: not-allowed; } .actions { margin-top: 1.5rem; display: flex; gap: 1rem; } .status { padding: 1rem; border-radius: 0.5rem; margin-top: 1rem; display: none; } .status.visible { display: block; } .status.success { background: #f0fdf4; color: var(--success); } .status.error { background: #fef2f2; color: var(--error); } .status.loading { background: #eff6ff; color: var(--primary); } .info-box { background: #eff6ff; border-left: 4px solid var(--primary); padding: 1rem; margin-bottom: 1.5rem; border-radius: 0 0.5rem 0.5rem 0; } .info-box h4 { margin-bottom: 0.25rem; } .info-box p { color: var(--text-muted); font-size: 0.875rem; } .result { margin-top: 1.5rem; padding: 1rem; background: var(--bg); border-radius: 0.5rem; display: none; } .result.visible { display: block; } .result h4 { margin-bottom: 0.75rem; } .dropdown-item { padding: 0.75rem; background: white; border: 1px solid var(--border); border-radius: 0.5rem; margin-bottom: 0.5rem; } .dropdown-item strong { color: var(--primary); } .field-group { margin-bottom: 1rem; } .field-group h5 { margin-bottom: 0.5rem; color: var(--text-muted); } .field-list { display: grid; gap: 0.5rem; } footer { text-align: center; margin-top: 3rem; color: var(--text-muted); font-size: 0.875rem; } .template-list { margin-bottom: 2rem; } .template-list h4 { margin-bottom: 1rem; } .template-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: white; border: 1px solid var(--border); border-radius: 0.5rem; margin-bottom: 0.5rem; } .template-item .name { font-weight: 500; } .template-item .size { color: var(--text-muted); font-size: 0.875rem; } .template-upload h4 { margin-bottom: 1rem; } .upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .upload-zone.small { padding: 1.5rem; } .upload-zone.small h3 { font-size: 1rem; }