:root {
  --bg: #f3f7fb;
  --panel: #ffffff;
  --ink: #10213b;
  --muted: #607086;
  --line: #d8e2ed;
  --brand: #0f7b83;
  --brand-2: #f47a21;
  --danger: #dc2626;
  --ok: #15803d;
  --warn: #d97706;
  --shadow: 0 16px 45px rgba(15, 29, 51, .12);
}

/* Conclusao do cadastro apos o primeiro acesso */
.status-toggle.incomplete { background:#fff7ed; border-color:#fdba74; color:#9a3412; text-decoration:none; }
.registration-callout { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 18px; padding:18px; border:1px solid #fdba74; border-radius:16px; background:linear-gradient(135deg,#fff7ed,#fffbeb); }
.registration-callout strong { display:block; color:#9a3412; font-size:17px; }
.registration-callout p { margin:5px 0 0; color:#7c2d12; }
.complete-registration { max-width:1050px; }
.complete-heading { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:18px; }
.complete-heading span { color:var(--brand-2); font-weight:800; text-transform:uppercase; font-size:12px; }
.complete-heading h2 { margin:4px 0; }
.complete-heading p { margin:0; color:var(--muted); }
.complete-heading > b { padding:8px 12px; border-radius:999px; background:#fff7ed; color:#9a3412; font-size:11px; }
.complete-form { display:grid; gap:16px; }
.complete-form fieldset { margin:0; padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.complete-form legend { padding:0 8px; color:#172033; font-weight:800; }
.complete-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.complete-grid .wide { grid-column:span 2; }
.complete-grid select { width:100%; min-height:46px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.complete-checks, .consent-list { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:14px; }
.complete-checks label, .consent-list label { display:flex; align-items:center; gap:7px; color:#334155; font-size:13px; }
.consent-list { display:grid; }

@media (max-width:760px) {
  .registration-callout, .complete-heading { align-items:stretch; flex-direction:column; }
  .complete-grid { grid-template-columns:1fr; }
  .complete-grid .wide { grid-column:1; }
  .complete-form fieldset { padding:14px; }
}

.location-tracker {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
}

.location-tracker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, .13);
}

.location-tracker strong,
.location-tracker small {
  display: block;
}

.location-tracker small {
  margin-top: 2px;
  color: #64748b;
  line-height: 1.35;
}

.location-tracker[data-state="active"] {
  border-color: #86efac;
  background: #f0fdf4;
}

.location-tracker[data-state="active"] .location-tracker-dot {
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, .13);
}

.location-tracker[data-state="warning"] {
  border-color: #fde68a;
  background: #fffbeb;
}

.location-tracker[data-state="error"] {
  border-color: #fecaca;
  background: #fef2f2;
}

.location-tracker[data-state="error"] .location-tracker-dot {
  background: #dc2626;
  box-shadow: 0 0 0 5px rgba(220, 38, 38, .13);
}

.location-tracker[data-state="paused"] .location-tracker-dot {
  background: #94a3b8;
  box-shadow: 0 0 0 5px rgba(148, 163, 184, .13);
}

.offer-deadline {
  flex: 1 0 100%;
  padding: 10px 12px;
  border: 1px solid #fdba74;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.offer-deadline strong {
  color: #c2410c;
  font-size: 18px;
}

@media (max-width: 600px) {
  .location-tracker {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .location-tracker .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }
button, input {
  font: inherit;
}

select {
  font: inherit;
}

.ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(120deg, rgba(15, 29, 51, .92), rgba(15, 123, 131, .7)),
    url("image/delivery-man.gif") center/cover no-repeat;
}

.login-card {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #101d33;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(15, 29, 51, .18);
  text-decoration: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand h1 {
  margin: 0;
  font-size: 25px;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  outline: none;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 123, 131, .13);
}

.register-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 12px;
}

.register-location-grid .field {
  min-width: 0;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 15px;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.btn.orange { background: var(--brand-2); }
.btn.danger { background: var(--danger); }
.btn.online { background: #16a34a; }
.btn.offline { background: #64748b; }
.btn.light {
  background: #eaf1f7;
  color: var(--ink);
}
.btn.disabled {
  opacity: .58;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(.25);
}
.btn.block { width: 100%; }

.status-toggle {
  min-width: 150px;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
  text-align: left;
}

.status-toggle.online {
  background: linear-gradient(135deg, #16a34a, #087a38);
}

.status-toggle.offline {
  background: linear-gradient(135deg, #ef4444, #991b1b);
}

.status-toggle .status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
  flex: 0 0 auto;
}

.status-toggle span:last-child {
  display: grid;
  gap: 1px;
}

.status-toggle b,
.status-toggle small {
  color: #fff;
  line-height: 1.05;
}

.status-toggle b {
  font-size: 14px;
}

.status-toggle small {
  font-size: 10px;
  font-weight: 900;
  opacity: .86;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #101d33;
  color: #fff;
  padding: 12px max(14px, env(safe-area-inset-left)) 12px max(14px, env(safe-area-inset-right));
  box-shadow: 0 8px 28px rgba(15, 29, 51, .18);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar .brand {
  margin: 0;
}

.topbar .brand h1 {
  font-size: 18px;
}

.topbar .brand small {
  color: rgba(255, 255, 255, .72);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 4px 7px;
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.profile-link .ui-icon {
  width: 14px;
  height: 14px;
}

.deliveryman-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}

.deliveryman-code span,
.deliveryman-code em {
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.deliveryman-code strong {
  color: #ffd3b2;
  font-size: 15px;
}

.deliveryman-code em {
  color: rgba(255, 255, 255, .7);
}

.deliveryman-code:active {
  transform: translateY(1px);
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.deliveryman-controls {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.deliveryman-controls form {
  display: flex;
}

.app-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 14px 90px;
}

.profile-page {
  min-height: calc(100vh - 80px);
  padding: 22px 14px 90px;
}

.profile-card {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.profile-heading h2,
.profile-heading p {
  margin: 3px 0 0;
}

.profile-heading > div:last-child > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-avatar {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #101d33;
  box-shadow: 0 8px 24px rgba(15, 29, 51, .2);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-photo-field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-photo-field input {
  width: 100%;
}

.profile-photo-field small,
.password-box p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.profile-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr .45fr;
  gap: 12px;
}

.password-box {
  margin: 4px 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.password-box legend {
  color: var(--ink);
  font-weight: 900;
}

.password-box .profile-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.profile-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.profile-top-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.profile-top-button .ui-icon {
  width: 17px;
  height: 17px;
}

.profile-heading {
  padding: 6px 4px 18px;
}

.profile-avatar {
  position: relative;
  width: 112px;
  height: 112px;
  cursor: pointer;
}

.profile-avatar input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.profile-avatar > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 5px 4px;
  background: rgba(15, 29, 51, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.profile-identity {
  min-width: 0;
}

.profile-identity h2 {
  font-size: 26px;
}

.profile-identity > p {
  color: var(--muted);
  font-weight: 700;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.profile-status b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-2);
}

.profile-status .ui-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.profile-status b.online,
.profile-status b.offline {
  color: var(--ink);
}

.profile-status i,
.summary-status {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  background: #94a3b8;
}

.profile-status .online i,
.summary-status.online {
  background: #16a34a;
}

.profile-status .offline i,
.summary-status.offline {
  background: #dc2626;
}

.profile-code-copy {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-code-copy strong {
  color: var(--brand);
}

.profile-summary {
  margin: 0 0 18px;
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, #fff8f1, #fff3e8);
  border: 1px solid #ffead8;
}

.profile-summary h3 {
  margin: 0 0 16px;
  font-size: 17px;
}

.profile-summary > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-summary article {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 4px 12px;
  text-align: center;
}

.profile-summary article + article {
  border-left: 1px solid #f5d8bf;
}

.profile-summary .ui-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-2);
}

.profile-summary article strong {
  font-size: 23px;
}

.profile-summary article span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-setting-card,
.profile-logout {
  margin-top: 12px;
  border: 1px solid #e5eaf0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 29, 51, .07);
  overflow: hidden;
}

.profile-setting-card summary,
.profile-logout button {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 14px 18px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  list-style: none;
}

.profile-setting-card summary::-webkit-details-marker {
  display: none;
}

.profile-setting-card summary > .ui-icon,
.profile-logout .ui-icon {
  color: var(--brand-2);
}

.profile-setting-card summary span strong,
.profile-setting-card summary span small,
.profile-logout span strong,
.profile-logout span small {
  display: block;
}

.profile-setting-card summary span small,
.profile-logout span small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.profile-setting-card summary > b,
.profile-logout button > b {
  color: #94a3b8;
  font-size: 28px;
  font-weight: 400;
  transition: transform .2s ease;
}

.profile-setting-card[open] summary > b {
  transform: rotate(90deg);
}

.profile-setting-content {
  border-top: 1px solid var(--line);
  padding: 16px 18px 4px;
}

.profile-photo-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.profile-fields.password-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-logout button {
  color: #dc2626;
}

.profile-logout .ui-icon {
  color: #dc2626;
}

.hero-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 29, 51, .06);
}

.metric small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.period-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: -2px 0 14px;
}

.period-tab {
  min-width: 86px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 29, 51, .06);
}

.period-tab.active {
  background: var(--brand-2);
  color: #fff;
  border-color: var(--brand-2);
}

.orders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}

.earnings-filter {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 29, 51, .06);
}

.earnings-filter label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.earnings-filter input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
}

.earnings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.earnings-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.earning-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 29, 51, .06);
}

.earning-card > div:first-child {
  grid-column: 1 / -1;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.earning-card strong,
.earning-card b,
.earning-card span,
.earning-card small {
  display: block;
}

.earning-card span,
.earning-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.earning-card b {
  margin-top: 3px;
  font-size: 14px;
}

.phone-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wa-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(22, 163, 74, .22);
}

.call-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-2);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(244, 122, 33, .22);
}

.call-button .ui-icon {
  width: 16px;
  height: 16px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.route-action {
  margin: 4px 0 0;
}

.order-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 29, 51, .07);
  overflow: hidden;
}

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.order-head h2 {
  margin: 0 0 5px;
  font-size: 18px;
}

.order-head span {
  color: var(--muted);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  color: #fff !important;
  background: var(--brand);
}

.badge.warn { background: var(--warn); color: #fff !important; }
.badge.ok { background: var(--ok); color: #fff !important; }
.badge.danger { background: var(--danger); color: #fff !important; }

.order-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.35;
}

.line strong {
  min-width: 82px;
  color: var(--ink);
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef8f8;
  color: #084b51;
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 900;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.new-delivery-card {
  --offer-progress: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e6e8ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 29, 51, .14);
}

.new-delivery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
}

.new-delivery-heading > div:first-child > span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.new-delivery-heading h2 {
  margin: 4px 0 3px;
  color: #171b24;
  font-size: 26px;
}

.new-delivery-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.offer-countdown {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--brand-2) calc(var(--offer-progress) * 1turn), #ffe2cc 0);
  color: #171b24;
  text-align: center;
  position: relative;
}

.offer-countdown::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: #fff;
}

.offer-countdown small,
.offer-countdown strong {
  position: relative;
  z-index: 1;
}

.offer-countdown small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-countdown strong {
  margin-top: 1px;
  color: #f15a12;
  font-size: 18px;
}

.offer-earning {
  display: grid;
  justify-items: center;
  margin: 0 16px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #111827, #0a0d12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.offer-earning span,
.offer-earning small {
  color: #d1d5db;
  font-weight: 700;
}

.offer-earning strong {
  margin: 4px 0;
  color: #35c83b;
  font-size: clamp(38px, 8vw, 54px);
  letter-spacing: -.03em;
}

.offer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px;
  border: 1px solid #e7e9ed;
  border-radius: 18px;
  background: #fff;
}

.offer-facts > div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 12px;
  text-align: left;
}

.offer-facts > div + div {
  border-left: 1px solid #e7e9ed;
}

.offer-facts .ui-icon {
  width: 25px;
  height: 25px;
  color: #1f2937;
}

.offer-facts small,
.offer-facts strong {
  display: block;
}

.offer-facts small {
  color: var(--muted);
  font-size: 11px;
}

.offer-facts strong {
  margin-top: 3px;
  overflow: hidden;
  color: #171b24;
  font-size: 13px;
  text-overflow: ellipsis;
}

.offer-merchant {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 16px 12px;
  padding: 14px;
  border: 1px solid #e7e9ed;
  border-radius: 18px;
}

.offer-merchant img,
.offer-merchant-placeholder {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #fed7aa;
  border-radius: 50%;
  background: #fff7ed;
  object-fit: cover;
  color: var(--brand-2);
}

.offer-merchant > div small,
.offer-merchant > div strong,
.offer-merchant > div span {
  display: block;
}

.offer-merchant > div small {
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 900;
}

.offer-merchant > div strong {
  margin: 3px 0;
  color: #171b24;
  font-size: 18px;
}

.offer-merchant > div span {
  color: var(--muted);
  font-size: 12px;
}

.offer-map-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 0 12px;
  color: #ea580c;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.offer-route {
  margin: 0 16px 12px;
  border: 1px solid #e7e9ed;
  border-radius: 18px;
  padding: 18px;
}

.offer-route-stop {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
}

.offer-route-stop + .offer-route-stop {
  margin-top: 18px;
}

.offer-route-stop + .offer-route-stop::before {
  content: "";
  position: absolute;
  left: 16px;
  bottom: calc(100% - 4px);
  height: 27px;
  border-left: 2px dashed #cbd5e1;
}

.offer-route-stop i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0e5;
  color: var(--brand-2);
}

.offer-route-stop.delivery i {
  background: #e8f8e8;
  color: #20a72a;
}

.offer-route-stop i .ui-icon {
  width: 18px;
  height: 18px;
}

.offer-route-stop small,
.offer-route-stop strong,
.offer-route-stop span {
  display: block;
}

.offer-route-stop small {
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-route-stop.delivery small { color: #159222; }

.offer-route-stop strong {
  margin: 3px 0;
  color: #171b24;
}

.offer-route-stop span {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.4;
}

.offer-contact-row,
.offer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 16px 12px;
  border: 1px solid #e7e9ed;
  border-radius: 16px;
  padding: 13px 16px;
}

.offer-contact-row small,
.offer-contact-row strong {
  display: block;
}

.offer-contact-row small { color: var(--muted); }
.offer-contact-row strong { margin-top: 3px; }

.offer-note {
  display: flex;
  gap: 11px;
  margin: 0 16px 12px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 13px 16px;
  background: #fff8ef;
}

.offer-note > span {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-2);
  color: #fff;
  font-weight: 900;
}

.offer-note strong { color: #ea580c; }
.offer-note p { margin: 3px 0 0; color: #4b5563; font-size: 13px; line-height: 1.4; }

.offer-total {
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
}

.offer-total strong { color: #171b24; font-size: 19px; }

.new-delivery-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(180px, 1.4fr);
  gap: 12px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #e7e9ed;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}

.new-delivery-actions form,
.new-delivery-actions .btn {
  width: 100%;
}

.btn.accept {
  background: linear-gradient(135deg, #35c83b, #20a72a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(32, 167, 42, .24);
}

.empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed var(--line);
  color: var(--muted);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  font-weight: 800;
}

.alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-weight: 800;
}

.alert.error {
  color: #991b1b;
  background: #fee2e2;
}

.alert.ok {
  color: #166534;
  background: #dcfce7;
}

.notify-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  background: rgba(5, 10, 18, .82);
  backdrop-filter: blur(8px);
}

.notify-card {
  width: min(520px, 100%);
  overflow: hidden;
  border: 2px solid rgba(244, 122, 33, .55);
  border-radius: 24px;
  background: #fff;
  color: #171b24;
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  animation: notifyArrival .28s ease-out;
}

.notify-card > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, #111827, #090c11);
  color: #fff;
}

.notify-kicker {
  margin: 0 0 5px !important;
  color: #fb923c !important;
  font-size: 11px !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notify-card .notify-countdown {
  display: inline-block;
  margin-top: 9px;
  border: 1px solid rgba(253, 186, 116, .55);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(194, 65, 12, .28);
  color: #ffedd5;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.notify-card .notify-countdown[hidden] {
  display: none;
}

.notify-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.notify-order-summary { padding: 16px; }

.notify-order-summary[hidden] { display: none; }

.notify-earning {
  display: grid;
  justify-items: center;
  border-radius: 18px;
  padding: 15px;
  background: #f0fdf4;
}

.notify-earning small { color: #166534; font-weight: 800; }
.notify-earning strong { margin-top: 3px; color: #22a82b; font-size: 36px; }

.notify-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.notify-route > span {
  height: 2px;
  margin: 0 !important;
  background: linear-gradient(90deg, var(--brand-2), #2bb636);
}

.notify-route small,
.notify-route strong,
.notify-route em { display: block; }
.notify-route small { color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.notify-route strong { margin-top: 3px; font-size: 14px; }
.notify-route em { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

.notify-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.notify-meta span {
  margin: 0 !important;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f1f5f9;
  color: #475569 !important;
  font-size: 11px !important;
}

.notify-order-actions {
  display: grid;
  grid-template-columns: .8fr .9fr 1.35fr;
  gap: 9px;
  padding: 0 16px 16px;
}

.notify-order-actions[hidden] {
  display: none;
}

.notify-order-actions form {
  margin: 0;
}

.notify-order-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding-inline: 10px;
}

.notify-overlay[hidden] {
  display: none;
}

.notify-card > header strong,
.notify-card > header span {
  display: block;
}

.notify-card > header strong {
  font-size: 17px;
}

.notify-card > header span {
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 800;
}

@keyframes notifyArrival {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.detail-panel h2 {
  margin: 0;
}

.detail-modern {
  display: grid;
  gap: 14px;
}

.detail-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.detail-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.detail-main-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ff7a1a, #ff5b00);
  box-shadow: 0 18px 34px rgba(244, 122, 33, .26);
}

.detail-main-icon .ui-icon {
  width: 38px;
  height: 38px;
}

.detail-hero h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.05;
}

.detail-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.detail-hero p b {
  color: var(--brand-2);
}

.detail-status {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #ff8b26, #ff5b00);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.time-chip,
.icon-button {
  min-height: 54px;
  border: 2px solid var(--brand-2);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--brand-2);
  background: #fff;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}

.time-chip {
  padding: 0 16px;
}

.icon-button {
  width: 58px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.detail-info-card:last-child {
  border-right: 0;
}

.detail-info-card > .ui-icon {
  width: 30px;
  height: 30px;
  color: var(--brand-2);
}

.detail-info-card span,
.payment-summary span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.detail-info-card strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.address-card strong {
  font-size: clamp(16px, 2vw, 21px);
}

.map-button {
  margin-top: 8px;
  min-height: 42px;
  border: 2px solid var(--brand-2);
  border-radius: 12px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-2);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.payment-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  background: #fff;
}

.payment-summary > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-summary > div:last-child {
  margin-left: auto;
}

.payment-summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.payment-summary .ui-icon {
  color: var(--brand-2);
}

.payment-summary strong {
  color: var(--ink);
  font-size: 20px;
}

.payment-summary > div:last-child strong {
  color: var(--brand-2);
  font-size: 23px;
}

.payment-form {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.payment-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 22px;
}

.payment-form h3 .ui-icon {
  color: var(--brand-2);
}

.payment-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px 28px;
  margin-bottom: 16px;
}

.payment-entry-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(130px, .9fr) minmax(130px, .9fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
}

.payment-grid label,
.payment-entry-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.payment-grid select,
.payment-grid input,
.payment-entry-grid select,
.payment-entry-grid input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-size: 19px;
  font-weight: 900;
}

.payment-add-button {
  min-height: 56px;
  white-space: nowrap;
}

.payment-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.payment-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8fbff;
}

.payment-list-row strong,
.payment-list-row span {
  display: block;
}

.payment-list-row span {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.payment-list-row button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 900;
}

.payment-balance {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 900;
}

.payment-balance span:last-child.ok {
  color: var(--ok);
}

.payment-balance span:last-child.warn {
  color: var(--danger);
}

.detail-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  padding: 20px 24px;
  background: #eefafa;
  color: #075b5f;
  font-size: 25px;
  font-weight: 900;
}

.items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.detail-items {
  margin-top: 0;
}

.detail-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-radius: 15px;
  padding: 18px 22px;
}

.qty-chip {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff0e6;
  color: var(--brand-2);
  font-size: 20px;
  font-weight: 900;
}

.item strong {
  display: block;
}

.detail-item strong {
  font-size: 21px;
}

.detail-item .muted {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
}

.item-price {
  white-space: nowrap;
  font-size: 20px !important;
}

.muted {
  color: var(--muted);
}

.bottom-refresh {
  display: none;
}

@media (max-width: 720px) {
  .app-shell:has(.new-delivery-card) {
    padding: 10px 8px 82px;
  }

  .new-delivery-card {
    border-radius: 20px;
  }

  .new-delivery-heading {
    padding: 16px;
  }

  .new-delivery-heading h2 {
    font-size: 23px;
  }

  .offer-countdown {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .offer-earning,
  .offer-facts,
  .offer-merchant,
  .offer-route,
  .offer-contact-row,
  .offer-note,
  .offer-total {
    margin-right: 10px;
    margin-left: 10px;
  }

  .offer-facts > div {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 13px 7px;
    text-align: center;
  }

  .offer-facts strong {
    max-width: 100%;
    white-space: nowrap;
  }

  .offer-merchant {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .offer-merchant img,
  .offer-merchant-placeholder {
    width: 50px;
    height: 50px;
  }

  .offer-map-button {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .hero-row {
    grid-template-columns: 1fr;
  }

  .profile-card {
    border: 0;
    padding: 10px 4px;
    background: transparent;
    box-shadow: none;
  }

  .profile-fields,
  .password-box .profile-fields,
  .profile-fields.password-fields {
    grid-template-columns: 1fr;
  }

  .profile-heading {
    align-items: center;
    padding-inline: 8px;
  }

  .profile-avatar {
    width: 96px;
    height: 96px;
  }

  .profile-identity h2 {
    font-size: 22px;
  }

  .profile-summary {
    padding: 15px 8px;
  }

  .profile-summary article {
    padding-inline: 6px;
  }

  .profile-summary article strong {
    font-size: 19px;
  }

  .profile-setting-card summary,
  .profile-logout button {
    padding-inline: 14px;
  }

  .profile-actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
  }

  .topbar .brand {
    min-height: 48px;
    padding-right: 72px;
  }

  .top-actions {
    width: 100%;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .deliveryman-controls {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .deliveryman-controls form {
    flex: 1 1 0;
    min-width: 0;
  }

  .top-actions .logout-form {
    position: absolute;
    top: 0;
    right: 0;
  }

  .deliveryman-controls .status-toggle {
    width: 100%;
    min-width: 0;
  }

  .deliveryman-code {
    flex: 0 0 auto;
  }

  .deliveryman-code em {
    display: none;
  }

  .top-actions .btn.light {
    padding-inline: 10px;
  }

  .orders {
    grid-template-columns: 1fr;
  }

  .earnings-filter {
    display: grid;
  }

  .earnings-grid {
    grid-template-columns: 1fr;
  }

  .earnings-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .earning-card {
    grid-template-columns: 1fr;
    gap: 7px;
    min-width: 0;
    padding: 10px;
    overflow-wrap: anywhere;
  }

  .earning-card > div:first-child {
    grid-column: auto;
    padding-bottom: 7px;
  }

  .earning-card span,
  .earning-card small {
    font-size: 10px;
  }

  .earning-card b {
    font-size: 13px;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-entry-grid {
    grid-template-columns: 1fr;
  }

  .payment-list-row,
  .payment-balance {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-panel {
    padding: 12px;
  }

  .detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero-left {
    gap: 12px;
  }

  .detail-main-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .detail-main-icon .ui-icon {
    width: 30px;
    height: 30px;
  }

  .detail-hero h2 {
    font-size: 27px;
  }

  .detail-status {
    padding: 7px 10px;
    font-size: 13px;
  }

  .detail-hero-actions {
    width: 100%;
  }

  .time-chip {
    flex: 1;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .detail-info-card {
    min-height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-info-card:last-child {
    border-bottom: 0;
  }

  .payment-summary {
    display: grid;
    padding: 16px;
  }

  .payment-summary > div,
  .payment-summary > div:last-child {
    justify-content: space-between;
    margin-left: 0;
  }

  .payment-form {
    padding: 16px;
  }

  .payment-grid select,
  .payment-grid input {
    min-height: 50px;
    font-size: 17px;
  }

  .detail-total {
    padding: 16px;
    font-size: 22px;
  }

  .detail-item {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 14px;
  }

  .qty-chip {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .item-price {
    grid-column: 2;
  }

  .order-actions .btn {
    flex: 1;
  }

  .bottom-refresh {
    display: flex;
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 30;
    box-shadow: var(--shadow);
  }

  .notify-overlay {
    grid-template-columns: 1fr;
  }

  .notify-order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .notify-view-link {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .notify-order-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .new-delivery-heading p {
    display: none;
  }

  .new-delivery-heading h2 {
    font-size: 21px;
  }

  .offer-countdown {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .offer-countdown strong {
    font-size: 16px;
  }

  .offer-facts small {
    font-size: 9px;
  }

  .offer-facts strong {
    font-size: 11px;
  }

  .new-delivery-actions {
    grid-template-columns: 1fr 1.45fr;
    gap: 8px;
    padding-inline: 10px;
  }

  .new-delivery-actions .btn {
    padding-inline: 8px;
    font-size: 13px;
  }

  .notify-overlay {
    align-items: end;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  }

  .notify-card {
    border-radius: 20px;
  }

  .notify-card > header {
    padding: 16px;
  }
}
