/* 기본 폰트 설정 */
body {
	font-family: 'Pretendard', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 20px;
	box-sizing: border-box;
	color: #222;
}

.login-bg {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background-color: #FFFFFF;
	background-image: radial-gradient(#F0F0F0 2px, transparent 2px);
	background-size: 30px 30px;
	z-index: -1;
}

.wrapper {
	width: 100%;
	max-width: 460px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 메인 타이틀: 진회색 글자 + 연회색 테두리 */
.main-title {
	font-family: 'Jua', sans-serif;
	font-size: 2.6rem;
	color: #555555;
	text-align: center;
	line-height: 1.1;
	margin-bottom: 4px;
	text-shadow: 2px 2px 0px #D1D1D1;
	white-space: nowrap;
}

.title-accent { color: #FF0000; }

/* 영어 서브타이틀 */
.sub-title {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	color: #333333;
	margin-bottom: 30px;
	letter-spacing: 0.01em;
	text-shadow: 1px 1px 0px #D1D1D1;
}

/* 폼 박스 내부 '비밀번호 확인' 타이틀 */
.info-text {
	font-family: 'Jua', sans-serif;
	font-size: 2.3rem;
	color: #333333;
	text-align: center;
	margin-bottom: 15px;
	text-shadow: 1.5px 1.5px 0px #E5E5E5;
	white-space: nowrap;
	letter-spacing: 0.02em;
}

/* 구분 점선 */
.title-divider {
	width: 100%;
	height: 1px;
	border-top: 2px dashed #FFD1D9;
	margin-bottom: 25px;
}

/* 안내 문구 한 줄 배치 */
.card-desc {
	color: #555;
	text-align: center;
	font-size: 0.95rem;
	margin-bottom: 25px;
	line-height: 1.6;
	white-space: nowrap;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.find-card {
	width: 100%;
	background: #FFFFFF;
	border: 3px solid #FF8FA3;
	border-radius: 25px;
	padding: 35px 25px 40px;
	box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.04);
	position: relative;
	box-sizing: border-box;
}

.form-group { margin-bottom: 20px; }

.field-label {
	display: block;
	color: #444;
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
	padding-left: 5px;
}

.input-box {
	width: 100%;
	height: 55px;
	background-color: #FFFFFF;
	border: 2px solid #EAEAEA;
	border-radius: 15px;
	padding: 0 15px;
	font-size: 1rem;
	color: #333333;
	transition: all 0.2s;
	outline: none;
	box-sizing: border-box;
	font-family: 'Pretendard', sans-serif;
	text-align: center;
}

.input-box:focus {
	background-color: #FAFAFA;
	border-color: #FF8FA3;
}

/* 확인 버튼 */
.btn-find {
	width: 100%;
	height: 60px;
	background: #FFB3C1;
	color: #FFFFFF;
	border: none;
	border-radius: 18px;
	font-size: 1.5rem;
	font-family: 'Jua', sans-serif;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-find:hover { background: #FF9EBB; }

/* 모달 스타일 */
.modal-overlay {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	backdrop-filter: blur(2px);
}

.modal-content {
	width: 90%;
	max-width: 400px;
	background: #FFFFFF;
	border: 3px solid #FFB3C1;
	border-radius: 30px;
	padding: 35px 25px;
	text-align: center;
	box-shadow: 0 15px 30px rgba(255, 179, 193, 0.2);
	animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
	from { transform: scale(0.8); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.modal-text {
	font-family: 'Pretendard', sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: #444;
	line-height: 1.6;
	margin-bottom: 25px;
}

.modal-text b {
	color: #FF5C77;
	font-size: 1.3rem;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.btn-modal-close {
	background: #FFB3C1;
	color: #FFFFFF;
	border: none;
	border-radius: 15px;
	padding: 12px 40px;
	font-family: 'Jua', sans-serif;
	font-size: 1.2rem;
	cursor: pointer;
}

/* 하단 캐릭터 */
.bottom-deco {
	margin-top: 35px;
	display: flex;
	justify-content: center;
}

.hero-exc-img {
	width: 140px;
	height: auto;
	object-fit: contain;
}

/* 홈 버튼 */
.floating-home {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: #FFFFFF;
	border: 2px solid #FF8FA3;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
	z-index: 100;
}

.home-icon { width: 28px; height: 28px; fill: #FF8FA3; }

@media (max-width: 480px) {
	.main-title { font-size: 2.0rem; }
	.info-text { font-size: 1.8rem; }
	.card-desc { font-size: 0.8rem; white-space: normal; word-break: keep-all; }
	.find-card { padding: 30px 20px; }
}
