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


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

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

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

	--sg-fundo: #ffffff;
	--sg-fundo-secundario: #f7f7f8;

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

	width: 100%;
	padding: 40px 20px;
	box-sizing: border-box;
}


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


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

.savegame-cadastro-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-cadastro-header {
	margin-bottom: 28px;
	text-align: center;
}


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

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

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

	border-radius: 999px;

	color: var(--sg-roxo);

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


.savegame-cadastro-header h1 {
	margin: 0 0 10px;

	color: var(--sg-texto);

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


.savegame-cadastro-header p {
	max-width: 430px;

	margin: 0 auto;

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

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


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

.savegame-cadastro-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}


.savegame-cadastro-campo {
	display: flex;
	flex-direction: column;
	gap: 7px;
}


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

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


.savegame-cadastro-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-cadastro-campo input:focus {
	border-color: var(--sg-roxo);

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


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


.savegame-cadastro-ajuda {
	color: var(--sg-texto-secundario);

	font-size: 12px;
}


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

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

	margin-top: 4px;
	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-cadastro-botao:hover {
	background: var(--sg-roxo-hover);
	transform: translateY(-1px);
}


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


/* =========================================================
   LOGIN
   ========================================================= */

.savegame-cadastro-login {
	margin: 0;

	text-align: center;

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

	font-size: 14px;
}


.savegame-cadastro-login span {
	color: var(--sg-roxo);
	font-weight: 650;
}


/* =========================================================
   TERMOS
   ========================================================= */

.savegame-cadastro-termos {
	margin: 22px 0 0;

	text-align: center;

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

	font-size: 12px;
	line-height: 1.55;
}


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

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

	border-radius: 9px;

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


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

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

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


/* =========================================================
   STATUS
   ========================================================= */

.savegame-cadastro-status {
	max-width: 520px;

	margin: 40px auto;
	padding: 32px;

	text-align: center;

	background: #ffffff;

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


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

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


.savegame-cadastro-status p {
	margin: 0 0 22px;

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


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

	padding: 11px 18px;

	background: var(--sg-roxo);

	border-radius: 9px;

	color: #ffffff !important;

	font-weight: 650;
	text-decoration: none !important;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.savegame-cadastro-honeypot {
	position: absolute !important;

	width: 1px !important;
	height: 1px !important;

	overflow: hidden !important;

	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;

	white-space: nowrap !important;
}


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

@media (max-width: 600px) {

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


	.savegame-cadastro-container {
		padding: 26px 20px;

		border-radius: 14px;
	}


	.savegame-cadastro-header {
		margin-bottom: 24px;
	}


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

}