/* Last Transmission Bar Styles */

/* Last Transmission Bar (standalone) */
.last-transmission-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    padding: 0.6rem 1rem;
    font-style: italic;
    gap: 0;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Last Transmission Row (inside date-selector - legacy) */
.last-transmission-row {
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    padding: 0.4rem 0;
    font-style: italic;
    gap: 0;
}

.last-tx-text {
    color: #888;
}

.last-tx-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0 0.15rem;
}

.last-tx-number {
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: normal;
    padding: 0.2rem 0.45rem;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 40%, #f5f5f5 100%);
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    min-width: 1.8rem;
    text-align: center;
    line-height: 1.2;
}

/* Color classes for time thresholds */
.last-tx-number.tx-time-red {
    color: #dc3545;
    border-color: #e8a0a0;
    background: linear-gradient(to bottom, #fff5f5 0%, #fff 40%, #ffefef 100%);
}

.last-tx-number.tx-time-orange {
    color: #e67300;
    border-color: #f0c090;
    background: linear-gradient(to bottom, #fffaf5 0%, #fff 40%, #fff5eb 100%);
}

.last-tx-number.tx-time-purple {
    color: #7c3aed;
    border-color: #c4b0e8;
    background: linear-gradient(to bottom, #faf5ff 0%, #fff 40%, #f5efff 100%);
}

.last-tx-number.tx-time-black {
    color: #555;
    border-color: #bbb;
}

.last-tx-unit {
    color: #555;
    font-weight: 600;
    font-style: normal;
}

.polling-dots {
    color: #999;
    font-weight: 400;
    min-width: 1em;
    display: inline-block;
    letter-spacing: 0.5px;
    font-style: normal;
}

/* Wall-clock time of the last transmission, e.g. "(10:04 AM)" — rendered
   right after "ago". Monospace + tabular-nums so the digits look like a
   precise data field rather than narrative text. */
.last-tx-clock {
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #555;
    font-style: normal;
    font-variant-numeric: tabular-nums;
    margin-left: 0.15rem;
}
