@charset "UTF-8";

/* select::-ms-expand { display: none; } */
.board_normal tr th {
	height: auto;
	border-top: #e4e4e4 1px solid;
}

.thTable {
	width: 290px;
}

/* 3개의 테이블의 같은 순번 tr 높이를 동일하게 맞춤 */
.thTable tr, .tdTable tr, #table>tbody>tr>td:nth-child(3) table tr {
	height: 50px;
}

tbody {
	border-right: 1px solid #e4e4e4;
}

.board_normal tbody tr td {
	height: 50px;
	width: 100%;
}

.board_normal tbody tr td .tdNumber {
	text-align: right;
	padding-right: 10px;
	vertical-align: middle;
}

#table>tbody {
	border-right: none;
}

.board_normal tr td {
	padding: 0;
	border-top: #e4e4e4 1px solid;
	border-right: none;
	line-height: 22px;
}

.boardBottomLine {
	border-bottom: 1px solid #e4e4e4;
}

table {
	width: 301px;
}

.board_normal {
	width: 0px;
}

.inputStyle {
	width: 150px;
	border-radius: 4px;
	border: #999999 1px solid;
	margin-left: 2px;
	/* margin-right: 10px;
	margin-left: 10px; */
}

.content td {
	vertical-align: top;
}

.content td label {
	padding-top: 5px;
	/* padding-left: 5px; */
}

input[type=number] {
	text-align: right;
}

.action-btn {
	width: 30px;
	/* height: 25px; */
	border-radius: 3px;
  border: none;
	/* border: 1px solid #cfcfcf; */
	background-color: #f8f8f8;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	line-height: 25px;
	text-align: center;
	padding: 0;
	transition: 0.2s;
	user-select: none;
  font-size: 15px;
}

/* Hover 효과 */
/* .action-btn:hover {
	background-color: #eaeaea;
} */

/* 삭제 버튼(-) */
.del-btn {
  background-color: #ec0000;
  color: #fff;
  /* color: #ec0000;
  border: 1px solid #ec0000;
  background-color: #fff; */
	/* color: #ff4d4d;
	border-color: #ffb3b3; */
}

/* .del-btn:hover {
	background-color: #ffe6e6;
} */

/* 추가 버튼(+) */
.add-btn {
	/* color: #0470e5; */
  background-color: #0056b3;
  color: #fff;
	/* border-color: #a6d0ff; */
}

/* .add-btn:hover {
	background-color: #e6f2ff;
} */

/* 계산 버튼(+) */
.calculator-btn {
  padding: 10px 0;
	color: #fff; 
	border-color: #00768a; 
	background-color: #00768a;
}
 /*
.calculator-btn:hover {
	background-color: #d8ffd6; hover 시 조금 더 진한 연두색 
}
*/

/* 엑셀 버튼(+) – 주황색 계열 */
.excel-down-btn {
	color: #fff;
	/* border-color: #ffc89b; */
	background-color: #0c7238;
	width: 150px;
	height: 50px;
	font-size: 18px;
}

/* .excel-down-btn:hover {
	background-color: #ffe3cc;
} */

.inputNumber {
	text-align: right;
}

.cf_txt {
	position: absolute;
	right: 0px;
	width: 22px;
	top: 5px;
	background-color: rgb(228, 228, 228);
	padding: 0.1px 5px;
	border-radius: 20px;
	text-align: center;
	cursor: pointer;
	z-index: 1;
}

/* ── ? 버튼 ── */
  .tip-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 10px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    outline: none;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    left: 10px;
  }

  .tip-btn:hover,
  .tip-btn.open {
    background: #1a1a1a;
    color: #fff;
  }
/* ── 말풍선 ── */
.bubble {
  position: absolute;
  /* 기본: 위쪽 */
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  /* white-space: nowrap; */
}

.tip-btn:hover .bubble,
.tip-btn.open .bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bubble-inner {
  display: block;     
  white-space: normal;
  width: max-content; 
  position: relative; 

  background: #1a1a1a;
  color: #f5f5f3;
  font-size: 12px;
  line-height: 1.5;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
  max-width: 500px;
  word-break: keep-all;
}

/* 말꼬리 — 아래쪽 삼각형 */
.bubble-inner::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a1a;
}

/* ── 위치 변형: 오른쪽 ── */
.tip-btn.pos-right .bubble {
  bottom: auto;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%) translateX(-4px);
}
.tip-btn.pos-right:hover .bubble,
.tip-btn.pos-right.open .bubble {
  transform: translateY(-50%) translateX(0);
}
.tip-btn.pos-right .bubble-inner::after {
  top: 50%;
  left: auto;
  right: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-right-color: #1a1a1a;
}

/* ── 위치 변형: 아래쪽 ── */
.tip-btn.pos-bottom .bubble {
  bottom: auto;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
}
.tip-btn.pos-bottom:hover .bubble,
.tip-btn.pos-bottom.open .bubble {
  transform: translateX(-50%) translateY(0);
}
.tip-btn.pos-bottom .bubble-inner::after {
  top: auto;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: transparent;
  border-bottom-color: #1a1a1a;
}

/* ── 섹션 구분 ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #bbb;
  text-transform: uppercase;
  margin: 1.5rem 0 0.75rem;
}
.section-label:first-of-type { margin-top: 0; }


.discountTxt {
	display: block;
}

.btn-detail {
    display: block;
    margin-left: auto;
    padding: 2px 5px;
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}
.btn-detail:hover {
    background-color: #f0f0f0;
}
