/* -----------------------------------------------------------------------
   Login page styles.
   Depends on: assets/css/base.css (colors, buttons, notices, form groups).
----------------------------------------------------------------------- */

.cfcrmn-login-body {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-crema);
	padding: 20px;
}

.cfcrmn-login-card {
	background: var(--color-white);
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(59, 36, 28, .12);
	padding: 36px 32px;
	width: 100%;
	max-width: 380px;
}

.cfcrmn-login-logo {
	display: block;
	max-width: 160px;
	max-height: 50px;
	height: auto;
	object-fit: contain;
	margin: 0 auto 22px;
}

.cfcrmn-login-title {
	font-size: 19px;
	font-weight: 700;
	color: var(--color-espresso);
	text-align: center;
	margin-bottom: 20px;
}

.cfcrmn-login-remember {
	margin: 4px 0 20px;
	font-size: 13px;
	color: var(--color-grafito);
}

.cfcrmn-login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.cfcrmn-login-remember input {
	width: auto;
	margin: 0;
}

.cfcrmn-login-submit,
.cfcrmn-lostpassword-submit {
	width: 100%;
	justify-content: center;
}

.cfcrmn-password-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.cfcrmn-password-wrapper input {
	padding-right: 40px; /* Space for the toggle icon */
}

.cfcrmn-password-toggle {
	position: absolute;
	right: 10px;
	background: none;
	border: none;
	color: var(--color-grafito);
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.cfcrmn-password-toggle:hover {
	color: var(--color-caramelo);
}

.cfcrmn-password-toggle:focus {
	outline: none;
	color: var(--color-espresso);
}

.cfcrmn-login-links {
	text-align: center;
	margin-top: 16px;
	font-size: 13px;
}

.cfcrmn-login-links a {
	color: var(--color-caramelo);
	text-decoration: none;
	transition: color 0.2s ease;
}

.cfcrmn-login-links a:hover {
	color: var(--color-espresso);
	text-decoration: underline;
}

.cfcrmn-form-desc {
	font-size: 13.5px;
	color: var(--color-grafito);
	margin-bottom: 16px;
	line-height: 1.5;
	text-align: center;
}
