/**
 * =========================================================
 * SAVE GAME - LOGIN DE USUÁRIOS
 * =========================================================
 */


/* =========================================================
   BASE
   ========================================================= */

.savegame-login {
	--sg-roxo: #8758f5;
	--sg-roxo-hover: #7547e8;

	--sg-texto: #161616;
	--sg-texto-secundario: #606269;

	--sg-fundo: #ffffff;
	--sg-borda: #e4e4e7;

	--sg-erro: #c62828;
	--sg-erro-fundo: #fff3f3;

	width: 100%;

	padding: 40px 20px;

	box-sizing: border-box;
}


.savegame-login *,
.savegame-login *::before,
.savegame-login *::after {
	box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.savegame-login-container {
	width: 100%;
	max-width: 520px;

	margin: 0 auto;
	padding: 36px;

	background: var(--sg-fundo);

	border: 1px solid var(--sg-borda);
	border-radius: 18px;

	box-shadow:
		0 10px 35px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.savegame-login-header {
	margin-bottom: 28px;

	text-align: center;
}


.savegame-login-tag {
	display: inline-flex;

	margin-bottom: 12px;
	padding: 6px 12px;

	background: rgba(135, 88, 245, 0.10);

	border-radius: 999px;

	color: var(--sg-roxo);

	font-size: 13px;
	font-weight: 700;
}


.savegame-login-header h1 {
	margin: 0 0 12px;

	color: var(--sg-texto);

	font-size: clamp(28px, 5vw, 36px);
	font-weight: 750;
	line-height: 1.15;
}


.savegame-login-header p {
	margin: 0 auto;

	max-width: 430px;

	color: var(--sg-texto-secundario);

	font-size: 15px;
	line-height: 1.65;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.savegame-login-form {
	display: flex;
	flex-direction: column;

	gap: 18px;
}


.savegame-login-campo {
	display: flex;
	flex-direction: column;

	gap: 7px;
}


.savegame-login-campo label {
	color: var(--sg-texto);

	font-size: 14px;
	font-weight: 650;
}


.savegame-login-campo input {
	width: 100%;
	height: 48px;

	padding: 0 14px;

	background: var(--sg-fundo);

	border: 1px solid var(--sg-borda);
	border-radius: 10px;

	color: var(--sg-texto);

	font-size: 15px;

	outline: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}


.savegame-login-campo input:focus {
	border-color: var(--sg-roxo);

	box-shadow:
		0 0 0 3px rgba(135, 88, 245, 0.12);
}


.savegame-login-campo input::placeholder {
	color: #a2a2a8;
}


/* =========================================================
   OPÇÕES
   ========================================================= */

.savegame-login-opcoes {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 14px;
}


.savegame-login-lembrar {
	display: inline-flex;
	align-items: center;

	gap: 8px;

	color: var(--sg-texto-secundario);

	font-size: 13px;

	cursor: pointer;
}


.savegame-login-lembrar input {
	width: 17px;
	height: 17px;

	margin: 0;

	accent-color: var(--sg-roxo);
}


.savegame-login-esqueceu {
	color: var(--sg-roxo) !important;

	font-size: 13px;
	font-weight: 650;

	text-decoration: none !important;
}


.savegame-login-esqueceu:hover {
	text-decoration: underline !important;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.savegame-login-botao {
	width: 100%;
	min-height: 50px;

	padding: 12px 18px;

	background: var(--sg-roxo);

	border: 0;
	border-radius: 10px;

	color: #ffffff;

	font-size: 15px;
	font-weight: 700;

	cursor: pointer;

	transition:
		background 0.2s ease,
		transform 0.2s ease;
}


.savegame-login-botao:hover {
	background: var(--sg-roxo-hover);

	transform: translateY(-1px);
}


.savegame-login-botao:active {
	transform: translateY(0);
}


/* =========================================================
   CADASTRO
   ========================================================= */

.savegame-login-cadastro {
	margin: 0;

	text-align: center;

	color: var(--sg-texto-secundario);

	font-size: 14px;
}


.savegame-login-cadastro a {
	color: var(--sg-roxo) !important;

	font-weight: 650;

	text-decoration: none !important;
}


.savegame-login-cadastro a:hover {
	text-decoration: underline !important;
}


/* =========================================================
   ALERTAS
   ========================================================= */

.savegame-login-alerta {
	margin-bottom: 20px;
	padding: 12px 14px;

	border-radius: 9px;

	font-size: 14px;
	line-height: 1.5;
}


.savegame-login-alerta-erro {
	background: var(--sg-erro-fundo);

	border: 1px solid rgba(198, 40, 40, 0.20);

	color: var(--sg-erro);
}


/* =========================================================
   USUÁRIO CONECTADO
   ========================================================= */

.savegame-login-status {
	text-align: center;
}


.savegame-login-status h2 {
	margin: 4px 0 10px;

	color: var(--sg-texto);

	font-size: 26px;
	line-height: 1.2;
}


.savegame-login-status p {
	margin: 0 0 24px;

	color: var(--sg-texto-secundario);

	line-height: 1.6;
}


.savegame-login-botao-secundario {
	display: inline-flex;

	padding: 12px 18px;

	background: var(--sg-roxo);

	border-radius: 10px;

	color: #ffffff !important;

	font-weight: 650;

	text-decoration: none !important;
}


.savegame-login-botao-secundario:hover {
	background: var(--sg-roxo-hover);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.savegame-login {
		padding: 24px 14px;
	}


	.savegame-login-container {
		padding: 28px 20px;

		border-radius: 14px;
	}


	.savegame-login-header h1 {
		font-size: 28px;
	}


	.savegame-login-opcoes {
		align-items: flex-start;
		flex-direction: column;

		gap: 10px;
	}

}