@charset "UTF-8";
/*
 * 공급 화면 공통 : 본인 확인 (동심키즈 ID / 기관코드)
 *  + 공급주문서 상태 안내 (본사 확인 중 안내 띠, 진행 단계 완료 표시)
 *  - supply-order.jsp 에서 사용 (supply-agreement.jsp 의 인라인 스타일과 같은 디자인)
 *  - 위치 : /resources/partner/css/supply-auth.css
 */
.sa-auth { --sa-blue: #0b57d0; --sa-blue-bg: #eef4ff; margin-top: 24px; padding: 40px 24px 36px; border-radius: 16px; background: #f7f9fc; text-align: center; transition: box-shadow .2s; }
.sa-auth.highlight { box-shadow: 0 0 0 3px rgba(11,87,208,.25); }
.sa-auth-inner { max-width: 440px; margin: 0 auto; }
.sa-auth-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 auto 28px; border-radius: 12px; background: #e9edf3; }
.sa-auth-tab { flex: 1; height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #6b7280; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.sa-auth-tab:hover { color: #222; }
.sa-auth-tab.active { background: #fff; color: var(--sa-blue); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.sa-auth-tab:focus-visible { outline: 2px solid var(--sa-blue); outline-offset: 2px; }
.sa-auth-panel { display: none; }
.sa-auth-panel.active { display: block; }
.sa-auth-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--sa-blue-bg); color: var(--sa-blue); }
.sa-auth-ico svg { width: 26px; height: 26px; }
.sa-auth-label { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 700; color: #111; }
.sa-auth-desc { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: #6b7280; }
.sa-auth-row { display: flex; gap: 8px; }
.sa-auth-input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #d5dae1; border-radius: 10px; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: .12em; text-align: center; color: #111; background: #fff; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.sa-auth-input::placeholder { font-size: 15px; font-weight: 400; letter-spacing: 0; color: #9ca3af; }
.sa-auth-input:focus { outline: none; border-color: var(--sa-blue); box-shadow: 0 0 0 3px rgba(11,87,208,.12); }
.sa-auth-input.is-error { border-color: #e5484d; }
.sa-auth-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--sa-blue); color: #fff; font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; box-sizing: border-box; transition: background .15s; }
.sa-auth-btn:hover { background: #0947ad; color: #fff; }
.sa-auth-btn:disabled { opacity: .5; cursor: default; }
.sa-auth-btn.is-block { width: 100%; }
.sa-auth-btn.is-sub { background: #222; }
.sa-auth-btn.is-sub:hover { background: #000; }
.sa-auth-msg { margin: 10px 0 0; font-size: 13px; color: #e5484d; text-align: left; }
.sa-auth-confirm { margin-top: 12px; padding: 18px 16px 16px; border: 1px solid #cfe0ff; border-radius: 12px; background: var(--sa-blue-bg); font-size: 15px; color: #222; }
.sa-auth-confirm[hidden] { display: none; }
.sa-auth-confirm p { margin: 0 0 12px; line-height: 1.5; }
.sa-auth-confirm strong { display: block; font-size: 17px; font-weight: 700; color: var(--sa-blue); }
.sa-auth-confirm .sa-auth-btn { width: 100%; height: 46px; font-size: 15px; }
.sa-auth-note { margin: 18px 0 0; font-size: 13px; color: #9ca3af; }
.sa-auth-note a { color: #6b7280; text-decoration: underline; text-underline-offset: 3px; }

.sa-auth-foot { margin: 14px 0 0; font-size: 13px; color: #6b7280; text-align: center; }
.sa-auth-foot a { margin-left: 4px; color: #0b57d0; font-weight: 700; text-decoration: none; }

/* 기관 정보 박스(.so-inst) : 기관코드로 이용 중 표시 */
.so-inst .so-inst-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: #0b57d0; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.so-inst .so-inst-switch { display: inline-flex; align-items: center; height: 32px; margin-left: auto; padding: 0 12px; border: 1px solid #d5dae1; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #374151; white-space: nowrap; text-decoration: none; }
.so-inst .ref + .so-inst-switch { margin-left: 0; }
.so-inst .so-inst-switch:hover { border-color: #0b57d0; color: #0b57d0; }

/* 공급주문서 : 본사 확인 중 안내 띠 (계약 체결 1건 이상 + 본사 확인 중 있음) */
.so-pending { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 20px; border: 1px solid #f5d9a8; border-radius: 12px; background: #fff8eb; }
.so-pending-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fdebc8; color: #b26b00; }
.so-pending-ico svg { width: 22px; height: 22px; }
.so-pending-txt { flex: 1; min-width: 0; margin: 0; }
.so-pending-txt strong { display: block; font-size: 15px; font-weight: 700; color: #1f2022; word-break: keep-all; }
.so-pending-txt span { display: block; margin-top: 2px; font-size: 13px; color: #6b7280; word-break: keep-all; }
.so-pending .so-pending-btn { flex: none; height: 40px; padding: 0 16px; font-size: 14px; font-weight: 700; }

/* 진행 단계 : 완료 단계 */
.so-empty .steps li.done { background: #e8f0fe; color: #0b57d0; font-weight: 600; }
.so-empty .steps li.done::after { content: " ✓"; }

@media screen and (max-width: 540px) {
	.so-pending { flex-wrap: wrap; padding: 14px 16px; }
	.so-pending .so-pending-btn { width: 100%; }
	.sa-auth { padding: 24px 16px; border-radius: 14px; }
	.sa-auth-tabs { margin-bottom: 22px; }
	.sa-auth-tab { height: 42px; font-size: 14px; }
	.sa-auth-ico { width: 44px; height: 44px; margin-bottom: 10px; }
	.sa-auth-ico svg { width: 22px; height: 22px; }
	.sa-auth-label { font-size: 16px; }
	.sa-auth-desc { margin-bottom: 18px; font-size: 13px; }
	.sa-auth-input, .sa-auth-btn { height: 48px; }
	.sa-auth-row .sa-auth-btn { padding: 0 18px; }
	.so-inst .so-inst-switch { margin-left: 0; }
}