/* handoff2 signup and mypage presentation. Authentication and form contracts stay in JSP. */
#wrap.portal-wide-layout #container > .inner:has(.member-handoff) { width: min(1320px, calc(100% - 40px)); padding-top: 28px; padding-bottom: 120px; }
#container > .inner:has(.member-handoff) > .breadcrumb-wrap { margin-bottom: 0; }
.member-handoff { min-width: 0; color: #1e293b; font: 15px/1.5 "Pretendard Variable", "Pretendard GOV", "Noto Sans KR", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
.member-handoff *, .member-handoff *::before, .member-handoff *::after { box-sizing: border-box; }
.member-handoff :is(form, fieldset) { min-width: 0; max-width: 100%; }
.member-handoff .portal-company-edit .table-wrap { max-width: 100%; overflow-x: auto; }
.member-handoff :is(input, select, textarea, button) { font-family: inherit; }
.member-handoff .page-title-wrap { display: block; margin: 30px 0 46px; padding: 0; text-align: center; }
.member-handoff .page-title-wrap .h-tit { margin: 0; font-size: 31px; font-weight: 700; line-height: 41px; color: #1e293b; }
.member-handoff .page-title-wrap .rt { margin-top: 12px; text-align: right; }
.member-handoff :is(.conts-area, .conts-wrap) { min-width: 0; }
.member-handoff .userSignProcess { margin: 0 0 15px; }
.member-handoff .login-step { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.member-handoff .login-step li { display: flex; align-items: center; justify-content: center; width: auto; min-width: 0; height: 41px; min-height: 41px; margin: 0 0 0 -12px; padding: 0 28px; border: 0; border-radius: 0; background: #e9eef6; color: #849dca; font-size: 14px; font-weight: 500; white-space: nowrap; clip-path: polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,0 100%,16px 50%); }
.member-handoff .login-step li:first-child { margin-left: 0; border-radius: 6px 0 0 6px; clip-path: polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,0 100%); }
.member-handoff .login-step li.active { background: #2f6ee5; color: #fff; font-weight: 700; }
.member-handoff .login-step li::before, .member-handoff .login-step li::after { display: none; }
.member-handoff .regist-type-page .userSignProcess { margin-bottom: 30px; }
.member-handoff :is(.join-info-notice, .regist-info-notice, .join-terms-notice, .cert-notice) { margin: 0 0 46px; padding: 16px 28px; border: 0; border-radius: 10px; background: #f8fafc; color: #33404f; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.member-handoff .regist-type-page .join-type > li:not(.active):hover { transform: translateY(-4px); border-color: #256ef4; background: #f4f8ff; box-shadow: 0 12px 28px rgba(37,110,244,.12); }
.member-handoff .cert-form__label { font-size: 15px; font-weight: 600; padding: 8px 12px 8px 24px; }
.member-handoff .cert-form__value { padding: 10px 24px 10px 16px; }
.member-handoff .cert-field { font-size: 15px; font-weight: 600; }
.member-handoff .input-box .form-tit { font-size: 15px; font-weight: 600; line-height: 1.35; padding: 8px 12px 8px 24px; }
.member-handoff .input-box .form-tit label { font: inherit; }
.member-handoff .input-box dl.form-group { min-height: 60px; }
.member-handoff .input-box dl.form-group > .form-conts { padding: 10px 24px 10px 16px; gap: 12px; }
.member-handoff .input-box :is(.form-control, .form-select) { height: 40px; min-height: 40px; border: 1px solid #ced6dd; border-radius: 6px; padding: 8px 12px; font-size: 15px; font-weight: 600; color: #1e293b; }
.member-handoff .input-box :is(.form-control, .form-select)::placeholder { color: #9aa6bb; font-size: 15px; font-weight: 500; }
.member-handoff .input-box input[readonly] { background: #f2f5fa; }
.member-handoff .input-box .btn { min-width: 0; height: 36px; padding: 0 18px; border: 1px solid #a6b1bf; border-radius: 6px; background: #fff; color: #1e293b; font-size: 14px; font-weight: 600; }
.member-handoff .input-box .btn.blue { border-color: #93b5f7; color: #256ef4; }
.member-handoff .input-box .desc { font-size: 13px; font-weight: 400; line-height: 1.6; color: #64748b; }
.member-handoff .input-box .sec-tit-s { font-size: 21px; }
.member-handoff .page-btn-wrap { margin: 46px 0 0; padding: 0; }
.member-handoff .page-btn-wrap .btn-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.member-handoff .page-btn-wrap .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 48px; padding: 0 40px; border: 1px solid #256ef4; border-radius: 8px; background: #256ef4; color: #fff; font-size: 15px; font-weight: 600; }
.member-handoff .page-btn-wrap .btn.white { padding: 0 36px; border-color: #ced6dd; background: #fff; color: #1e293b; }
.member-handoff .page-btn-wrap .btn:hover { background: #1f5fd6; }
.member-handoff .page-btn-wrap .btn.white:hover, .member-handoff .input-box .btn:hover { background: #f2f5fa; }
.member-handoff :is(a, button):focus:not(:focus-visible) { outline: none; box-shadow: none; }
.member-handoff :is(a, button):focus-visible { outline: 2px solid #256ef4; outline-offset: 3px; }
.member-handoff .page-btn-wrap .btn:disabled { background: #f8fafc; border-color: #e2e8f0; color: #94a3b8; cursor: default; }
.member-handoff-terms .form-wrap:has(.agreement-scroll) { margin-bottom: 24px; border: 1px solid #ced6dd; border-radius: 12px; overflow: hidden; padding: 0; }
.member-handoff-terms .form-wrap:has(.agreement-scroll) > .sec-tit-s { margin: 0; padding: 16px 24px; min-height: 56px; font-size: 16px; font-weight: 700; border-bottom: 1px solid #e2e8f0; }
.member-handoff-terms .agreement-scroll .scroll { padding: 20px 24px; font-size: 13.5px; line-height: 1.75; color: #33404f; }
.member-handoff-terms .agree-check { padding: 14px 24px; background: #f8fafc; font-size: 15px; }
.member-handoff .portal-verify { padding-bottom: 0; }
.member-handoff .portal-verify #user_login_pw { font-weight: 600; }
.member-handoff .tab.line { margin-bottom: 46px; }
.member-handoff .tab.line > ul { display: flex; border-bottom: 1.5px solid #256ef4; gap: 0; }
.member-handoff .tab.line > ul > li { flex: 1; min-width: 0; margin: 0 0 -1.5px; }
.member-handoff .tab.line > ul > li > a { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 16px; border: 1.5px solid #ced6dd; border-bottom-color: transparent; border-radius: 0; background: #f8fafc; font-size: 16px; font-weight: 600; color: #1e293b; }
.member-handoff .tab.line > ul > li.active > a { position: relative; z-index: 1; background: #fff; border-color: #256ef4; border-bottom-color: #fff; color: #256ef4; font-weight: 700; box-shadow: none; }
.member-handoff .tab.line > ul > li > a::after { display: none; }
.member-handoff .portal-apply-list .page-title-wrap { text-align: center; }
.member-handoff .portal-apply-list .page-cnt-wrap .state-cnt .cnt-box { font-size: 14px; font-weight: 400; color: #64748b; }
.member-handoff .portal-apply-list .page-cnt-wrap .state-cnt .cnt-box strong { font-weight: 700; color: #1e293b; }
.member-handoff .portal-apply-list .page-cnt-wrap label { font-size: 14px; font-weight: 400; }
.member-handoff .portal-apply-list .table :is(th, td) { font-size: 15px; }
.member-handoff-application .sec-tit-s { font-size: 21px; }
.member-handoff-application .table :is(th, td) { font-size: 15px; }
.member-handoff-complete .conts-wrap { margin: 0; padding: 0; }
.member-handoff-complete .conts-wrap > .sec-tit { display: none; }
.member-handoff-complete .join-complete { margin-top: 60px; padding: 0; border: 0; }
.member-handoff-complete .complete-wrap { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; border: 0; background: #fff; }
.member-handoff-complete .member-complete-card { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 28px; width: 100%; padding: 64px 40px; border: 1px solid #ced6dd; border-radius: 12px; }
.member-handoff-complete .check-img { display: flex; align-items: center; justify-content: center; flex: 0 0 88px; width: 88px; height: 88px; margin: 0; border-radius: 50%; background: #eaf1fc; }
.member-handoff-complete .check-img img { width: 40px; height: 40px; }
.member-handoff-complete .info-wrap { margin: 0; padding: 0; text-align: left; }
.member-handoff-complete .info { display: block; font-size: 26px; line-height: 1.4; font-weight: 700; color: #1e293b; }
.member-handoff-complete .info span { display: inline; font: inherit; }
.member-handoff-complete .info br { display: none; }
.member-handoff-complete .info .user-id { color: #256ef4; }
.member-handoff-complete .etc { width: 100%; margin: 0; padding: 16px 28px; border-radius: 10px; background: #f8fafc; font-size: 15px; line-height: 1.6; color: #33404f; text-align: left; }
.member-handoff-complete .etc strong { color: #256ef4; }
.member-handoff-complete .join-complete .complete-wrap { width: 100%; max-width: none; }
.member-handoff-complete .join-complete .complete-wrap .check-img { width: 88px; height: 88px; background: #eaf1fc; }
.member-handoff-complete .join-complete .complete-wrap .info-wrap .info { font-size: 26px; line-height: 1.4; }
.member-handoff-complete .join-complete .complete-wrap .info-wrap .info span { font-weight: 700; color: #1e293b; }
.member-handoff-complete .join-complete .complete-wrap .info-wrap .info .user-id,
.member-handoff-complete .join-complete .complete-wrap .etc strong { color: #256ef4; }
@media (max-width: 767px) {
    #wrap.portal-wide-layout #container > .inner:has(.member-handoff) { width: calc(100% - 32px); }
    .member-handoff .page-title-wrap { margin: 24px 0 32px; }
    .member-handoff .page-title-wrap .h-tit { font-size: 26px; line-height: 34px; }
    .member-handoff .login-step { display: block; }
    .member-handoff .login-step li { display: none; }
    .member-handoff .login-step li.active { display: flex; margin: 0; border-radius: 6px; clip-path: none; }
    .member-handoff .input-box .form-tit { padding: 12px 16px; }
    .member-handoff .input-box dl.form-group > .form-conts { padding: 12px 16px; }
    .member-handoff-complete .member-complete-card { flex-direction: column; padding: 32px 20px; }
    .member-handoff-complete .info-wrap { text-align: center; }
    .member-handoff .tab.line > ul > li > a { padding: 0 8px; font-size: 14px; }
}

/* Member/company tabs share the outlined reference design. */
.member-handoff .tab.line.member-company-tabs > ul { width: 100%; padding: 0; list-style: none; border-bottom: 0; }
.member-handoff .tab.line.member-company-tabs > ul > li { width: auto; padding: 0; margin: 0; }
.member-handoff .tab.line.member-company-tabs > ul > li > a { position: relative; box-sizing: border-box; border: 1.5px solid #ced6dd; border-bottom-color: #256ef4; background: #f8fafc; color: #1e293b; text-decoration: none; transition: color .15s; }
.member-handoff .tab.line.member-company-tabs > ul > li.active > a { z-index: 3; background: #fff; border: 1.5px solid #256ef4; border-bottom-color: #fff; color: #256ef4; box-shadow: none; }
.member-handoff .tab.line.member-company-tabs > ul > li > a:focus-visible { outline: 2px solid #256ef4; outline-offset: -5px; }
.member-handoff .portal-profile-edit .form-conts:has(> #user_id) > .desc,
.member-handoff .portal-profile-edit .form-conts:has(> #user_nm) > .desc { width: 100%; max-width: none; flex: 0 0 100%; white-space: normal; word-break: keep-all; }

.member-handoff .portal-profile-edit .input-box .form-conts:has(> #user_id),
.member-handoff .portal-profile-edit .input-box .form-conts:has(> #user_nm) { width: auto; max-width: none; flex: 1 1 0; }

/* Company information reference: outlined tabs and in-form actions. */
.member-company-page .tab.line.member-company-tabs > ul { border-bottom: 0; }
.member-company-page .tab.line.member-company-tabs > ul > li > a { border: 1.5px solid #ced6dd; border-bottom-color: #256ef4; background: #f8fafc; }
.member-company-page .tab.line.member-company-tabs > ul > li + li > a { margin-left: -1.5px; }
.member-company-page .tab.line.member-company-tabs > ul > li.active > a { z-index: 3; border: 1.5px solid #256ef4; border-bottom-color: #fff; background: #fff; }
.member-company-page .portal-company-edit .input-box .btn.blue { background: #fff; border: 1px solid #8fb0ff; color: #256ef4; box-shadow: none; }
.member-company-page .portal-company-edit .input-box .btn.blue:hover,
.member-company-page .portal-company-edit .input-box .btn.blue:active { background: #f0f5ff; border-color: #256ef4; color: #1f5fd6; }
.member-company-page .portal-company-edit .input-box .form-tit,
.member-company-page .portal-company-edit .input-box .user-info-list .tit { padding-left: 16px; padding-right: 8px; }
.member-company-page .portal-company-edit .input-box .form-tit > span,
.member-company-page .portal-company-edit .input-box .form-tit > label { white-space: nowrap; }

/* Keep business-category words intact when labels wrap. */
.member-company-page .portal-company-edit .company-business-box .user-info-list .tit { word-break: keep-all; overflow-wrap: normal; white-space: normal; }

.member-handoff .tab.line.member-company-tabs > ul > li + li > a { margin-left: -1.5px; }

.member-handoff .tab.line.member-company-tabs > ul > li > a:hover { color: #256ef4; }

/* Keep active-tab borders local so they cannot overlay the expanded header. */
.member-handoff .tab.line.member-company-tabs { position: relative; z-index: 0; isolation: isolate; }
