.bg-danger-input {
	border: 1px solid #FF0004 !important;
	background-color: #ffffff !important;
}

.bg-danger-input::placeholder {
	color: #717680 !important;
	font-weight: 400 !important;
}

body {
	font-family: var(--font-text);
	color: var(--black);
	height: 100vh;
	overflow-x: hidden;
}

.login-container {
	display: flex;
	height: 100%;
}

.image-section {
	flex: 1;
	background-size: cover;
	background-position: center;
	height: 100vh;
	display: none;
}

.form-section {
	flex: 2;
	display: flex;
	flex-direction: column;
	background-size: cover;
	height: 100vh;
	padding: 2rem;
}

.form-section .logo img {
	width: 315px;
}

.form-container {
	max-width: 540px;
	width: 100%;
	margin: auto;
}

.logo {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--black);
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo i {
	color: var(--yellow);
}

.login-title {
	font-size: 40px;
	line-height: 48px;
	font-weight: 900;
	font-family: var(--font-title);
	margin-bottom: 0.8rem;
	color: var(--black);
}

.login-subtitle {
	font-size: 20px;
	line-height: 24px;
	font-weight: 400;
	font-family: var(--font-text);
	margin-bottom: 2rem;
	color: var(--black);
}

.form-control {
	border-radius: 0.5rem;
	border: 1px solid #a1a3bc;
	padding: 1.2rem 1rem 1.2rem 2.5rem;
	font-size: 1.2rem;
	height: auto;
	background: transparent;
}

.form-control:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 0.25rem rgba(0, 150, 255, 0.1);
}

.form-control::placeholder {
	color: #717680;
}

.input-group-text {
	background-color: transparent;
	border: none;
	position: absolute;
	z-index: 10;
	top: 50%;
	transform: translateY(-50%);
	left: 1rem;
	padding: 0;
	color: #8d8d8e;
	font-size: 18px;
	font-weight: 600;
}

.password-toggle {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: none;
	border: none;
	color: var(--black);
	cursor: pointer;
	font-size: 22px;
}

.btn-login {
	background-color: var(--black);
	color: white;
	border-radius: 2rem;
	padding: 0.8rem;
	font-weight: 500;
	width: 100%;
	border: none;
	margin-top: 1rem;
}

.btn-login:hover {
	background-color: #000;
}

.forgot-password {
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	font-family: var(--font-text);
	text-align: right;
	display: block;
	margin-top: 0.5rem;
	color: var(--black);
	text-decoration: none;
}

.forgot-password:hover {
	text-decoration: underline;
}

.forgot-password.forgot-pass {
	padding-top: 15px;
	text-align: left;
}

.create-account {
	font-size: 18px;
	line-height:20px;
	font-weight: 600;
	font-family: var(--font-title);
	color: var(--black);
	text-align: center;
	margin-top: 5px;
}

.create-account:hover {
	text-decoration: underline;
}

.desktop-create-account {
	text-align: right;
	margin-bottom: 2rem;
}

.mobile-create-account {
	display: none;
}


/* Cards */
.role-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}
.role-card {
	position: relative;
	display: flex;
	align-items: start;
	gap: 12px;
	background: #EEEFF4;
	border-radius: 8px;
	padding: 10px;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
	user-select: none;
}
.role-card.selected {
	border: 2px solid var(--black);
	box-shadow: 0 6px 22px rgba(0,0,0,.06);
}
.role-card input[type="radio"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.role-icon {
	display: grid; 
	place-items: center;
}
.role-text .title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 2px;
}
.role-text .desc {
	font-size: 14px; line-height: 18px; color: #000000; font-weight: 600;
}

.terms-wrap {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 0 4px;
}
.terms-wrap input[type="checkbox"] {
	margin-top: 3px;
}
.terms-wrap a {
	color: var(--black);
	text-decoration: underline;
	font-weight: 700;
}
/* Cards */

/* Responsive styles */
@media (max-width: 1540px) {

	.form-section .logo img {
		width: 225px;
	}

	.create-account {
		font-size: 14px;
	}

	.form-container {
		max-width: 400px;
	}

	.form-control {
		padding: 0.75rem 1rem 0.75rem 2.5rem;
		font-size: 1rem;
	}

	.login-title {
		font-size: 36px;
		line-height: 42px;
		margin-bottom: 0.6rem;
	}

	.login-title.forgot-pass {
		font-size: 32px;
	}

	.login-subtitle {
		font-size: 16px;
		margin-bottom: 1.3rem;
	}
			
	.role-text .title {
		font-size: 14px;
	}
	.role-text .desc {
		font-size: 11px; line-height: 14px;
	}
}

@media (min-width: 992px) {
	.image-section {
		display: block;
	}
	
	.desktop-create-account {
		display: block;
	}
	
	.mobile-create-account {
		display: none;
	}
}

@media (max-width: 991px) {
	.form-section {
		padding: 2rem 1.5rem;
	}
	
	.desktop-create-account {
		display: none;
	}
	
	.mobile-create-account {
		display: block;
		text-align: center;
		margin-top: 2rem;
	}
}


@media (max-width: 768px) {

	.form-section {
		background-size: 100% 500px; 
		background-repeat: no-repeat;
	}

	.form-control {
		padding: 1.2rem 1rem 1.2rem 2.5rem;
		font-size: 1.2rem;
	}

	.role-options {
		grid-template-columns: 1fr;
	}
}