@charset "utf-8";

/* login */
body.login {
	overflow-y: auto;
	background: #F2F2F2;
}
body.login #wrap {
	min-height: auto;
}

/* [Global Header] */
.global-header {
	box-sizing: border-box;
	position: relative;
	height: 72px;
	background: #FFFFFF;
	border-bottom: 1px solid #EEEEEE;
	z-index: 10;
}
.header-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 16px 40px;
	gap: 28px;
	max-width: 1440px;
	margin: 0 auto;
	height: 100%;
	box-sizing: border-box;
}
/* wrap */
.header-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 16px 0 0;
	min-width: 0;
	height: 23px;
	flex-shrink: 0;
	order: 0;
}
/* [Brand] Logo */
.header-brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0;
	gap: 2px;
	min-width: 0;
	height: 23px;
	flex-shrink: 0;
	order: 0;
}
.header-logo-img {
	height: 21px;
	width: auto;
}
/* [Slot] Menus */
.header-menus {
	display: none;
}
/* [Slot] Specific */
.header-specific {
	display: none;
}
/* [Slot] Buttons */
.header-right-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 28px;
	flex-shrink: 0;
}
.header-buttons {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	padding: 0;
	gap: 8px;
	height: 36px;
	background: #FFFFFF;
	flex-shrink: 0;
	order: 3;
	position: relative;
}
/* [Button] Small */
.header-btn-small {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 12px 16px;
	gap: 4px;
	width: 173px;
	height: 36px;
	background: #FFFFFF;
	border: 1px solid #A4A4A4;
	border-radius: 4px;
	cursor: pointer;
	flex: none;
	order: 0;
	flex-grow: 0;
}
.header-btn-label {
	font-family: 'Pretendard', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 100%;
	text-align: center;
	color: #353535;
	flex: none;
	order: 0;
	flex-grow: 0;
}
.header-btn-chevron {
	width: 9px;
	height: 5.25px;
	flex: none;
	order: 2;
	flex-grow: 0;
	transition: transform 0.2s;
	margin-top: 6.75px;
    margin-left: 4.5px;
}
.header-btn-small.active .header-btn-chevron {
	transform: rotate(180deg);
}
/* Header Link Dropdown */
.header-link-list {
	position: absolute;
	top: 40px;
	right: 0;
	background: #fff;
	border: 1px solid #D9D9D9;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	display: none;
	z-index: 100;
	min-width: 173px;
	padding: 4px 0;
	list-style: none;
	margin: 0;
}
.header-btn-small.active + .header-link-list {
	display: block;
}
.header-link-list li {
	list-style: none;
}
.header-link-list li a {
	display: block;
	padding: 10px 16px;
	font-family: 'Pretendard', sans-serif;
	font-size: 14px;
	color: #353535;
	text-decoration: none;
}
.header-link-list li a:hover {
	background: #F5F5F5;
}
/* [Slot] Icons */
.header-icons {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0;
	gap: 24px;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	order: 4;
	position: relative;
}
/* [Header Icon] */
.header-icon-btn {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0;
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	flex: none;
	order: 0;
	flex-grow: 0;
}
/* Language Dropdown (from global icon) */
.header-icons .lang-list {
	position: absolute;
	top: 32px;
	right: 0;
	background: #fff;
	border: 1px solid #EEEEEE;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	display: none;
	z-index: 100;
	min-width: 120px;
	padding: 4px 0;
	list-style: none;
	margin: 0;
}
.header-icons .lang-list.active {
	display: block;
}
.header-icons .lang-list li {
	list-style: none;
}
.header-icons .lang-list li a {
	display: block;
	padding: 10px 16px;
	font-family: 'Pretendard', sans-serif;
	font-size: 14px;
	color: #353535;
	text-decoration: none;
}
.header-icons .lang-list li a:hover {
	background: #F5F5F5;
}
.header-icons .lang-list li.active a {
	font-weight: 700;
	color: #E6007E;
}

#login-wrap {
	width: 100%;
	margin: 0 auto;
	height: calc(100vh - 160px);
	box-sizing: border-box;
	position: relative;
}

/* Login Container */
.login-container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* [login module] */
.login-module {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 36px;
	gap: 20px;
	width: 472px;
	background: #FFFFFF;
	border-radius: 8px;
	box-sizing: border-box;
}

/* [Module] Header-login */
.login-module-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	gap: 16px;
	width: 400px;
}
.login-title-text {
	width: 400px;
	font-family: 'Pretendard', sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 130%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #161616;
	margin: 0;
}

/* [Module] body-login */
.login-module-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
	gap: 12px;
	width: 400px;
}
.login-module-body form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

/* [Text Field] */
.login-text-field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0;
	gap: 8px;
	width: 400px;
	height: 56px;
}
.login-text-field-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 12px 16px;
	width: 400px;
	height: 56px;
	background: #F2F2F2;
	border-radius: 4px;
	box-sizing: border-box;
}
.login-input {
	width: 100%;
	height: 27px;
	font-family: 'Pretendard', sans-serif;
	font-size: 18px;
	line-height: 150%;
	color: #161616;
	border: none;
	background: transparent;
	outline: none;
}
.login-input::placeholder {
	color: #8C8C8C;
	font-weight: 500;
}

/* [Module] Footer-login */
.login-module-footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
	gap: 36px;
	width: 400px;
}

/* [form actions] */
.login-form-actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0;
	gap: 20px;
	width: 400px;
}

/* [Button] Large */
.login-btn-large {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 16px 20px;
	width: 400px;
	height: 56px;
	background: #DE2682;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	font-family: 'Pretendard', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 100%;
	text-align: center;
	letter-spacing: -0.007em;
	color: #FFFFFF;
	box-sizing: border-box;
}
.login-btn-large:hover {
	background: #C51F72;
}

/* [Text Button Group] */
.login-text-btn-group {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0;
	gap: 20px;
	width: 400px;
	height: 26px;
}

/* [Text Button] */
.login-text-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 6px 4px;
	gap: 10px;
	height: 26px;
	border-radius: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: 'Pretendard', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 100%;
	color: #353535;
}
.login-text-btn:hover {
	text-decoration: underline;
}

/* item (divider + text button) */
.login-text-btn-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0;
	gap: 20px;
	height: 26px;
}

/* [Divider] */
.login-divider {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 1px;
	height: 14px;
}
.login-divider img {
	width: 1px;
	height: 14px;
}

/* login pop-up 세부스타일 */
.login .error {
	font-size: 0;
}
.login .error .error-text {
	color: #c60353;
	padding-top: 5px;
	line-height: 15px;
	font-size: 12px;
}
.login .error.max-width .error-text {
	max-width: 409px;
}
.login .form-wrap .input-box {
	width: 210px;
}
.next-box,
.last-box {
	display: none;
}
.next-box .find-user-id,
.last-box .find-user-id {
	height: 138.5px;
	border-top: 2px solid;
	border-bottom: 1px solid;
	border-color: #545454;
}
.find-user-id .table-cell {
	background: #f8f8f8;
}
.find-user-id span {
	font-size: 12px;
	color: #666;
	display: inline-block;
	text-align: center;
	width: 100%;
}
.find-user-id .find-id {
	margin-top: 20px;
	font-size: 14px;
	color: #444444;
	font-weight: 600;
}	
.certified-count {
	font-size: 12px;
	color: #666;
	vertical-align: middle;
	display: inline-block;
	line-height: 26px;
	margin-left: 21px;
}
:lang(vi) .find-id-pop .pop-up,
:lang(vi) .reset-pw-pop .pop-up {
	width: 700px;
	margin-left: -350px;
}

/* ===== 최소 너비 설정 - 좁으면 가로 스크롤 ===== */
body.login {
	min-width: 540px;
	overflow-x: auto;
}
body.login #footer {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	min-width: auto;
}
body.login #footer .footer-wrap {
	min-width: auto;
}
body.login #footer .policy-links {
	flex-wrap: wrap;
	height: auto;
	min-height: 40px;
	line-height: normal;
}
