/* ===================================================================
   CARDS/STATS.CSS
   Stat Rows, Nested Layouts, and Text States
   =================================================================== */
/* ===== 47. STAT ROWS ===== */

/* ----- 47.1 Stat Row ----- */
.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 4px 6px;
    transition: background-color 0.2s;
    flex-wrap: wrap;
    min-width: 0;
}

/* ----- 47.2 Stat Row Hover ----- */
.stat-row:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

/* ----- 47.3 Stat Label ----- */
.stat-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    flex: 1 0 40%;
    text-transform: capitalize;
    margin-right: 4px;
    min-width: 0;
    white-space: normal;
    overflow: visible;
}

/* ----- 47.4 Stat Value ----- */
.stat-value {
    color: #fff;
    font-weight: 600;
    flex: 1 0 50%;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-align: right;
    word-break: break-word;
}

/* ===== 48. NESTED LAYOUTS ===== */

/* ----- 48.1 Stacked Rows ----- */
.stacked-row {
    flex-direction: column;
    align-items: flex-start;
}

.stacked-row .stat-label {
    flex: 1 0 100%;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.stacked-row .stat-value {
    flex: 1 0 100%;
    text-align: left;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

/* ----- 48.2 Nested Objects ----- */
.nested-object {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 8px;
    margin-top: 4px;
    font-size: 0.9em;
}

.nested-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.nested-key {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 8px;
}

/* ----- 48.3 Nested Lists ----- */
.nested-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
    color: #fff;
}

.nested-list li {
    margin-bottom: 4px;
}

/* ===== 49. TEXT STATES ===== */

/* ----- 49.1 Success State ----- */
.text-success {
    color: #28a745;
}

/* ----- 49.2 Danger State ----- */
.text-danger {
    color: #dc3545;
}

/* ----- 49.3 Warning State ----- */
.text-warning {
    color: #ffc107;
}

/* ----- 49.4 Muted Text ----- */
.text-muted {
    color: #6c757d;
    font-style: italic;
}


