@import "../shared/theme.css";

/* tabbar icon size & active state */
.tabbar .icon svg {
  display: block;
  margin: 0 auto;
  transition: fill 0.15s;
}
.tabbar .icon svg path {
  fill: #9ca3af;
  transition: fill 0.15s;
}
.tabbar a.active .icon svg path {
  fill: #1a3a6e;
}

.map-teaser {
  display: block;
  margin: -16px -16px 16px;
  padding: 16px;
  background: linear-gradient(145deg, #0f172a, #1e3a5f);
  color: #e2e8f0;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}

.map-teaser strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #fff;
}

.map-teaser span {
  font-size: 12px;
  opacity: 0.85;
}

.map-teaser .go {
  margin-top: 10px;
  font-size: 13px;
  color: #38bdf8;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.order-row:last-child {
  border-bottom: none;
}

.dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-danger);
  margin-right: 6px;
}

.dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  margin-right: 6px;
}

.msg-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.msg-item .time {
  font-size: 11px;
  color: var(--color-muted);
}

.msg-item .title {
  font-weight: 600;
  margin: 4px 0;
  font-size: 14px;
}

.msg-item .desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.45;
}

.level-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--color-accent-soft);
  color: #7c5a00;
}

.list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  font-size: 15px;
}

.list-link:last-child {
  border-bottom: none;
}

.list-link .chev {
  color: var(--color-muted);
}

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

.order-filters span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--color-muted);
}

.order-filters span.on {
  background: var(--color-primary);
  color: #fff;
}
