/* Sun Rant ERP 공통 스타일 */

/* 테이블 */
.table th { background-color: #f8f9fa; font-weight: 600; }
.table-hover tbody tr:hover { background-color: rgba(0,0,0,.03); }

/* 카드 */
.card { border: none; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-radius: .5rem; }
.card-header { background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); font-weight: 600; }

/* 배지 */
.badge { font-size: .75rem; }
.status-active    { color: #198754; font-weight: 600; }
.status-completed { color: #6c757d; }
.status-cancelled { color: #dc3545; }

/* 손익 */
.profit-positive { color: #198754; font-weight: 700; }
.profit-negative { color: #dc3545; font-weight: 700; }
.profit-zero     { color: #6c757d; }

/* 수금 진행바 */
.progress { height: 8px; border-radius: 4px; }

/* 페이지 타이틀 */
.page-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.2rem; }

/* 검색 영역 */
.search-bar { background: #f8f9fa; border-radius: .5rem; padding: 1rem; margin-bottom: 1rem; }

/* 버튼 */
.btn-sm { font-size: .8rem; }

/* 반응형 테이블 */
@media (max-width: 768px) {
    .table-responsive { font-size: .85rem; }
}

/* 숫자 우측 정렬 */
.text-num { text-align: right; font-variant-numeric: tabular-nums; }
