/* Section Login */
.section-login {
	width: 100%;
	min-height: 60vh;
	display: flex;
	justify-content: center;
	padding: 8.44rem 2rem 7.5rem;
	background: #fff;
}

.section-login__card {
	width: 100%;
	max-width: 43.75rem;
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.05);
	padding: 2rem 2.5rem;
}

.section-login__title {
	font-family: SVN-Gilroy;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	color: #424242;
	text-transform: capitalize;
	text-align: center;
}

/* Fields */
.section-login__fields {
	margin-top: 1.25rem;
}

.section-login__field+.section-login__field {
	margin-top: 1.25rem;
}

.section-login__label {
	display: flex;
	align-items: flex-start;
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.1;
	color: rgba(66, 66, 66, 0.8);
}

.section-login__required {
	color: #cd2d47;
	margin-left: 0.25rem;
	font-weight: 600;
}

.section-login__input-wrap {
	position: relative;
	margin-top: 0.625rem;
}

.section-login__input {
	width: 100%;
	height: 3rem;
	padding: 0 0.875rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.75rem;
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	color: #1a1a1a;
	background: #fff;
	transition: border-color 0.2s;
}

.section-login__input::placeholder {
	color: rgba(26, 26, 26, 0.3);
	font-weight: 500;
}

.section-login__input:focus {
	outline: none;
	border-color: #09b8b3;
}

.section-login__input-wrap:has(.section-login__eye) .section-login__input {
	padding-right: 2.75rem;
}

/* Password eye toggle */
.section-login__eye {
	position: absolute;
	right: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	color: rgba(66, 66, 66, 0.5);
}

.section-login__eye svg {
	width: 1.25rem;
	height: 1.25rem;
}

.section-login__eye-hide {
	display: none;
}

/* Options row */
.section-login__options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1.25rem;
}

/* Custom checkbox */
.section-login__checkbox {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.section-login__checkbox input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.section-login__checkbox-box {
	width: 1.35rem;
	height: 1.35rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.2s, border-color 0.2s;
}

.section-login__checkbox-box svg {
	opacity: 0;
	transition: opacity 0.15s;
}

.section-login__checkbox input:checked+.section-login__checkbox-box {
	background: #09b8b3;
	border-color: #09b8b3;
}

.section-login__checkbox input:checked+.section-login__checkbox-box svg {
	opacity: 1;
}

.section-login__checkbox input:focus-visible+.section-login__checkbox-box {
	box-shadow: 0 0 0 0.125rem rgba(9, 184, 179, 0.3);
}

.section-login__checkbox-text {
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(66, 66, 66, 0.6);
	letter-spacing: -0.00875rem;
	margin-left: 0.5rem;
}

.section-login__forgot {
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	color: #09b8b3;
	letter-spacing: -0.00875rem;
	transition: opacity 0.2s;
}

.section-login__forgot:hover {
	opacity: 0.75;
}

/* Actions */
.section-login__actions {
	margin-top: 1.25rem;
}

/* Message */
.section-login__message {
	font-family: SVN-Gilroy;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #ef4444;
	text-align: center;
	margin-bottom: 0.75rem;
}

.section-login__message:empty {
	display: none;
}

.section-login__message.is-success {
	color: #10b981;
}

/* Submit button */
.section-login__submit {
	width: 100%;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem;
	border-radius: 62.5rem;
	background: linear-gradient(119.56deg, #09b8b3 3.04%, #4dcbdf 99%);
	border: none;
	cursor: pointer;
	transition: opacity 0.3s;
	font-family: SVN-Gilroy;
}

.section-login__submit:hover {
	opacity: 0.85;
}

.section-login__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.section-login__submit span {
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: normal;
	color: #fff;
	white-space: nowrap;
}

.section-login__submit svg {
	width: 1rem;
	height: 1rem;
	margin-left: 0.375rem;
	flex-shrink: 0;
}

/* Register link */
.section-login__register {
	text-align: center;
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.00875rem;
	color: rgba(66, 66, 66, 0.6);
	margin-top: 0.75rem;
	padding-top: 0.25rem;
	display: flex;
	justify-content: center;
}

.section-login__register a {
	color: #09b8b3;
	margin-left: 0.3125rem;
	font-weight: 500;
}

.section-login__register a:hover {
	text-decoration: underline;
}

/* Divider */
.section-login__divider {
	display: flex;
	align-items: center;
	padding: 0.5rem 0;
	margin-top: 0.75rem;
}

.section-login__divider-line {
	flex: 1;
	height: 1px;
	background: rgba(66, 66, 66, 0.12);
}

.section-login__divider-text {
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	color: rgba(66, 66, 66, 0.8);
	margin: 0 0.75rem;
}

/* Hidden Nextend container — shortcode markup dùng để proxy click */
.section-login__nextend-hidden {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
}

/* Social buttons */
.section-login__social {
	margin-top: 0.75rem;
}

.section-login__social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 3.25rem;
	padding: 0.875rem 1.5rem;
	border: 1px solid rgba(66, 66, 66, 0.2);
	border-radius: 62.5rem;
	background: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s;
	overflow: hidden;
	font-family: inherit;
}

.section-login__social-btn:hover {
	background: rgba(0, 0, 0, 0.02);
}

.section-login__social-btn+.section-login__social-btn {
	margin-top: 0.625rem;
}

.section-login__social-btn svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.section-login__social-btn span {
	font-family: SVN-Gilroy;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(66, 66, 66, 0.8);
	letter-spacing: -0.00875rem;
	margin-left: 0.5rem;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Mobile                                                             */
/* ------------------------------------------------------------------ */
@media screen and (max-width: 639.98px) {
	.section-login {
		padding: 0;
	}

	.section-login__card {
		max-width: none;
		box-shadow: none;
		border-radius: 0;
		padding: 6.875rem 1rem 1.5rem;
	}

	.section-login__title {
		font-size: 1.5rem;
		line-height: 1.2;
		letter-spacing: -0.0305rem;
	}

	.section-login__input {
		padding: 0.8125rem 0.75rem;
		height: auto;
	}

	.section-login__input-wrap:has(.section-login__eye) .section-login__input {
		padding-right: 2.25rem;
	}

	.section-login__eye {
		right: 0.75rem;
	}

	.section-login__eye svg {
		width: 1rem;
		height: 1rem;
	}

	.section-login__checkbox-box {
		width: 1.2rem;
		height: 1.2rem;
	}

	.section-login__submit {
		padding: 0.75rem 1.5rem;
		height: 2.375rem;
	}

	.section-login__submit span {
		font-size: 0.75rem;
	}

	.section-login__submit svg {
		width: 0.875rem;
		height: 0.875rem;
	}

	.section-login__social-btn {
		height: 2.375rem;
		padding: 0.5rem 1.5rem;
	}

	.section-login__social-btn svg {
		width: 1rem;
		height: 1rem;
	}

	.section-login__social-btn span {
		font-size: 0.75rem;
	}

	.section-login__social-btn+.section-login__social-btn {
		margin-top: 0.5rem;
	}
}