﻿@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-semibold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(13.5px, 1.105vw, 16px);
  --ink: #100e0d;
  --muted: #514e4d;
  --line: #e7e5e4;
  --surface: #fcfcfc;
  --black: #140e0a;
  --orange: #ff4a06;
  --orange-gradient: linear-gradient(112deg, #ff3507, #ff3a00 44%, #ff6900);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, ul { margin: 0; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

body {
  color: var(--ink);
  background: var(--surface);
}

.dashboard {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: clamp(12rem, 16vw, 13.6875rem) minmax(0, 1fr);
  grid-template-rows: 5.5rem 1fr;
}

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.375rem; height: 1.375rem; flex: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sidebar {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1.625rem 1.5rem 1.0625rem;
  border-right: 1px solid #e2e1e0;
  background: linear-gradient(100deg, #fdfdfd, #fbfbfb);
}

.brand { width: max-content; margin-left: .5625rem; }
.brand img { width: 10.5rem; height: auto; mix-blend-mode: multiply; }
.mobile-brand, .mobile-nav { display: none; }
.navigation { display: grid; margin-block: 2.25rem 1.5rem; }
.navigation :is(a, button) {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 3.0625rem;
  padding: 0 1.625rem;
  border-radius: .65rem;
  font-size: .8375rem;
  font-weight: 600;
  white-space: nowrap;
  color: #464343;
}
.navigation :is(a, button) .icon { color: #a09f9e; }
.navigation :is(a, button)[aria-current="page"] { color: var(--ink); font-weight: 700; }
.navigation :is(a, button)[aria-current="page"] .icon { color: var(--ink); }
.navigation :is(a, button):hover { background: #f2f0ef; }

.upgrade {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  padding: .9375rem 0 1.125rem;
  text-align: center;
  border-radius: 1.25rem;
  background: linear-gradient(#f5f3f2, #faf9f8 79%, #fdfcfc);
}
.upgrade img { width: 6.8125rem; height: 5.5rem; border-radius: 1rem; }
.upgrade-title { margin-top: .975rem; font-size: .93rem; font-weight: 700; line-height: 1.22; letter-spacing: -.035em; }
.upgrade-copy { margin-top: .8125rem; color: var(--muted); font-size: .84rem; line-height: 1.42; }
.button-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.5625rem;
  border-radius: .875rem;
  padding: .6rem 1.25rem;
  color: #fff;
  background: var(--orange-gradient);
  font-size: .84rem;
  font-weight: 700;
}
.button-primary:hover { filter: brightness(.94); }
.upgrade .button-primary { width: 7.5rem; margin-top: 1.3125rem; }

.topbar {
  display: flex;
  align-items: center;
  gap: 1.8125rem;
  padding: 0 2.1875rem 0 2.1875rem;
  border-bottom: 1px solid var(--line);
  background: #fdfdfd;
}
.topbar h1 { font-size: 1.23rem; font-weight: 600; letter-spacing: -.026em; white-space: nowrap; }
.search {
  display: flex;
  align-items: center;
  gap: .6875rem;
  width: 21rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 2rem;
  background: #f7f6f6;
}
.search .icon { width: 1.3125rem; height: 1.3125rem; }
.search input { min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: .91rem; letter-spacing: -.023em; }
.search input::placeholder { color: #514e4d; opacity: 1; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 2px #ff4a0680; }
.top-actions { display: flex; align-items: center; gap: 1.0625rem; margin-left: auto; }
.notifications, .profile { width: 3.25rem; height: 3.25rem; border-radius: 50%; position: relative; }
.notifications { display: grid; place-items: center; background: #f7f6f6; color: #a3a2a1; }
.notifications::after { content: ""; position: absolute; top: .0625rem; right: .4375rem; width: .5625rem; height: .5625rem; background: var(--orange); border-radius: 50%; }
.notifications:hover { color: var(--ink); }
.profile img { width: 100%; height: 100%; border-radius: 50%; }

.main { min-width: 0; display: flex; flex-direction: column; }
.metrics {
  display: grid;
  grid-template-columns: 1.082fr repeat(3, 1fr) .934fr;
  padding: 1.75rem 0 1.625rem 2.1875rem;
  height: 7.6875rem;
  border-bottom: 1px solid var(--line);
}
.metric { display: flex; position: relative; align-items: flex-start; gap: .875rem; text-align: left; }
.metric:not(:last-child)::after { content: ""; position: absolute; width: 1px; height: 2.1875rem; top: .375rem; right: 1.75rem; background: var(--line); }
.metric-icon, .action-icon {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #0d0907, #1b110b 65%, #120c08);
  box-shadow: inset 0 0 0 1px #392c23;
  flex: none;
}
.metric-icon { width: 2.9375rem; height: 2.9375rem; border-radius: 1.125rem; }
.metric:hover .metric-icon, .action-grid button:hover .action-icon { background: #34241c; }
.metric-icon .icon { width: 1.5rem; height: 1.5rem; }
.metric-icon .truck-icon { width: 1.875rem; height: 1.875rem; }
.metric-content { display: flex; flex-direction: column; padding-top: .0625rem; white-space: nowrap; }
.metric-name { font-size: .85rem; font-weight: 600; letter-spacing: -.025em; }
.metric-value { display: flex; align-items: center; gap: .75rem; margin-top: .215rem; }
.metric-value strong { font-size: 1.16rem; line-height: 1.2; letter-spacing: -.035em; }
.metric-time { margin-top: .18rem; color: var(--muted); font-size: .8125rem; }
.trend { display: inline-flex; align-items: center; gap: .3rem; font-size: .79rem; font-weight: 700; letter-spacing: -.028em; }
.trend::before { content: ""; width: 0; height: 0; border-left: .34rem solid transparent; border-right: .34rem solid transparent; }
.trend.up { color: #16ac3b; }
.trend.up::before { border-bottom: .41rem solid currentColor; }
.trend.down { color: #fb330b; }
.trend.down::before { border-top: .41rem solid currentColor; }

.panels { display: grid; flex: 1; grid-template-columns: minmax(0, 2fr) minmax(18.5rem, 1fr); min-height: 42.375rem; }
.primary-column { min-width: 0; padding: 1.875rem 2.125rem 2.0625rem 2.1875rem; }
.secondary-column { min-width: 0; display: flex; flex-direction: column; border-left: 1px solid #e2e1e0; }
.section-head { display: flex; align-items: center; justify-content: space-between; min-height: 2.125rem; gap: .5rem; }
.section-head h2, .quick-actions h2 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .91rem; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.text-link:hover { color: #c73900; }
.text-link .icon { width: 1.05rem; height: 1.05rem; color: #ff6705; }

.chart-tools { display: flex; align-items: center; gap: .6875rem; }
.chart-filter { width: 2.125rem; height: 2.125rem; display: grid; place-items: center; border-radius: 50%; background: #f6f5f5; }
.chart-filter .icon { width: 1.25rem; height: 1.25rem; }
.chart-filter:hover { background: #eeeceb; }
.chart-tabs { display: flex; border-radius: .75rem; background: #f5f4f4; padding: 1px; }
.chart-tabs button { min-width: 5.125rem; min-height: 2rem; padding: .32rem .75rem; border-radius: .6875rem; font-size: .825rem; font-weight: 700; letter-spacing: -.025em; }
.chart-tabs button[aria-pressed="true"] { min-width: 5.625rem; background: #150d09; color: white; }
.chart-tabs button:hover:not([aria-pressed="true"]) { background: #eeeceb; }
.chart { padding-top: .625rem; }
.plot { height: 11.4375rem; position: relative; }
.plot canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.chart-value {
  position: absolute;
  left: 41.72%;
  transform: translateX(-50%);
  min-width: 4.75rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0 .5rem;
  border-radius: .625rem;
  background: var(--orange-gradient);
  color: white;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.chart-axis { display: flex; position: relative; align-items: center; justify-content: space-between; height: 2.8125rem; margin-top: 1rem; border-block: 1px solid var(--line); }
.chart-axis button { font-size: .82rem; color: #504d4b; padding: .375rem .125rem; }
.chart-axis button:first-child { padding-left: 0; }
.chart-axis button:last-child { padding-right: 0; }
.chart-axis button:hover { color: #c73900; }

.orders { margin-top: 2.1875rem; }
.orders .section-head { margin-bottom: 1.25rem; }
.table-scroll { position: relative; overflow-x: auto; padding-bottom: 1px; }
.order-table { width: 100%; min-width: 40rem; border-collapse: collapse; table-layout: fixed; text-align: left; white-space: nowrap; }
.col-id { width: 14.1%; }
.col-customer { width: 22.1%; }
.col-status { width: 17.15%; }
.col-rider { width: 18.05%; }
.col-location { width: 18.25%; }
.col-date { width: 8.5%; }
.col-actions { width: 1.85%; }
.order-table th, .order-table td { padding: 0; border-block: 1px solid var(--line); }
.order-table th { height: 2.5625rem; font-size: .795rem; font-weight: 400; color: var(--muted); }
.order-table td { height: 4.0625rem; font-size: .835rem; font-weight: 600; letter-spacing: -.025em; }
.order-table td:nth-child(5), .order-table .unassigned { font-weight: 400; color: #423f3d; }
.order-table td:nth-child(3) { padding-left: 0; }
.order-table .row-status { display: inline-block; transform: translateX(-.875rem); }
.customer-name { display: flex; align-items: center; gap: .375rem; }
.customer-name > span:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.avatar { display: grid; flex: none; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; overflow: hidden; background: #eae1dc; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .37rem .91rem;
  background: #eeeceb;
  color: #534945;
  border-radius: 2rem;
  font-size: .825rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.022em;
}
.status-badge::before { content: ""; width: .3125rem; height: .3125rem; border-radius: 50%; background: currentColor; }
.status-badge.in-transit { color: #006fe8; background: #e6f1fd; }
.status-badge.delivered { color: #159b36; background: #e7f9eb; }
.status-badge.pending { color: #ee7600; background: #fcf2e6; }
.status-badge.failed { color: #d6321c; background: #ffece8; }
.status-badge.returned { color: #884da7; background: #f6edf9; }
.order-link:hover { text-decoration: underline; }
.row-action { display: grid; color: #5a5755; place-items: center; width: .7425rem; height: 1.75rem; }
.row-action .icon { width: .7375rem; height: .9rem; }
.empty-row { text-align: center; color: var(--muted); }

.alerts { height: 23.3125rem; padding: 1.875rem 2.1875rem 1.5rem 2.25rem; }
.alert-list { list-style: none; padding: 0; margin-top: .5rem; }
.alert-list li + li { border-top: 1px solid var(--line); }
.alert-item { display: grid; grid-template-columns: 1.8125rem minmax(0, 1fr) auto; align-items: center; gap: .875rem; width: 100%; min-height: 4.25rem; text-align: left; }
.alert-item:hover .alert-title { text-decoration: underline; }
.alert-icon { display: grid; place-items: center; width: 1.8125rem; height: 1.8125rem; border-radius: .6875rem; background: #ffa900; color: white; --icon-cutout: #ee9600; }
.alert-icon.urgent { background: #ff3408; --icon-cutout: #ff3408; }
.alert-icon .icon { width: 1.25rem; height: 1.25rem; }
.alert-details, .alert-meta { display: grid; gap: .125rem; }
.alert-title, .alert-state, .alert-description, .alert-time { font-size: .8125rem; letter-spacing: -.032em; white-space: nowrap; }
.alert-title, .alert-state { font-weight: 600; }
.alert-description { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.alert-meta { text-align: right; }
.alert-state { color: #e87b00; }
.alert-state.urgent { color: #f43712; }
.alert-time { color: var(--muted); }

.quick-actions {
  flex: 1;
  border-top: 1px solid #e2e1e0;
  padding: 2.0625rem 2.1875rem 2.125rem 2.25rem;
  background: linear-gradient(#fcfcfc, #f9f9f9);
}
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; margin-top: 2.1875rem; }
.action-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .66rem;
  min-height: 4.75rem;
  padding: 0 .375rem .65rem;
  border-radius: .875rem;
  background: #fefefe;
  color: #3f3b39;
  font-size: .825rem;
  font-weight: 600;
  white-space: nowrap;
}
.action-icon { width: 2.3125rem; height: 2.3125rem; border-radius: .9375rem; --icon-cutout: #130e0b; }
.action-icon .icon { width: 1.1875rem; height: 1.1875rem; }

.dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(85vh, 48rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.25rem 4.25rem #3622192b;
}
.dialog::backdrop { background: #261b1455; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 1.2rem; }
.dialog-close { width: 2rem; height: 2rem; background: #f2efee; border-radius: 50%; display: grid; place-items: center; }
.dialog-body { padding: 1.5rem; font-size: .95rem; }
.dialog-body .alert-item { min-height: 4.25rem; }
.dialog-body .alert-list { margin: 0; }
.dialog-body .dialog-copy { margin-bottom: 1rem; color: var(--muted); line-height: 1.5; }
.dialog-form { display: grid; gap: 1rem; }
.dialog-form label { display: grid; gap: .35rem; font-weight: 600; }
.dialog-form input, .dialog-form select {
  width: 100%;
  min-height: 2.5rem;
  padding: .55rem .75rem;
  border: 1px solid #dbd7d5;
  border-radius: .55rem;
  background: #fff;
  color: var(--ink);
}
.dialog-buttons { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .7rem; }
.dialog-buttons > button:not(.button-primary) { padding: .55rem .8rem; min-height: 2.5rem; border-radius: .55rem; background: #f0edeb; font-weight: 600; }
.dialog-buttons > button:not(.button-primary):hover { background: #e6e0dd; }
.detail-list { display: grid; grid-template-columns: 1fr 1.6fr; gap: .85rem; margin: 0 0 1.25rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dialog-list { list-style: none; padding: 0; }
.dialog-list li + li { border-top: 1px solid var(--line); }
.dialog-list button { display: flex; align-items: center; gap: .65rem; min-height: 3rem; width: 100%; text-align: left; padding: .4rem 0; }
.dialog-list button:hover strong { text-decoration: underline; }
.dialog-list button .status-badge { margin-left: auto; }
.dialog-list li > p { display: flex; justify-content: space-between; gap: .75rem; padding: .7rem 0; }
.toast { position: fixed; z-index: 2; right: 1.5rem; bottom: 1.5rem; max-width: calc(100vw - 3rem); color: white; padding: .75rem 1.25rem; border-radius: .75rem; background: var(--black); box-shadow: 0 .5rem 1.5rem #0003; }

.menu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .625rem;
}

.menu-links button {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-height: 3rem;
  padding: .625rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  font-weight: 600;
  text-align: left;
}

.menu-links button:hover { background: #f5f3f2; }
.tracking-result { margin-top: 1rem; }

@media (min-width: 901px) and (max-width: 1160px) {
  .metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-inline: 1.4rem 1rem; gap: .6rem; }
  .metric { gap: .45rem; }
  .metric:not(:last-child)::after { display: none; }
  .metric-icon { width: 2.4rem; height: 2.4rem; border-radius: .85rem; }
  .metric-value { gap: .35rem; }
  .metric-name { white-space: normal; }
  .sidebar { padding-inline: 1rem; }
  .navigation :is(a, button) { padding-inline: 1rem; }
  .alerts, .quick-actions, .primary-column { padding-inline: 1.4rem; }
}

@media (max-width: 900px) {
  :root {
    font-size: 15px;
    --bottom-nav-height: 4.35rem;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
  }
  html { scroll-padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom)); }
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + .5rem);
  }
  .sidebar { display: none; }
  .topbar {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    gap: .65rem 1rem;
    padding: calc(.7rem + env(safe-area-inset-top, 0px)) 1.25rem .8rem;
  }
  .mobile-brand { display: block; grid-area: 1 / 1 / 2 / 3; margin: 0; }
  .mobile-brand img { width: 9.25rem; }
  .topbar h1 { grid-area: 2 / 1 / 3 / 2; font-size: 1.2rem; }
  .top-actions { grid-area: 1 / 3 / 2 / 4; gap: .5rem; }
  .profile, .notifications { width: 2.75rem; height: 2.75rem; }
  .search { grid-area: 2 / 2 / 3 / 4; width: 100%; height: 2.75rem; padding-inline: .85rem; }
  .search input, .dialog-form input, .dialog-form select { font-size: 16px; }
  .mobile-nav {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 max(.4rem, env(safe-area-inset-right, 0px)) var(--safe-bottom) max(.4rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -.25rem 1rem #21191308;
  }
  .mobile-nav :is(a, button) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-height: calc(var(--bottom-nav-height) - 1px);
    color: #484441;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .mobile-nav .icon { width: 1.5rem; height: 1.5rem; }
  .mobile-nav [aria-current="page"] { color: #c63705; font-weight: 700; }
  .mobile-nav :focus-visible { outline-offset: -3px; }
  .dialog.menu-sheet {
    inset: auto 0 0;
    width: 100%;
    margin: 0;
    border-radius: 1.25rem 1.25rem 0 0;
    padding-bottom: var(--safe-bottom);
  }
  .toast { bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + .75rem); }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; gap: 1.1rem .8rem; padding: 1.125rem 1.25rem; }
  .metric:not(:last-child)::after { display: none; }
  .metric { gap: .6rem; }
  .metric-icon { width: 2.4rem; height: 2.4rem; border-radius: .875rem; }
  .metric-value { gap: .425rem; }
  .panels { display: block; }
  .primary-column { padding: 1.25rem; }
  .secondary-column { display: grid; grid-template-columns: 1.15fr 1fr; border-left: 0; border-top: 1px solid var(--line); }
  .alerts, .quick-actions { height: auto; padding: 1.25rem; border-top: 0; }
  .quick-actions { border-left: 1px solid var(--line); }
}

@media (max-width: 550px) {
  .topbar { padding-inline: .95rem; }
  .topbar h1 { grid-area: 2 / 1 / 3 / 4; }
  .search { grid-area: 3 / 1 / 4 / 4; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .5rem; padding: 1rem .8rem; }
  .metric-content { min-width: 0; }
  .metric-name { white-space: normal; }
  .primary-column, .alerts, .quick-actions { padding: 1rem .8rem; }
  .secondary-column { display: block; }
  .quick-actions { border-left: 0; border-top: 1px solid var(--line); }
  .action-grid { margin-top: 1.25rem; }
  .chart-tabs button, .chart-tabs button[aria-pressed="true"] { min-width: 0; }
}

.orders-page { padding: 2rem 2.1875rem; min-width: 0; }
.orders-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .9rem; margin-bottom: 1.45rem; }
.orders-toolbar label, .order-dates summary { display: grid; gap: .45rem; font-size: .83rem; font-weight: 600; color: var(--muted); }
.orders-toolbar select, .filter-control, .date-fields input {
  min-height: 2.6rem;
  padding: .55rem .85rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: #f3f1f1;
  color: var(--ink);
  font-size: .88rem;
}
.orders-toolbar select { min-width: 9.5rem; max-width: 15rem; }
.order-dates { position: relative; }
.order-dates summary { cursor: pointer; }
.filter-control { display: flex; justify-content: space-between; align-items: center; gap: .7rem; min-width: 9.5rem; }
.filter-control::after { content: 'âŒ„'; }
.date-fields { position: absolute; z-index: 2; top: 100%; left: 0; display: grid; gap: .6rem; padding: .75rem; border: 1px solid var(--line); border-radius: .75rem; background: white; box-shadow: 0 .4rem 1rem #0001; }
.export-orders { margin-left: auto; min-height: 2.6rem; padding: .55rem 1.15rem; border-radius: .75rem; background: var(--black); color: white; font-size: .85rem; font-weight: 700; }
.orders-list { width: 100%; min-width: 50rem; border-collapse: collapse; text-align: left; white-space: nowrap; }
.orders-list th, .orders-list td { padding: .75rem .55rem; border-block: 1px solid var(--line); font-size: .85rem; }
.orders-list th { font-weight: 400; color: var(--muted); }
.orders-list td { height: 4.55rem; }
.orders-list :is(th, td):first-child { width: 2rem; padding-left: .1rem; }
.orders-list :is(th, td):last-child { width: 4.4rem; }
.orders-list input { accent-color: var(--orange); }
.orders-list .customer-name small { display: block; font-size: .76rem; color: var(--muted); }
.orders-list .status-badge { padding-inline: .65rem; }
.orders-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .85rem; padding-top: 1.4rem; color: var(--muted); font-size: .85rem; }
#orders-pagination { display: flex; flex-wrap: wrap; gap: .35rem; }
#orders-pagination button { min-width: 2.25rem; min-height: 2.25rem; border-radius: .75rem; }
#orders-pagination [aria-current="page"] { color: white; background: var(--black); }
#orders-pagination button:disabled { opacity: .4; cursor: default; }
@media (max-width: 900px) {
  .orders-page { padding: 1.25rem; }
}
@media (max-width: 550px) {
  .orders-page { padding: 1rem .8rem; }
  .orders-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orders-toolbar select { min-width: 0; width: 100%; }
  .filter-control { min-width: 0; }
  .date-fields { left: auto; right: 0; }
  .export-orders { grid-column: 1 / -1; }
}

