/* The delivery person's page, made for one hand on a phone */
:root { --navy: #0f172a; --navy-2: #1e293b; --blue: #2563eb; --amber: #f59e0b; --amber-2: #fbbf24; --ink: #182033; --muted: #64708a; --line: #e5e8ef; --page: #f4f6fa; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--page); color: var(--ink); font: 16px/1.7 'Inter', 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif; }
h2, h3, p, ul { margin: 0; }
.hidden { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; color: #fff; background: linear-gradient(120deg, var(--blue), var(--navy-2)); }
.top__who { display: grid; min-width: 0; }
.top__who b { font-size: 18px; line-height: 1.6; }
.top__who small { color: #cbd5e1; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.langs { display: flex; flex: none; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.langs a { min-width: 34px; padding: 3px 6px; border-radius: 8px; color: #cbd5e1; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.langs a.on { color: var(--navy); background: var(--amber-2); }
.wrap { display: grid; gap: 12px; max-width: 620px; margin: 0 auto; padding: 14px 14px 28px; }
.note { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid; border-radius: 12px; font-size: 14.5px; }
.note--warn { color: #78350f; background: #fef3c7; border-color: #fcd34d; }
.note--ok, .note--on { color: #14532d; background: #e3f6e9; border-color: #9ad6ae; }
.note--on { justify-content: flex-start; }
.note--err { color: #8b1414; background: #fde8e8; border-color: #f0b3b3; }
.dot { width: 11px; height: 11px; flex: none; border-radius: 50%; background: #15803d; box-shadow: 0 0 0 4px rgba(21, 128, 61, .18); }
.order { display: grid; gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.order--live { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.order__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 14px; }
.chip { padding: 1px 10px; border-radius: 99px; color: var(--navy); background: var(--amber-2); font-size: 13px; font-weight: 700; }
.order h2 { font-size: 19px; line-height: 1.6; }
.where { font-size: 15px; }
.memo { padding: 6px 10px; border-radius: 10px; color: #78350f; background: #fef3c7; font-size: 14px; }
.items { padding: 0; color: var(--muted); font-size: 14px; list-style: none; }
.collect { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--page); }
.collect b { font-size: 18px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: 700 15px/1.6 'Inter', 'Cairo', 'Segoe UI', Tahoma, sans-serif; text-decoration: none; cursor: pointer; }
.btn--amber { border-color: var(--amber); color: var(--navy); background: linear-gradient(180deg, #fcd34d, var(--amber)); }
.btn--big { min-height: 54px; font-size: 17px; }
.btn--line { color: var(--blue); border-color: #d5dae4; background: #fff; }
.note .btn { width: auto; min-height: 40px; flex: none; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 48px 16px; color: var(--muted); text-align: center; }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
dialog { width: min(92vw, 420px); padding: 18px; border: 0; border-radius: 16px; color: var(--ink); }
dialog::backdrop { background: rgba(15, 23, 42, .6); }
dialog h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.7; }
dialog textarea { width: 100%; margin-bottom: 12px; padding: 10px; border: 1px solid #d5dae4; border-radius: 10px; color: var(--ink); background: #fff; font: 15px/1.7 'Inter', 'Cairo', 'Segoe UI', Tahoma, sans-serif; }
.dlg { display: grid; gap: 8px; }
