/* 공통 버튼 */
.btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
}

/* 저장 버튼 (강조) */
.btn-save {
  background: #2563eb;        /* 메인 블루 */
  color: #fff;
}

.btn-save:hover {
  background: #1e40af;
}

/* 추가 버튼 (행용) */
.btn-add {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  white-space: nowrap;
}

.btn-add:hover {
  background: #e5e7eb;
}
/* ================================
   입력 행 표준 (4열 그리드)
   ================================ */

.hr-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

/* input / select / date 공통 */
.hr-row input,
.hr-row select {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
}

/* 추가 버튼은 자동으로 다음 줄 마지막 */
.hr-row .btn-add {
  justify-self: start;
  height: 40px;
}


/* 카드 헤더 상단 고정 */
.sticky-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  padding-bottom: 12px;
}
/* 입력 아래 액션 영역 */
.row-actions {
  margin-bottom: 12px;
}

.row-actions .btn-add {
  padding: 6px 14px;
}
