/* ===== 청우 채용지원 ===== */
.cwa {
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px 16px 60px;
	color: #333;
	font-size: 15px;
	box-sizing: border-box;
}

.cwa * {
	box-sizing: border-box;
}

.cwa-title {
	margin: 6px 0 30px;
	font-size: 34px;
	font-weight: 800;
	color: #111;
}

.cwa-msg {
	padding: 14px 18px;
	border-radius: 6px;
	margin: 0 0 22px;
	font-size: 14px;
	white-space: pre-line;
}

.cwa-ok {
	background: #eaf6ec;
	color: #2e7d32;
	border: 1px solid #cbe6cf;
}

.cwa-err {
	background: #fdecea;
	color: #c62828;
	border: 1px solid #f5c6c2;
}

.cwa-jobname {
	margin: 60px 0 30px;
    color: #444;
    font-size: 20px;
}

.cwa-jobname strong {
	font-family: 'A2z' !important;	
}

/* ===== 제출 완료 화면 ===== */
.cwa-done {
	max-width: 720px;
	margin: 80px auto 60px;
	text-align: center;
}

.cwa-done-ico {
	margin-bottom: 28px;
	line-height: 0;
}

.cwa-done-ico svg {
	display: inline-block;
}

.cwa-done-title {
	margin: 0 0 18px;
	font-size: 32px;
	font-weight: 700;
	color: #111;
	line-height: 1.35;
}

.cwa-done-lead {
	margin: 0 0 44px;
	color: #666;
	font-size: 16px;
	line-height: 1.8;
}

.cwa-done-info {
	margin: 0 0 22px;
	padding: 26px 30px;
	background: #f7f7f7;
	text-align: left;
}

.cwa-done-info > div {
	display: flex;
	gap: 18px;
	padding: 9px 0;
	font-size: 15px;
}

.cwa-done-info dt {
	flex: 0 0 110px;
	margin: 0;
	color: #888;
	font-weight: 500;
}

.cwa-done-info dd {
	margin: 0;
	color: #222;
	font-weight: 600;
	word-break: break-all;
}

.cwa-done-note {
	margin: 0 0 44px;
	color: #999;
	font-size: 13.5px;
	line-height: 1.7;
}

.cwa-done-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.cwa-done-actions .cwa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	min-width: 210px;
}

@media (max-width:720px) {
	.cwa-done {
		margin-top: 50px;
	}

	.cwa-done-title {
		font-size: 24px;
	}

	.cwa-done-info > div {
		flex-direction: column;
		gap: 4px;
	}

	.cwa-done-actions {
		flex-direction: column;
	}

	.cwa-done-actions .cwa-btn {
		width: 100%;
	}
}

/* ===== STEP 1 : 지원자 정보 + 개인정보 동의 ===== */
.cwa-step1 {
	margin-top: 60px;
}

.cwa-erow {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px 0;
}

.cwa-elabel {
	flex: 0 0 220px;
	font-weight: 700;
	color: #111;
	font-size: 15px;
}

.cwa-einput {
	flex: 1 1 auto;
	min-width: 0;
}

.cwa-einput input[type=text],
.cwa-einput input[type=email],
.cwa-einput input[type=password] {
	width: 100%;
	padding: 16px 16px;
	border: 1px solid #ddd;
	border-radius: 0;
	font-size: 15px;
	color: #333;
	background: #fff;
	font-family: inherit;
}

.cwa-einput input::placeholder {
	color: #b0b0b0;
}

.cwa-einput .cwa-w-half {
	max-width: 600px;
}

.cwa-jobtitle {
	font-size: 20px;
    color: #333;
    font-weight: 500;
}

/* 이메일 인증 */
.cwa-email-line,
.cwa-code-line {
	display: flex;
	gap: 10px;
	align-items: center;
}

.cwa-code-line {
	margin-top: 10px;
}

.cwa-code-line[hidden] {
	display: none;
}

.cwa-email-line input {
	flex: 1 1 auto;
	min-width: 0;
}

.cwa-code-line input {
	flex: 0 0 200px;
	letter-spacing: 3px;
	text-align: center;
}

.cwa-email-line .cwa-btn-min,
.cwa-code-line .cwa-btn-min {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 14px 20px;
}

.cwa-code-state {
	margin: 8px 0 0;
	font-size: 13.5px;
	color: #666;
	line-height: 1.6;
	white-space: pre-line;
}

.cwa-code-state.is-ok {
	color: #1c7c34;
}

.cwa-code-state.is-err {
	color: #d21f28;
}

.cwa-erow.is-verified .cwa-email-line input {
	background: #f4faf5;
}

/* 개인정보 동의 */
.cwa-agree {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cwa-agree-btn {
	border: 0 !important;
	box-shadow: none !important;
	background: #9c1019 !important;
	color: #fff !important;
	padding: 14px 30px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	border-radius: 0;
}

.cwa-agree-btn:hover {
	background: #851017 !important;
}

.cwa-agree-btn.is-agreed::after {
	content: ' ✓';
}

.cwa-agree-state {
	color: #666;
	font-size: 15px;
}

.cwa-agree-state.is-agreed {
	color: #1c7c34;
	font-weight: 600;
}

/* 입력 오류 표시 */
.cwa-ferr {
	margin: 7px 0 0;
	color: #d21f28;
	font-size: 13.5px;
	line-height: 1.5;
}

.cwa-erow.has-error input[type=text],
.cwa-erow.has-error input[type=email],
.cwa-erow.has-error input[type=password] {
	border-color: #d21f28 !important;
	background: #fffafa;
}

/* flex 행(휴대폰·동의)에서는 오류 문구를 줄바꿈 */
.cwa-phone .cwa-ferr,
.cwa-agree .cwa-ferr {
	flex: 1 0 100%;
	margin-top: 4px;
}

/* 지원서 항목(2단계) 오류 강조 */
.cwa-field.has-error input,
.cwa-field.has-error select,
.cwa-field.has-error textarea {
	border-color: #d21f28 !important;
	background: #fffafa !important;
}

.cwa-field.has-error .cwa-label {
	color: #d21f28;
}

.cwa-photo.has-error .cwa-photo-box {
	border-color: #d21f28;
	background: #fffafa;
}

/* 휴대폰 3칸 */
.cwa-phone {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cwa-phone input {
	width: 165px !important;
	flex: 0 0 auto;
	text-align: center;
}

.cwa-phone-sep {
	color: #333;
	font-weight: 700;
}

.cwa-step-actions {
	display: flex;
	justify-content: center;
	margin-top: 90px;
}

.cwa-step-actions .cwa-btn {
	min-width: 410px;
}

/* 개인정보 동의 모달 */
.cwa-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.cwa-modal[hidden] {
	display: none;
}

.cwa-modal-dim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
}

.cwa-modal-box {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 720px;
	max-height: 84vh;
	display: flex;
	flex-direction: column;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.cwa-modal-title {
	margin: 0;
	padding: 22px 26px;
	border-bottom: 1px solid #eee;
	font-size: 19px;
	font-weight: 700;
	color: #111;
}

.cwa-modal-body {
	padding: 22px 26px;
	overflow-y: auto;
	font-size: 14px;
	line-height: 1.8;
	color: #555;
}

.cwa-modal-body p {
	margin: 0 0 1em;
}

.cwa-modal-foot {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 26px 22px;
	border-top: 1px solid #eee;
}

.cwa-modal-agree {
	background: #9c1019 !important;
	border-color: #9c1019 !important;
	font-weight: 700;
}

.cwa-modal-agree:hover {
	background: #851017 !important;
}

/* 탭 */
.cwa-tabs {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid #e2e2e2;
	border-bottom: 0;
	margin: 0 0 40px;
}

.cwa-tab {
	flex: 1 1 0;
	min-width: 120px;
	border: 0 !important;
	border-right: 1px solid #e2e2e2 !important;
	background: #fff !important;
	box-shadow: none !important;
	padding: 18px 10px;
	font-size: 15px;
	color: #888;
	cursor: pointer;
	font-family: inherit;
	border-bottom: 1px solid #e2e2e2 !important;
	transition: background .15s, color .15s;
	border-radius: 0;
}

.cwa-tab:last-child {
	border-right: 0 !important;
}

.cwa-tab:hover {
	color: #333 !important;
}

.cwa-tab.is-active {
	background: #9c1019 !important;
	color: #fff !important;
	font-weight: 600;
}

/* 패널 (2열 그리드) */
.cwa-pane {
	display: none;
	margin-top: 120px;
}

.cwa-pane.is-active {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 40px;
	align-items: start;
}

.cwa-field--full {
	grid-column: 1 / -1;
}

.cwa-rep {
	grid-column: 1 / -1;
}

/* 필드 */
.cwa-field {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 12px 0;
	min-width: 0;
}

.cwa-label {
	flex: 0 0 110px;
	font-weight: 700;
	color: #222;
	padding-top: 10px;
	font-size: 14px;
}

.cwa-req {
	color: #d21f28;
	margin-left: 2px;
}

.cwa-input {
	flex: 1 1 auto;
	min-width: 0;
}

.cwa-input.cwa-inline {
	display: flex;
	gap: 12px;
	align-items: center;
}

.cwa-input input[type=text],
.cwa-input input[type=email],
.cwa-input input[type=password],
.cwa-input input[type=number],
.cwa-input input[type=date],
.cwa-input textarea,
.cwa-select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	background: #fff;
	font-family: inherit;
}

.cwa-input textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 1.6;
}

.cwa-input input[type=file] {
	font-size: 13px;
	color: #555;
}

.cwa-select {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.cwa-file-link {
	display: inline-block;
	margin-left: 10px;
	font-size: 13px;
	color: #d21f28;
}

.cwa-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding-top: 8px;
}

.cwa-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #444;
	cursor: pointer;
}

.cwa-choice input {
	width: 16px;
	height: 16px;
	accent-color: #9c1019;
}

/* 기본 인적사항 : 사진(왼쪽) + 필드 2열(오른쪽) */
.cwa-basic {
	grid-column: 1 / -1;
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.cwa-basic > .cwa-photo {
	flex: 0 0 auto;
}

.cwa-basic-right {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 40px;
	align-items: start;
}

.cwa-basic-right .cwa-field--full,
.cwa-basic-right .cwa-note {
	grid-column: 1 / -1;
}

/* 사진 등록 */
.cwa-photo {
	max-width: 240px;
}

.cwa-photo-ph {
	color: #999;
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
	padding: 0 10px;
}

.cwa-photo-ph-sub {
	display: inline-block;
	margin-top: 4px;
	color: #d21f28;
	font-size: 12px;
}

.cwa-photo-box {
	width: 240px;
    height: 300px;
	border: 1px solid #ddd;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.cwa-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cwa-photo-btn {
	display: block;
	width: 240px;
	text-align: center;
	padding: 5px 8px;
	background: #9c1019;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.cwa-photo-btn:hover {
	background: #851017;
}

.cwa-photo .cwa-hint {
	margin-top: 6px;
	width: 180px;
}

/* 국가 선택(검색형) */
.cwa-country {
	position: relative;
}

.cwa-country-search {
	width: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px !important;
}

.cwa-country-list {
	position: absolute;
	z-index: 30;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 260px;
	overflow-y: auto;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.cwa-country-item {
	padding: 10px 16px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
}

.cwa-country-item:hover {
	background: #f5eaea;
	color: #9c1019;
}

/* 주소(우편번호) */
.cwa-addr {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cwa-addr-top {
	display: flex;
	gap: 8px;
	align-items: center;
}

.cwa-addr-zip {
	max-width: 160px;
	background: #f7f7f7 !important;
}

.cwa-addr-addr1 {
	background: #f7f7f7 !important;
}

.cwa-addr-btn {
	white-space: nowrap;
}

/* 반복 그룹 / 구분 제목 */
.cwa-group {
	margin: 10px 0 30px;
}

.cwa-group-title {
	margin: 18px 0 12px;
	font-size: 35px;
	font-weight: 600;
	color: #111;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
	font-family: 'A2z' !important;
}

.cwa-note {
	grid-column: 1 / -1;
	margin: 2px 0;
	color: #777;
	font-size: 13.5px;
	line-height: 1.75;
}
.cwa-note + .cwa-group,
.cwa-note + .cwa-subhead {
	margin-top: 14px;
}

.cwa-note--warn {
	color: #d21f28;
	font-weight: 500;
	font-size: 14px;
}

/* [기본] / [공통] 등 구분 소제목 */
.cwa-note--label {
	color: #222;
	font-weight: 700;
	font-size: 14px;
	margin-top: 20px;
}

/* ✓ 진한 안내 문구 */
.cwa-note--check {
	color: #333;
	font-size: 14px;
}

/* ※ 회색 보조 설명 (한 단계 들여쓰기) */
.cwa-note--sub {
	color: #999;
	font-size: 13px;
	padding-left: 17px;
}

/* 라벨 없는 필드(대제목만 있는 경우 등) */
.cwa-field--nolabel .cwa-input {
	flex: 1 1 100%;
}

/* 글자수 카운터 */
.cwa-count {
	display: block;
	margin-top: 5px;
	text-align: right;
	font-size: 12.5px;
	color: #999;
}

.cwa-count .cwa-count-cur {
	font-weight: 600;
	color: #666;
}

/* 최대 글자수 안내 */
.cwa-maxhint {
	color: #9c1019;
	font-weight: 500;
	font-size: 12.5px;
}

.cwa-label .cwa-maxhint {
	display: block;
	margin-top: 3px;
}

.cwa-maxhint--top {
	margin: 0 0 8px;
}

/* 읽기 전용 (접수마감 후 제출한 지원서 열람) */
.cwa-ro {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.cwa-form.is-readonly input,
.cwa-form.is-readonly textarea,
.cwa-form.is-readonly select {
	background: #f7f7f7 !important;
	color: #444 !important;
	-webkit-text-fill-color: #444;
	opacity: 1;
	cursor: default;
}

.cwa-form.is-readonly .cwa-select {
	background-image: none;
	padding-right: 14px;
}

.cwa-form.is-readonly .cwa-choice,
.cwa-form.is-readonly .cwa-choice input {
	cursor: default;
	opacity: 1;
}

/* 열람 중에는 입력 조작 버튼 숨김 (첨부파일 링크는 유지) */
.cwa-form.is-readonly .cwa-rep-btns,
.cwa-form.is-readonly .cwa-rep-del,
.cwa-form.is-readonly .cwa-photo-btn,
.cwa-form.is-readonly .cwa-addr-btn,
.cwa-form.is-readonly .cwa-actions {
	display: none !important;
}

/* 탭 하단 이동/저장 버튼 */
.cwa-btn-prev {
	background: #fff !important;
	color: #666 !important;
	border: 1px solid #ccc !important;
}

.cwa-btn-prev:hover {
	background: #f5f5f5 !important;
}

.cwa-btn-next {
	background: #9c1019 !important;
	color: #fff !important;
}

.cwa-btn-next:hover {
	background: #851017 !important;
}

.cwa-subhead {
	margin: 16px 0 4px;
}

.cwa-subhead h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: #111;
}

/* 반복 항목 */
.cwa-rep-row {
	position: relative;
    margin: 0 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 24px;
    align-items: start;
}

.cwa-rep-row .cwa-field {
	padding: 6px 0;
}

.cwa-rep-del {
	position: absolute;
	top: 6px;
	right: 10px;
	z-index: 2;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 20px;
	line-height: 1;
	color: #b32d2e;
	cursor: pointer;
	padding: 2px 6px;
}

.cwa-rep-row .cwa-field {
	padding: 6px 0;
}

.cwa-rep-btns {
	display: flex;
	gap: 8px;
	margin: 2px 0 8px;
}

.cwa-btn-min {
	border: 1px solid #ccc !important;
	background: #fff !important;
	box-shadow: none !important;
	padding: 9px 18px;
	font-size: 14px;
	border-radius: 0;
	cursor: pointer;
	font-family: inherit;
	color: #333;
}


.cwa-rep-add {
	color: #fff !important;
	background: #9C1019 !important;
}

.cwa-rep-reset:hover {
	color: #000 !important;
}

/* 액션 버튼 */
.cwa-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 44px;
}

.cwa-btn {
	box-shadow: none !important;
	min-width: 180px;
	padding: 16px 30px;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	border-radius: 2px;
}

.cwa-btn-draft {
	background: #d9d9d9 !important;
	color: #fff !important;
}

.cwa-btn-draft:hover {
	background: #cfcfcf !important;
}

.cwa-btn-submit {
	background: #9c1019 !important;
	color: #fff !important;
}

.cwa-btn-submit:hover {
	background: #851017 !important;
}

.cwa-btn:disabled {
	opacity: .6;
	cursor: default;
}

/* 공고 선택 리스트 */
.cwa-guide {
	color: #666;
	margin: 0 0 18px;
}

.cwa-joblist {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cwa-jobitem {
	display: block;
	padding: 18px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	text-decoration: none;
	color: #222;
	font-weight: 600;
	transition: .12s;
}

.cwa-jobitem:hover {
	border-color: #9c1019;
	background: #fdf5f5;
}

/* 마이페이지 findpw */
.cwa-findpw {
	flex: 0 0 auto;
	padding: 11px 20px;
	background: #f0f0f0;
	border-radius: 4px;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.cwa-findpw:hover {
	background: #e6e6e6;
}

.cwa-lookup {
	max-width: 900px;
}

/* 반응형 */
@media (max-width:720px) {
	.cwa-title {
		font-size: 26px;
	}

	.cwa-tabs {
		flex-wrap: wrap;
	}

	.cwa-tab {
		flex: 1 1 40%;
		min-width: 40%;
	}

	.cwa-pane.is-active {
		grid-template-columns: 1fr;
	}

	.cwa-basic {
		flex-direction: column;
		gap: 20px;
	}

	.cwa-basic-right {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.cwa-rep-row {
		grid-template-columns: 1fr;
	}

	.cwa-field {
		flex-direction: column;
		gap: 6px;
	}

	.cwa-label {
		flex: none;
		padding-top: 0;
	}

	.cwa-actions {
		flex-direction: column;
	}

	.cwa-btn {
		width: 100%;
	}

	.cwa-erow {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 10px 0;
	}

	.cwa-elabel {
		flex: none;
	}

	.cwa-einput .cwa-w-half {
		max-width: none;
	}

	.cwa-phone input {
		width: 0 !important;
		flex: 1 1 0;
	}

	.cwa-phone {
		flex-wrap: wrap;
	}

	.cwa-step-actions .cwa-btn {
		min-width: 0;
		width: 100%;
	}

	.cwa-input {
		width: 100%;
	}

	.cwa-done-info dt {
		flex: 0 0 auto;
	}
}