/* Additions for the static rebuild (vendor CSS is untouched apart from dead url() removal). */
[hidden] { display: none !important; }

/* banners for pages that did not exist on the vendor site */
#contact .sub_page_bg, #notfound .sub_page_bg { background: url(../img/sub/qna_bg.jpg) no-repeat center center / cover; }
#privacy .sub_page_bg, #refund .sub_page_bg, #payresult .sub_page_bg { background: url(../img/sub/announcement01.jpg) no-repeat center center / cover; }

/* privacy document */
.doc_page .sec { padding: 100px 0; }
.doc_wrap { max-width: 1000px; margin: 0 auto; line-height: 1.9; font-size: 1em; color: #333; word-break: keep-all; }
.doc_wrap h2 { font-size: 1.8em; font-weight: 700; color: #000; margin-bottom: 30px; }
.doc_wrap p { margin-bottom: 14px; }
.doc_wrap a { color: var(--color-main, #0039A2); text-decoration: underline; }

/* contact */
.contact_page .sec02 { padding: 100px 0; }
.contact_list li { word-break: keep-all; }
.contact_list li strong { display: inline-block; min-width: 120px; font-weight: 600; color: #000; }
.contact_list li a { color: var(--color-main, #0039A2); }
.contact_empty { padding: 30px 40px; border-radius: 20px; }
.contact_page .doted_line { margin-top: 60px; }

/* 404 */
.notfound_box { text-align: center; padding: 120px 0; }
.notfound_box h2 { font-size: 1.8em; font-weight: 700; margin-bottom: 15px; }
.notfound_box p { color: #666; margin-bottom: 40px; }
.notfound_box a { display: inline-flex; align-items: center; justify-content: center; width: 225px; height: 55px; border-radius: 30px; background: var(--color-main, #0039A2); color: #fff; }

/* FAQ: vendor list without the board toolbar */
#qna .page__contents { padding: 100px 0; }
#qna .listWrap { display: flex; flex-direction: column; gap: 15px; }
#qna .listWrap .qa_li .answer { display: none; height: auto; }
#qna .listWrap .qa_li .content { line-height: 1.8; word-break: keep-all; }

/* application flow: validation + notice */
.apply-step .is-invalid,
.apply-step .is-invalid input,
.apply-step .is-invalid select { border-color: #E20101 !important; }
.apply-step .info-row.is-invalid { background: #FFF8F8; }
.apply-step .photo-upload-box.is-invalid { outline: 2px solid #E20101; outline-offset: 6px; border-radius: 10px; }
.site_notice { position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.site_notice_box { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; padding: 36px 32px 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); word-break: keep-all; }
.site_notice_box h3 { font-size: 1.3em; font-weight: 700; color: var(--color-main, #0039A2); margin-bottom: 16px; }
.site_notice_box p { line-height: 1.7; color: #333; margin-bottom: 8px; }
.site_notice_btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.site_notice_btns a, .site_notice_btns button { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 25px; border: 1px solid var(--color-main, #0039A2); background: #fff; color: var(--color-main, #0039A2); font-size: 15px; cursor: pointer; }
.site_notice_btns a.primary { background: var(--color-main, #0039A2); color: #fff; }

#qna .listWrap .qa_li .tit { padding-left: 28px; }
@media (max-width: 768px) {
  .contact_list li strong { display: block; min-width: 0; }
}

/* passport auto-fill highlight */
#payment02 .info-row.autofilled input[type=text],
#payment02 .info-row.autofilled select { background:#fff8d6 !important; }

/* busy (hourglass) window + conditional rows (2026-11-04) */
.site_busy .site_notice_box { text-align: center; }
.busy_hourglass { font-size: 40px; line-height: 1; margin: 4px auto 12px; display: inline-block; animation: busyTurn 1.6s ease-in-out infinite; }
@keyframes busyTurn { 0%, 40% { transform: rotate(0deg); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.busy_bar { height: 4px; border-radius: 4px; background: #e3e8f2; overflow: hidden; margin-top: 16px; }
.busy_bar span { display: block; height: 100%; width: 40%; background: #0b3d91; border-radius: 4px; animation: busySlide 1.2s ease-in-out infinite; }
@keyframes busySlide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .busy_hourglass, .busy_bar span { animation: none; } }
#payment02 .cond-row[hidden] { display: none !important; }
#payment02 .cond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 14px; width: 100%; }
#payment02 .cond-field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #555; }
#payment02 .cond-field input { width: 100%; }

/* online payment (Toss widget) + result pages (2026-11-04) */
#payment04 .pay_note { color: #E20101; line-height: 1.6; margin: -8px 0 16px; word-break: keep-all; }
#payment04 .pay_note:empty { display: none; }
#payment04 .pay_calc { margin: -6px 0 24px; padding: 14px 18px; background: #fff; border: 1px solid #E9E9E9; border-radius: 10px; line-height: 1.7; color: #555; font-size: 15px; word-break: keep-all; }
#payment04 .pay_calc .js-pay-calc { color: #111; font-weight: 600; }
#payment04 .pay_calc .js-pay-calc:empty + br { display: none; }
#payment04 .toss_box { background: #fff; border: 1px solid #E9E9E9; border-radius: 14px; margin-top: 16px; overflow: hidden; }
#payment04 .link_wrap a.is-disabled { opacity: .45; }
#payment04 .refund_agree { display: flex; gap: 12px; align-items: flex-start; margin: 32px 0 0; padding: 18px 20px; background: #fff; border: 1px solid #E9E9E9; border-radius: 12px; line-height: 1.7; color: #333; cursor: pointer; word-break: keep-all; }
#payment04 .refund_agree input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--color-main, #0039A2); cursor: pointer; appearance: auto; -webkit-appearance: checkbox; }
#payment04 .refund_agree strong { color: #E20101; }
#payment04 .refund_agree a { color: var(--color-main, #0039A2); text-decoration: underline; }
#payment04 .refund_agree.is-invalid { border-color: #E20101; background: #FFF8F8; }
/* refund policy page */
.refund_doc .refund_table_wrap { overflow-x: auto; margin: 6px 0 22px; }
.refund_doc .refund_table { width: 100%; border-collapse: collapse; min-width: 300px; font-size: 15px; line-height: 1.6; }
.refund_doc .refund_table th, .refund_doc .refund_table td { border: 1px solid #DDE3EE; padding: 12px 14px; text-align: left; vertical-align: top; word-break: keep-all; }
.refund_doc .refund_table th { background: #F3F6FB; font-weight: 700; }
.refund_doc .refund_table td:last-child { width: 34%; }
.refund_doc .refund_table .sub { color: #666; font-size: 13px; }
.refund_doc .refund_version { margin-top: 24px; color: #777; font-size: 14px; }
#payresult .pay_result .right_wrap { flex: 1; }
#payresult .pay_result .color_box + .color_box { margin-top: 14px; }
#payresult .pay_code { color: #777; font-size: 14px; margin-top: 8px; }
#payresult .pay_code:empty { display: none; }
.pay_result_btns { display: flex; gap: 10px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pay_result_btns a { display: inline-flex; align-items: center; justify-content: center; height: 52px; min-width: 160px; padding: 0 28px; border-radius: 30px; border: 1px solid var(--color-main, #0039A2); color: var(--color-main, #0039A2); background: #fff; font-size: 16px; }
.pay_result_btns a.primary { background: var(--color-main, #0039A2); color: #fff; }
@media (max-width: 768px) {
  #payresult .pay_result .flex-box { flex-direction: column; align-items: stretch; gap: 20px; }
  #payresult .pay_result .right_wrap { width: 100%; }
  .pay_result_btns a { min-width: 0; flex: 1; }
}

#payment04 .danger_txt_wrap a { color: var(--color-main, #0039A2); text-decoration: underline; }

/* ---- price list (price.html, added 2026-11-05 for Toss review) */
.price_list { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price_card { border: 1px solid #DDE3EE; border-radius: 14px; padding: 24px 20px; text-align: center; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.price_card .price_name { font-size: 20px; font-weight: 700; margin: 0; }
.price_card .price_usd { font-size: 36px; font-weight: 800; color: #0039A2; margin: 4px 0; }
.price_card .price_krw { font-size: 16px; font-weight: 600; color: #333; margin: 0; }
.price_card .price_time { font-size: 15px; color: #555; margin: 0; }
.price_card .price_btn { margin-top: 10px; display: inline-block; padding: 12px 0; border-radius: 8px; background: #0039A2; color: #fff !important; font-weight: 700; text-decoration: none; }
.price_rate { font-size: 14px; color: #555; margin: 0 0 20px; }
@media (max-width: 768px) { .price_list { grid-template-columns: minmax(0, 1fr); } }

/* off-canvas mobile menu sat past the right edge -> page scrolled sideways on phones (2026-11-05) */
html, body { overflow-x: clip; }
