/*
 * 2026-11 renew — 로그인 · 회원가입 · 계정 찾기 · 비밀번호 재설정
 * 시안 없음. 가운데 좁은 칸 + 세리프 제목 + 밑줄 입력(renew-field) + 알약 버튼(renew-btn).
 * 페이지 배경 = white · 헤더와 같은 pad (PC 56 · 태블릿 28 · 모바일 16)
 */

.renew-auth {
	--renew-auth-pad-x: var(--renew-pad-x, 56px);
	box-sizing: border-box;
	padding: 56px 0 96px;
	background: var(--renew-surface);
	font-family: var(--renew-sans);
	color: var(--renew-ink);
}

.renew-auth :is(
	div, span, p, a, em, i, strong, b, small,
	h1, h2, h3,
	form, label, input, button,
	ul, li, img, section, header
) {
	font-family: inherit;
}

.renew-auth :is(h1, h2, h3) {
	color: inherit;
}

.renew-auth .renew-serif,
.renew-auth .renew-serif :is(em, i, span) {
	font-family: var(--renew-serif);
	font-weight: 400;
}

.renew-auth__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: 0 var(--renew-auth-pad-x);
}

.renew-auth__head {
	text-align: center;
}

.renew-auth__kicker {
	font-size: 11px;
}

.renew-auth .renew-auth__title {
	margin: 10px 0 0;
	font-size: 56px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: var(--renew-ls-tight);
}

.renew-auth .renew-auth__title--en {
	font-family: var(--renew-serif-en);
}

.renew-auth .renew-auth__tagline {
	margin: 8px 0 0;
	font-family: var(--renew-serif);
	font-size: 16px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.4;
	color: var(--renew-muted);
}

.renew-auth .renew-auth__tagline--en {
	font-family: var(--renew-serif-en);
}

.renew-auth .renew-auth__tagline:lang(ko):not(.renew-auth__tagline--en) {
	font-style: normal;
}

.renew-auth__form,
.renew-auth__block {
	margin-top: 36px;
}

.renew-auth .renew-field {
	max-width: none;
	margin-top: 22px;
}

.renew-auth__form > .renew-field:first-of-type,
.renew-auth__block > .renew-field:first-of-type {
	margin-top: 0;
}

.renew-auth__pw {
	position: relative;
}

.renew-auth__pw input.renew-field__control:not([type="submit"]):not([type="checkbox"]) {
	padding-right: 44px;
}

button.renew-auth__eye {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: var(--renew-muted);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

button.renew-auth__eye:hover,
button.renew-auth__eye:active {
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: var(--renew-ink);
}

button.renew-auth__eye:focus-visible {
	outline: var(--renew-focus);
	outline-offset: var(--renew-focus-offset);
}

.renew-auth__eye .renew-icon--eye-off {
	display: none;
}

.renew-auth__eye[aria-pressed="true"] .renew-icon--eye {
	display: none;
}

.renew-auth__eye[aria-pressed="true"] .renew-icon--eye-off {
	display: block;
}

.renew-auth__remember {
	margin-top: 18px;
}

.renew-auth__head + .renew-auth__notice {
	margin-top: 28px;
}

.renew-auth__notice + .renew-auth__form {
	margin-top: 18px;
}

.renew-auth__alert,
.renew-auth__notice {
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid var(--renew-error);
	font-size: 13px;
	line-height: 1.5;
	color: var(--renew-error);
}

.renew-auth__notice {
	border-color: var(--renew-line);
	background: var(--renew-bg);
	color: var(--renew-ink);
}

.renew-auth label.renew-auth__error {
	display: block;
	margin-top: 6px;
	font-size: var(--renew-fs-small-m);
	line-height: var(--renew-lh-small);
	color: var(--renew-error);
}

.renew-auth__actions {
	margin-top: 28px;
}

.renew-auth__actions .renew-btn {
	width: 100%;
	height: 52px;
	font-size: 14px;
}

.renew-auth__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 22px 0 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.renew-auth__links p {
	margin: 0;
}

.renew-auth__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 28px 0 16px;
	font-size: 12px;
	color: var(--renew-muted);
}

.renew-auth__or::before,
.renew-auth__or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--renew-line);
}

.renew-auth__social {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Facebook · Google · LINE 로그인 버튼 규격 (알약 renew-btn 아님) */
button.renew-social {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.25px;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

button.renew-social--facebook {
	border: 0;
	background: #1877f2;
	background-color: #1877f2;
	box-shadow: none;
	font-family: Helvetica, Arial, sans-serif;
	color: #fff;
}

button.renew-social--facebook:hover,
button.renew-social--facebook:active {
	background: #166fe5;
	background-color: #166fe5;
	box-shadow: none;
	color: #fff;
}

button.renew-social--google {
	border: 1px solid #747775;
	background: #fff;
	background-color: #fff;
	box-shadow: none;
	font-family: Roboto, Arial, sans-serif;
	color: #1f1f1f;
}

button.renew-social--google:hover,
button.renew-social--google:active {
	border-color: #747775;
	background: #f2f2f2;
	background-color: #f2f2f2;
	box-shadow: none;
	color: #1f1f1f;
}

button.renew-social--line {
	border: 0;
	background: #06c755;
	background-color: #06c755;
	box-shadow: none;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 700;
	color: #fff;
}

button.renew-social--line:hover {
	background: #06c755 linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
	background-color: #06c755;
	box-shadow: none;
	color: #fff;
}

button.renew-social--line:active {
	background: #06c755 linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
	background-color: #06c755;
	box-shadow: none;
	color: #fff;
}

button.renew-social:focus-visible {
	outline: var(--renew-focus);
	outline-offset: var(--renew-focus-offset);
}

.renew-social__mark {
	flex: none;
	display: block;
	width: 20px;
	height: 20px;
}

.renew-auth.is-ios .renew-auth__social,
.renew-auth.is-ios .renew-auth__or {
	display: none;
}

.renew-auth__block {
	padding-top: 28px;
	border-top: 1px solid var(--renew-line);
}

.renew-auth .renew-auth__block-title {
	margin: 0;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
}

.renew-auth__lead {
	margin: 8px 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--renew-muted);
}

.renew-auth__photo {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
}

.renew-auth__avatar {
	flex: none;
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--renew-bg) center / cover no-repeat;
}

.renew-auth__photo-body {
	min-width: 0;
}

.renew-auth__spec {
	margin: 6px 0 0;
	font-size: var(--renew-fs-small-m);
	line-height: var(--renew-lh-small);
	color: var(--renew-muted);
}

.renew-auth__static {
	display: block;
	height: 46px;
	margin-top: 4px;
	border-bottom: 1px dashed var(--renew-line);
	font-size: var(--renew-fs-body);
	line-height: 46px;
	color: var(--renew-ink);
}

@media (max-width: 991px) {
	.renew-auth {
		--renew-auth-pad-x: var(--renew-pad-x-tab, 28px);
		padding-top: 36px;
	}
}

@media (max-width: 767px) {
	.renew-auth {
		--renew-auth-pad-x: var(--renew-pad-x-m, 16px);
		padding-bottom: 72px;
	}

	.renew-auth .renew-auth__title {
		font-size: 40px;
	}

	.renew-auth .renew-auth__tagline {
		font-size: 14px;
	}
}

/* 로그인 외 폼: 560 칸을 화면 가운데. 칸 안 글은 왼쪽 */
.renew-auth--sheet {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--renew-max);
	margin: 0 auto;
	padding: 48px var(--renew-pad-x, 56px) 96px;
}

.renew-auth--sheet .renew-auth__inner {
	max-width: 560px;
	margin: 0 auto;
	padding: 0;
}

.renew-auth--sheet .renew-auth__head,
.renew-auth--sheet .renew-auth__links {
	align-items: flex-start;
	text-align: left;
}

.renew-auth--sheet .renew-auth__title {
	font-size: 64px;
	line-height: 1;
}

.renew-auth--sheet .renew-auth__actions {
	display: flex;
	justify-content: flex-start;
}

.renew-auth--sheet .renew-auth__actions .renew-btn {
	width: auto;
	min-width: 180px;
}

/* 비밀번호 재설정: 제목과 칸을 같은 560 폭으로 가운데 */
.renew-my.renew-auth-reset {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--renew-max);
	margin: 0 auto;
	padding: 48px var(--renew-pad-x, 56px) 96px;
}

.renew-my.renew-auth-reset .renew-my__head,
.renew-my.renew-auth-reset .renew-profile {
	max-width: 560px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 991px) {
	.renew-auth--sheet,
	.renew-my.renew-auth-reset {
		padding: 18px var(--renew-pad-x-tab, 28px) 56px;
	}

	.renew-auth--sheet .renew-auth__title {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.renew-auth--sheet,
	.renew-my.renew-auth-reset {
		padding-right: var(--renew-pad-x-m, 16px);
		padding-left: var(--renew-pad-x-m, 16px);
	}

	.renew-auth--sheet .renew-auth__title {
		font-size: 40px;
	}

	.renew-auth--sheet .renew-auth__actions .renew-btn {
		width: 100%;
	}
}
