/* ===== Orders Page — biz-ord- prefix ===== */
.biz-ord-wrap { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 1200px; margin: 20px auto; padding: 0 16px; }
.biz-ord-wrap * { box-sizing: border-box; }

/* Hero */
.biz-ord-hero {
    background: radial-gradient(circle at 10% 10%, rgba(59,130,246,0.15), transparent 50%),
                radial-gradient(circle at 90% 0%, rgba(16,185,129,0.12), transparent 40%),
                linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0; border-radius: 18px; padding: 24px 28px 20px; margin-bottom: 24px;
}
.biz-ord-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.biz-ord-header h1 { margin: 0; font-size: 28px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.biz-ord-header p.subtitle { margin: 6px 0 0; color: #64748b; font-size: 14px; }
.biz-ord-header .header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Stat Cards */
.biz-ord-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 0; }
.biz-ord-stat { padding: 20px 22px; border-radius: 14px; position: relative; overflow: hidden; }
.biz-ord-stat::after { content:''; position:absolute; top:-20px; right:-20px; width:80px; height:80px; border-radius:50%; background:rgba(255,255,255,0.15); }
.biz-ord-stat .s-icon { font-size: 22px; margin-bottom: 8px; }
.biz-ord-stat .s-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; opacity: 0.85; }
.biz-ord-stat .s-value { font-size: 24px; font-weight: 800; margin: 4px 0 0; letter-spacing: -0.5px; }
.biz-ord-stat .s-sub { font-size: 11px; margin-top: 4px; opacity: 0.7; }
.s-green  { background: linear-gradient(135deg, #059669 0%, #10b981 100%); color: #fff; }
.s-blue   { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); color: #fff; }
.s-purple { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); color: #fff; }
.s-amber  { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); color: #fff; }

/* Status Strip */
.biz-ord-status-strip { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.biz-ord-status-chip {
    display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px;
    border: 2px solid transparent; cursor: pointer; transition: all 0.2s; font-size: 12px; font-weight: 600;
    user-select: none; white-space: nowrap;
}
.biz-ord-status-chip:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.biz-ord-status-chip.active { border-color: currentColor; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-1px); }
.biz-ord-status-chip .chip-count { background: rgba(0,0,0,0.12); padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.biz-ord-status-chip-all {
    background: #f1f5f9; color: #475569; padding: 8px 14px; border-radius: 10px; border: 2px solid transparent;
    cursor: pointer; font-size: 12px; font-weight: 700; transition: all 0.2s; user-select: none;
}
.biz-ord-status-chip-all.active { border-color: #475569; background: #e2e8f0; }
.biz-ord-status-chip-all:hover { background: #e2e8f0; }

/* Card */
.biz-ord-card { background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04); overflow: hidden; }

/* Charts Row */
.biz-ord-charts { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 24px; }
.biz-ord-chart-box { padding: 20px; }
.biz-ord-chart-box h3 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 6px; }

/* Filters */
.biz-ord-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 16px 22px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-bottom: 1px solid #e2e8f0; }
.biz-ord-filters input,
.biz-ord-filters select { padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; background: #fff; color: #374151; outline:none; transition: border-color 0.2s; }
.biz-ord-filters input:focus,
.biz-ord-filters select:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.biz-ord-filters .search-wrap { position:relative; }
.biz-ord-filters .search-wrap input { padding-left: 34px; width: 240px; }
.biz-ord-filters .search-wrap .ico { position:absolute; left:10px; top:50%; transform:translateY(-50%); color:#9ca3af; pointer-events:none; font-size:14px; }

/* Bulk Bar */
.biz-ord-bulk { display:none; align-items:center; gap:12px; padding:12px 22px; background:#eff6ff; border-bottom:1px solid #bfdbfe; }
.biz-ord-bulk.visible { display:flex; }
.biz-ord-bulk .bulk-count { font-size:13px; font-weight:700; color:#1d4ed8; }
.biz-ord-bulk select { padding:6px 10px; border:1px solid #93c5fd; border-radius:8px; font-size:13px; background:#fff; }

/* Table */
.biz-ord-table { width:100%; border-collapse:collapse; }
.biz-ord-table thead th {
    background:#f9fafb; color:#64748b; font-size:11px; font-weight:700; text-transform:uppercase;
    letter-spacing:0.05em; padding:12px 14px; border-bottom:2px solid #e5e7eb; text-align:left;
    white-space:nowrap; cursor:pointer; user-select:none;
}
.biz-ord-table thead th:hover { color:#334155; }
.biz-ord-table thead th .sa { margin-left:3px; font-size:9px; color:#cbd5e1; }
.biz-ord-table thead th.sorted .sa { color:#3b82f6; }
.biz-ord-table tbody td { padding:12px 14px; border-bottom:1px solid #f1f5f9; vertical-align:middle; font-size:13px; color:#334155; }
.biz-ord-table tbody tr { transition: background 0.15s; }
.biz-ord-table tbody tr:hover td { background:#f8fafc; }
.biz-ord-table .td-num { font-weight:700; color:#1e40af; cursor:pointer; }
.biz-ord-table .td-num:hover { text-decoration:underline; }
.biz-ord-table .td-total { text-align:right; font-weight:700; font-variant-numeric:tabular-nums; }
.biz-ord-table .td-customer { max-width:180px; }
.biz-ord-table .td-customer .cname { font-weight:600; color:#1e293b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
.biz-ord-table .td-customer .cemail { font-size:11px; color:#94a3b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
.biz-ord-table .td-items { max-width:200px; }
.biz-ord-table .td-items .icount { font-weight:600; color:#475569; }
.biz-ord-table .td-items .ipreview { font-size:11px; color:#94a3b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; max-width:190px; }

/* Status Badge */
.biz-status-badge { display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:20px; font-size:11px; font-weight:700; letter-spacing:0.3px; white-space:nowrap; }

/* Quick Status Dropdown */
.biz-status-dd { position:relative; display:inline-block; }
.biz-status-dd .dd-trigger { cursor:pointer; }
.biz-status-dd .dd-menu {
    display:none; position:absolute; top:calc(100% + 4px); left:0; background:#fff; border:1px solid #e2e8f0;
    border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,0.12); z-index:100; min-width:160px; padding:6px 0;
    animation: biz-ord-fadeIn 0.15s ease;
}
.biz-status-dd .dd-menu.open { display:block; }
.biz-status-dd .dd-menu .dd-item {
    display:flex; align-items:center; gap:6px; padding:8px 14px; font-size:12px; font-weight:600;
    color:#374151; cursor:pointer; transition:background 0.15s; white-space:nowrap;
}
.biz-status-dd .dd-menu .dd-item:hover { background:#f1f5f9; }
@keyframes biz-ord-fadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }

/* Action Buttons */
.biz-ord-act { width:30px; height:30px; border-radius:7px; border:1px solid #e5e7eb; background:#fff; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; font-size:13px; transition:all 0.2s; color:#64748b; }
.biz-ord-act:hover { background:#f1f5f9; border-color:#cbd5e1; transform:translateY(-1px); }
.biz-ord-act.danger:hover { background:#fef2f2; border-color:#fca5a5; color:#ef4444; }

/* Pagination */
.biz-ord-pag { display:flex; align-items:center; justify-content:space-between; padding:14px 22px; border-top:1px solid #f1f5f9; }
.biz-ord-pag .pg-info { font-size:13px; color:#64748b; }
.biz-ord-pag .pg-btns { display:flex; gap:4px; }
.pg-btn { padding:6px 12px; border:1px solid #d1d5db; border-radius:7px; font-size:12px; font-weight:500; color:#374151; background:#fff; cursor:pointer; transition:all 0.2s; text-decoration:none; }
.pg-btn:hover { background:#f9fafb; border-color:#9ca3af; }
.pg-btn.active { background:#3b82f6; color:#fff; border-color:#3b82f6; font-weight:700; }
.pg-btn:disabled { opacity:0.4; cursor:default; }

/* Buttons */
.biz-ord-btn-primary { background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%); color:#fff; border:none; padding:9px 20px; border-radius:9px; cursor:pointer; font-size:13px; font-weight:600; display:inline-flex; align-items:center; gap:6px; transition:all 0.3s; box-shadow:0 2px 8px rgba(37,99,235,0.25); }
.biz-ord-btn-primary:hover { transform:translateY(-1px); box-shadow:0 4px 14px rgba(37,99,235,0.35); }
.biz-ord-btn-secondary { background:#fff; color:#374151; border:1px solid #d1d5db; padding:9px 16px; border-radius:9px; cursor:pointer; font-size:13px; font-weight:500; display:inline-flex; align-items:center; gap:6px; transition:all 0.2s; }
.biz-ord-btn-secondary:hover { background:#f9fafb; border-color:#9ca3af; }
.biz-ord-btn-danger { background:#ef4444; color:#fff; border:none; padding:9px 18px; border-radius:9px; cursor:pointer; font-size:13px; font-weight:600; transition:all 0.2s; }
.biz-ord-btn-danger:hover { background:#dc2626; }
.biz-ord-btn-sm { padding:5px 10px; font-size:11px; border-radius:7px; }

/* Detail Panel (slideout from right) */
.biz-ord-panel-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.35); z-index:99998; display:none; backdrop-filter:blur(2px); }
.biz-ord-panel-overlay.open { display:block; }
.biz-ord-panel {
    position:fixed; top:0; right:-620px; width:600px; max-width:100vw; height:100vh;
    background:#fff; z-index:99999; box-shadow:-8px 0 40px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y:auto;
    display:flex; flex-direction:column;
}
.biz-ord-panel.open { right:0; }
.biz-ord-panel-head {
    display:flex; align-items:center; justify-content:space-between; padding:20px 24px;
    border-bottom:1px solid #e2e8f0; background:linear-gradient(135deg,#f8fafc,#f1f5f9);
    position:sticky; top:0; z-index:2;
}
.biz-ord-panel-head h2 { margin:0; font-size:20px; font-weight:700; color:#0f172a; }
.biz-ord-panel-close { width:34px; height:34px; border-radius:9px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; font-size:16px; color:#64748b; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
.biz-ord-panel-close:hover { background:#f1f5f9; color:#0f172a; }
.biz-ord-panel-body { flex:1; padding:20px 24px; overflow-y:auto; }

/* Panel Sections */
.biz-ord-section { margin-bottom:22px; }
.biz-ord-section-title { font-size:13px; font-weight:700; color:#475569; text-transform:uppercase; letter-spacing:0.04em; margin:0 0 10px; display:flex; align-items:center; gap:6px; }

/* Panel: Customer + Addresses */
.biz-ord-addr-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.biz-ord-addr-card { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:14px; font-size:12px; color:#475569; line-height:1.7; }
.biz-ord-addr-card strong { color:#1e293b; display:block; margin-bottom:4px; font-size:13px; }
.biz-ord-addr-card a { color:#2563eb; text-decoration:none; }
.biz-ord-addr-card a:hover { text-decoration:underline; }

/* Panel: Line Items */
.biz-ord-items-table { width:100%; border-collapse:collapse; font-size:12px; }
.biz-ord-items-table th { background:#f8fafc; color:#64748b; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; padding:8px 10px; border-bottom:1px solid #e2e8f0; text-align:left; font-size:10px; }
.biz-ord-items-table td { padding:10px; border-bottom:1px solid #f1f5f9; vertical-align:middle; }
.biz-ord-items-table .item-img { width:36px; height:36px; border-radius:6px; object-fit:cover; background:#f1f5f9; }
.biz-ord-items-table .item-name { font-weight:600; color:#1e293b; }
.biz-ord-items-table .item-sku { font-size:10px; color:#94a3b8; }

/* Panel: Totals */
.biz-ord-totals { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:14px 16px; }
.biz-ord-totals .t-row { display:flex; justify-content:space-between; padding:5px 0; font-size:13px; color:#475569; }
.biz-ord-totals .t-row.grand { font-weight:800; font-size:15px; color:#0f172a; border-top:2px solid #e2e8f0; padding-top:10px; margin-top:6px; }
.biz-ord-totals .t-row.refund { color:#ef4444; }

/* Panel: Notes */
.biz-ord-notes-list { max-height:320px; overflow-y:auto; display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.biz-ord-note { padding:10px 12px; border-radius:10px; font-size:12px; line-height:1.6; }
.biz-ord-note.internal { background:#f1f5f9; border:1px solid #e2e8f0; color:#475569; }
.biz-ord-note.customer { background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; }
.biz-ord-note .note-meta { display:flex; justify-content:space-between; align-items:center; margin-top:6px; font-size:10px; color:#94a3b8; }
.biz-ord-note .note-del { cursor:pointer; color:#ef4444; font-size:10px; font-weight:600; opacity:0; transition:opacity 0.2s; }
.biz-ord-note:hover .note-del { opacity:1; }
.biz-ord-note-form { display:flex; gap:8px; flex-wrap:wrap; }
.biz-ord-note-form textarea { flex:1; min-width:200px; padding:8px 10px; border:1px solid #d1d5db; border-radius:8px; font-size:12px; resize:vertical; min-height:50px; outline:none; }
.biz-ord-note-form textarea:focus { border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,0.08); }
.biz-ord-note-type { display:flex; align-items:center; gap:6px; font-size:11px; }
.biz-ord-note-type label { cursor:pointer; }

/* Panel: Refund */
.biz-ord-refund-form { background:#fef2f2; border:1px solid #fecaca; border-radius:10px; padding:14px; display:none; }
.biz-ord-refund-form.open { display:block; }
.biz-ord-refund-form label { font-size:12px; font-weight:600; color:#7f1d1d; display:block; margin-bottom:4px; }
.biz-ord-refund-form input,
.biz-ord-refund-form textarea { width:100%; padding:8px 10px; border:1px solid #fca5a5; border-radius:8px; font-size:13px; background:#fff; outline:none; margin-bottom:10px; }
.biz-ord-refund-form input:focus,
.biz-ord-refund-form textarea:focus { border-color:#ef4444; }

/* Panel: Actions footer */
.biz-ord-panel-footer {
    padding:16px 24px; border-top:1px solid #e2e8f0; display:flex; gap:8px; flex-wrap:wrap;
    position:sticky; bottom:0; background:#fff; z-index:2;
}

/* Modal (generic) */
.biz-ord-modal-overlay { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,0.45); z-index:100000; padding:20px; backdrop-filter:blur(3px); }
.biz-ord-modal-overlay.active { display:flex !important; }
.biz-ord-modal { background:#fff; border-radius:14px; box-shadow:0 20px 50px rgba(0,0,0,0.2); width:480px; max-width:100%; animation:biz-ord-fadeIn 0.25s ease; }
.biz-ord-modal-head { padding:20px 24px 0; display:flex; align-items:center; justify-content:space-between; }
.biz-ord-modal-head h3 { margin:0; font-size:18px; font-weight:700; color:#0f172a; }
.biz-ord-modal-body { padding:20px 24px; }
.biz-ord-modal-body label { display:block; font-size:12px; font-weight:600; color:#475569; margin-bottom:4px; }
.biz-ord-modal-body .fg { margin-bottom:14px; }
.biz-ord-modal-body input,
.biz-ord-modal-body select,
.biz-ord-modal-body textarea { width:100%; padding:9px 12px; border:1px solid #d1d5db; border-radius:8px; font-size:13px; background:#fff; outline:none; }
.biz-ord-modal-body input:focus,
.biz-ord-modal-body select:focus,
.biz-ord-modal-body textarea:focus { border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,0.08); }
.biz-ord-modal-foot { padding:0 24px 20px; display:flex; justify-content:flex-end; gap:8px; }

/* Loading & Empty */
.biz-ord-loading { padding:60px 20px; text-align:center; color:#94a3b8; }
.biz-ord-loading .spin { display:inline-block; width:32px; height:32px; border:3px solid #e2e8f0; border-top-color:#3b82f6; border-radius:50%; animation:biz-ord-spin 0.7s linear infinite; }
@keyframes biz-ord-spin { to { transform:rotate(360deg); } }
.biz-ord-empty { padding:60px 20px; text-align:center; color:#94a3b8; }
.biz-ord-empty .empty-ico { font-size:48px; margin-bottom:10px; }

/* Toast */
.biz-ord-toast { position:fixed; top:40px; right:24px; padding:12px 20px; border-radius:10px; font-size:13px; font-weight:600; color:#fff; z-index:999999; animation:biz-ord-fadeIn 0.3s ease; box-shadow:0 6px 20px rgba(0,0,0,0.15); }
.biz-ord-toast.success { background:linear-gradient(135deg,#059669,#10b981); }
.biz-ord-toast.error { background:linear-gradient(135deg,#dc2626,#ef4444); }

/* Checkbox */
.biz-ord-cb { width:16px; height:16px; accent-color:#3b82f6; cursor:pointer; }
.biz-ord-chk-wrap { display:flex; align-items:center; gap:6px; font-size:11px; color:#475569; }
.biz-ord-chk-wrap input[type="checkbox"] { width:14px; height:14px; accent-color:#3b82f6; cursor:pointer; }

/* Payment badge */
.biz-ord-pay-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border-radius:14px; font-size:10px; font-weight:700; background:#f1f5f9; color:#475569; text-transform:capitalize; }

/* Responsive */
@media (max-width:1100px) { .biz-ord-stats { grid-template-columns: repeat(3,1fr); } }
@media (max-width:900px) {
    .biz-ord-charts { grid-template-columns:1fr; }
    .biz-ord-filters { flex-direction:column; align-items:stretch; }
    .biz-ord-addr-grid { grid-template-columns:1fr; }
    .biz-ord-panel { width:100vw; }
}
@media (max-width:600px) {
    .biz-ord-stats { grid-template-columns:1fr; }
    .biz-ord-status-strip { justify-content:center; }
}

/* ===== Create / Edit Order Modal ===== */
.biz-ord-create-overlay { position:fixed; inset:0; background:rgba(15,23,42,0.55); z-index:100020; display:none; justify-content:center; align-items:flex-start; padding:40px 16px; overflow-y:auto; }
.biz-ord-create-overlay.active { display:flex; }
.biz-ord-create-modal { background:#fff; border-radius:16px; width:100%; max-width:780px; box-shadow:0 25px 50px -12px rgba(0,0,0,0.25); animation:biz-ord-slideUp .25s ease; }
@keyframes biz-ord-slideUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }
.biz-ord-create-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; border-bottom:1px solid #e2e8f0; }
.biz-ord-create-head h2 { margin:0; font-size:20px; font-weight:700; color:#0f172a; }
.biz-ord-create-body { padding:24px; max-height:calc(100vh - 200px); overflow-y:auto; display:flex; flex-direction:column; gap:20px; }
.biz-ord-create-foot { display:flex; justify-content:flex-end; gap:10px; padding:16px 24px; border-top:1px solid #e2e8f0; background:#f8fafc; border-radius:0 0 16px 16px; }
.biz-ord-field-group { display:flex; flex-direction:column; gap:6px; }
.biz-ord-field-group label { font-size:12px; font-weight:600; color:#374151; }
.biz-ord-field-group input, .biz-ord-field-group select, .biz-ord-field-group textarea { padding:9px 12px; border:1px solid #d1d5db; border-radius:10px; font-size:13px; color:#1e293b; transition:border-color .2s; width:100%; background:#fff; }
.biz-ord-field-group input:focus, .biz-ord-field-group select:focus, .biz-ord-field-group textarea:focus { border-color:#3b82f6; outline:none; box-shadow:0 0 0 3px rgba(59,130,246,0.1); }
.biz-ord-field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.biz-ord-field-row-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; }

/* Search box */
.biz-ord-search-wrap { position:relative; }
.biz-ord-search-results { position:absolute; top:100%; left:0; right:0; background:#fff; border:1px solid #e2e8f0; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,0.1); max-height:220px; overflow-y:auto; z-index:10; display:none; }
.biz-ord-search-results.active { display:block; }
.biz-ord-sr-item { display:flex; align-items:center; gap:10px; padding:10px 12px; cursor:pointer; font-size:13px; transition:background .15s; border-bottom:1px solid #f1f5f9; }
.biz-ord-sr-item:last-child { border-bottom:none; }
.biz-ord-sr-item:hover { background:#f0f9ff; }
.biz-ord-sr-item img { width:34px; height:34px; border-radius:6px; object-fit:cover; border:1px solid #e2e8f0; }
.biz-ord-sr-item .sr-name { font-weight:600; color:#1e293b; }
.biz-ord-sr-item .sr-sub { font-size:11px; color:#94a3b8; }
.biz-ord-sr-item .sr-price { margin-left:auto; font-weight:700; color:#059669; white-space:nowrap; }

/* Items list in create modal */
.biz-ord-new-items { display:flex; flex-direction:column; gap:6px; }
.biz-ord-new-item { display:flex; align-items:center; gap:10px; padding:10px 12px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; font-size:13px; }
.biz-ord-new-item img { width:36px; height:36px; border-radius:6px; object-fit:cover; }
.biz-ord-new-item .ni-name { flex:1; font-weight:600; color:#1e293b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.biz-ord-new-item .ni-qty { width:60px; padding:5px 8px; border:1px solid #d1d5db; border-radius:8px; text-align:center; font-size:12px; font-weight:600; }
.biz-ord-new-item .ni-price { width:90px; padding:5px 8px; border:1px solid #d1d5db; border-radius:8px; text-align:right; font-size:12px; }
.biz-ord-new-item .ni-total { min-width:80px; text-align:right; font-weight:700; color:#059669; font-size:13px; }
.biz-ord-new-item .ni-remove { background:none; border:none; font-size:16px; cursor:pointer; color:#ef4444; padding:2px 6px; border-radius:6px; transition:background .15s; }
.biz-ord-new-item .ni-remove:hover { background:#fef2f2; }
.biz-ord-new-total { display:flex; justify-content:flex-end; align-items:center; gap:12px; padding:10px 12px; background:#ecfdf5; border:1px solid #6ee7b7; border-radius:10px; font-size:15px; font-weight:700; color:#059669; }

/* Selected customer card */
.biz-ord-cust-card { display:flex; align-items:center; gap:12px; padding:12px; background:#f0f9ff; border:1px solid #93c5fd; border-radius:10px; }
.biz-ord-cust-card .cc-info { flex:1; }
.biz-ord-cust-card .cc-name { font-weight:700; color:#1e293b; font-size:14px; }
.biz-ord-cust-card .cc-email { font-size:12px; color:#64748b; }
.biz-ord-cust-card .cc-remove { background:none; border:none; cursor:pointer; font-size:14px; color:#6b7280; padding:4px 8px; border-radius:6px; }
.biz-ord-cust-card .cc-remove:hover { background:#fef2f2; color:#ef4444; }

/* Section divider */
.biz-ord-create-divider { font-size:13px; font-weight:700; color:#475569; padding:6px 0 2px; border-bottom:2px solid #e2e8f0; display:flex; align-items:center; gap:6px; }

/* Inline edit in panel */
.biz-ord-edit-btn { background:none; border:none; font-size:11px; cursor:pointer; color:#3b82f6; font-weight:600; margin-left:8px; padding:2px 8px; border-radius:6px; transition:background .15s; }
.biz-ord-edit-btn:hover { background:#eff6ff; }
.biz-ord-addr-form { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.biz-ord-addr-form input { padding:7px 10px; border:1px solid #d1d5db; border-radius:8px; font-size:12px; }
.biz-ord-addr-form input:focus { border-color:#3b82f6; outline:none; }
.biz-ord-inline-search { position:relative; margin-top:8px; }
.biz-ord-inline-search input { width:100%; padding:8px 12px; border:1px solid #d1d5db; border-radius:8px; font-size:12px; }

@media (max-width:600px) {
    .biz-ord-create-modal { max-width:100%; }
    .biz-ord-field-row, .biz-ord-field-row-3 { grid-template-columns:1fr; }
    .biz-ord-addr-form { grid-template-columns:1fr; }
}
