/* Shared dashboard layout styles */

.dash-page {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dash-title {
    font-weight: 700;
    color: #14161a;
}

.dash-subtitle {
    color: #8e949e;
    margin-top: 2px;
}

/* Stat cards */
.dash-stat-card {
    padding: 1rem 1.25rem;
    border: 1px solid #ecedef;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 12px rgba(16,24,40,.05);
}

.dash-stat-card--accent {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.dash-stat-card--warn {
    background: #fff7ed;
    border-color: #fdba74;
}

.dash-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #8e949e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #14161a;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.dash-stat-sub {
    font-size: 12px;
    color: #8e949e;
}

/* Content cards */
.dash-card {
    padding: 1.25rem;
    border: 1px solid #ecedef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ecedef;
}

.dash-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #14161a;
}

/* List rows */
.dash-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 8px;
}

.dash-row:last-child {
    border-bottom: none;
}

.dash-row-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dash-row-name {
    font-size: 14px;
    font-weight: 600;
    color: #14161a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-row-meta {
    font-size: 12px;
    color: #8e949e;
}

.dash-row-value {
    font-size: 13px;
    font-weight: 600;
    color: #17a34a;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.dash-status-chip {
    flex-shrink: 0;
}

.dash-empty {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 13px;
    color: #8e949e;
}
