body {
    font-size: 0.9rem;
}

.table {
    white-space: nowrap;
}

.table th {
    vertical-align: middle;
}

.table td {
    vertical-align: middle;
}

.border-start {
    border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.threshold-hit {
    font-weight: bold;
}

.threshold-critical {
    font-weight: bold;
}

#statusMessage {
    min-height: 1.5em;
}

.th-primary-label {
    font-size: 1.17rem;
}

.th-secondary-label {
    font-size: 0.85rem;
}

.metric-cell {
    line-height: 1.1;
}

.metric-primary-value {
    font-size: 1.35rem;
    font-weight: 600;
}

.metric-secondary-value {
    font-size: 0.9rem;
    font-weight: normal;
}

.metric-subtext {
    font-size: 0.72rem;
    opacity: 0.8;
    margin-top: 0.1rem;
}

.station-name {
    font-weight: 600;
}

.station-update {
    font-size: 0.68rem;
    opacity: 0.65;
    margin-top: 0.15rem;
}

.threshold-warning {
    background-color: rgba(255, 193, 7, 0.25);
}

@keyframes criticalPulse {
    0% {
        background-color: rgba(220, 53, 69, 0.15);
    }

    50% {
        background-color: rgba(220, 53, 69, 0.55);
    }

    100% {
        background-color: rgba(220, 53, 69, 0.15);
    }
}

.threshold-critical {
    animation: criticalPulse 2s infinite;
    animation-delay: calc(
        -1 * var(--pulse-offset)
    );
}

.dashboard-footer {

    margin-top: 14px;
    padding-top: 10px;

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    font-size: 0.72rem;
    opacity: 0.7;
}

.mesonet-logo {
    height: 56px;
    width: auto;
    display: block;
}

.footer-right {
    text-align: right;
    line-height: 1.3;
}

:root {
  --bs-tooltip-bg: #212529;
  --bs-tooltip-color: #fff;
}