/* member */
.member-wrap {
  max-width: 500px;
  margin: 20px auto 0;
  padding: 25px;
}

.CardForm {
  max-width: 500px;
  padding: 30px 20px;
  border-radius: 5px;
  border: solid 1px var(--colorF1);
}

@media screen and (max-width: 767px) {
  .member-wrap {
    border: none;
    margin-top: 40px;
    padding: 40px 0px;
  }
}


.member-wrap h2.title {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
  word-break: keep-all;
}


.member-wrap input[type="text"],
.member-wrap input[type="password"],
.member-wrap input[type="email"],
.member-wrap input[type="tel"] {
  height: 55px;
  line-height: 55px;
  padding: 10px 20px;
  font-size: 14px;
  border: solid transparent 2px;
}


.member-wrap .form-control.edit {
  height: 40px;
  min-height: 40px;
  font-size: 16px;
  border-bottom: solid 1px #ddd;
  border-radius: 5px;
}


.member-wrap .form-control.edit:focus {
  border-radius: 5px;
}

.member-wrap .form-control::placeholder {
  color: #cac9c9;
}


.member-wrap .form-control.bold {
  font-size: 22px;
  font-weight: bold;
}

.member-wrap .form-control.bold::placeholder {
  font-size: 22px;
  font-weight: bold;
}

.member-wrap .form-control:focus {
  border: solid 2px var(--theme);
}


@media screen and (max-width: 767px) {
  .member-wrap .form-control {
    height: 50px;
    min-height: 50px;
    font-size: 16px;
  }

  .member-wrap .form-control.bold {
    font-size: 18px;
  }

  .member-wrap .form-control.bold::placeholder {
    font-size: 18px;
    font-weight: bold;
  }
}

.member-wrap .info-txt {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  word-break: keep-all;
  color: var(--color4);
}

.member-wrap .info-txt.center {
  text-align: center;
}

.member-wrap .info-txt a {
  color: var(--color0);
  font-weight: bold;
}


.member-wrap .info-txt.left {
  text-align: left;
}

.member-wrap .join-user-complete {
  width: 75%;
  margin: 0 auto;
}

.member-wrap .info-txt.gray {
  color: #868585;
}

.member-wrap .info-txt.a_gray {
  color: #aaa;
}

.member-wrap .info-txt.b_gray {
  color: #757575;
}

@media screen and (max-width: 767px) {
  .member-wrap .info-txt {
    font-size: 15px;
    line-height: 24px;
    margin: 10px 0;
  }
}

@media screen and (max-width: 520px) {
  .member-wrap .info-txt {
    font-size: 13px;
    line-height: 1.5;
  }
}


.member-wrap .info-guide {
  margin: 20px 0;
  font-size: 16px;
  line-height: 26px;
  word-break: keep-all;
  color: #757575;
}


@media screen and (max-width: 767px) {
  .member-wrap .info-guide {
    font-size: 13px;
    line-height: 20px;
    margin: 10px 0;
  }
}


.member-wrap .info-txt em {
  font-weight: 700;
  color: #ff9515;
}

.member-wrap .join-to {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 375px;
  margin: 40px auto 0;
}

@media screen and (max-width: 767px) {
  .member-wrap .join-to {
    margin-top: 20px;
    justify-content: space-around;
  }
}

.member-wrap .join-to p {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .member-wrap .join-to p {
    font-size: 15px;
    line-height: 24px;
  }
}

.member-wrap .join-to a {
  font-size: 18px;
  margin-left: 5px;
}

@media screen and (max-width: 767px) {
  .member-wrap .join-to a {
    font-size: 15px;
  }
}

.member-wrap .login-bottom {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 5px;
}

@media screen and (max-width: 767px) {
  .member-wrap .login-bottom {
    display: flex;
    align-items: center;
    margin-top: 30px;
  }
}


.member-wrap .btn-group {
  margin-top: 30px;
}

.member-wrap .btn-group.half {
  flex-direction: unset;
  margin: 30px auto;
  gap: 20px;
}

.member-wrap .btn-group.half a {
  min-width: 50%;
  margin: 0;
}

.member-wrap .chk-wrap {
  margin-right: auto;
}


.member-wrap .chk-wrap.box {
  padding: 15px;
  font-size: 16px;
  background: #f4f4f4;
  word-break: keep-all;
}

.member-wrap .chk-wrap.box li {
  display: flex;
  margin-bottom: 10px;
  line-height: 1.3;
}

.member-wrap .chk-wrap.box li p {
  display: inline-block;
  min-width: 70px;
  margin-right: 10px
}

@media screen and (max-width: 767px) {
  .member-wrap .chk-wrap {}

  .member-wrap .chk-wrap.box {
    padding: 15px 10px;
    font-size: 14px;
  }
}

.member-wrap .chk-wrap.box {
  padding: 15px;
  font-size: 16px;
  background: #f4f4f4;
  word-break: keep-all;
}

.member-wrap .chk-wrap.box li {
  display: flex;
  margin-bottom: 10px;
  line-height: 1.3;
}

.member-wrap .chk-wrap.box li p {
  display: inline-block;
  min-width: 70px;
  margin-right: 10px
}

@media screen and (max-width: 767px) {
  .member-wrap .chk-wrap {}

  .member-wrap .chk-wrap.box {
    padding: 15px 10px;
    font-size: 14px;
  }
}

.member-wrap .login-bottom a {
  display: block;
  margin-left: 15px;
  font-size: 16px;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .member-wrap .login-bottom a {}
}


.member-wrap .btn-group .btn {
  width: 100%;
  max-width: 445px;
  margin: 20px auto 0;
  line-height: 50px;
  height: 50px;
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .member-wrap .btn-group .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
  }
}

.member-wrap .btn-group .btn:first-child {
  margin-top: 0;
}

.member-wrap .bottom-btn {
  margin: 30px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-wrap .bottom-btn a {
  position: relative;
}

.member-wrap .bottom-btn a:first-of-type::before {
  display: none;
}

.member-wrap .bottom-btn a::before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  width: 2px;
  height: 13px;
  margin: 0px 10px;
  background: var(--color1);
}

.chk-wrap.eye {
  position: absolute;
  right: 0;
}

.member-wrap .chk-wrap {
  margin-right: auto;
}


.chk-wrap input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chk-wrap input+label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.3px;
  user-select: none;
  vertical-align: top;
}

.chk-wrap.eye input+label::before {
  width: 20px;
  height: 20px;
  background: url(/home/images/icon/icon-close-eye.png);
  background-size: 100%;
  border: none;
  filter: opacity(0.5);
}


.chk-wrap.eye input+label::after {
  width: 20px;
  height: 20px;
  background: url(/kpopenglish/images/icon/icon-eye.png);
  background-size: 100%;
  border: none;
  transform: rotate(0deg);
  animation: unset;
  left: 0;
  filter: drop-shadow(0px 1px 10px rgba(0, 0, 0, 1));
}

.chk-wrap input+label::before {
  content: ' ';
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
}

.chk-wrap input:checked+label::after {
  content: ' ';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 8px;
  height: 13px;
  border: 3px solid var(--color0);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: rubberBand2 0.5s ease-in-out;
  border-radius: 1px;
}

.chk-wrap input:checked+label {
  font-weight: bold;
  color: var(--color0);
  /* color: var(--theme); */
}



.rdo-wrap input:checked+label {
  font-weight: 600;
  color: #333;
}

.rdo-wrap input+label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 25px;
  color: #8f8f8f;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  user-select: none;
  vertical-align: top;
}


.rdo-wrap input+label::before {
  content: ' ';
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  background: var(--colorF);
  border-radius: 9px;
}

.rdo-wrap input:checked+label::after {
  content: ' ';
  position: absolute;
  top: 7px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--theme);
}


.rdo-wrap input:checked+label::before {
  border-color: var(--theme);
}

.card-title {
  color: var(--colorB);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}



.find-tabs {
  position: relative;
  margin-top: 30px;
}

.find-tabs .tabs {
  display: flex;
  border-bottom: solid 1px var(--color6);
}

.find-tabs .tabs li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  cursor: pointer;
}

.find-tabs .tabs li {
  display: block;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  text-align: center;
  font-size: 18px;
  color: #888;
}

.find-tabs .tabs li:hover {
  color: var(--theme3);
}

.find-tabs .tabs li.active {
  border-color: var(--theme);
  color: var(--theme);
  font-weight: 500;
}

.find-cont-wrap .find-head {
  position: relative;
  text-align: center;
  margin-top: 20px;
}

.find-cont-wrap .find-head .tit {
  font-weight: bold;
}

.find-cont-wrap .find-conts .desc {
  margin-top: 10px;
  font-size: 16px;
  color: #707070;
}

.find-cont-wrap .radio-tabs {
  margin: 20px 0;
  font-size: 0;
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.find-cont-wrap .radio-tabs li {
  display: inline-block;
  vertical-align: top;
}

.find-cont-wrap .radio-tabs label {
  font-size: 17px;
}

.find-cont-wrap .find-conts>.tit {
  margin-top: 15px;
  font-size: 18px;
  color: #707070;
}


.find-cont-wrap .find-conts .input-box {
  margin-top: 50px;
  padding: 30px 25px 50px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.phone-Certified {
  position: absolute;
  top: 50%;
  right: 5%;
  z-index: 99;
  transform: translateY(-50%);
  color: var(--theme);
  font-size: 14px;
  font-weight: 700;
}

/* 검색 옵션 스타일 */
.search-options {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}

/* QA E5: 검색칸 높이를 전체~출력 버튼칸(32px)과 통일 */
.popup-content-body__filter-left .input-box input[type="text"] {
  height: 32px;
  min-height: 32px; /* common.css input min-height:35px 가 height:32 를 눌러 3px 커지던 것 상쇄 (QA UI-1: 검색칸=기능칸 높이) */
  box-sizing: border-box;
}

/* 검색 옵션 버튼 — 공통 기본 스타일 */
.search-options .btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 10px;          /* QA E5: 검색칸과 높이 통일 위해 세로 padding 대신 height 고정 */
  height: 32px;
  min-height: 32px;         /* .btn 베이스의 min-height:33px 를 눌러 검색칸(32px)과 정확히 일치시킴 */
  box-sizing: border-box;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #bbb;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.search-options .btn:hover {
  background: #e8e8e8;
  border-color: #999;
}

.search-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 14px;
}

/* 체크박스 스타일 */
#searchSimpleMode {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  margin: 0;
}

#searchSimpleMode:checked {
  background-color: #007bff;
  border-color: #007bff;
}

#searchSimpleMode:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

#searchSimpleMode:hover {
  border-color: #007bff;
}

/* ===== TOTAL 숫자 빨간색 (추출 필터 적용 시) ===== */
#totalCount.filtered {
  color: #e53935;
  font-weight: bold;
}

/* ===== 등록/수정/삭제/출력 버튼 색상 ===== */
.search-options .btn.btn-register {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
}
.search-options .btn.btn-register:hover {
  background: #388e3c;
  border-color: #388e3c;
  color: #fff;
}

/* 수정 버튼도 등록과 같은 초록 (QA E5: 등록·수정=초록, 삭제만 빨강) */
.search-options .btn.btn-modify {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
}
.search-options .btn.btn-modify:hover {
  background: #388e3c;
  border-color: #388e3c;
  color: #fff;
}

.search-options .btn.btn-remove {
  background: #f44336;
  color: #fff;
  border-color: #f44336;
}
.search-options .btn.btn-remove:hover {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #fff;
}

.search-options .btn.btn-print {
  background: #2196f3;
  color: #fff;
  border-color: #2196f3;
}
.search-options .btn.btn-print:hover {
  background: #1976d2;
  border-color: #1976d2;
  color: #fff;
}

/* ===== 수정/삭제 버튼 비활성화 상태 ===== */
.search-options .btn.disabled {
  background: #ccc !important;
  border-color: #ccc !important;
  color: #999 !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
}

/* 컨텍스트 메뉴 스타일 */
.context-menu {
  position: absolute;
  display: none;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  min-width: 200px;
  max-height: 500px;
  overflow-y: auto;
  font-family: inherit;
}

.context-menu-header {
  padding: 8px 12px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.context-menu-header-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.context-menu-header-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.context-menu-header-btn {
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.context-menu-header-btn.header-btn-edit {
  background: #ffc107;
  color: #fff;
}
.context-menu-header-btn.header-btn-edit:hover {
  background: #f9a825;
}

.context-menu-header-btn.header-btn-delete {
  background: #f44336;
  color: #fff;
}
.context-menu-header-btn.header-btn-delete:hover {
  background: #d32f2f;
}

.context-menu ul {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.context-menu-item {
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.context-menu-item:hover {
  background-color: #f0f0f0;
}

.context-menu-item:active {
  background-color: #e0e0e0;
}

.context-menu-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.context-menu-text {
  flex: 1;
}

.context-menu-shortcut {
  margin-left: auto;
  color: #999;
  font-size: 12px;
}

.context-menu-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 10001;
}

.context-menu-submenu ul {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

/* 화면 표시설정 버튼 그룹 스타일 (필터 오른쪽 끝) */
.display-mode-group {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  gap: 0;
  border: 1px solid #cfd8dc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

/* 선택 안 된 모드도 '버튼'으로 보이게 (예전엔 테두리·배경이 없어 맨텍스트처럼 보였다) */
.display-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: none;
  border-left: 1px solid #cfd8dc;
  background: #f6f8fa;
  color: #444;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border-radius: 0;
}

.display-mode-btn:first-child {
  border-left: none;
}

.display-mode-btn:hover {
  background: #e8eef3;
  color: #222;
}

.display-mode-btn.active {
  background: #4caf50;
  color: #fff;
  font-weight: 600;
}

.display-mode-btn:focus {
  outline: none;
}

/* 액션 버튼 바 스타일 (등록, 수정, 추출 등) */
.popup-content-body__action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 10px;
}

.popup-content-body__action-bar .btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.popup-content-body__action-bar .btn:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

.popup-content-body__action-bar .btn i {
  font-size: 14px;
}

/* ===== 결제정보 모달 스타일 ===== */
.payment-info-modal .modal-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.payment-modal-header {
  background: var(--theme) !important;
  color: white !important;
  padding: 10px 20px !important;
}

.payment-modal-header h2 {
  font-size: 15px !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white !important;
}

.payment-modal-header h2 i {
  font-size: 18px;
}

/* 고객 정보 섹션 */
.payment-customer-info {
  background: var(--light-blue);
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px solid var(--colorD);
}

.customer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.customer-row:last-child {
  margin-bottom: 0;
}

.customer-label {
  font-size: 12px;
  color: #666;
  min-width: 50px;
  font-weight: 500;
}

.customer-value {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  flex: 1;
  background: white;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.customer-value.highlight {
  background: #fffde7;
  border-color: #ffd54f;
}

.customer-value.wide {
  flex: 3;
}

.summary-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #ccc;
  justify-content: space-around;
}

.summary-item {
  text-align: center;
}

.summary-label {
  font-size: 11px;
  color: #888;
  display: block;
  margin-bottom: 2px;
}

.summary-value {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.summary-value.accent {
  color: var(--theme);
}

.summary-value.danger {
  color: #d32f2f;
}

/* 전표 정보 섹션 */
.payment-slip-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.slip-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--theme);
}

.slip-buttons {
  display: flex;
  gap: 6px;
}

.btn-outline-sm {
  font-size: 11px;
  padding: 4px 8px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-sm:hover {
  background: var(--light-blue);
  border-color: var(--theme);
  color: var(--theme);
}

/* 판매/입금 상세 섹션 */
.payment-detail-section {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.payment-row {
  display: flex;
  align-items: center;
}

.payment-row .row-label {
  width: 70px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.payment-row .row-content {
  flex: 1;
  padding: 8px 12px;
  text-align: right;
}

.sales-row {
  background: var(--light-blue);
  border-bottom: 1px solid #e0e0e0;
}

.sales-row .row-label {
  background: rgba(0, 0, 0, 0.05);
  color: var(--theme);
}

.sales-amount {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.credit-row {
  background: #fff3e0;
  border-top: 1px solid #e0e0e0;
}

.credit-row .row-label {
  background: rgba(0, 0, 0, 0.05);
  color: #e65100;
}

.credit-amount {
  font-size: 16px;
  font-weight: 700;
  color: #d32f2f;
}

/* 입금 입력 그룹 */
.payment-input-group {
  display: flex;
  background: white;
}

.input-group-label {
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  border-right: 1px solid #e0e0e0;
}

.input-group-content {
  flex: 1;
  padding: 6px 8px;
}

.payment-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.payment-input-row:last-child {
  margin-bottom: 0;
}

.input-type {
  width: 55px;
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 3px;
}

.input-type i {
  font-size: 12px;
  color: #888;
}

.payment-amount-input {
  width: 100px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: all 0.2s;
}

.payment-amount-input:focus {
  border-color: var(--theme);
  box-shadow: 0 0 0 2px rgba(0, 150, 136, 0.1);
  outline: none;
}

.payment-note-input {
  flex: 1;
  padding: 5px 8px;
  font-size: 11px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.payment-note-input:focus {
  border-color: var(--theme);
  outline: none;
}

/* 푸터 버튼 */
.payment-modal-footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 15px !important;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}

.payment-modal-footer .btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-modal-footer .btn i {
  font-size: 13px;
}

.payment-modal-footer .btn-secondary {
  background: #e0e0e0;
  border: 1px solid #bdbdbd;
  color: #555;
}

.payment-modal-footer .btn-secondary:hover {
  background: #d0d0d0;
}

.payment-modal-footer .btn-primary {
  background: var(--theme);
  border: 1px solid var(--theme);
  color: white;
}

.payment-modal-footer .btn-primary:hover {
  filter: brightness(1.1);
}

.payment-modal-footer .btn-info {
  background: #03a9f4;
  border: 1px solid #03a9f4;
  color: white;
}

.payment-modal-footer .btn-info:hover {
  filter: brightness(1.1);
}

.payment-modal-footer .btn-warning {
  background: #ff9800;
  border: 1px solid #ff9800;
  color: white;
}

.payment-modal-footer .btn-warning:hover {
  filter: brightness(1.1);
}

/* 비활성화된 버튼 스타일 */
.payment-modal-footer .btn.disabled,
.payment-modal-footer .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-outline-sm.disabled,
.btn-outline-sm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== 전체 레이아웃 — 화면 꽉 채움, 불필요한 스크롤 제거 ===== */
.contents {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 10px);
  overflow: hidden;
}

.contents .content-header {
  flex-shrink: 0;
}

.contents .content-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.contents .content-body .popup-content-body__table-wrap {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.contents .content-body .popup-content-body__table {
  flex: 1;
  min-width: 0;
  height: 100%;
}
