/* 공통사항 */

/* 텍스트 색상 */
.orangeTxt {
  color: var(--mainColor);
}
.blueTxt {
  color: var(--blueColor);
}
.redTxt {
  color: var(--redColor);
}
.greenTxt {
  color: var(--greenColor);
}


/* 하단 밑줄 효과 */
.orangeLine {
  background: none;
  border-bottom: 4px solid var(--backOrange);
  color: var(--mainColor);
  font-weight: 700;
}
.blueLine {
  background: none;
  border-bottom: 4px solid var(--backBlue);
  color: var(--blueColor);
  font-weight: 700;
}
.pinkLine {
  background: none;
  border-bottom: 4px solid var(--backPink);
  color: var(--pinkColor);
}

/* 팝업 */
.popupArt {
  width: 100%;
  height: 100%;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.popupBox {
  max-width: 760px;
  width: 90%;
  background-color: white;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 15px;
}

/* 팝업 타이틀 */
.popupTit {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: relative;
  font-size: 1rem;
  color: var(--titColor);
  font-weight: 600;
}
.popupCloseX {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 0;
  cursor: pointer;
}

/* 버튼 */
.bottomBtns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.boardBtn {
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 4px 4px rgba(255, 255, 255, 0.2);
}

/* 취소 버튼 */
.popupCancel {
  width: 50%;
  background: linear-gradient(to bottom, #9D9D9D, #C3C3C3);
  color: white;
}

/* 진행중인 내용 없을 경우 */
.listNoneBox {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--txtGColor);
}

/* 기부 프로그레스 */

/* 진행률 표시바 */
.projectProgress {
  display: flex;
  align-items: center;
}
.projectProgress progress {
  width: 100%;
  height: 10px;
  appearance: none;
}
.projectProgress progress::-webkit-progress-bar {
  background-color: #f3f3f3;
  border-radius: 10px;
}
.projectProgress progress::-webkit-progress-value {
  background: linear-gradient(to left, #FF7B00, #FF9F45); /* 진행 부분 색상 */
  border-radius: 10px;
}
.projectProgress progress::-moz-progress-bar {
  background-color: linear-gradient(to left, #FF7B00, #FF9F45);
  border-radius: 10px;
}

.btnsIcon {
  width: 22px;
  height: 22px;
}

/* 숫자 키패드 */
.password-container {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 20px;
  text-align: center;
  font-family: sans-serif;
  flex: 1;
}

.dots {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ddd;
  font-size: 18px;
  text-align: center;
  line-height: 20px;
  color: transparent;
  transition: all 0.3s ease;
}

.dot.filled {
  background: #333;
}

.dot.show-digit {
  color: var(--titColor);
  background: #fff;
  border: none;
}

.keypad {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
  max-height: 400px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.keypad button {
  min-height: 70px;
  font-size: 1.25rem;
  border: none;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid var(--borderLine);
}

.keypad button.delete {
  background-color: var(--backOrange);
  border: none;
}

.keypad button.empty {
  background: transparent;
  pointer-events: none;
}

/* 주계좌인 경우 */
.accountTop {
  font-size: 0.8125rem;
  background: linear-gradient(to bottom, #FF7B00, #FF9F45);
  color: white;
  padding: 5px 10px;
  border-radius: 50px;
}

/* 하단버튼 */
.bottomMoreBtns {
  width: 100%;
  max-width: 800px;
  padding: 16px;
  bottom: 65px;
  background-color: white;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
  left: 0;
}

.clauseTable > table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  text-align: center;
  word-break: break-all;
  font-size: 13px;
}
.clauseTable > table thead th {
  border: 1px solid #ccc;
  height: 40px;
  background-color: #eee;
  padding: 5px;
}
.clauseTable > table tbody td {
  border: 1px solid #ccc;
  padding: 5px;
}
