body { background: #f3f4f6; }

.topbar {
  background: linear-gradient(120deg, #134e4a, #0f766e);
  color: #fff;
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar .row { width: min(620px, 100%); margin: 0 auto; }
.topbar strong { font-size: 18px; }
.muted-light { color: rgba(255, 255, 255, 0.72); }
.topbar .btn.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.topbar .btn.ghost:hover { background: rgba(255, 255, 255, 0.24); }

.driver-main { padding-top: 16px; display: grid; gap: 14px; }

.online-card strong { font-size: 24px; display: block; }
.online-hint { margin-top: 8px; }

#mode-notice { margin: 0; }

.pending-list { display: grid; gap: 12px; margin-top: 12px; }

.order-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.order-card .route { font-size: 16px; font-weight: 600; line-height: 1.6; }
.order-card .route em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  display: inline-block;
  min-width: 46px;
}
.order-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 12px;
}
.order-card .price { color: var(--brand-dark); font-weight: 700; font-size: 18px; }
.order-card .claim { width: 100%; }

.order-body .line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.order-body .line:last-child { border-bottom: 0; }
.order-body .line span:first-child { color: var(--muted); }
.order-body a.call {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 26px 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin-top: 12px;
}

.order-body .btn.wide { margin-top: 14px; }

.photo-box { margin-top: 12px; }
.photo-box img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-top: 6px;
  background: #f3f4f6;
}

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 12px; }
.pay-grid .field { margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 4px 0 12px; }
.check input { width: 18px; height: 18px; }

dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(420px, calc(100% - 32px));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}
dialog::backdrop { background: rgba(15, 23, 42, 0.45); }
.dialog-body { padding: 20px; }
.dialog-body h2 { font-size: 18px; margin-bottom: 6px; }
.dialog-body input[type="file"] { margin: 14px 0 6px; width: 100%; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

@media (max-width: 420px) {
  .pay-grid { grid-template-columns: 1fr; }
}

