/* Dashboard-spesifik. Token warna dari app.css. */

.quick-action-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13.5px;
    transition: background .12s ease, border-color .12s ease;
}
.quick-action:hover { background: var(--surface-hover); border-color: var(--border-strong); color: var(--text-primary); }
.quick-action .qa-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.quick-action .bi-arrow-right { margin-left: auto; color: var(--text-muted); }

.health-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}
.health-row:last-of-type { border-bottom: none; }
.health-row .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 9px; }
.health-row .dot.is-ok { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.health-row .dot.is-warn { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); }
.health-row .dot.is-off { background: var(--text-muted); box-shadow: 0 0 0 3px var(--surface-hover); }

.tx-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--border); transition: background .1s ease; }
.tx-row:hover { background: var(--surface-hover); }
.tx-row:last-child { border-bottom: none; }
.tx-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-hover); color: var(--text-secondary); }
.tx-icon.is-paid { background: var(--success-soft); color: var(--success); }
.tx-icon.is-pending { background: var(--warning-soft); color: var(--warning); }
.tx-main { flex: 1; min-width: 0; }
.tx-ref { font-weight: 600; font-size: 13px; }
.tx-sub { color: var(--text-secondary); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-time { color: var(--text-muted); font-size: 12px; white-space: nowrap; text-align: right; }

@media (max-width: 575.98px) {
    .tx-row { flex-wrap: wrap; }
    .tx-time { order: 5; width: 100%; text-align: left; padding-left: 50px; }
}
