/* css/login.css */

.q-login-wrap {
	min-height: calc(100vh - 45px);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	overflow: hidden;
	background: #05090f;
}

/* 배경(홈 톤: 딥 네이비 + 글로우) */
.q-login-bg {
	position: absolute;
	inset: 0;
	background:
			radial-gradient(900px 520px at 72% 52%, rgba(62, 132, 255, 0.12), transparent 60%),
			radial-gradient(760px 420px at 30% 38%, rgba(255, 255, 255, 0.06), transparent 60%),
			linear-gradient(180deg, #04070c 0%, #050a12 55%, #04070c 100%);
	filter: saturate(1.1);
}

.q-login-card {
	position: relative;
	width: 100%;
	max-width: 420px;
	border-radius: 16px;
	padding: 22px 20px 18px;
	color: #e7eefc;

	/* glass */
	background: rgba(10, 18, 32, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
			0 18px 50px rgba(0, 0, 0, 0.55),
			inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.q-login-brand {
	margin-bottom: 18px;
	text-align: center;
}

.q-login-logo {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: #ffffff;
	text-align: center;
}

.q-login-logo img {
	width: 150px;
	margin: 0 auto;
}

.q-login-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.q-field {
	display: block;
}

.q-label {
	font-size: 12px;
	color: rgba(231, 238, 252, 0.75);
	margin-bottom: 6px;
}

.q-input {
	width: 100%;
	height: 42px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(0, 0, 0, 0.28);
	color: #ffffff;
	padding: 0 12px;
	outline: none;
	box-sizing: border-box;
}

.q-input::placeholder {
	color: rgba(231, 238, 252, 0.35);
}

.q-input:focus {
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow: 0 0 0 4px rgba(62, 132, 255, 0.12);
}

.q-login-err {
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.4;
	color: #ffd7d7;
	background: rgba(255, 70, 70, 0.12);
	border: 1px solid rgba(255, 70, 70, 0.22);
}

.q-btn {
	height: 44px;
	border-radius: 12px;
	border: none;
	background: #ffffff;
	color: #0b1220;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	transition: transform 0.08s ease, opacity 0.15s ease;
	margin-top: 12px;
}

.q-btn:hover {
	opacity: 0.92;
}

.q-btn:active {
	transform: translateY(1px);
}

.q-btn.is-loading {
	opacity: 0.65;
	cursor: default;
}

.q-login-foot {
	margin-top: 6px;
	display: flex;
	justify-content: center;
}

.q-foot-text {
	font-size: 11px;
	color: rgba(231, 238, 252, 0.55);
}

.q-login-links {
	margin-top: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-size: 12px;
}

.q-link {
	color: rgba(231, 238, 252, 0.75);
	text-decoration: none;
}

.q-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.q-link-sep {
	color: rgba(231, 238, 252, 0.35);
}


@media (max-width: 420px) {
	.q-login-card {
		padding: 20px 16px 16px;
		border-radius: 14px;
	}
	.q-login-logo {
		font-size: 20px;
	}
}


/* ===== SNS Login UI ===== */

.q-sns-divider {
	position: relative;
	margin: 14px 0 10px;
	text-align: center;
}

.q-sns-divider span {
	display: inline-block;
	padding: 0 10px;
	font-size: 12px;
	color: rgba(231, 238, 252, 0.55);
	background: rgba(10, 18, 32, 0.62);
	position: relative;
	z-index: 2;
}

.q-sns-divider:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: rgba(255, 255, 255, 0.10);
	transform: translateY(-50%);
	z-index: 1;
}

.q-sns-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 6px;
}

.q-sns-btn {
	height: 44px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: opacity 0.15s ease, transform 0.08s ease;
}

.q-sns-btn:hover {
	opacity: 0.94;
	border-color: rgba(255, 255, 255, 0.18);
}

.q-sns-btn:active {
	transform: translateY(1px);
}

.q-sns-ico {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 900;
	color: #0b1220;
	background: rgba(255, 255, 255, 0.95);
}

/* 브랜드 느낌만 살짝 */
.q-sns-kakao {
	/*background: rgba(254, 229, 0, 0.12);*/
	border-color: rgba(254, 229, 0, 0.22);
}

.q-sns-google {
	/*background: rgba(255, 255, 255, 0.06);*/
	border-color: rgba(255, 255, 255, 0.12);
}

.q-sns-naver {
	/*background: rgba(3, 199, 90, 0.10);*/
	border-color: rgba(3, 199, 90, 0.22);
}
