/* NAMA ERP — Fleet / Area C (صيانة · أوامر عمل · ورش · وقود) — إضافات فوق العدّة المشتركة */
.mnt-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.mnt-head h2,.mnt-head h3{margin:0}
.mnt-head .tb-spacer{flex:1}
.mnt-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.mnt-toolbar .tb-spacer{flex:1}
.mnt-toolbar .search{min-width:190px}
.mnt-toolbar input[type=date]{min-width:140px}
.mnt-hint{font-size:12px;color:var(--muted,#93707f);margin:-2px 0 12px}
.mnt-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
@media (max-width:900px){.mnt-stats{grid-template-columns:repeat(2,1fr)}}
.mnt-num{direction:ltr;display:inline-block;font-variant-numeric:tabular-nums}
.mnt-charts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
@media (max-width:900px){.mnt-charts{grid-template-columns:1fr}}
.mnt-chart{padding:12px 14px}
.mnt-tbl{padding:0;overflow:hidden}
.mnt-tbl .tbl-wrap{overflow-x:auto}
.mnt-row-acts{display:flex;align-items:center;gap:4px;justify-content:flex-end;flex-wrap:nowrap}

/* شريط استهلاك الفترة في لوحة الخطط */
.mnt-bar{width:82px;height:7px;border-radius:5px;background:var(--card-2,rgba(255,255,255,.08));overflow:hidden;display:inline-block;vertical-align:middle}
.mnt-bar i{display:block;height:100%;background:var(--c,#96255C);border-radius:5px}

/* لوحة حالات أوامر العمل */
.mnt-board{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
@media (max-width:900px){.mnt-board{grid-template-columns:repeat(2,1fr)}}
.mnt-board-c{position:relative;display:flex;flex-direction:column;gap:2px;align-items:flex-start;padding:12px 14px;
  border:1px solid transparent;cursor:pointer;font:inherit;color:inherit;text-align:start;overflow:hidden}
.mnt-board-c:hover{border-color:#C9A24B}
.mnt-board-c.on{border-color:#C9A24B;box-shadow:0 0 0 2px rgba(201,162,75,.2)}
.mnt-board-c .b-l{font-size:12px;color:var(--muted,#93707f)}
.mnt-board-c .b-n{font-size:22px;font-weight:700;direction:ltr}
.mnt-board-c .b-c{font-size:12px;color:var(--muted,#93707f);direction:ltr}
.mnt-board-c i{position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px}

/* تفاصيل أمر العمل */
.mnt-flow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.mnt-flow .tb-spacer{flex:1}
.mnt-detail{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
@media (max-width:820px){.mnt-detail{grid-template-columns:1fr}}
.mnt-detail .card{padding:12px 14px}
.mnt-detail h4,.mnt-sec h4{margin:0 0 8px;font-size:12px;letter-spacing:.4px;color:var(--muted,#93707f);text-transform:uppercase}
.mnt-lines{width:100%;font-size:13px;border-collapse:collapse}
.mnt-lines td{padding:5px 2px;border-bottom:1px solid var(--line,rgba(255,255,255,.07))}
.mnt-lines td:last-child{text-align:end;font-weight:600;direction:ltr}
.mnt-lines tr:last-child td{border-bottom:0}
.mnt-lines tr.tot td{font-weight:700;padding-top:8px;border-top:2px solid #C9A24B;border-bottom:0}
.mnt-costs{max-width:340px;margin-inline-start:auto;padding:10px 14px}
.mnt-box{padding:12px 14px;margin-bottom:14px}
.mnt-title-line{font-size:15px;font-weight:600;margin-bottom:4px}
.mnt-pre{white-space:pre-wrap;font-size:13px;line-height:1.7;margin-top:6px}
.mnt-sec{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px 0}
.badge.warn{color:#b7791f;background:rgba(212,169,79,.16)}
.badge.warn svg{width:13px;height:13px;vertical-align:-2px}
.badge.prio-critical{color:#e0324b;background:rgba(224,50,75,.14)}
.badge.prio-high{color:#b7791f;background:rgba(212,169,79,.16)}

/* ===== شاشة السائق: تسجيل تعبئة (موبايل أولاً) ===== */
.mnt-driver{max-width:520px;margin:0 auto;padding:18px 18px 22px;display:flex;flex-direction:column}
.mnt-driver .dv-l{display:block;font-size:13px;font-weight:600;margin:14px 0 6px}
.mnt-driver .dv-l:first-child{margin-top:0}
.mnt-driver .dv-in{width:100%;box-sizing:border-box;min-height:52px;font-size:17px;padding:12px 14px;border-radius:12px;
  border:1px solid var(--line,rgba(255,255,255,.12));background:var(--card-2,rgba(255,255,255,.04));color:inherit;font-family:inherit}
.mnt-driver .dv-in:focus{outline:none;border-color:#C9A24B;box-shadow:0 0 0 3px rgba(201,162,75,.18)}
.mnt-driver input[type=number].dv-in{direction:ltr;text-align:start;font-variant-numeric:tabular-nums}
.mnt-driver .dv-note{font-size:12px;color:var(--muted,#93707f);margin-top:6px}
.mnt-driver .dv-total{display:flex;align-items:baseline;gap:8px;margin:16px 0 4px;padding:14px 16px;border-radius:12px;
  background:rgba(150,37,92,.10);border:1px solid rgba(201,162,75,.35)}
.mnt-driver .dv-total b{font-size:26px;font-weight:800}
.mnt-driver .dv-check{display:flex;align-items:center;gap:10px;margin:16px 0 4px;font-size:15px;cursor:pointer;
  padding:12px 14px;border-radius:12px;border:1px solid var(--line,rgba(255,255,255,.12))}
.mnt-driver .dv-check input{width:22px;height:22px;accent-color:#C9A24B}
.mnt-driver .dv-photo{display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;border-radius:12px;cursor:pointer;
  border:2px dashed var(--line,rgba(255,255,255,.18));font-size:15px;font-weight:600}
.mnt-driver .dv-photo svg{width:24px;height:24px}
.mnt-driver .dv-photo.on{border-style:solid;border-color:#C9A24B;color:#C9A24B}
.mnt-driver .dv-gps{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12.5px;color:var(--muted,#93707f)}
.mnt-driver .dv-gps svg{width:16px;height:16px}
.mnt-driver .dv-gps.on{color:#0e9f6e}
.mnt-driver .dv-submit{margin-top:20px;min-height:56px;font-size:17px;font-weight:700;justify-content:center}
.mnt-driver .dv-submit svg{width:20px;height:20px}
@media (max-width:560px){
  .mnt-driver{padding:14px 14px 18px;border-radius:14px}
  .mnt-stats{grid-template-columns:1fr 1fr;gap:8px}
}
