/* ==========================================================================
   Kapıdan Teslim — Global tasarım sistemi (açık, sıcak, modern)
   ========================================================================== */
:root {
  --bg: #f5f3ef;
  --bg-2: #ece8e1;
  --surface: #ffffff;
  --surface-2: #faf8f5;
  --text: #1a2228;
  --text-soft: #3c4750;
  --muted: #6a7680;
  --line: #e6e0d7;
  --line-strong: #d8d0c4;

  --primary: #d75a2b;
  --primary-dark: #bd4a20;
  --primary-soft: rgba(215, 90, 43, .10);
  --accent: #1d6e73;
  --accent-soft: rgba(29, 110, 115, .10);

  --success: #16a34a;
  --success-soft: rgba(22, 163, 74, .12);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, .12);
  --warning: #d97706;
  --warning-soft: rgba(217, 119, 6, .14);
  --info-soft: rgba(29, 110, 115, .12);

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(26, 34, 40, .06), 0 1px 3px rgba(26, 34, 40, .05);
  --shadow: 0 6px 20px rgba(26, 34, 40, .08);
  --shadow-lg: 0 20px 50px rgba(26, 34, 40, .14);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5rem; color: var(--text); }
p { margin: 0 0 .75rem; }

.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--text-soft); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.center { text-align: center; }
.mt { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid transparent; border-radius: 999px;
  padding: .7rem 1.3rem; font: inherit; font-weight: 600; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; text-decoration: none !important;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { --btn-bg: var(--accent); }
.btn-success { --btn-bg: var(--success); }
.btn-danger { --btn-bg: var(--danger); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--primary); box-shadow: var(--shadow-sm); }
.btn-ghost, .btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-outline:hover { background: var(--surface-2); border-color: var(--muted); }
.btn-sm { padding: .5rem .9rem; font-size: .875rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Forms ---------- */
label { display: block; font-size: .875rem; font-weight: 500; color: var(--text-soft); margin-bottom: .9rem; }
input, select, textarea {
  width: 100%; margin-top: .4rem; padding: .72rem .9rem;
  font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
textarea { resize: vertical; min-height: 72px; }
.form-stack > label { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-grid { display: grid; gap: 1rem; }
.checkbox {
  display: flex; align-items: flex-start; gap: .6rem; font-weight: 500;
}
.checkbox input { width: auto; margin: .15rem 0 0; }
.otp-input { letter-spacing: .5rem; font-size: 1.4rem; text-align: center; font-weight: 700; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin: 0 0 1rem; }
legend { padding: 0 .4rem; color: var(--accent); font-weight: 600; }

/* ---------- Flash ---------- */
.flash-stack {
  position: fixed; top: 1rem; right: 1rem; z-index: 2000;
  display: grid; gap: .5rem; max-width: min(380px, calc(100% - 2rem));
}
.flash {
  padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); border-left-width: 4px; font-size: .92rem;
  animation: flash-in .25s ease;
}
@keyframes flash-in { from { opacity: 0; transform: translateX(12px); } }
.flash-success { border-left-color: var(--success); }
.flash-danger  { border-left-color: var(--danger); }
.flash-warning { border-left-color: var(--warning); }
.flash-info    { border-left-color: var(--accent); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--primary), #ef8a5b);
  position: relative; box-shadow: var(--shadow-sm);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px;
  border: 2px solid #fff; border-radius: 4px; opacity: .9;
}
.brand-text { font-size: 1.12rem; letter-spacing: -.01em; }

/* ---------- Public header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 243, 239, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a:not(.btn) { color: var(--text-soft); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--primary); text-decoration: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Public footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.footer-grid strong { display: block; margin-bottom: .5rem; font-family: var(--font-display); }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .92rem; margin: .2rem 0; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- Cards / generic ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .5rem; }
.card.highlight { border-color: var(--primary); background: var(--primary-soft); }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty-state .empty-ico { font-size: 2.5rem; margin-bottom: .5rem; }
.code-display { font-size: 2.2rem; letter-spacing: .35rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.status-big { font-size: 1.3rem; font-weight: 700; }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
}
.badge-lg { font-size: .92rem; padding: .4rem .9rem; }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-muted { background: var(--bg-2); color: var(--muted); }
.pill {
  display: inline-block; padding: .35rem .8rem; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark); font-size: .82rem; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); }
.dot-live { background: var(--success); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }

/* ---------- Filter row ---------- */
.filter-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.filter-row a {
  padding: .45rem .95rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.filter-row a:hover { text-decoration: none; border-color: var(--muted); }
.filter-row a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.stat-card .stat-ico { position: absolute; right: .9rem; top: .9rem; font-size: 1.3rem; opacity: .6; }
.stat-card span { color: var(--muted); font-size: .85rem; }
.stat-card strong { display: block; font-size: 2rem; font-family: var(--font-display); margin-top: .2rem; }

/* ==========================================================================
   AUTH (giriş / kayıt / setup) — ortalanmış açık kart
   ========================================================================== */
.auth-shell {
  min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem;
  background:
    radial-gradient(1100px 500px at 12% -8%, var(--primary-soft), transparent 60%),
    radial-gradient(900px 460px at 90% 0%, var(--accent-soft), transparent 55%),
    var(--bg);
}
.auth-card {
  width: min(430px, 100%); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-lg);
}
.auth-card-wide { width: min(540px, 100%); }
.auth-brand { display: inline-flex; margin-bottom: 1.2rem; }
.auth-card h1 { font-size: 1.5rem; }
.auth-links { text-align: center; margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.setup-token-box { background: var(--surface-2); border: 1px dashed var(--primary); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1.2rem; }
.setup-token { display: block; margin-top: .5rem; padding: .7rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; word-break: break-all; font-family: monospace; color: var(--primary-dark); }

/* ==========================================================================
   ADMIN (masaüstü) — sabit yan menü
   ========================================================================== */
.adm { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; width: 100%; }
.adm-backdrop {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,.4); pointer-events: none;
}
.adm-side {
  background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 1.1rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.adm-side .brand { margin: .3rem .4rem 1.3rem; }
.adm-side .brand-logo { height: 42px; max-width: 180px; object-fit: contain; }
.adm-nav { display: grid; gap: .2rem; }
.adm-nav a {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .8rem; border-radius: var(--radius-sm);
  color: var(--text-soft); font-weight: 500; font-size: .94rem;
}
.adm-nav a:hover { background: var(--surface-2); text-decoration: none; }
.adm-nav a.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.adm-nav a.active .nav-ico { opacity: 1; }
.nav-ico { width: 20px; height: 20px; flex: none; opacity: .75; }
.adm-nav .nav-count { margin-left: auto; background: var(--primary-soft); color: var(--primary-dark); border-radius: 999px; font-size: .72rem; font-weight: 700; padding: .1rem .5rem; }
.adm-nav a.active .nav-count { background: rgba(255,255,255,.25); color: #fff; }
.adm-side-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.adm-user { display: flex; align-items: center; gap: .6rem; padding: .3rem .4rem; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #2fa4a0); font-size: .95rem;
}
.adm-user small { color: var(--muted); }

.adm-body { min-width: 0; flex: 1; display: flex; flex-direction: column; width: 100%; }
.adm-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.6rem; border-bottom: 1px solid var(--line);
  background: rgba(245,243,239,.85); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 40;
}
.adm-top h1 { font-size: 1.35rem; margin: 0; }
.adm-top .subtitle { color: var(--muted); font-size: .88rem; }
.adm-main { padding: 1.6rem; }
.adm-toggle { display: none; }

.section-block { margin-bottom: 2rem; }
.section-block h2 { font-size: 1.05rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.request-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: .6rem; box-shadow: var(--shadow-sm);
}
.request-row .rr-main { flex: 1 1 200px; min-width: 0; }
.request-row .rr-route { color: var(--muted); font-size: .88rem; }

/* ---------- Courier live list (admin) ---------- */
.split-map { display: grid; grid-template-columns: 340px 1fr; gap: 1rem; align-items: start; }
.courier-list { display: grid; gap: .55rem; max-height: 560px; overflow-y: auto; }
.courier-item {
  display: flex; align-items: center; gap: .75rem; text-align: left;
  padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer; font: inherit; color: inherit; width: 100%;
  box-shadow: var(--shadow-sm);
}
.courier-item:hover { border-color: var(--primary); }
.courier-item.is-active { border-color: var(--primary); background: var(--primary-soft); }
.courier-item .ci-main { flex: 1; min-width: 0; }
.courier-item .ci-name { font-weight: 600; }
.courier-item .ci-meta { color: var(--muted); font-size: .8rem; }
.search-box { position: relative; margin-bottom: .8rem; }
.search-box input { margin: 0; padding-left: 2.4rem; }
.search-box .search-ico { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.map-box { height: 560px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-box.map-tall { height: 68vh; }

/* ==========================================================================
   COURIER / CUSTOMER (mobil öncelikli)
   ========================================================================== */
.mob { max-width: 640px; margin-inline: auto; min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }
.mob-top {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.1rem; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.mob-top .brand-text { font-size: 1rem; }
.mob-top h1 { font-size: 1.05rem; margin: 0; }
.mob-top .mob-back { font-size: 1.4rem; line-height: 1; color: var(--text); text-decoration: none; }
.mob-top .spacer { flex: 1; }
.mob-main { padding: 1.1rem; flex: 1; padding-bottom: 5rem; }
.mob-greet { margin-bottom: 1rem; }
.mob-greet h1 { font-size: 1.4rem; margin-bottom: .1rem; }
.mob-greet p { color: var(--muted); margin: 0; }

/* bottom nav (mobil) */
.mob-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(640px, 100%); background: var(--surface); border-top: 1px solid var(--line);
  display: flex; z-index: 50; padding: .4rem env(safe-area-inset-right) calc(.4rem + env(safe-area-inset-bottom)) env(safe-area-inset-left);
}
.mob-nav a {
  flex: 1; text-align: center; padding: .5rem; color: var(--muted); font-size: .72rem; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.mob-nav a:hover { text-decoration: none; }
.mob-nav a.active { color: var(--primary); }
.mob-nav .mn-ico { width: 24px; height: 24px; }

/* job cards */
.job-card {
  display: block; padding: 1rem 1.1rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem;
  box-shadow: var(--shadow-sm); color: inherit;
}
.job-card:hover { text-decoration: none; border-color: var(--primary); }
.job-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.job-card-ref { font-family: var(--font-display); font-weight: 700; }
.job-route { display: flex; align-items: center; gap: .5rem; color: var(--text-soft); font-size: .92rem; }
.job-route .arrow { color: var(--muted); }
.job-type { margin-top: .5rem; }

/* courier job action steps */
.step-flow { display: grid; gap: .5rem; margin: 1rem 0; }
.step-item { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--muted); font-size: .9rem; }
.step-item .step-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-size: .7rem; flex: none; }
.step-item.done { color: var(--text); }
.step-item.done .step-dot { background: var(--success); border-color: var(--success); color: #fff; }
.step-item.current { color: var(--primary-dark); font-weight: 600; }
.step-item.current .step-dot { border-color: var(--primary); color: var(--primary); }
.action-stack { position: sticky; bottom: 5rem; display: grid; gap: .6rem; }
.action-stack .btn { box-shadow: var(--shadow); }
.muted-box { background: var(--surface-2); color: var(--muted); }

/* ==========================================================================
   Kurye tipi seçici (başvuru + yeni talep)
   ========================================================================== */
.courier-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.courier-picker-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
  padding: 1.1rem .8rem; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer; font: inherit; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.courier-picker-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.courier-picker-item.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.courier-picker-label { font-weight: 600; font-size: .9rem; }
.courier-picker-desc { font-size: .74rem; color: var(--muted); line-height: 1.4; }
.courier-picker-icon {
  width: 42px; height: 42px; display: block; background-color: var(--accent);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.courier-picker-item.is-selected .courier-picker-icon { background-color: var(--primary); }
.courier-icon-car { -webkit-mask-image: var(--ico-car); mask-image: var(--ico-car); }
.courier-icon-motorcycle { -webkit-mask-image: var(--ico-motor); mask-image: var(--ico-motor); }
.courier-icon-bicycle { -webkit-mask-image: var(--ico-bike); mask-image: var(--ico-bike); }
.courier-icon-walk { -webkit-mask-image: var(--ico-walk); mask-image: var(--ico-walk); }
.courier-icon-truck { -webkit-mask-image: var(--ico-truck); mask-image: var(--ico-truck); }
:root {
  --ico-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
  --ico-motor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.44 9.03L15.41 5H11v2h2.17l2.54 2.54-.99 2.5A4.99 4.99 0 0 0 9 10c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5c0-1.02-.31-1.96-.84-2.75l1.43-3.58 1.82 1.82V15h2v-4.59l-2.97-2.38zM9 18c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z'/%3E%3C/svg%3E");
  --ico-bike: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5zm5.8-10l2.4-2.4 1.3 1.3-3.7 3.7H17v2h-5v-1.5l-1.2-1.2zM19 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z'/%3E%3C/svg%3E");
  --ico-walk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM9.8 8.9L7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13h2V9.6l1.8-.7'/%3E%3C/svg%3E");
  --ico-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .split-map { grid-template-columns: 1fr; }
  .courier-list { max-height: none; }
}
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side {
    position: fixed; left: 0; top: 0; z-index: 200; width: 280px; height: 100vh;
    transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  .adm.nav-open .adm-side { transform: translateX(0); }
  .adm-toggle { display: inline-flex; }
  .adm.nav-open .adm-backdrop { display: block; pointer-events: auto; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .courier-picker { grid-template-columns: 1fr 1fr; }
  .adm-main { padding: 1.1rem; }
}
@media (max-width: 420px) {
  .courier-picker { grid-template-columns: 1fr; }
}
