@charset "UTF-8";
/* ============================================================================
   theme-polish.css — 데스크톱 ERP 레퍼런스 톤 맞춤(전역 폴리시)
   구조는 건드리지 않고 색/라인/여백 톤만 정돈한다.
   ========================================================================== */

/* ── 그리드(BootstrapBlazor Table) ─────────────────────────────────────────
   레퍼런스: 연한 회색 헤더 + 얇은 라인, 선택 행은 은은한 하늘색. */
.table {
    /* 선택 행: 회색(.08) → 은은한 하늘색(브랜드 파랑 #0078d4 계열로 통일) */
    --bb-table-row-active-bg: rgba(0, 120, 212, .12);
    /* 호버: 더 옅은 하늘색 */
    --bb-table-row-hover-bg: rgba(0, 120, 212, .06);
}
/* 헤더 셀: 연한 중립 회색 배경 + 진한 회색 글자 + 얇은 하단선 */
.table thead th,
.table-wrapper .table-fixed-header th {
    --bs-table-bg: #f4f6f9 !important;
    background-color: #f4f6f9 !important;
    color: #4a5566 !important;
    font-weight: 600;
    border-bottom: 1px solid #dfe3e8 !important;
}
/* 본문 셀 라인: 얇고 옅게 */
.table > tbody > tr > td {
    border-color: #eef1f4;
}
/* 선택 행 글자색은 검정 톤 유지(파랑으로 튀지 않게) */
.table tbody tr.active > * {
    color: #1f2937;
}

/* ── 상단 문서 탭 액션 아이콘 색상 ──────────────────────────────────
   무지개색은 지저분 → 표준 규칙: 파괴적 동작(삭제)만 빨강, 나머지는 중립 슬레이트. */
.tabs-nav-toolbar .tabs-nav-toolbar-button i { color: #5b6675 !important; }   /* 기본: 중립 슬레이트 */
.tabs-nav-toolbar .fa-trash-can,
.tabs-nav-toolbar .fa-trash { color: #dc2626 !important; }                     /* 삭제 — 빨강(유일한 강조) */
/* 호버 시 살짝 진하게 */
.tabs-nav-toolbar .tabs-nav-toolbar-button:hover i { color: #2f3846 !important; }
.tabs-nav-toolbar .tabs-nav-toolbar-button:hover .fa-trash-can,
.tabs-nav-toolbar .tabs-nav-toolbar-button:hover .fa-trash { color: #b91c1c !important; }

/* ── 섹션/폼 라벨 정돈 ──────────────────────────────────────────────
   필수 표시(*) 라벨은 레퍼런스처럼 은은한 강조(빨강 계열)로. */
.table-cell .form-label .required,
form .form-label > .required,
.required-field > .form-label { color: #d64545; }
