.signin-page {
	background: #ffffff;
}

.signin-main {
	min-height: calc(100vh - 73px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
}

.login-shell {
	position: relative;
	width: min(520px, 92vw);
	display: flex;
	justify-content: center;
	align-items: center;
}

.login-shell::before {
	content: "";
	position: absolute;
	inset: -90px;
	background: url("../../images/background_pokeball.png") center center / contain no-repeat;
	opacity: 0.16;
	pointer-events: none;
}

.signin-box {
	position: relative;
	z-index: 1;
	width: 100%;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #e3e3e3;
	border-radius: 24px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
	padding: 38px 34px;
}

.signin-box h1 {
	font-size: 38px;
	margin-bottom: 10px;
	text-align: center;
}

.signin-subtitle {
	text-align: center;
	color: #666;
	margin-bottom: 28px;
	font-size: 16px;
}

.signin-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.signin-form label {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-top: 6px;
}

.signin-form input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #d8d8d8;
	border-radius: 14px;
	font-size: 15px;
	outline: none;
	transition: 0.2s ease;
	background: #fff;
}

.signin-form input:focus {
	border-color: #ef9a9a;
	box-shadow: 0 0 0 4px rgba(239, 154, 154, 0.18);
}

.submit-btn {
	width: 100%;
	margin-top: 12px;
}

.auth-divider {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 22px 0;
	color: #777;
	font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e3e3e3;
}

.google-auth-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 46px;
	border: 1px solid #d8d8d8;
	border-radius: 14px;
	background: #fff;
	color: #333;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s ease;
}

.google-auth-btn:hover {
	border-color: #c4c4c4;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.google-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #d8d8d8;
	color: #4285f4;
	font-weight: 800;
}

/*Some stuff for sign in/up page error messages*/
.auth-error {
	background: #ffe8e8;
	border: 1px solid #f0a0a0;
	color: #b42318;
	padding: 12px;
	border-radius: 12px;
	margin-bottom: 18px;
	text-align: center;
}

.hidden {
	display: none;
}

@media (max-width: 760px) {
	.signin-box {
		padding: 30px 22px;
	}

	.login-shell::before {
		inset: -50px;
	}
}
