@charset "UTF-8";
/* 로그인 상자 (member/loginBox.jsp), 계정 화면 (member/mypage.jsp) */
.agn-login {
	max-width: 480px;
	margin: 48px auto 24px;
	padding: 0 22px;
	font-family: "SF Pro KR", "SF Pro Text", "Apple SD Gothic Neo",
		"Malgun Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #1d1d1f;
	text-align: center;
}

.agn-join-prompt {
	margin: 18px 0 0;
	text-align: center;
	color: #6e6e73;
	font-size: 14px;
}

.agn-join-prompt a, .agn-join-login a {
	color: #06c;
	text-decoration: none;
}

.agn-join-prompt a:hover, .agn-join-login a:hover {
	text-decoration: underline;
}

.agn-join {
	width: min(100% - 32px, 483px);
	margin: 34px auto 64px;
	color: #1d1d1f;
	font-family: "SF Pro Text", "Apple SD Gothic Neo", Arial, sans-serif;
}

.agn-join h1 {
	margin: 0 0 18px;
	text-align: center;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 650;
	letter-spacing: -.025em;
}

.agn-join-intro, .agn-join-login {
	margin: 0 0 8px;
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
}

.agn-join-login {
	margin-bottom: 24px;
}

.agn-join-global-error {
	padding: 12px 14px;
	color: #b00020;
	background: #fff2f4;
	border-radius: 8px;
	font-size: 14px;
}

.agn-join-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.agn-join-field {
	display: block;
	position: relative;
	margin: 0 0 14px;
}

.agn-join-field input, .agn-join-field select {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 56px;
	padding: 16px;
	border: 1px solid #86868b;
	border-radius: 13px;
	background: #fff;
	color: #1d1d1f;
	font: inherit;
	font-size: 15px;
	outline: none;
}

.agn-join-field input:focus, .agn-join-field select:focus {
	border: 2px solid #06c;
	padding: 15px;
}

.agn-join-field input::placeholder {
	color: #6e6e73;
	opacity: 1;
}

.agn-join-field small {
	display: none;
	margin: 7px 2px 0;
	color: #d70015;
	font-size: 11px;
	line-height: 1.4;
}

.agn-join-field :invalid {
	
}

.agn-join form.is-submitted .agn-join-field :invalid {
	border-color: #fa233b;
	background-color: #fff2f4;
	color: #d70015;
}

.agn-join form.is-submitted .agn-join-field :invalid ~ small, .agn-join form.is-submitted .agn-join-field:has(input:invalid) small,
	.agn-join form.is-submitted .agn-join-field:has(select:invalid) small {
	display: block;
}

.agn-join-select {
	position: relative;
}

.agn-join-select select {
	appearance: none;
	padding-top: 19px;
	cursor: pointer;
}

.agn-join-select:after {
	content: "";
	position: absolute;
	right: 17px;
	top: 23px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #6e6e73;
	border-bottom: 1.5px solid #6e6e73;
	transform: rotate(45deg);
	pointer-events: none;
}

.agn-join-select-label {
	position: absolute;
	z-index: 1;
	top: 7px;
	left: 16px;
	color: #6e6e73;
	font-size: 10px;
	pointer-events: none;
}

.agn-birthday {
	border: 0;
	padding: 0;
	margin: 2px 0 0;
}

.agn-birthday legend {
	padding: 0 0 12px;
	font-weight: 600;
	font-size: 14px;
}

.agn-birthday legend span {
	margin-left: 5px;
	color: #6e6e73;
}

.agn-date-row {
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.agn-date-row .agn-join-field {
	margin-bottom: 0;
}

.agn-join-divider {
	height: 1px;
	background: #e5e5ea;
	margin: 20px 0 32px;
}

.agn-join-submit {
	display: block;
	min-width: 120px;
	height: 44px;
	margin: 22px auto 0;
	padding: 0 22px;
	border: 0;
	border-radius: 22px;
	color: #fff;
	background: #0071e3;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

.agn-join-submit:hover {
	background: #0077ed;
}

@media ( max-width : 480px) {
	.agn-join {
		margin-top: 28px;
	}
	.agn-join h1 {
		font-size: 30px;
	}
	.agn-join-row {
		gap: 8px;
	}
	.agn-join-field input, .agn-join-field select {
		padding-left: 12px;
	}
}

.agn-login-title {
	margin: 0 0 32px;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.125;
	letter-spacing: 0.004em;
}

.agn-login-title .agn-join-success-lead, .agn-login-title .agn-join-success-message
	{
	display: block;
}

.agn-login-title .agn-join-success-lead {
	color: #248a3d;
}

.agn-login-title .agn-join-success-message {
	margin-top: 14px;
}

.agn-login-page {
	display: flow-root;
}

.agn-login-chat {
	clear: both;
	position: relative;
	z-index: 2;
	margin-top: 144px;
}

.agn-login-card {
	padding: 32px 28px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	text-align: left;
}

.agn-login-subtitle {
	margin: 0 0 20px;
	font-size: 19px;
	font-weight: 600;
	text-align: center;
}

.agn-login-field {
	position: relative;
	display: block;
	margin-bottom: 12px;
}

.agn-login-field input {
	box-sizing: border-box;
	width: 100%;
	height: 56px;
	padding: 22px 16px 6px;
	border: 1px solid #d2d2d7;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 17px;
	color: #1d1d1f;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.agn-login-field input:focus {
	border-color: #0071e3;
	box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.2);
}

.agn-login-field span {
	position: absolute;
	left: 16px;
	top: 17px;
	font-size: 17px;
	color: #86868b;
	pointer-events: none;
	transition: top 0.15s, font-size 0.15s;
}

.agn-login-field input:focus+span, .agn-login-field input:not(:placeholder-shown)+span
	{
	top: 8px;
	font-size: 12px;
}

.agn-login-error {
	margin: 4px 0 12px;
	font-size: 14px;
	color: #e30000;
}

.agn-login-submit {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	margin-top: 8px;
	border: 0;
	border-radius: 12px;
	background: #0071e3;
	color: #fff;
	font: inherit;
	font-size: 17px;
	line-height: 48px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.agn-login-submit:hover {
	background: #0077ed;
}

.agn-login-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0;
	font-size: 14px;
	color: #86868b;
}

.agn-login-divider::before, .agn-login-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #d2d2d7;
}

/* 카카오 로그인 버튼 (카카오 디자인 가이드 색상) */
.agn-kakao-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	border-radius: 12px;
	background: #fee500;
	color: rgba(0, 0, 0, 0.85);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}

.agn-kakao-button:hover {
	background: #f5dc00;
	text-decoration: none;
}

.agn-kakao-symbol {
	width: 20px;
	height: 20px;
	fill: #000;
}

/* 네이버 로그인 버튼 (네이버 디자인 가이드 색상) - 카카오 버튼 바로 아래, 같은 크기 */
/* 모양: N 로고는 왼쪽에 고정, "네이버로 로그인" 글자는 버튼 전체의 가운데 (그림이 아니라 벡터라 어떤 화면에서도 선명) */
.agn-naver-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-top: 8px;
	padding: 0 52px;
	border-radius: 12px;
	background: #03c75a;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
}

.agn-naver-button:hover {
	background: #02b351;
	color: #fff;
	text-decoration: none;
}

.agn-naver-symbol {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	fill: #fff;
}

/* 계정 화면 */
.agn-plain-page {
	margin: 0;
	background: #f5f5f7;
}

.agn-account {
	max-width: 480px;
	margin: 64px auto;
	padding: 0 22px;
	font-family: "SF Pro KR", "Apple SD Gothic Neo", "Malgun Gothic",
		sans-serif;
	color: #1d1d1f;
	text-align: center;
}

.agn-account-photo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	background: #d2d2d7;
}

.agn-account-initial {
	font-size: 40px;
	font-weight: 600;
	color: #fff;
}

.agn-account h1 {
	margin: 20px 0 8px;
	font-size: 28px;
	font-weight: 600;
}

.agn-account p {
	margin: 0 0 28px;
	color: #6e6e73;
}

.agn-account-logout {
	max-width: 240px;
	margin: 0 auto;
}