/* scott_common shared styles — extends Bootstrap 5.
 * Apps inheriting from scott_common/base.html get this automatically.
 */

/* Mobile-first improvements */
.table-responsive { font-size: 0.95rem; }

/* Aging indicators (1/3/7/14-day thresholds) */
.aging-fresh { color: #6c757d; }
.aging-overdue-1 { color: #fd7e14; font-weight: 500; }
.aging-overdue-3 { color: #dc3545; font-weight: 600; }
.aging-overdue-7 { color: #842029; font-weight: 700; }
.aging-overdue-14 { color: #842029; font-weight: 700; background: #f8d7da; padding: 0.125rem 0.375rem; border-radius: 0.25rem; }

/* Empty-state visual hint */
.empty-state {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 3rem 1.5rem;
}

/* Status pills (used by _status_badge.html) */
.status-pill {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.85em;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: 0.375rem;
}

/* Action button spacing on detail pages */
.action-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.action-bar form { display: inline-block; margin: 0; }

/* Print-friendly */
@media print {
    .navbar, footer, .btn, .action-bar, form { display: none !important; }
    .container { max-width: 100% !important; }
}
