/* ===============================
   표준 입력 + 데이터 누적 레이아웃
   =============================== */

/* 섹션 */
.section {
  margin-bottom: 32px;
}

/* 섹션 헤더 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* 컬럼 명칭 */
.inline-header-row {
  display: grid;
  grid-template-columns: 20% 15% 15% 15% 25% 10%;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* 입력 라인 */
.inline-input-row {
  display: grid;
  grid-template-columns: 20% 15% 15% 15% 25% 10%;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.inline-input-row select,
.inline-input-row input {
  height: 36px;
  padding: 6px 8px;
  appearance: none;        /* 화살표 제거 */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* 테이블 */
.table-wrap {
  border-top: 1px solid #ddd;
  padding-top: 8px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

/* 관리 버튼 */
.actions {
  display: flex;
  gap: 4px;
}

.btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.btn.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.btn.danger {
  border-color: #ef4444;
  color: #ef4444;
}

.btn.xs {
  height: 26px;
  font-size: 12px;
}
/* 입력 컬럼 헤더 */
.inline-header-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 80px;
  gap: 8px;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

/* 입력 고정 라인 */
.inline-input-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 80px;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

/* 테이블 고정 레이아웃 */
.table.fixed-layout {
  table-layout: fixed;
}

.table.fixed-layout td {
  vertical-align: middle;
}

/* 행 버튼 */
.table .actions {
  display: flex;
  gap: 4px;
}
