/* ===============================
   REGISTER PAGE MODERN
   Arquivo: register-style.css
================================ */

.register-page {
	position: relative;
	z-index: 20;
	padding-top: 70px;
	padding-bottom: 80px;
	overflow: visible;
}

.register-wrapper {
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	position: relative;
	overflow: visible;
}

/* ===============================
   TÍTULO
================================ */

.register-title {
	margin-bottom: 8px;
	font-size: 56px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: 0.5px;
	color: #fff;
	text-shadow:
		0 0 10px rgba(183, 31, 31, 0.80),
		0 0 24px rgba(183, 31, 31, 0.40),
		0 3px 8px rgba(0, 0, 0, 0.75);
}

.register-subtitle {
	max-width: 520px;
	margin: 18px auto 34px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 600;
}

/* ===============================
   CARD DO FORMULÁRIO
================================ */

.register-card {
	position: relative;
	overflow: visible;
	padding: 38px;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(6, 6, 6, 0.97));
	border: 1px solid rgba(183, 31, 31, 0.30);
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.52),
		0 0 24px rgba(183, 31, 31, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	margin: 0 auto;
}

.register-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
	pointer-events: none;
	background:
		radial-gradient(circle at top left, rgba(183, 31, 31, 0.18), transparent 36%),
		radial-gradient(circle at bottom right, rgba(212, 55, 55, 0.10), transparent 35%);
	z-index: 1;
}

.register-form-content {
	position: relative;
	z-index: 5;
}

/* ===============================
   IMAGEM LATERAL / POR CIMA
================================ */

.register-shura {
	position: absolute;
	right: -190px;
	bottom: -35px;
	max-height: 430px;
	width: auto;
	opacity: 0.96;
	filter:
		drop-shadow(0 16px 26px rgba(0, 0, 0, 0.82))
		drop-shadow(0 0 18px rgba(183, 31, 31, 0.26));
	pointer-events: none;
	z-index: 20;
}

/* ===============================
   CAMPOS
================================ */

.register-field {
	margin-bottom: 17px;
}

.register-field .form-label {
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.25px;
}

.register-input-group {
	position: relative;
}

.register-input-icon {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: #d43737;
	font-size: 16px;
	z-index: 4;
	opacity: 0.96;
	pointer-events: none;
}

.register-card .form-control {
	height: 45px;
	padding-left: 40px;
	padding-right: 40px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.38);
	border: 1px solid rgba(255, 255, 255, 0.11);
	color: #fff;
	font-size: 15px;
	font-weight: 650;
	box-shadow: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.register-card .form-control::placeholder {
	color: rgba(255, 255, 255, 0.38);
	font-weight: 500;
}

.register-card .form-control:focus {
	background: rgba(0, 0, 0, 0.52);
	border-color: rgba(212, 55, 55, 0.76);
	box-shadow:
		0 0 0 3px rgba(183, 31, 31, 0.15),
		0 0 16px rgba(183, 31, 31, 0.14);
	color: #fff;
}

.toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: rgba(255, 255, 255, 0.64);
	cursor: pointer;
	z-index: 5;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.toggle-password:hover {
	color: #fff;
	transform: translateY(-50%) scale(1.08);
}

.register-helper {
	display: block;
	margin-top: 7px;
	color: rgba(255, 255, 255, 0.52);
	font-size: 12px;
	line-height: 1.35;
	font-weight: 600;
}

/* ===============================
   FORÇA DA SENHA
================================ */

.password-strength {
	height: 5px;
	margin-top: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.password-strength-bar {
	width: 0%;
	height: 100%;
	border-radius: 999px;
	background: #b71f1f;
	transition:
		width 0.25s ease,
		background 0.25s ease;
}

/* ===============================
   CHECKBOX / TERMOS DE USO
================================ */

.register-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	margin-bottom: 0;
	padding: 13px 15px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.075);
}

.register-check .form-check-input {
	width: 17px;
	height: 17px;
	min-width: 17px;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.45);
	border-color: rgba(255, 255, 255, 0.24);
	box-shadow: none;
	cursor: pointer;
}

.register-check .form-check-input:checked {
	background-color: #b71f1f;
	border-color: #d43737;
}

.register-check .form-check-input:focus {
	box-shadow: 0 0 0 3px rgba(183, 31, 31, 0.18);
	border-color: #d43737;
}

.register-check .form-check-label {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	cursor: pointer;
}

.register-check a {
	color: #ff8b8b !important;
	font-weight: 900;
	text-decoration: none;
}

.register-check a:hover {
	color: #fff !important;
	text-decoration: underline;
}

/* ===============================
   CAPTCHA
================================ */

.register-captcha {
	margin-top: 20px;
	margin-bottom: 10px;
}

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

.register-submit-area {
	margin-top: 24px;
}

.register-submit-btn {
	width: 100%;
	min-height: 47px;
	border-radius: 11px;
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	background:
		linear-gradient(180deg, #d43737, #8f1515) !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 950;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	box-shadow:
		0 9px 20px rgba(0, 0, 0, 0.35),
		0 0 16px rgba(183, 31, 31, 0.24);
	transition:
		transform 0.2s ease,
		filter 0.2s ease,
		box-shadow 0.2s ease;
}

.register-submit-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow:
		0 13px 26px rgba(0, 0, 0, 0.45),
		0 0 22px rgba(183, 31, 31, 0.32);
}

.register-submit-btn:active {
	transform: translateY(0);
}

.register-submit-btn:disabled {
	opacity: 0.72;
	cursor: not-allowed;
	transform: none;
	filter: grayscale(0.2);
}

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

.register-login-link {
	margin-top: 20px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 14px;
	font-weight: 600;
}

.register-login-link a {
	color: #ff8b8b;
	font-weight: 900;
	text-decoration: none;
}

.register-login-link a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ===============================
   SWEETALERT AJUSTE VISUAL
================================ */

.swal2-popup {
	border-radius: 16px !important;
	border: 1px solid rgba(183, 31, 31, 0.25) !important;
	box-shadow:
		0 18px 44px rgba(0, 0, 0, 0.55),
		0 0 20px rgba(183, 31, 31, 0.15) !important;
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 1199px) {
	.register-shura {
		right: -150px;
		bottom: -25px;
		max-height: 380px;
		opacity: 0.90;
	}
}

@media (max-width: 991px) {
	.register-page {
		padding-top: 45px;
		padding-bottom: 60px;
	}

	.register-wrapper {
		max-width: 580px;
	}

	.register-title {
		font-size: 46px;
	}

	.register-subtitle {
		font-size: 15px;
	}

	.register-card {
		padding: 30px;
		margin: 0 auto;
	}

	.register-shura {
		display: none !important;
	}
}

@media (max-width: 576px) {
	.register-page {
		padding-top: 32px;
		padding-bottom: 45px;
	}

	.register-wrapper {
		max-width: 100%;
	}

	.register-title {
		font-size: 38px;
	}

	.register-subtitle {
		font-size: 14px;
		margin-bottom: 24px;
	}

	.register-card {
		padding: 23px;
		border-radius: 15px;
	}

	.register-card::before {
		border-radius: 15px;
	}

	.register-field {
		margin-bottom: 15px;
	}

	.register-field .form-label {
		font-size: 14px;
	}

	.register-card .form-control {
		height: 41px;
		font-size: 14px;
	}

	.register-helper {
		font-size: 11px;
	}

	.register-check {
		align-items: flex-start;
		padding: 12px;
	}

	.register-check .form-check-label {
		font-size: 13px;
	}

	.register-submit-btn {
		min-height: 43px;
		font-size: 14px;
	}

	.g-recaptcha {
		transform: scale(0.88);
		transform-origin: center;
	}
}