/**
 * @File Name : login.css
 * @Description : 로그인/비밀번호변경 공용 CSS
 *
 *   수정일         수정자                   수정내용
 *  -------    --------    ---------------------------
 *  2026.02.23  김충우       최초 생성
 *  2026.02.23  김충우       SMS 인증/비밀번호찾기 스타일 추가
 *
 * Copyright (C) by (주) 휴먼미디어테크 All right reserved.
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

.login-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #f0f2f5;
}

.login-box {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 400px;
}

.login-title {
	text-align: center;
	color: #333;
	margin-bottom: 30px;
	font-size: 24px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 6px;
	color: #555;
	font-size: 14px;
	font-weight: 600;
}

.form-group input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s;
}

.form-group input:focus {
	border-color: #4a90d9;
	outline: none;
}

.btn-login {
	width: 100%;
	padding: 12px;
	background: #4a90d9;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-login:hover {
	background: #357abd;
}

.btn-skip-auth {
	width: 100%;
	padding: 12px;
	margin-top: 8px;
	background: #e67e22;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-skip-auth:hover {
	background: #d35400;
}

.pswd-hint {
	color: #888;
	font-size: 12px;
	margin: -10px 0 15px;
}

/* SMS 인증 / 비밀번호 찾기 */
.auth-desc {
	color: #666;
	font-size: 14px;
	margin-bottom: 20px;
	text-align: center;
}

.auth-input-group {
	display: flex;
	gap: 8px;
}

.auth-input-group input {
	flex: 1;
	min-width: 0;
}

.btn-send-auth {
	white-space: nowrap;
	padding: 10px 14px;
	background: #5a6268;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-send-auth:hover {
	background: #484e53;
}

.timer {
	display: inline-block;
	margin-top: 6px;
	color: #e74c3c;
	font-size: 14px;
	font-weight: 600;
}

.link-find-pswd {
	display: block;
	text-align: center;
	margin-top: 15px;
	color: #4a90d9;
	font-size: 13px;
	text-decoration: none;
}

.link-find-pswd:hover {
	text-decoration: underline;
}

.link-back {
	display: block;
	text-align: center;
	margin-top: 15px;
	color: #888;
	font-size: 13px;
	text-decoration: none;
}

.link-back:hover {
	color: #555;
	text-decoration: underline;
}

/* SMS 인증 모달 */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-box {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	width: 100%;
	max-width: 420px;
}

.modal-title {
	text-align: center;
	color: #333;
	margin-bottom: 10px;
	font-size: 20px;
}

.auth-sub-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	min-height: 22px;
}

.auth-message {
	color: #e74c3c;
	font-size: 13px;
}

.auth-message.success {
	color: #27ae60;
}

/* 반응형 */
@media (max-width: 480px) {
	.login-box {
		margin: 20px;
		padding: 30px 20px;
	}

	.login-title {
		font-size: 20px;
	}

	.auth-input-group {
		flex-direction: column;
	}

	.btn-send-auth {
		width: 100%;
	}

	.modal-box {
		margin: 20px;
		padding: 30px 20px;
	}
}
