@charset "UTF-8";

/* 2026-08-03 추가 : AI 자가진단 팝업 : 시작 */

.diag_popup {
	display: none;
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	align-items: flex-start;
	justify-content: center;
	padding: 2rem;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.45);
}

.diag_popup.is_open {
	display: flex;
}

.diag_popup_panel {
	position: relative;
	z-index: 1;
	width: 55rem;
	max-width: 100%;
	margin: auto 0;
	background: #fff;
	border-radius: 2rem;
	padding: 3.5rem;
	box-sizing: border-box;
	overflow: visible;
}

.diag_popup_panel.is_complete {
	width: 55rem;
}

.diag_popup_close {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	margin-bottom: 3rem;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.diag_popup_close img {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
}

.diag_step {
	display: none;
	flex-direction: column;
	gap: 3rem;
	min-height: 66rem;
}

.diag_step.is_active {
	display: flex;
}

.diag_step.is_complete_step {
	min-height: 0;
	gap: 3rem;
}

.diag_step_head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	text-align: center;
}

.diag_step_badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	border-radius: 50rem;
	background: #bc9657;
	color: #fff;
	font-family: "Pretendard", sans-serif;
	font-size: 2rem;
	font-weight: 600;
	line-height: 3.2rem;
	letter-spacing: -0.05rem;
}

.diag_step_badge.is_result {
	width: auto;
	min-width: 6rem;
	height: 6rem;
	padding: 0 2.4rem;
	border-radius: 50rem;
}

.diag_step_title {
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 2.6rem;
	font-weight: 600;
	line-height: 3.2rem;
	letter-spacing: -0.065rem;
	text-align: center;
}

.diag_step_title.is_complete_msg {
	line-height: 3.6rem;
}

.diag_option_list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

.diag_radio,
.diag_check_card {
	position: relative;
	display: block;
	width: 100%;
	cursor: pointer;
}

.diag_radio input,
.diag_check_card input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.diag_radio_box,
.diag_check_card_box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 5.1rem;
	padding: 1.5rem 2rem;
	border: 0.1rem solid #cdcdcd;
	border-radius: 2rem;
	background: #fff;
	box-sizing: border-box;
	outline: none;
	transition: outline-color 0.2s ease, border-color 0.2s ease;
}

.diag_radio_box.is_desc {
	min-height: 9.7rem;
}

.diag_radio input:checked + .diag_radio_box,
.diag_check_card input:checked + .diag_check_card_box {
	border-color: transparent;
	outline: 0.3rem solid #bc9657;
	outline-offset: -0.3rem;
}

.diag_radio_tit,
.diag_check_card_tit {
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: normal;
}

.diag_radio_desc {
	color: #777;
	font-family: "Pretendard", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: normal;
	text-align: left;
}

.diag_input_wrap {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
}

.diag_input_unit {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 0.1rem solid #cdcdcd;
	border-radius: 2rem;
	overflow: hidden;
	background: #fff;
	box-sizing: border-box;
}

.diag_input_unit input {
	flex: 1;
	min-width: 0;
	height: 5.1rem;
	padding: 0 2rem;
	border: 0;
	outline: none;
	background: transparent;
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 1.8rem;
	font-weight: 600;
}

.diag_input_unit input::placeholder {
	color: #acacac;
}

.diag_input_unit .diag_unit_label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 10rem;
	flex-shrink: 0;
	background: #bc9657;
	color: #fff;
	font-family: "Pretendard", sans-serif;
	font-size: 1.8rem;
	font-weight: 600;
}

.diag_input_guide {
	color: #777;
	font-family: "Pretendard", sans-serif;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: normal;
	text-align: left;
}

.diag_field {
	width: 100%;
	height: 5.1rem;
	padding: 0 2rem;
	border: 0.1rem solid #cdcdcd;
	border-radius: 2rem;
	background: #fff;
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 1.8rem;
	font-weight: 600;
	outline: none;
	box-sizing: border-box;
}

.diag_field::placeholder {
	color: #acacac;
}

.diag_benefit_list {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.diag_benefit_item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
}

.diag_benefit_item img {
	display: block;
	width: 3rem;
	height: 3rem;
	flex-shrink: 0;
}

.diag_benefit_item p {
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 2rem;
	letter-spacing: -0.04rem;
}

.diag_form_list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	margin-top: auto;
}

.diag_agree_wrap {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.diag_agree {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 5.1rem;
	padding: 0 1rem 0 2rem;
	border: 0.1rem solid #cdcdcd;
	border-radius: 2rem;
	box-sizing: border-box;
}

.diag_agree_left {
	display: flex;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
}

.diag_check {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	flex-shrink: 0;
	cursor: pointer;
}

.diag_check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.diag_check_box {
	display: block;
	width: 1.6rem;
	height: 1.6rem;
	border: 0.1rem solid #cdcdcd;
	border-radius: 0.2rem;
	background: #fff;
	box-sizing: border-box;
	position: relative;
}

.diag_check input:checked + .diag_check_box {
	border-color: #bc9657;
	background: #bc9657;
}

.diag_check input:checked + .diag_check_box::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.95rem;
	height: 0.55rem;
	border-left: 0.2rem solid #fff;
	border-bottom: 0.2rem solid #fff;
	transform: translate(-50%, -65%) rotate(-45deg);
}

.diag_agree_txt {
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: normal;
}

.diag_agree_more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	flex-shrink: 0;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.diag_agree_more img {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	transition: transform 0.2s ease;
}

.diag_agree_more.is_open img {
	transform: rotate(90deg);
}

.diag_agree_detail {
	display: none;
	width: 100%;
	max-height: 16rem;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 1.6rem 1.8rem;
	border: 0.1rem solid #cdcdcd;
	border-radius: 1.2rem;
	background: #fafafa;
	box-sizing: border-box;
}

.diag_agree_detail.is_open {
	display: block;
}

.diag_agree_detail_inner h4 {
	margin: 0 0 0.6rem;
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.4;
}

.diag_agree_detail_inner h4 + p {
	margin-bottom: 1.4rem;
}

.diag_agree_detail_inner h4:first-child {
	margin-top: 0;
}

.diag_agree_detail_inner p {
	margin: 0 0 1.4rem;
	color: #555;
	font-family: "Pretendard", sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.55;
}

.diag_agree_detail_inner p:last-child {
	margin-bottom: 0;
}

.diag_step_foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 2rem;
	flex: 1;
	width: 100%;
	margin-top: auto;
}

.diag_progress {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.diag_progress_bar {
	position: relative;
	width: 100%;
	max-width: 48rem;
	height: 0.6rem;
	background: #ededed;
	border-radius: 50rem;
	overflow: hidden;
}

.diag_progress_bar span {
	display: block;
	height: 100%;
	width: 16.666%;
	background: #bc9657;
	border-radius: 50rem;
	transition: width 0.25s ease;
}

.diag_progress_txt {
	color: #222;
	font-family: "Pretendard", sans-serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 3rem;
	letter-spacing: -0.05rem;
	text-align: center;
}

.diag_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 48rem;
	padding: 1.5rem 2rem;
	border: 0;
	border-radius: 5rem;
	background: #cdcdcd;
	color: #777;
	font-family: "Pretendard", sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: normal;
	text-align: center;
	cursor: not-allowed;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.diag_btn.is_active {
	background: #bc9657;
	color: #fff;
	cursor: pointer;
}

.diag_btn.is_active:hover {
	background: #8f6d36;
}

.diag_btn:disabled,
.diag_btn.is_disabled {
	background: #cdcdcd;
	color: #777;
	cursor: not-allowed;
	pointer-events: none;
}

body.diag_scroll_lock {
	overflow: hidden !important;
}

@media all and (max-width: 63.9375rem) {
	.diag_popup_panel {
		padding: 2.4rem;
		border-radius: 1.6rem;
	}

	.diag_step {
		min-height: 0;
		gap: 2.4rem;
	}

	.diag_step_title {
		font-size: 2.2rem;
		line-height: 2.8rem;
	}

	.diag_radio_box.is_desc {
		min-height: auto;
	}

	.diag_agree_txt {
		font-size: 1.4rem;
	}
}

@media all and (max-width: 47.9375rem) {
	.diag_popup {
		padding: 1.2rem;
	}

	.diag_popup_panel {
		padding: 2rem 1.6rem;
	}

	.diag_popup_close {
		margin-bottom: 2rem;
	}

	.diag_step_badge {
		width: 5rem;
		height: 5rem;
		font-size: 1.8rem;
	}

	.diag_step_title {
		font-size: 2rem;
		line-height: 2.6rem;
	}

	.diag_radio_tit,
	.diag_check_card_tit {
		font-size: 1.6rem;
	}

	.diag_radio_desc {
		font-size: 1.4rem;
	}

	.diag_input_unit .diag_unit_label {
		width: 8rem;
		font-size: 1.6rem;
	}

	.diag_input_guide {
		font-size: 1.4rem;
	}

	.diag_progress_txt {
		font-size: 1.6rem;
	}
}

/* 2026-08-03 추가 : AI 자가진단 팝업 : 끝 */
