.pay-method-help-text {
    margin-top: 10px;
    margin-left: 20px;
    white-space: pre-line;
    line-height: 1.5;
    text-align: left;
    font-size: 12px;
    color: #512772;
}
.pay-method-help-text:not(.always-visible) {
    display: none;
}
.pay-method-help-text.always-visible {
    display: block;
}

.summary-table {
    font-size: 13px;
    word-break: keep-all;
    width: 100%;
}

.summary-table tr:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.summary-table th {
    padding-left: 10px;
    min-width: 90px;
}

.summary-table td {
    padding: 10px;
}

.discount-input-title {
    font-size: 9pt;
    margin-bottom: 5px;
}

.discount-input-container {
    display: flex;
    gap: 10px;
}

.discount-input-container button {
    width: 42px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 30px;
    font-size: 12px;
    word-break: keep-all;
}

.search-result {
    font-size: 13px;
}

.search-result > div {
    display: flex;
    gap: 10px;
}

.searched-name {
    flex: 1;
}

.searched-address {
    width: 100%;
    margin-top: 10px;
}

.searched-wrapper,
.searched-wrapper2 {
    overflow: auto;
    width: 100%;
    font-size: 13px;
}

.searched-wrapper2 {
    display: none;
}

.searched-wrapper3 {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    height: 32px;
}

.from-searched-name,
.to-searched-name {
    display: none;
    height: 32px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    width: 100%;
    padding: 6px 12px;
    color: rgb(85, 85, 85, 1) !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #555;
    flex: 1;
}

.from-searched-address,
.to-searched-address {
    float: none;
    overflow: auto;
    display: none;
    height: 32px;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 6px 12px;
    color: rgb(85, 85, 85, 1) !important;
    -webkit-text-fill-color: #555;
    opacity: 1 !important;
}

.from-searched-name:disabled,
.to-searched-name:disabled,
.from-searched-address:disabled,
.to-searched-address:disabled {
    color: rgb(85, 85, 85, 1) !important;
    -webkit-text-fill-color: #555;
    opacity: 1 !important;
}

.btn-re-search {
    height: 32px;
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 30px;
    cursor: pointer;
    display: none;
    border: 1px solid #cccccc;
    font-size: 12px;
}

.discount-offers {
    border: 1.5px solid #FC944F;
    border-radius: 8px;
    background-color: #FBE5D6;
    padding: 10px;
    font-size: 12px;
    word-break: keep-all;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.discount-offer-name {
    color: #FC944F;
    font-weight: bold;
    font-size: 13px;
}
.discount-offer-description {
    font-weight: bold;
    font-size: 13px;
}
.discount-offer-additional-info {
    color: #666;
}
.radio-wrapper .checkmark {
    top: 6px;
}
.file-input-wrapper {
    display: flex;
    gap: 10px;
}
/* common.css 의 .file_input_div 는 width:63px + overflow:hidden 이라 "Attach file" 같은 영어 문구가
   "Attach fil" 로 잘린다(여권·호텔 바우처도 같이 잘리고 있었다). 이 화면의 첨부 버튼은 글자 폭에 맞춘다.
   숨은 file input 은 여전히 right:0 기준으로 버튼 전체를 덮으므로 클릭 영역은 그대로다. (#515) */
.file-input-wrapper .file_input_div {
    width: auto;
}
.file-button {
    padding: 4px 9px;
    height: 100%;
}
.file-input-text {
    flex: 1;
    height: 30px;
}
/* 파일 해제(×) — 이 화면의 파일 UI 에는 원래 해제 수단이 없었다 (#515). 공용 업로더의 × 와 같은 모양. */
.sdd-file-clear {
    align-self: center;
    cursor: pointer;
    color: #999;
    font-size: 18px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 50%;
    user-select: none;
}
.sdd-file-clear:hover { color: #e53935; background: #f5f5f5; }
/* QR 미리보기는 "맞는 파일을 골랐나" 확인용이라 작게 — 원본 해상도는 그대로 업로드되고 표시만 줄어든다.
   실제로 스캔하는 어드민은 썸네일을 눌러 확대해서 본다. 여권·바우처(.image-preview)는 읽어야 하는
   문서라 기본 크기를 유지한다. (#515) */
#socialMediaQrPreview {
    height: auto;
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
}
.image-preview {
    display: none;
    margin-top: 10px;
    width: auto;
    max-width: 100%;
    height: 150px;
    background-position: center center;
    background-size: cover;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
}
/* PDF 바우처는 인라인 렌더 불가(WebView) → "PDF" 박스 버튼으로 표시, 클릭 시 뷰어로 연다. */
.pdf-preview {
    display: none;
    margin-top: 10px;
    width: 100%;
    max-width: 300px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    color: #512772;
    font-size: 14px;
    font-weight: 600;
}
.address-popup {
    display: none;
}
.address-popup-container {
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
}
.address-popup-title {
    position: relative;
    padding: 0 10px 10px 10px;
}
.close-address-popup-button {
    background: transparent;
    border: 0;
    position: absolute;
    right: 0;
    color: grey;
}
#fromAddressPopup > div, #toAddressPopup > div {
    position: relative;
}
.modal-backdrop.show {
    opacity: 0.5;
}