/* ---------------------------------------------------------------------------
   wwwroot/css/shared/global/08-data-status.css

   Loaded by _Layout.cshtml as part 8 of 17 for every page.
   Cascade order is the file order in that <link> list:
     previous: 07-banner.css
     next:     09-layout-chrome.css

   Split out of a single monolithic stylesheet. Do not reorder the <link>
   tags and do not move a rule between these files: both change the cascade.
--------------------------------------------------------------------------- */
.data-status-card {
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #d9e2ec;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.03);
}

.data-status-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.data-status-card__name {
    color: #161616;
    margin: 0;
    font-weight:bold;
}

.data-status-card__main {
    margin-bottom: 0.85rem;
}

.data-status-card__time {
    margin-bottom: 0.2rem;
    color: #1e293b;
    line-height: 1.05;
}

.data-status-card__label {
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-status-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #6b7280;
}

.data-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.data-status-badge--good {
    color: #0e6027;
    background: #defbe6;
    border: 1px solid #a7f0ba;
}

.data-status-badge--warn {
    color: #8e6a00;
    background: #fcf4d6;
    border: 1px solid #f1c21b;
}

.data-status-badge--bad {
    color: #a2191f;
    background: #fff1f1;
    border: 1px solid #fa4d56;
}
