@charset "UTF-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Pretendard', 'Inter', 'Noto Sans KR', sans-serif;
}

body {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 1) 0%, rgba(20, 24, 33, 1) 90%);
	overflow: hidden;
	position: relative;
}

/* Background ambient glowing spheres */
body::before,
body::after {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0284c7, #38bdf8);
	filter: blur(100px);
	opacity: 0.15;
	z-index: 1;
}

body::before {
	top: 15%;
	left: 20%;
}

body::after {
	bottom: 15%;
	right: 20%;
	background: linear-gradient(135deg, #0369a1, #0284c7);
}

/* Glassmorphic Login Container */
.login-container {
	width: 100%;
	max-width: 420px;
	padding: 40px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 16px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
	z-index: 10;
	transition: all 0.3s ease;
}

/* Logo Area */
.login-logo {
	text-align: center;
}

.login-logo img {
	width: 100%;
}

.login-title {
	color: #f8fafc;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	margin-bottom: 10px;
}

/* Input Fields styling */
.input-group {
	margin-bottom: 22px;
	position: relative;
}

.input-group label {
	display: block;
	color: #94a3b8;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 8px;
}

.input-wrapper {
	position: relative;
}

.input-wrapper i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #64748b;
	font-size: 16px;
	transition: color 0.3s ease;
}

.input-field {
	width: 100%;
	padding: 14px 14px 14px 42px;
	background: rgba(15, 23, 42, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #f8fafc;
	font-size: 14px;
	outline: none;
	transition: all 0.25s ease;
}

.input-field:focus {
	border-color: #38bdf8;
	box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
	background: rgba(15, 23, 42, 0.7);
}

.input-field:focus + i {
	color: #38bdf8;
}

/* Error Message block */
.error-message-box {
	display: none;
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 8px;
	padding: 12px;
	color: #fca5a5;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 22px;
	align-items: center;
	gap: 8px;
}

.error-message-box i {
	font-size: 14px;
}

/* Submit Button */
.login-btn {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, #0284c7, #0369a1);
	border: none;
	border-radius: 8px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.login-btn:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #0369a1, #0284c7);
	box-shadow: 0 6px 16px rgba(2, 132, 199, 0.5);
}

.login-btn:active {
	transform: translateY(1px);
}

/* Shaking Animation for Login Errors */
@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	20%,
	60% {
		transform: translateX(-6px);
	}
	40%,
	80% {
		transform: translateX(6px);
	}
}

.shake {
	animation: shake 0.4s ease-in-out;
}

/* Footer Info */
.login-footer {
	margin-top: 30px;
	text-align: center;
	color: #475569;
	font-size: 12px;
}

