/* color info 
. URL: https://www.color-hex.com/color-names.html
yellow: #fffdd0   // table row select 
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-marked: #fffdd0;
  --color-selected: whitesmoke;
  --color-none: transparent;
}

html {
  background: #e7e7e7;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
}

label {
  /* font-size: 0.9rem; */
  color: gray;
  font-weight: normal;
  user-select: none;
  cursor: default;
}

.body-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  margin: 20px;
  /* background: #e7e7e7; */
  /* min-height: 100vh; */
}

.body-header {
  flex-shrink: 0;
  margin: 0;
  display: flex;
  align-items: center;
  background-color: rgb(211, 203, 135);
}

.body-content {
  flex-grow: 1;
  align-items: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
}

/* .card-container {
  display: flex;
  gap: 10px;
}

.card-container2 {
  gap: 10px;
}

.card {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
} */


/* define -시작- */

/* 1) 테이블 전체 높이 고정 */

/* 폰트와 기본 여백 초기화 */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

/* 테이블 전체 공통 */
.data-table-search,
.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.data-table {
  margin-top: -10px;
  /* .data-table-search 테이블과의 간격 조정*/
}

th,
td {
  padding: 8px 12px;
  border: 1px solid #e0e4e8;
  vertical-align: middle;
}

/* 검색 테이블 스타일 */
.data-table-search th {
  background: #f7f9fc;
  font-weight: 600;
  width: 80px;
  text-align: left;
}

.data-table-search td {
  background: #fff;
}

.data-table-search select,
.data-table-search label {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid #ccd1d9;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  transition: border-color .2s ease-in-out;
}

.data-table-search select:focus,
.data-table-search label:focus {
  outline: none;
  border-color: #409eff;
}

/* 데이터 테이블 스타일 */
.data-table th {
  background: #f3f5f9;
  text-align: center;
  font-weight: 600;
}

.data-table tbody tr:nth-child(odd) {
  background: #fff;
}

.data-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

/* input 높이 및 스타일 */
.data-table input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid #ccd1d9;
  border-radius: 4px;
  transition: border-color .2s;
}

.data-table input[type="text"]:focus {
  outline: none;
  border-color: #409eff;
}

/* textarea 높이 및 스타일 */
.data-table textarea {
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccd1d9;
  border-radius: 4px;
  /* resize: vertical;
  min-height: 140px; */
  transition: border-color .2s;
}

.data-table textarea:focus {
  outline: none;
  border-color: #409eff;
}

/* 설명 라벨 영역 */
.data-table tbody tr:nth-child(2) th {
  background: #fff;
  font-weight: normal;
  color: #666;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
}


/* define - 끝 - */