.selected-row {
  background-color: #e3f2fd !important;
  border-left: 4px solid #2196f3 !important;
}

.pastel-yellow { background-color: #fff9c4 !important; }
.pastel-gray { background-color: #f5f5f5 !important; }
.pastel-green { background-color: #a5d6a7 !important; }
.pastel-red { background-color: #ffcdd2; }
.pastel-blue { background-color: #e3f2fd; }

/* tr에 색상 클래스가 붙을 때 td에도 적용 */
tr.pastel-green > td { background-color: #a5d6a7 !important; }
tr.pastel-yellow > td { background-color: #fff9c4 !important; }
tr.pastel-gray > td { background-color: #f5f5f5 !important; }

.table-container {
  height: 700px;
  overflow-y: auto;
}

.detail-panel {
  min-height: 200px;
}

/* UDI 테이블 스크롤 설정 */
.udi-table-container {
  overflow-x: auto;
  white-space: nowrap;
}

.udi-table-container table {
  min-width: 1000px; /* 열이 줄어들었으므로 너비 조정 */
}

.category-filter-btn {
  border: none;
  background: #eee;
  color: #333;
  padding: 4px 14px;
  margin-right: 6px;
  border-radius: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.category-filter-btn.active, .category-filter-btn:focus {
  background: #2196f3;
  color: #fff;
}

/* UDI 보고서용 거래처코드 강조 스타일 */
.udi-company-code-input {
  background-color: #fff3cd !important;
  border-color: #dc3545 !important;
}

.udi-company-code-input:focus {
  background-color: #fff3cd !important;
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important;
}
