/* [cd_login_form] shortcode styles */

.cd-lf-wrap {
	max-width: 482px;
}

.cd-lf-form {
	margin: 0;
}

/* --- Labels ------------------------------------------------------------ */

.cd-lf-label {
	display: block;
	margin: 0 0 5px 0;
	font-family: 'Outfit', sans-serif !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 26px !important;
	color: #1E1E1EB2;
}

.cd-lf-label-spaced {
	margin-top: 25px;
}

/* --- Text fields -------------------------------------------------------- */

.cd-lf-field {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 482px;
	max-width: 100%;
	height: 63px;
	padding-left: 20px;
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 11px;
}

.cd-lf-field-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.cd-lf-field-icon img {
	display: block;
	width: 20px !important;
	height: 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* The theme styles inputs heavily, so the field's chrome is reset here and
   drawn by .cd-lf-field instead. */
.cd-lf-input {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	height: 100%;
	margin: 0 0 0 18px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	font-family: 'Outfit', sans-serif !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 26px !important;
	color: #1E1E1ECC !important;
}

.cd-lf-input::placeholder {
	color: #1E1E1E85;
	opacity: 1;
}

.cd-lf-input:focus {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.cd-lf-field:focus-within {
	border-color: #4B2FC5;
}

/* Chrome's autofill repaints the input background — keep it white. */
.cd-lf-input:-webkit-autofill,
.cd-lf-input:-webkit-autofill:hover,
.cd-lf-input:-webkit-autofill:focus {
	-webkit-text-fill-color: #1E1E1ECC;
	-webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
	box-shadow: 0 0 0 1000px #FFFFFF inset;
}

/* --- Password reveal ---------------------------------------------------- */

/* Leaves room for the button: 18px inset + 20px icon + 8px breathing space. */
.cd-lf-field-password .cd-lf-input {
	padding-right: 46px !important;
}

.cd-lf-reveal {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	color: #1E1E1E85;
}

.cd-lf-reveal svg {
	display: block;
	width: 20px;
	height: 20px;
}

.cd-lf-reveal .cd-lf-eye-off,
.cd-lf-reveal[aria-pressed="true"] .cd-lf-eye {
	display: none;
}

.cd-lf-reveal[aria-pressed="true"] .cd-lf-eye-off {
	display: block;
}

/* --- Remember me -------------------------------------------------------- */

.cd-lf-remember {
	display: flex;
	align-items: center;
	margin: 25px 0 0 0;
	cursor: pointer;
}

.cd-lf-remember input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.cd-lf-checkbox {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 19px;
	box-sizing: border-box;
	width: 19px;
	height: 19px;
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 4px;
}

.cd-lf-checkbox svg {
	display: block;
	opacity: 0;
}

.cd-lf-remember input:checked + .cd-lf-checkbox {
	background: #4B2FC5;
	border-color: #4B2FC5;
}

.cd-lf-remember input:checked + .cd-lf-checkbox svg {
	opacity: 1;
}

.cd-lf-remember input:focus-visible + .cd-lf-checkbox {
	outline: 2px solid #4B2FC5;
	outline-offset: 2px;
}

.cd-lf-remember-text {
	margin-left: 12px;
	font-family: 'Outfit', sans-serif !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 26px !important;
	color: #1E1E1E;
}

/* --- Submit -------------------------------------------------------------- */

.cd-lf-submit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 288px;
	max-width: 100%;
	height: 58px;
	margin-top: 40px;
	padding: 15px 33px !important;
	background: #4B2ACA !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	cursor: pointer;
	text-align: left;
}

.cd-lf-submit:hover,
.cd-lf-submit:focus {
	background: #4B2ACA !important;
}

.cd-lf-submit-text {
	font-family: 'Playfair Display', serif !important;
	font-weight: 400 !important;
	font-size: 20px !important;
	line-height: 28px !important;
	text-transform: uppercase;
	color: #FFFFFF !important;
}

.cd-lf-submit-arrow {
	display: block;
	flex: 0 0 21px;
	width: 21px !important;
	height: 15px !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* --- Notices -------------------------------------------------------------- */

.cd-lf-notice {
	margin: 0 0 20px 0;
	padding: 12px 16px;
	border-radius: 11px;
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	line-height: 22px;
}

.cd-lf-notice-error {
	background: #FEE3E0;
	border: 1px solid #F6599C;
	color: #8A1E3F;
}

.cd-lf-notice-success {
	background: #E1F2EB;
	border: 1px solid #4B2FC5;
	color: #1E1E1E;
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 520px) {
	.cd-lf-field {
		width: 100%;
	}

	.cd-lf-submit {
		width: 100%;
	}
}
