/* ���� */
img {border:0px;}
body { margin-top:0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; overflow-x:auto; overflow-y:auto; background-color:ffffff; font-family:'SUITE-Regular';}
table {font-family:'SUITE-Regular'; font-size: 9pt; line-height: 140%; color: #111111;letter-spacing:-1px;}
textarea {font-family:'SUITE-Regular'; font-size: 11px; border: 1px solid #DADADA; color: #666666; ;}
textarea {font-family:'SUITE-Regular'; font-size: 10pt; color: #252525;}
.small {font-family:'SUITE-Regular';font-size: 11px; color:aaaaaa; }
.big {font-size: 14px;}
a:link { font-size : 9.5pt; color : #252525; text-decoration : none; }
a:visited { font-size : 9.5pt; color : #000000; text-decoration : none; }
a:hover { font-size : 9.5pt; color : #000000; text-decoration : underline}
a {font-family: 'Pretendard-Regular';}

body {
 
 scrollbar-face-color: #f2f2f2;
 scrollbar-shadow-color: #ababab;
 scrollbar-highlight-color: #ababab;
 scrollbar-3dlight-color:#f2f2f2;
 scrollbar-darkshadow-color: #f2f2f2;
 scrollbar-track-color: #f2f2f2;
 scrollbar-arrow-color: #aaaaaa;
}

.input	{ Background-Color:#ffffff; Border:1px Solid #e8e7e7; Color:#111111; Font-size:12px; Font-family:����,����ü,Verdana; Line-height:32px; }

@font-face {
    font-family: 'S-CoreDream-3Light';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

table.custom_font a {
    font-size: 14px;
}

button.filtered_number {
    font-family: 'Pretendard-Regular';
    cursor: pointer;
    border: 1px solid;
    padding: 2px 8px;
    border-radius: 2px;

}

table.number_limit p {
    font-family: 'Pretendard-Regular';
    display: inline;
    font-size: 14px;
}

.area_hp_list a:hover {
    text-decoration: none;
    font-size: 11pt;
    font-family: #000000;
}

.area_hp_list li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 11pt;
    color: black;
}

    .area_hp_list li.on {
        border: 1px #e4dfdf solid;
        background-color: #e4dfdf;
    }

    div#divMenu img {position: absolute; left: 25px;}

/* 팝업창 */

.popup-container {
    /* display: none;  */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 배경 투명도 조절 (기존 0.5 → 0.3) */
    backdrop-filter: blur(5px); /* 살짝 흐려지는 효과 추가 */
    justify-content: center;
    align-items: flex-start; /* 상단에 정렬 */
}

/* 팝업 내용 */
.alert_popup {
    position: absolute;
    top: 20%; /* 화면 상단에서 20% 떨어진 위치 */
    left: 50%; /* 중앙 정렬 */
    transform: translateX(-50%); /* 정확한 중앙 위치 */
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-family: "Pretendard-Regular";
}

.alert_popup span {
    color: #F01313;
    text-decoration: underline;
}

/* 버튼 스타일 */
.btn-agree, .btn-close {
    display: inline-block;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-agree:hover {
    background-color: #0056b3;
}

.btn-close {
    background-color: #6c757d;
}

.btn-close:hover {
    background-color: #5a6268;
}

.change_price_box{
    border: 1px solid #0056b3;
    border-radius: 3px;
    padding: 14px;
    width: 340px;
    margin: 0 auto;
}

.change_price_box h5 {
    margin-top: 0px;
    font-size: 16px;
    margin-bottom: 8px;
}

.change_price_box p {
    margin: 0;
}

.agree_box button {
    font-family: 'Pretendard-Regular';
    font-size: 14px;
}

/* 타겟문자신청바로가기 */

.sample-btn {
    font-family: 'Pretendard-Regular' !important;
    position: absolute;
    left: 40.4%;
    transform: translateX(-50%);
    bottom: 35px;
    font-size: 26px !important;
    padding: 20px 43px !important;
    border-radius: 10px;
    background-color: #fff !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    font-weight: 700 !important;
}

.sample-btn:hover {
        color: #fff!important;
        background: #30B97B!important;
        text-decoration: none!important;

    }

.relative-td {
    position: relative;
    display: block;
    width: 1000px;
    height: 420px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* 타켓문자서비스신청 */

@font-face {
    font-family: 'NEXON Lv2 Gothic';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv2 Gothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'NEXON Lv2 Gothic';
    letter-spacing: -1px;
}

label.form-label.title-custom.d-block {
    font-weight: 600;
    border-bottom: 3px solid #555;
    margin-bottom: 15px;
    margin-left: 3px;
    line-height: 35px;
    font-size: 16px;
}

.staffname {
    text-align: center;
    padding: 10px;
    background: #444;
    color: #fff;
    font-size: 17px !important;
    font-weight: 100 !important;
}

h6.fw-bold.title-custom {
    border-bottom: 3px solid #555;
    margin-bottom: 15px;
    margin-left: 3px;
    line-height: 35px;
    font-size: 16px;
}

.font-change label {
    font-size: 14px;
    font-weight: 600!important;
}

h6.fw-bold.mt-2 {
   text-align: center;
    padding: 10px;
    background: #444;
    color: #fff;
    font-size: 17px !important;
    font-weight: 100 !important; 
}

/* 모든 input과 select의 테두리를 블랙으로 변경 */
.form-control,
.form-select {
    border: 1px solid #999 !important;
    font-size: 14px;
}

/* 입력 필드에 포커스 되었을 때도 블랙 유지 */
.form-control:focus,
.form-select:focus {
    border-color: #464848 !important;
    border: 2px solid #464848!important;
    box-shadow: none!important;
}

.col-md-4 .form-label {
    font-size: 14px;
    font-weight: 600;
}

.text-center.form-button {
    margin-bottom: 30px;
    margin-top: 40px;
}

/* 내주소록보기 */
table.button_row td {
    padding: 1px;
    padding-bottom: 0px
}

table.button_row select {
    border-radius: 2px;
    padding: 3px;
    letter-spacing: -1px;
}

table.search-custom td:first-child {
    text-align: center;
    font-size: 14px;
    vertical-align: middle;
    font-weight: 600;
    font-family: 'pretendard-regular';
    color: #2F88FF
}

/* 발송취소 환불내역 모달창 */

.export-button {
    text-align: right;
}

.export-button button {
    padding: 7px 14px;
    background: #464848;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
    line-height: 15px;
}

.export-button button:hover {
    background: #0056b3;
}

.main_modal-content {
  background-color: #fff;
    margin: 10% auto;
    padding: 20px 30px;
    border: 1px solid #888;
    width: 40%;
    border-radius: 4px;
    position: relative;
    overflow-y: auto;
    max-height: 700px;
    height: 600px;
}

.refundtotal p {
    font-size: 15px;
    font-weight: 600;
}

.refundtotal span {
    color: crimson;
    font-size: 14px;
}

    /* 검색 필터 영역 스타일 */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 15px;
  justify-content: center;
  margin-top: 20px;
}

.filter-container label {
  font-weight: bold;
  font-size: 14px;
}
.filter-container input {
    margin-right: 10px;
    padding: 4px 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.filter-container button {
    margin-right: 4px;
    border: 1px solid #ccc;
    font-size: 13px;
    padding: 5px 9px;
    border-radius: 3px;
    line-height: 15px;
    color: #444;
    font-weight: 600;
    cursor: pointer;
}

/* 모달 제목 스타일 */
.modal-title {
  font-size: 19px;
    font-weight: bold;
    margin: 0px;
        }

        /* 구분선 스타일 */
        .divider {
            border-bottom: 1px solid #ccc;
            margin: 10px 0;
        }

/* 테이블 반응형 컨테이너 */
.table-responsive {
  width: 100%;
  overflow-x: auto;  /* 작은 화면에서 표 가로 스크롤 허용 */
}
/* 테이블 스타일 */
.refund-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;  /* 표가 너무 좁아지지 않도록 최소 너비 지정 */
  white-space: nowrap;
}
.refund-table th, .refund-table td {
  border: 1px solid #ddd;
  padding: 7px;
  text-align: left;
  font-size: 15px;
}
.refund-table th {
  background-color: #f2f2f2;
}
/* 환불액 링크 스타일 */
.refund-table a {
  color: #0066cc;
  text-decoration: none;
  cursor: pointer;  /* 링크에 마우스 올렸을 때 포인터 커서 */
}
.refund-table a:hover {
  text-decoration: underline;
}


/* 모달 콘텐츠 박스 */
.modal-content {
  background-color: #fff;
  margin: 10% auto; /* 화면 가운데에 위치 (상단 여백 10%) */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px; /* 너무 넓어지지 않도록 최대 너비 */
  border-radius: 4px;
  position: relative;
}
/* 닫기(X) 버튼 스타일 */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover {
  color: #999;
}
.receipt-table, .company-info {
        width: 100%;
        margin-top: 20px;
        border-collapse: collapse;
        font-size: 12px;
    }

    .receipt-table th, .company-info th {
        width: 40%;
      border: 1px solid #ddd;
      text-align: left;
      justify-content: center;
      padding-left: 10px
      }

    h2.refuntTitle {
        font-size: 18px;
        text-align: center;
        padding: 4px;
    }

    .receipt-table td, .company-info td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    .receipt-table tr:first-child td {
        background-color: #f8f8f8;
        font-weight: bold;
    }

    .stamp {
        text-align: right;
        margin-top: 10px;
    }

    .stamp img {
        width: 80px;
        height: auto;
    }

    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
    }

    .close-btn {
        float: right;
        font-size: 24px;
        cursor: pointer;
        line-height: 40px;
    }

    .print-button {
        text-align: center;
        margin-top: 20px;
    }

    .print-button button {
        padding: 8px 15px;
        background: #464848;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 14px;
        border-radius: 3px;
    }

    .print-button button:hover {
        background: #0056b3;
    }

    .refund_btn_row {
        display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-refund_List {
  font-family: 'pretendard-regular';
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
    color: #444;
    cursor: pointer;
    font-size: 12px;
}

td.ceo_name img {
    width: 30px;
    vertical-align: middle;
}


.secure-wrapper {
    margin: 0;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    margin-top: 70px;
}

form {
    margin: 0;
    padding: 0;
    border: 0;
}

.secure-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 50px;
    max-width: 420px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 420px;
}

.secure-icon {
    font-size: 50px;
    color: #f44336;
}

.secure-card h2 {
    font-size: 22px;
    margin: 16px 0 8px;
}

.secure-subtext {
    color: #000;
    font-size: 14px;
    margin-bottom: 24px;
}

    .secure-subtext span {
        color: #df1d10;
    }

.secure-card select,
.secure-card input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.secure-checkbox {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

    .secure-checkbox input {
        margin-right: 6px;
    }

.secure-small-text {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 4px;
}

.secure-confirm-text {
    font-size: 12px;
    color: #2962ff;
    text-align: left;
    margin-top: 3px;
}

.secure-wrong-text {
    font-size: 12px;
    color: #df1d10;
    text-align: left;
    margin-top: 3px;
}

.secure-links {
    font-size: 13px;
    text-align: left;
    margin-top: 16px;
}

    .secure-links a {
        color: #3b7ddd;
        text-decoration: none;
    }

.secure-btn {
    margin-top: 30px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #2962ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    .secure-btn.secondary {
        background-color: #ccc;
        color: #333;
        margin-top: 10px;
    }

.secure-verification-code {
    margin-top: 20px;
    display: none;
}

.secure-tip {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 16px;
}

.secure-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

    .secure-row input {
        width: 293px;
        border-radius: 5px;
        border: 1px solid #ccc;
        padding-left: 10px;
        font-size: 14px;
    }

    .secure-row select {
        padding: 10px 30px 10px 10px;
        /* 오른쪽 여백 추가 */
        appearance: none;
        /* 기본 화살표 제거 */
        background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23999" viewBox="0 0 16 16"%3E%3Cpath d="M7.247 11.14l-4.796-5.481c-.566-.648-.106-1.659.753-1.659h9.592c.86 0 1.32 1.01.753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/%3E%3C/svg%3E');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
        margin-top: 0px;
    }

    .secure-row button {
        flex: 1;
        padding: 10px;
        font-size: 14px;
        background-color: #f9fbfe;
        color: #2962ff;
        border: 1px solid #2962ff;
        border-radius: 6px;
        cursor: pointer;
        white-space: nowrap;
        line-height: 18px;
    }

.secure-card input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* 사용증명서 25-10-14 모달 start*/

/* ========== 공통 색상/폰트 ========== */
:root { --b:#9aa7b6; --ink:#1f2937; --muted:#64748b; --head:#f3f4f6; }
body { margin:0; color:var(--ink);
  font:13px/1.5 sans-serif,-apple-system,Segoe UI,Roboto,"Apple SD Gothic Neo","Noto Sans KR"; }

/* ========== 모달 트리거 버튼(예시) ========== */
.open-modal-btn{
  margin:24px;
  padding:10px 14px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  background-color:#2563eb;
  border:none;
  color:#fff;              
  padding:10px 18px;
  margin-right:10px;
  border-radius:6px;               
  font-size:15px;
  cursor:pointer;
  font-weight: 500;
}

.rcpmod-backdrop{
  position:fixed; inset:0; background:rgba(15,23,42,.45);
  display:none; z-index:1000;
}
.rcpmod-backdrop.show{ display:block; }

/* ✅ 수정 */
.rcpmod{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  z-index:100000; pointer-events:none;
}
.rcpmod.show{
  display:flex;            /* 열릴 때만 보이게 */
  pointer-events:auto;
}


.rcpmod-dialog{
  width:min(1250px, 96vw);
  max-height:90vh;
  background:#fff; border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  display:flex; flex-direction:column;
  overflow:hidden;
}
.rcpmod-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; border-bottom:1px solid #e5e7eb;
}
.rcpmod-title{ font-weight:700; letter-spacing:.01em; font-size: 15px;}
.rcpmod-close{
  border:0; background:#f3f4f6; border-radius:8px; padding:6px 10px; cursor:pointer;
}

/* 본문: 좌우 2단 */
.rcpmod-body{
  display:grid; grid-template-columns: 360px 1fr;
  gap:12px; padding:12px; overflow:hidden;
  min-height:420px;
}

/* 좌측: 체크박스 리스트 */
.rcpmod-left{
  border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; background:#fff;
  display:flex; flex-direction:column; min-height:0;
}
.rcpmod-left .panel-head{
  padding:10px 12px; border-bottom:1px solid #e5e7eb; background:#f8fafc; font-weight:600;
}
.rcpmod-left .tools{
  display:flex; gap:8px; padding:10px 12px; border-bottom:1px solid #e5e7eb;
}
.rcpmod-left .tools input{
  flex:1; border:1px solid #d1d5db; border-radius:8px; padding:6px 8px;
}
.rcpmod-left .tools button{
  border:1px solid #d1d5db; background:#fff; border-radius:8px; padding:6px 8px; cursor:pointer;
}
.rcpmod-left .list{
  list-style:none; margin:0; padding:8px 8px 12px; overflow:auto; flex:1;
}
.rcpmod-left .list li{
  display:flex; align-items:center; gap:8px; padding:8px; border-radius:8px; cursor:default; font-size: 12px;
}
.rcpmod-left .list li:hover{ background:#f8fafc; }
.rcpmod-left .list input[type="checkbox"]{ width:16px; height:16px; }
.rcpmod-left .meta{ color:#6b7280; font-size:12px; margin-left:auto; }

/* 우측: A4 미리보기 컨테이너 */
.rcpmod-right{
  border:1px solid #e5e7eb; border-radius:12px; background:#fff;
  padding:10px; overflow:auto; min-height:0;
}

/* ========== A4 미리보기 기존 스타일(iwqa4) ========== */
.iwqa4 { --b:#9aa7b6; --ink:#1f2937; --muted:#64748b; --head:#f3f4f6; }
.iwqa4, .iwqa4 *{ box-sizing:border-box; color:var(--ink);
  font:13px/1.5 sans-serif,-apple-system,Segoe UI,Roboto,"Apple SD Gothic Neo","Noto Sans KR"; }

/* A4 Sheet */
.iwqa4-sheet{ width:210mm; min-height:297mm; margin:0 auto; background:#fff;
  border:1px solid #ccc; position:relative; }
.iwqa4-inner{ padding:10mm; }

/* Header */
.iwqa4-title{ margin:0 0 20px; text-align:center; font-weight:600; letter-spacing:.02em; }

/* 아이콘 전용 인쇄 버튼(미리보기 우상단) */
.iwqa4-print{
  position:absolute; right:10mm; top:11mm;
  border:1px solid var(--b);
  background:#fff; color:#0f3da0;
  border-radius:6px; padding:.32rem .36rem;
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center; line-height:0;
}
.iwqa4-print svg{ width:18px; height:18px; display:block; }
.iwqa4-print:hover{ background:#e6f0ff; }
.iwqa4-print:active{ transform:translateY(1px); }

.iwqa4-sr{ position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Unified info table */
.iwqa4-uni{ width:100%; border-collapse:collapse; table-layout:fixed; margin-bottom:8px; }
.iwqa4-uni th, .iwqa4-uni td{ border:1px solid var(--b); padding:6px 8px; font-size: 12px;}
.iwqa4-uni th{ width:13%; background:var(--head); text-align:left; font-weight:700; color:#374151; }
.iwqa4-uni td{ position:relative; }
.iwqa4-uni .has-stamp{ padding-right:76px; }
.iwqa4-stamp{
  position:absolute; right:10px; top:50%; transform:translateY(-50%) rotate(-10deg);
  width:58px; height:58px; border:1px solid #c62828; color:#c62828; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-weight:900; opacity:.9; pointer-events:none;
}

/* Detail table */
.iwqa4-tbl{ width:100%; border-collapse:collapse; table-layout:fixed; }
.iwqa4-tbl th, .iwqa4-tbl td{ border:1px solid var(--b); padding:7px 8px; text-align: center; font-size: 13px;}
.iwqa4-tbl thead th{ background:#e9edf5; text-align:center; font-weight: 700; font-size: 13px;}
.iwqa4-right{ text-align:right } .iwqa4-center{ text-align:center }

/* Totals table */
.iwqa4-tot{ width:100%; border-collapse:collapse; table-layout:fixed; margin-top:8px; }
.iwqa4-tot th, .iwqa4-tot td{ border:1px solid var(--b); padding:7px 8px; font-size: 12px; text-align: center; }
.iwqa4-tot thead th{ background:#e9edf5; text-align:center; }

/* Note */
.iwqa4-note{ margin-top:8px; color:var(--muted); font-size:12px }

/* 두 줄 말줄임 */
.td-ellipsis-2{
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow:hidden; text-overflow:ellipsis; white-space:normal; line-height:1.4; max-height:calc(1.4em * 2); word-break:break-word;
}
.td-ellipsis-2 a, .td-ellipsis-2 span { word-break: break-word; }

/* 상단 타이틀 행 */
.iwqa4-uni-title th{
  background: var(--head); text-align: center; font-weight: 600; font-size: 25px;
  letter-spacing: .02em; padding: 10px 8px; color: #111827;
}

/* ========== 모달 푸터 ========== */
.rcpmod-footer{
  display:flex; justify-content:flex-end; gap:8px;
  padding:12px 16px; border-top:1px solid #e5e7eb;
  background:#fff;
}
.rcpmod-footer .btn{
  border:1px solid #cbd5e1; background:#fff; border-radius:10px; padding:10px 14px; cursor:pointer;
}
.rcpmod-footer .btn.primary{
  background:#111827; color:#fff; border-color:#111827;
}

/* === 인쇄 전용 (빈 페이지/그림자 제거 버전) === */
/* ----- 인쇄 전용 패치 (맨 마지막에 추가) ----- */
@media print {
    /* 0) 브라우저 페이지 여백과 본문 여백 정리 */
    @page { size: A4 portrait; margin: 10mm; }
    body > *:not(.rcpmod.printing):not(form):not(style):not(script) { display: none !important; }
    form > *:not(.rcpmod.printing) { display: none !important; }

  
    /* 1) 화면용 UI 숨김(유지) */
    .open-modal-btn, .rcpmod-backdrop, .rcpmod-header, .rcpmod-left, .rcpmod-footer { display:none !important; }
    .rcpmod { display:none !important; }             /* 기본 숨김 */
    .iwqa4-sheet { display:none !important; }        /* 기본 숨김 */
  
    /* 2) 인쇄 모드로 지정된 모달만 노출 */
    .rcpmod.printing {
      display:block !important;
      position:static !important;
      inset:auto !important;
      overflow:visible !important;
      border:0 !important;
      box-shadow:none !important;
    }
    .rcpmod.printing .rcpmod-dialog,
    .rcpmod.printing .rcpmod-body,
    .rcpmod.printing .rcpmod-right {
      position:static !important;
      display:block !important;
      overflow:visible !important;  /* 잘림 방지 */
      border:0 !important;
      box-shadow:none !important;
    }
  
    /* 3) 시트 크기를 '인쇄 가능 영역'에 맞춤 + 높이 고정 해제(=여러 장으로 넘어가게) */
    .rcpmod.printing .iwqa4-sheet{
      display:block !important;
      width: 190mm !important;            /* 210 - 좌우 마진(10+10) */
      margin: 0 auto !important;
      min-height: auto !important;        /* 고정 높이 제거 */
      height: auto !important;
      page-break-inside: auto !important; /* 분할 허용 */
      break-inside: auto !important;
      box-shadow: none !important;        /* 그림자 제거 */
      border: 1px solid var(--b) !important; /* 테두리는 유지 */
    }
  
    /* 4) 표는 헤더 반복 + 행 단위로만 분할 */
    .iwqa4-uni, .iwqa4-tbl, .iwqa4-tot { page-break-inside:auto; break-inside:auto; }
    .iwqa4-uni thead, .iwqa4-tbl thead, .iwqa4-tot thead { display: table-header-group; }
    .iwqa4-uni tfoot, .iwqa4-tbl tfoot, .iwqa4-tot tfoot { display: table-footer-group; }
    .iwqa4-uni tr, .iwqa4-tbl tr, .iwqa4-tot tr { page-break-inside:avoid; break-inside:avoid; }
  
    /* 5) 인쇄용 색 보정 */
    .iwqa4, .iwqa4 *{ -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  }
  
  



/* 반응형: 폭 좁을 때 좌/우 스택 */
@media (max-width: 860px){
  .rcpmod-body{ grid-template-columns: 1fr; }
}

/* ===== Toolbar 규격 통일 ===== */
:root{
--ctrl-h: 36px;          /* 모든 인풋/버튼 높이 */
--radius: 10px;
--border: #d1d5db;
--label-w: 48px;         /* 좌측 라벨 칼럼 고정폭 */
}

/* 툴바 래퍼 */
.toolbar{
padding: 10px 12px;
border-bottom: 1px solid #e5e7eb;
background: #fff;
display: grid;
gap: 10px;
}

/* 3칼럼 그리드: [라벨 | 컨트롤 | 액션] */
.toolbar-row{
display: grid;
grid-template-columns: var(--label-w) 1fr auto;
align-items: center;

}

/* 라벨 */
.toolbar .label{
font-weight: 600;
color: #374151;
}

/* 공통 컨트롤 규격 */
.ctrl,
.dr{ height: var(--ctrl-h); }

/* 기간 선택 박스 */
.dr{
display: inline-flex;
align-items: center;
gap: 7px;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0 10px;
background: #fff;
}
.dr .icon{ font-size: 14px; opacity: .8; }
.dr-input{
border: 0; outline: none;
height: calc(var(--ctrl-h) - 2px);
min-width: 90px;
font: inherit; color: #111827; background: transparent; font-size: 14px;
}
.dr-input::-webkit-calendar-picker-indicator{ cursor: pointer; }
.sep{ color: #9ca3af; padding: 0px 12px; }

/* 검색 인풋 */
.kw-input{
width: 82px;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0 10px;
background: #fff;
}

.toolbar-row .btn:hover  {
background: black;
color: #fff;
}

/* 액션 버튼 */
.actions{ 
  display: flex; 
  gap: 3px; 
  justify-content: flex-end; 
  margin-left: 1px;
  margin-right: 6px;}

.cell.actions button{
height: var(--ctrl-h);
padding: 0 5px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: #fff;
cursor: pointer;
color: black;
font-size: 12px;
font-weight: 500;
width: 58px;
}
.btn.primary{ background:#111827; color:#fff; border-color:#111827; }
.btn:hover{ background:#f9fafb; }

/* 반응형: 좁은 화면에서 행 단위로 쌓기 */
@media (max-width: 560px){
.toolbar-row{
grid-template-columns: 1fr;   /* 라벨/컨트롤/액션 세로 배치 */
}
.toolbar .label{ margin-bottom: 4px; }
.actions{ justify-content: flex-start; }
.dr-input{ min-width: 120px; }
}

/* 제목 줄 컨테이너가 가로폭을 갖도록 */
.txv-title{ display:flex; align-items:center; gap:8px; min-width:0; }

/* meta가 남은 폭을 쓰면서 넘치면 … 처리 */
.txv-title .meta{
flex:1;             /* 남은 폭 채움 */
min-width:0;        /* 말줄임 작동 필수 */
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap; /* 한 줄 */
}

/* 카드 리스트 컨테이너 */
.txcard-list{
list-style:none;
margin:0;
padding:0;
display:grid;
grid-template-columns:1fr;   
overflow-y: auto;
padding-top: 5px;   
}

/* 카드 */
.txcard{
border:1px solid #e5e7eb;
border-radius:12px;
background:#fff;
padding:10px 12px;
display:flex;
flex-direction:column;
gap:3px;
transition:box-shadow .15s ease, border-color .15s ease, transform .05s ease;
margin: 4px 10px;
}
.txcard:hover{ border: 2px solid #2563eb; background: #2563eb; color: #fff!important;}
.txcard:active{ transform:translateY(1px); border: 2px solid #2563eb; background: #2563eb; color: #fff!important;}

/* 헤더: 체크박스 | 날짜 | 건수뱃지 */
.txcard-head{
display:grid;
grid-template-columns: 24px 1fr auto;
align-items:center;
gap:8px;
min-width:0; /* ellipsis 작동 보조 */
}
.txcard-head .chk input{ width:16px; height:16px; }
.txcard-head .date{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size: 14px;}

.txcard-head .count{
border:1px solid #d1d5db;
background:#f9fafb;
border-radius:5px;
padding:4px 8px;
font-size:12px;
font-weight: 500;
white-space:nowrap;
color:#111827;
}

* 리스트 체크박스 색을 브랜드 블루로 */
.rcpmod .txcard .chk input[type="checkbox"]{
  width:16px; height:16px;
  accent-color:#2563eb;   /* ✅ 파란 체크박스 + 흰 체크 표시 */
}

/* 선택된 카드가 더 또렷하게 보이도록 */
.rcpmod .txcard:has(.chk input:checked){
  background:#2563eb;
  color:#fff;
  border:2px solid #2563eb;
}
/* 선택된 카드에서 체크박스가 더 선명하게 보이도록 하얀 바탕 깔기*/
.rcpmod .txcard:has(.chk input:checked) .chk{
  background:#fff;
  border-radius:4px;
  padding:1px;
}

/* 제목 영역: 한 줄 말줄임 (필요시 2줄로 변경 가능) */
.txcard-title{
display:flex; align-items:center; gap:8px; min-width:0;
}
.txcard-title .meta{
flex:1; min-width:0;
overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:inherit;
}


.txcard .chk input:checked ~ .date, 
.txcard .chk input:checked ~ .count{ 
}
.txcard.selected{ border-color:#111827; box-shadow:0 6px 20px rgba(17,24,39,.08); }

ul.txcard-list .txcard:first-child {
margin-top: 10px;
}

/* 모바일 간격 */
@media (max-width:480px){
.txcard{ padding:10px }
.txcard-head{ grid-template-columns: 24px 1fr auto; }
}

.txcard-title{
display: flex;      
align-items: center;
gap: 8px;
min-width: 0;       
}

.txcard-title .meta{
flex: 1;            
min-width: 0;       
overflow: hidden;  
text-overflow: ellipsis;  
white-space: nowrap;      
display: block;     
width: 100px;
font-size: 14px;
}

.iwqa4-inner h3 {
font-weight: 600;
}

span.meta_complete {
margin-left: 32px;
font-size: 12px;
}

td.iwqa4-right b {
font-weight: 700;
}

td.iwqa4-center b {
font-weight: 700;
}

td.iwqa4-right strong {
font-weight: 600;
}

td.has-stamp {
position: relative;
}

td.has-stamp img {
width: 70px;
position: absolute;
left: 50%;
top: 120%;
}

.txcard-pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
margin-top: 5px;
padding: 15px;
}

.page-btn {
border: 1px solid #cbd5e1;
background: #fff;
color: #475569;
padding: 4px 10px;
border-radius: 6px;
font-size: 13px;
cursor: pointer;
transition: background 0.2s, color 0.2s;
}

/* 일반 버튼 hover 시 */
.page-btn:hover:not(:disabled):not(.active) {
background: #f1f5f9;
color: #1e293b;
}

/* 활성화된 버튼 */
.page-btn.active {
background: #2563eb;
color: #fff;
border-color: #2563eb;
cursor: default;
}

/* active 상태일 때 hover해도 색상 유지 */
.page-btn.active:hover {
background: #2563eb;
color: #fff;
}

/* 비활성 버튼 */
.page-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}

.dr .dr-input{
  width: 14ch;     
  min-width: 13.5ch;
}

/* 사용증명서 25-10-14 모달 end */

button.success_number{
    background: #353535;
    color: #fff;
    font-size: 11.5px;
    padding: 0px 8px;
    margin-right: 6px;
    cursor: pointer;
}

/* 위임장 양식/예시 박스 - info.aspx 전용 */
.delegation-help-row td {
    padding: 6px 0 10px 0;
  }
  
  .delegation-helpbox {
    background: #fff8e1;
    border: 1px solid #f2d27a;
    border-radius: 6px;
    padding: 10px 12px;
    line-height: 1.6;
  }
  
  .delegation-helpbox__title {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    margin-bottom: 6px;
  }
  
  .delegation-helpbox__links {
    font-size: 13px;
  }
  
  .delegation-helpbox__link {
    color: #0d6efd!important;
    font-weight: 700;
    text-decoration: underline;
  }
  
  .delegation-helpbox__sep {
    color: #999;
    padding: 0 8px;
  }
  
  .delegation-helpbox__note {
    margin-top: 6px;
    font-size: 12px;
    color: #666;
  }

  /* + / - 버튼 공통 */
.hp-btn {
    margin-left: 6px;
    height: 28px;
    min-width: 28px;
    border: 1px solid #464848;
    border-radius: 3px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
  }
  
  .hp-btn:hover {
    background: #eaeaea;
  }
  

  span.text-color {
    font-size: 12px;
    color: red;
    margin-left: 10px;
    font-weight: 600;
}

