.wct-app {
  /* YOUR EXACT COLOR PALETTE */
  --wct-primary:   #6B1F1A; /* Burgundy */
  --wct-black:     #000000; /* Black */
  --wct-text:      #111111; /* Near-black */
  --wct-secondary: #4A4A4A; /* Dark grey */
  --wct-bg-grey:   #F2F2F2; /* Light grey */
  --wct-border:    #E3E3E3; /* Pale grey */
  --wct-white:     #FFFFFF; 
  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 720px; 
  margin: 0 auto;
  color: var(--wct-text);
}

.wct-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--wct-text);
}

.wct-form {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
}

.wct-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--wct-border);
  border-radius: 6px;
  background: var(--wct-white);
  color: var(--wct-text);
}
.wct-input:focus {
  outline: none;
  border-color: var(--wct-primary);
  box-shadow: 0 0 0 2px rgba(107, 31, 26, 0.2);
}

.wct-btn {
  background: var(--wct-primary);
  color: var(--wct-white);
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.wct-btn:hover {
  background: var(--wct-black);
}

/* Status Card */
.wct-card {
  background: var(--wct-bg-grey);
  border: 1px solid var(--wct-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.wct-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.wct-carrier { font-weight: 600; font-size: 1.1rem; }
.wct-num { color: var(--wct-secondary); font-size: 0.9rem; margin-top: 4px; }

/* Badges */
.wct-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.wct-ok { background: var(--wct-primary); color: var(--wct-white); }
.wct-warn { background: var(--wct-primary); color: var(--wct-white); }
.wct-info { background: var(--wct-border); color: var(--wct-text); }
.wct-muted { background: var(--wct-white); border: 1px solid var(--wct-border); color: var(--wct-secondary); }

/* Route Strip */
.wct-route {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; font-weight: 600; color: var(--wct-text); 
  margin-top: 16px;
}
.wct-route-track {
  flex: 1; height: 4px; background: var(--wct-border);
  border-radius: 2px; position: relative;
}
.wct-route-fill {
  height: 100%; background: var(--wct-primary); border-radius: 2px;
  transition: width 0.6s ease;
}
.wct-route-end { display: flex; align-items: center; gap: 6px; }
.wct-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wct-primary); display: inline-block;
}

/* Timeline */
.wct-timeline {
  list-style: none;
  padding: 0; margin: 0;
}
.wct-ev {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
/* The vertical line */
.wct-ev::before {
  content: '';
  position: absolute;
  left: 5px; top: 12px; bottom: 0;
  width: 2px;
  background: var(--wct-border);
}
.wct-ev:last-child::before { display: none; }

.wct-ev-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--wct-primary);
  margin-top: 4px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.wct-ev:first-child .wct-ev-dot {
  box-shadow: 0 0 0 4px rgba(107, 31, 26, 0.15);
}

.wct-ev-body { flex: 1; }
.wct-ev-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.wct-ev-head strong {
  font-size: 1rem;
  color: var(--wct-text);
}
.wct-ev-head time {
  font-size: 0.85rem;
  color: var(--wct-secondary);
}
.wct-ev-desc {
  font-size: 0.95rem;
  color: var(--wct-text);
  margin-bottom: 4px;
}
.wct-ev-loc {
  font-size: 0.85rem;
  color: var(--wct-secondary);
}

.wct-loading, .wct-error, .wct-empty {
  padding: 20px;
  text-align: center;
  background: var(--wct-bg-grey);
  border-radius: 8px;
  border: 1px solid var(--wct-border);
  color: var(--wct-secondary);
}
.wct-error { color: #c62828; border-color: #ef9a9a; background: #ffebee; }