/* ============================================================
   DISPATCH CARD — replaces the existing .ticket block in style.css
   (everything from `.ticket {` through `.ticket dl > :nth-last-child(2)`,
   plus the @keyframes ping rule).
   White card on the navy hero, all-caps mono, modern soft depth.
   No markup changes required.
   ============================================================ */

.ticket {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  padding: 26px 26px 20px;
  box-shadow:
    0 26px 50px -14px rgba(4, 14, 28, 0.55),
    0 3px 10px rgba(4, 14, 28, 0.22);
}

/* amber tab instead of a full top border — lighter, more current */
.ticket::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 56px;
  height: 4px;
  background: var(--amber);
  border-radius: 0 0 3px 3px;
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hairline);
}
.ticket-head > span {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
}

/* status pill */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: rgba(30, 142, 62, 0.1);
  color: #14713C;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e8e3e;
  animation: ping 2.8s ease-out infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 142, 62, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(30, 142, 62, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 142, 62, 0);
  }
}

/* rows */
.ticket dl {
  display: grid;
  grid-template-columns: auto 1fr;
}
.ticket dt,
.ticket dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono);
  text-transform: uppercase;
}
.ticket dt {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--slate);
  padding-right: 22px;
  align-self: center;
}
.ticket dd {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-align: right;
}
.ticket dl > :nth-last-child(1),
.ticket dl > :nth-last-child(2) {
  border-bottom: none;
  padding-bottom: 2px;
}

@media (max-width: 640px) {
  .ticket {
    padding: 22px 20px 16px;
  }
  .ticket dt {
    font-size: 9px;
    letter-spacing: 0.12em;
    padding-right: 14px;
  }
  .ticket dd {
    font-size: 10.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .status i {
    animation: none;
  }
}