/* ===============================
   약관 페이지
=============================== */
.terms_text_con{max-width:1200px;margin:40px auto;}
.terms_text_con .contents_con{margin-top:30px;}

.terms_text_con .contents_con .title_con{border-bottom:2px solid #eee;padding-bottom:17px;margin-bottom:31px;}
.terms_text_con .contents_con .title_con span{font-size:40px;color:#222;font-weight:700;line-height:46px;letter-spacing:-0.2px;}
.terms_text_con .contents_con .text_con p {font-size:14px;color:#999999;line-height:22px;letter-spacing:-0.2px;}

.terms_text_con .contents_con .terms_history{margin-top:15px;display:flex;align-items:center;gap:10px;}
.terms_text_con .contents_con .terms_history .history_label{font-size:13px;color:#666;}
.terms_text_con .contents_con .terms_history .terms_select{border:1px solid #ddd;border-radius:6px;padding:6px 10px;font-size:13px;color:#333;background:#fff;}

/* 상태별 컬러 추가 */
.state-color-15, .state-color-35, .state-color-65, .state-color-80
,.seller-state-color-900{
	color:#FF0000 !important;
}
.state-color-30, .state-color-60, .state-color-70, .state-color-90
,.seller-state-color-100{
	color:var(--fgate-color) !important;
}

/* select2 */
.select2-container .select2-selection--single{display: inline-block;width: 100%;height: 40px;padding: 0 14px;border: 1px solid #E5E5E5;border-radius: 3px;color: #666;font-size: 15px;font-weight: 400;padding-top: 4px; align-items: center;}
.select2-container--default .select2-selection--single .select2-selection__arrow {height: 100%;}
.select2-container--default .select2-selection--single .select2-selection__placeholder {line-height: 30px;color:#666;}
.select2-selection__rendered {height: 40px;}
.select2-container:hover .select2-selection--single:hover{border-color: var(--fgate-color);}

.select2-container--default .select2-selection--single .select2-selection__clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; font-size: 18px; font-weight: bold; color: #999; z-index: 2; }
.select2-container--default .select2-selection--single .select2-selection__clear:hover { color: #333; }

.tooltip_wrap .btn_tooltip_message {display: block;}

/* 팩토링 페이지 */
#taxItemList td { text-align:center; border-bottom:1px solid #dee2e6; }
#taxInvoiceDetailView { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; z-index: 1005; width: 95%; max-width: 740px; max-height: 90vh; overflow-y: auto; padding: 20px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4); border-radius: 4px; display: none; }
#taxInvoiceDetailView .btn-close-modal { position:absolute; top:10px; right:15px; font-size:24px; border:none; background:none; cursor:pointer; color:#999; }
#taxInvoiceDetailView .btn-close-modal:hover { color:#333; }

.tax-form-table { width:100%; border-collapse:collapse; font-size:12px; margin-bottom:10px; table-layout:fixed; border:1px solid #778899; }
.tax-form-table th, .tax-form-table td { border:1px solid #778899; padding:5px 3px; height:25px; color:#333; }
.tax-form-table .tax-title-cell { font-size:22px; font-weight:bold; text-align:center; height:50px !important; letter-spacing:2px; }
.tax-form-table .tax-side-label { width:25px; font-weight:bold; text-align:center; line-height:1.2; background-color:#f8f9fa; }
.tax-form-table .tax-side-label.provider { color:#d32f2f; border:1.5px solid #d32f2f !important; }
.tax-form-table .tax-side-label.recipient { color:#1976d2; border:1.5px solid #1976d2 !important; }
.tax-form-table .tax-label { background-color:#f8f9fa; text-align:center; font-weight:bold; font-size:11px; }
.tax-form-table .tax-label.provider { color:#d32f2f; }
.tax-form-table .tax-label.recipient { color:#1976d2; }
.tax-form-table .tax-value { background-color:#fff; text-align:left; padding-left:5px !important; }
.tax-form-table .tax-value.center { text-align:center; padding-left:0 !important; }
.tax-form-table .tax-value.right { text-align:right; padding-right:8px !important; }
.tax-form-table .tax-item-header td { background-color:#f1f3f5; text-align:center; font-weight:bold; border-bottom:2px solid #778899; }

.btn-orange { background:#ff7043; color:#fff; border:none; padding:10px 25px; border-radius:4px; font-weight:bold; cursor:pointer; margin-right:10px; }
.btn-gray  { background:#fff; color:#333; border:1px solid #ccc; padding:10px 25px; border-radius:4px; font-weight:bold; cursor:pointer; }

/* ================= 팩토링 상태 팝업 전용 스타일 ================= */
.notice__field .btn-status-view { color: var(--fgate-color); text-decoration: underline; cursor: pointer; font-size: 15px; }
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 9998; }
.custom-modal-window { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; background-color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 9999; overflow: hidden; }
.custom-modal-window .custom-modal-header { background-color: #f8f9fa; padding: 20px 24px; border-bottom: 1px solid #e9ecef; display: flex; justify-content: space-between; align-items: center; }
.custom-modal-window .custom-modal-header h3 { margin: 0; font-size: 18px; color: #333; font-weight: 700; }
.custom-modal-window .btn-modal-close { background: none; border: none; font-size: 24px; color: #999; cursor: pointer; padding: 0; line-height: 1; }
.custom-modal-window .btn-modal-close:hover { color: #333; }
.custom-modal-window .custom-modal-body { padding: 24px;}
.custom-modal-window .status-list { list-style: none; padding: 0; margin: 0; }
.custom-modal-window .status-list li { margin-bottom: 14px; font-size: 15px; line-height: 1.6; color: #555; padding-bottom: 14px; border-bottom: 1px dashed #eee; }
.custom-modal-window .status-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.custom-modal-window .status-list .badge { display: inline-block; width: 85px; text-align: center; background-color: #e6f3f1; color: var(--fgate-color); font-weight: 600; border-radius: 4px; padding: 4px 0; margin-right: 10px; font-size: 14px; }