:root {
  --ink: #030506;
  --ink-soft: #0d1112;
  --paper: #202020;
  --paper-deep: #171717;
  --surface: #292929;
  --white: #f4f7f7;
  --acid: #3ba6b8;
  --acid-soft: #78c7d3;
  --aqua: #287f99;
  --coral: #205f75;
  --muted: #98a3a5;
  --line: rgba(59, 166, 184, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  --hero-background: radial-gradient(circle at 85% 10%, rgba(59, 166, 184, 0.18), transparent 27%),
    linear-gradient(135deg, #000000, #11191a 58%, #071012);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(3, 5, 6, 0.9);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.header-logo {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(120, 199, 211, 0.28);
  box-shadow: 0 0 18px rgba(59, 166, 184, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.top-nav {
  display: flex;
  gap: 4px;
}

.top-nav[hidden] {
  display: none;
}

.nav-link {
  padding: 10px 15px;
  border: 0;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.view {
  display: none;
}

.view.is-active {
  display: block;
  animation: viewIn 0.45s ease both;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.hero {
  position: relative;
  display: grid;
  min-height: 730px;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.75fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  overflow: hidden;
  padding: 150px max(7vw, calc((100vw - 1180px) / 2)) 100px;
  color: var(--white);
  background: var(--hero-background);
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -22vw;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(59, 166, 184, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.orbit-one {
  top: 16%;
  right: 6%;
  width: 380px;
  height: 380px;
}

.orbit-two {
  top: 21%;
  right: 9.5%;
  width: 290px;
  height: 290px;
  border-color: rgba(59, 166, 184, 0.12);
}

.hero-content,
.live-card {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.21em;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(59, 166, 184, 0.1);
}

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

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 6.6vw, 94px);
  font-weight: 840;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.hero h1 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 510px;
  margin: 30px 0 35px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1.6;
}

.tracking-form {
  max-width: 630px;
}

.tracking-form > label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tracking-control {
  position: relative;
  display: grid;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(120, 199, 211, 0.32);
  border-radius: 18px;
  background: #171c1d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tracking-control:focus-within {
  border-color: rgba(120, 199, 211, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 166, 184, 0.1);
}

.tracking-control input {
  width: 100%;
  height: 48px;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 17px;
  color: var(--white);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  font-weight: 650;
  text-transform: uppercase;
}

.tracking-control input:-webkit-autofill,
.tracking-control input:-webkit-autofill:hover,
.tracking-control input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  box-shadow: 0 0 0 1000px #171c1d inset;
  transition: background-color 9999s ease-out 0s;
}

.tracking-control input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  text-transform: none;
}

.tracking-control .button {
  height: 48px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 12px;
  padding: 0 19px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.button-accent {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 8px 24px rgba(59, 166, 184, 0.16);
}

.button-accent:hover {
  background: var(--acid-soft);
  transform: translateY(-1px);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.form-hint {
  margin: 11px 0 0 4px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.form-hint button {
  border: 0;
  padding: 0;
  color: var(--acid);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.live-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}

.live-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.live-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.live-time {
  margin-left: auto;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(59, 166, 184, 0.45);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(59, 166, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 166, 184, 0); }
}

.route-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(36px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  padding: 36px 0;
}

.route-stage {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.route-stage:hover {
  border-color: rgba(120, 199, 211, 0.55);
  background: rgba(59, 166, 184, 0.1);
  transform: translateY(-2px);
}

.route-stage > i {
  display: grid;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--muted);
  border-radius: 3px;
  font-size: 8px;
  font-style: normal;
}

.route-stage.start > i {
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 0 12px rgba(59, 166, 184, 0.35);
}

.route-stage.end {
  border-color: rgba(120, 199, 211, 0.34);
}

.route-stage.end > i {
  width: 15px;
  height: 15px;
  color: var(--ink);
  border: 0;
  background: var(--acid-soft);
}

.route-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 166, 184, 0.55), rgba(255, 255, 255, 0.14));
}

.route-line::before,
.route-line::after {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.route-line::before { left: 28%; }
.route-line::after { left: 65%; }

.route-line i {
  position: absolute;
  top: -5px;
  left: 0;
  width: 3px;
  height: 11px;
  border-radius: 2px;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(59, 166, 184, 0.7);
  animation: travel 3.5s ease-in-out infinite;
}

@keyframes travel {
  0% { left: 0; }
  50% { left: calc(100% - 3px); }
  100% { left: 0; }
}

.service-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  color: var(--white);
  background: var(--surface);
}

.service-stat strong {
  font-family: Georgia, serif;
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.service-stat span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.process-strip {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px max(7vw, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--acid);
}

.process-strip > p {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.process-items {
  display: flex;
  width: min(720px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.process-items span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.process-items b {
  margin-right: 5px;
  opacity: 0.45;
}

.process-items i {
  height: 1px;
  flex: 1;
  background: rgba(7, 28, 33, 0.25);
}

.tracking-result {
  background: var(--hero-background);
}

.service-disclosure {
  padding: 24px max(20px, calc((100vw - 1140px) / 2));
  border-bottom: 1px solid var(--line);
  color: #b4c5c7;
  background: #091215;
  font-size: 12px;
  line-height: 1.65;
}

.service-disclosure p { margin: 0 0 10px; }
.service-disclosure p:last-child { margin-bottom: 0; }
.service-disclosure strong { color: var(--white); }

.tracking-result-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 20px 90px;
}

.tracking-result[hidden] {
  display: none;
}

.result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.result-heading h2 {
  margin: 8px 0 6px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.065em;
  line-height: 1;
}

.result-heading > div > p:last-child {
  color: var(--muted);
}

.back-link {
  margin-bottom: 34px;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.order-number {
  min-width: 180px;
  padding: 21px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: right;
}

.order-number small,
.status-kicker,
.section-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.order-number strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.status-card,
.detail-card,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.status-card {
  padding: 35px;
  color: white;
  background: var(--ink);
}

.tracking-result .detail-card,
.tracking-result .timeline-card {
  background: rgba(8, 20, 23, 0.82);
  backdrop-filter: blur(14px);
}

.status-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.status-card h3 {
  margin: 9px 0 0;
  color: var(--acid);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.045em;
}

.status-card p {
  max-width: 580px;
  margin: 35px 0 50px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.status-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 19px;
}

.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.update-meta strong {
  color: white;
  font-weight: 650;
}

.detail-card {
  display: flex;
  flex-direction: column;
  padding: 12px 26px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.detail-row span {
  color: var(--muted);
}

.detail-row strong {
  text-align: right;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 22px 0 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.whatsapp-link span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
}

.timeline-card {
  margin-top: 18px;
  padding: 34px;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-title-row h3 {
  margin: 8px 0 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.progress-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.progress-track {
  height: 4px;
  margin: 28px 0 20px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper-deep);
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--acid);
  transition: width 0.7s cubic-bezier(.2,.8,.2,1);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 100px;
  padding: 17px;
  border-radius: 14px;
  background: var(--paper-deep);
}

.timeline li::before {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 15px;
  border: 2px solid #aab2b2;
  border-radius: 50%;
  content: "";
}

.timeline li.done::before {
  border-color: var(--aqua);
  background: var(--aqua);
}

.timeline li.current {
  color: white;
  background: var(--ink);
}

.timeline li.current::before {
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(59, 166, 184, 0.12);
}

.timeline li strong {
  display: block;
  font-size: 11px;
  line-height: 1.35;
}

.timeline li small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
}

.timeline li.current small {
  color: rgba(255, 255, 255, 0.48);
}

/* Admin */
.admin-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 290px 1fr;
  padding-top: 0;
  overflow: hidden;
  background: #071012;
}

.admin-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--hero-background);
}

.admin-atmosphere::before,
.admin-atmosphere::after {
  position: absolute;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(59, 166, 184, 0.13);
  border-radius: 50%;
  content: "";
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.admin-atmosphere::before {
  top: -38vw;
  right: -12vw;
}

.admin-atmosphere::after {
  bottom: -46vw;
  left: 14vw;
  width: 62vw;
  height: 62vw;
  border-color: rgba(59, 166, 184, 0.08);
  animation-delay: -7s;
}

@keyframes atmosphere-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-3deg); }
  to { transform: translate3d(3%, 2%, 0) rotate(5deg); }
}

.atmosphere-orb {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.75;
  animation: orb-float 11s ease-in-out infinite alternate;
}

.orb-a {
  top: 10%;
  left: 34%;
  background: radial-gradient(circle, rgba(59, 166, 184, 0.13), transparent 68%);
}

.orb-b {
  right: 5%;
  bottom: 7%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(40, 127, 153, 0.13), transparent 70%);
  animation-delay: -4s;
}

@keyframes orb-float {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to { transform: translate3d(35px, -25px, 0) scale(1.08); }
}

.atmosphere-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(120, 199, 211, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 199, 211, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 0%, black 45%, transparent 100%);
}

.atmosphere-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid-soft);
  box-shadow: 0 0 18px 4px rgba(120, 199, 211, 0.35);
  animation: spark-blink 3.8s ease-in-out infinite;
}

.spark-a { top: 21%; left: 55%; }
.spark-b { top: 63%; left: 74%; animation-delay: -1.5s; }
.spark-c { top: 38%; left: 88%; animation-delay: -2.6s; }

@keyframes spark-blink {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.admin-sidebar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding: 155px 42px 42px;
  color: white;
  border-right: 1px solid rgba(120, 199, 211, 0.13);
  background: rgba(3, 5, 6, 0.62);
  backdrop-filter: blur(14px);
}

.admin-logo {
  display: block;
  width: 74px;
  height: 74px;
  margin-bottom: 47px;
  border: 1px solid rgba(120, 199, 211, 0.25);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22), 0 0 28px rgba(59, 166, 184, 0.1);
}

.admin-sidebar h2 {
  margin: 0;
  font-size: 44px;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.prototype-notice {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.prototype-notice strong {
  color: var(--acid);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.prototype-notice p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.5;
}

.admin-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 130px clamp(24px, 5vw, 70px) 70px;
  background: rgba(3, 5, 6, 0.08);
}

.admin-topbar,
.orders-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.admin-topbar h1 {
  margin: 8px 0 0;
  font-size: 48px;
  letter-spacing: -0.06em;
}

.admin-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}

.admin-session > span {
  max-width: 210px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-button {
  border: 0;
  padding: 9px 5px;
  color: var(--acid-soft);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 35px 0 20px;
}

.metric-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.metric-card span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, serif;
  font-size: 39px;
  font-weight: 400;
}

.orders-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.orders-toolbar {
  margin-bottom: 22px;
}

.orders-toolbar h2 {
  margin: 7px 0 0;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.search-box {
  display: flex;
  width: min(290px, 100%);
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-deep);
}

.search-box input {
  width: 100%;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.order-list {
  border-top: 1px solid var(--line);
}

.order-item {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 19px 4px;
  border-bottom: 1px solid var(--line);
}

.order-main strong,
.order-cell strong {
  display: block;
  font-size: 12px;
}

.order-main span,
.order-main small,
.order-cell span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.order-main small { overflow-wrap: anywhere; }

.order-actions { display: flex; gap: 6px; }

.notify-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--acid-soft);
  background: transparent;
  cursor: pointer;
}

.notify-button:disabled { opacity: .5; cursor: wait; }

.email-retry-button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--acid-soft);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.email-retry-button:disabled { opacity: .5; cursor: wait; }
.order-actions { flex-wrap: wrap; }

.push-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 26px 30px;
  border: 1px solid rgba(120, 199, 211, .34);
  border-radius: 22px;
  background: linear-gradient(115deg, #102c33, #16242a);
}

.push-card[hidden], .push-card .button[hidden] { display: none; }
.push-card > div { flex: 1 1 280px; }
.push-card h3 { margin: 8px 0; font-size: clamp(19px, 3vw, 26px); }
.push-card p { margin: 0; color: #aac8cc; font-size: 12px; line-height: 1.5; }
.push-card .button { flex: 0 0 auto; }
.push-test-button {
  flex: 0 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(120, 199, 211, .4);
  border-radius: 12px;
  color: var(--acid-soft);
  background: rgba(3, 5, 6, .4);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}
.push-test-button[hidden] { display: none; }
.push-test-button:disabled { opacity: .5; cursor: wait; }

.push-intro {
  width: min(420px, calc(100% - 32px));
  padding: 32px;
  border: 1px solid rgba(120, 199, 211, .4);
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(145deg, #0e2024, #05090c);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
}
.push-intro::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(6px); }
.push-intro img { display: block; margin-bottom: 20px; border-radius: 15px; }
.push-intro h2 { margin: 10px 0 12px; font-size: 30px; letter-spacing: -.045em; }
.push-intro > p:not(.section-label) { margin: 0 0 25px; color: #aac8cc; font-size: 13px; line-height: 1.6; }
.push-intro .button { width: 100%; }
.push-intro-later {
  display: block;
  margin: 15px auto 0;
  padding: 8px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

@media (max-width: 620px) {
  .push-card { flex-direction: column; align-items: stretch; padding: 23px; }
  .push-card .button { width: 100%; }
  .push-test-button { width: 100%; }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 8px 10px;
  color: var(--acid-soft);
  background: rgba(59, 166, 184, 0.12);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.status-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
}

.edit-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.empty-state {
  padding: 42px 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

/* Dialog */
.order-dialog {
  width: min(650px, calc(100% - 28px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 0;
  border-radius: 26px;
  padding: 0;
  color: var(--white);
  background: var(--surface);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25);
}

.order-dialog::backdrop {
  background: rgba(3, 17, 20, 0.68);
  backdrop-filter: blur(6px);
}

.login-dialog {
  width: min(440px, calc(100% - 28px));
  border: 1px solid rgba(120, 199, 211, 0.2);
  border-radius: 28px;
  padding: 0;
  color: var(--white);
  background: #12191b;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.52);
}

.login-dialog::backdrop {
  background: rgba(1, 5, 7, 0.86);
  backdrop-filter: blur(12px);
}

.login-dialog form {
  display: grid;
  gap: 17px;
  padding: 36px;
}

.login-logo {
  width: 62px;
  height: 62px;
  margin-bottom: 10px;
  border: 1px solid rgba(120, 199, 211, 0.24);
  border-radius: 17px;
}

.login-dialog h2 {
  margin: -7px 0 0;
  font-size: 33px;
  letter-spacing: -0.05em;
}

.login-copy {
  margin: -7px 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.login-dialog label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.login-dialog input {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  padding: 0 14px;
  color: var(--white);
  background: var(--paper-deep);
  font-size: 14px;
}

.login-dialog input:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(59, 166, 184, 0.13);
}

.login-error {
  min-height: 17px;
  margin: -5px 0;
  color: #ef9b8d;
  font-size: 11px;
  line-height: 1.5;
}

.login-back {
  justify-self: center;
  border: 0;
  padding: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.order-dialog form {
  padding: 30px;
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dialog-head h2 {
  margin: 7px 0 0;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.delete-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 119, 95, 0.24);
  border-radius: 10px;
  color: #e98b7a;
  background: rgba(255, 119, 95, 0.06);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.delete-button:hover {
  border-color: rgba(255, 119, 95, 0.48);
  background: rgba(255, 119, 95, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-grid label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.form-grid label small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 46px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  padding: 0 13px;
  color: var(--white);
  background: var(--paper-deep);
  font-size: 13px;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(40, 127, 153, 0.14);
}

.form-grid input:disabled { opacity: .55; cursor: not-allowed; }

.full-field {
  grid-column: 1 / -1;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 27px;
}

.dialog-actions .delete-order-button {
  margin-right: auto;
  border-color: rgba(255, 119, 95, 0.24);
  color: #e98b7a;
}

.dialog-actions .delete-order-button[hidden] {
  display: none;
}

.toast {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  padding: 14px 18px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.25s ease;
  font-size: 12px;
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 145px;
  }

  .live-card {
    width: min(480px, 100%);
  }

  .process-strip,
  .result-heading,
  .orders-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-items {
    overflow-x: auto;
    padding-bottom: 5px;
  }

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

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

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: auto;
    padding: 135px 25px 35px;
  }

  .admin-logo {
    margin-bottom: 30px;
  }

  .prototype-notice {
    margin-top: 30px;
  }

  .admin-content {
    padding-top: 45px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-copy {
    display: none;
  }

  .nav-link {
    padding: 9px 12px;
  }

  .hero {
    min-height: 100svh;
    gap: 43px;
    padding: 125px 20px 60px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 65px);
  }

  .hero-lead {
    margin: 24px 0 28px;
    font-size: 15px;
  }

  .tracking-control {
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 16px;
  }

  .tracking-control input {
    height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .tracking-control .button {
    width: auto;
    height: 44px;
    min-height: 44px;
    gap: 9px;
    padding: 0 14px;
  }

  .live-card {
    padding: 22px;
    border-radius: 25px;
    transform: none;
  }

  .route-visual {
    padding: 30px 0;
  }

  .service-stat {
    gap: 14px;
    padding: 18px;
  }

  .process-strip {
    padding: 24px 20px;
  }

  .process-items {
    width: calc(100vw - 40px);
  }

  .process-items i {
    min-width: 30px;
  }

  .tracking-result-inner {
    padding: 110px 14px 55px;
  }

  .result-heading {
    margin-bottom: 28px;
  }

  .result-heading h2 {
    font-size: 45px;
  }

  .order-number {
    width: 100%;
    text-align: left;
  }

  .status-card,
  .timeline-card {
    padding: 24px;
  }

  .status-card p {
    margin: 28px 0 38px;
  }

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

  .timeline li {
    min-height: 0;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-sidebar h2 {
    font-size: 40px;
  }

  .admin-content {
    padding: 40px 14px;
  }

  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-session {
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-session > span {
    width: 100%;
    max-width: none;
  }

  .login-dialog form {
    padding: 27px 22px;
  }

  .admin-topbar h1 {
    font-size: 41px;
  }

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

  .metric-card:last-child {
    grid-column: 1 / -1;
  }

  .orders-panel {
    padding: 20px 15px;
  }

  .search-box {
    width: 100%;
  }

  .order-item {
    grid-template-columns: 1fr auto;
    gap: 13px;
  }

  .order-cell {
    display: none;
  }

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

  .full-field {
    grid-column: auto;
  }

  .order-dialog form {
    padding: 22px;
  }

  .dialog-actions {
    flex-wrap: wrap;
  }

  .dialog-actions .delete-order-button {
    width: 100%;
    margin-right: 0;
  }

  .dialog-actions > .button:not(.delete-order-button) {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
