:root {
	--primary-color: #7446f4;
	--secondary-color: #5e38c3;
	--text-primary: #1f2937;
	--text-secondary: #6b7280;
	--background-light: #f3f4f6;
	--error-color: #ef4444;
	--success-color: #10b981;
	--border-color: #e5e7eb;
	--input-focus-color: rgba(116, 70, 244, 0.1);
	--box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	--transition: all 0.2s ease;
	--hero-section-bg: #c9c9cc96;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Inter", sans-serif;
	background-color: var(--background-light);
	color: var(--text-primary);
	line-height: 1.5;
}

.login-container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.login-wrapper {
	display: flex;
	max-width: 1200px;
	width: 100%;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

/* Hero Section Styles */
.hero-section {
	flex: 1;
	background: var(--hero-section-bg);
	padding: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
}

.hero-content {
	max-width: 480px;
	text-align: center;
}

.logo {
	height: 60px;
}

.hero-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
}

.hero-image-wrapper {
	margin-top: 2rem;
}

.hero-image {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Form Section Styles */
.form-section {
	flex: 1;
	padding: 3rem;
	background: #fff;
}

.form-wrapper {
	max-width: 400px;
	margin: 0 auto;
}

.form-header {
	text-align: center;
	margin-bottom: 2rem;
}

.form-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.form-header p {
	color: var(--text-secondary);
}

/* Social Login Buttons */
.social-login {
	margin-bottom: 2rem;
}

.social-btn {
	width: 100%;
	padding: 0.8rem;
	border: none;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	margin-bottom: 1rem;
	transition: opacity 0.2s;
}

.social-btn:hover {
	opacity: 0.9;
}

.social-btn i {
	margin-right: 0.8rem;
	font-size: 1.1rem;
}

.google-btn {
	background: #fff;
	color: var(--text-primary);
	border: 1px solid #e5e7eb;
}

.facebook-btn {
	background: #1877f2;
	color: white;
}

.divider {
	text-align: center;
	margin: 1.5rem 0;
	position: relative;
}

.divider::before,
.divider::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 45%;
	height: 1px;
	background: #e5e7eb;
}

.divider::before {
	left: 0;
}

.divider::after {
	right: 0;
}

.divider span {
	background: #fff;
	padding: 0 1rem;
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* Form Styles */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-primary);
}

.input-group {
	position: relative;
	display: flex;
	align-items: center;
}

.input-group i:first-child {
	position: absolute;
	left: 1rem;
	color: var(--text-secondary);
}

.input-group .toggle-password {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: var(--text-secondary);
	transition: color 0.2s ease;
	z-index: 2;
}

.input-group .toggle-confirm-password {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: var(--text-secondary);
	transition: color 0.2s ease;
	z-index: 2;
}
.input-group input {
	width: 100%;
	padding: 0.8rem 2.8rem 0.8rem 2.8rem;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-size: 0.95rem;
	transition: var(--transition);
}

.input-group input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px var(--input-focus-color);
}

.error-message {
	color: var(--error-color);
	font-size: 0.8rem;
	margin-top: 0.5rem;
}

/* Form Footer */
.form-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.forgot-password {
	font-size: 0.9rem;
	color: var(--primary-color);
	text-decoration: none;
}

.submit-btn {
	width: 100%;
	padding: 0.8rem;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
}

.submit-btn:hover {
	background: var(--secondary-color);
}

.form-links {
	text-align: center;
	margin-top: 1.5rem;
}

.form-links p {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.form-links a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
}

.legal-links {
	text-align: center;
	margin-top: 2rem;
	font-size: 0.8rem;
}

.legal-links a {
	color: var(--text-secondary);
	text-decoration: none;
}

.legal-links .separator {
	margin: 0 0.5rem;
	color: var(--text-secondary);
}

/* Alert Styles */
.alert {
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
}

.success-alert {
	background: #ecfdf5;
	color: var(--success-color);
	border: 1px solid #a7f3d0;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.login-wrapper {
		flex-direction: column;
		max-width: 500px;
		margin: 1rem;
	}

	.hero-section {
		padding: 2rem;
	}

	.form-section {
		padding: 2rem;
	}

	.hero-title {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.login-container {
		padding: 0;
		background: linear-gradient(
			135deg,
			var(--primary-color),
			var(--secondary-color)
		);
		min-height: 100vh;
		margin: 0;
	}

	.login-wrapper {
		margin: 0;
		border-radius: 0;
		min-height: 100vh;
		box-shadow: none;
		background: transparent;
		width: 100%;
		max-width: 100%;
	}

	.hero-section {
		display: none;
	}

	.form-section {
		padding: 1.5rem;
		width: 100%;
		box-sizing: border-box;
		background: white;
	}

	.form-wrapper {
		max-width: 100%;
		padding: 1rem;
		margin: 0;
		background: white;
		border-radius: 0;
		box-shadow: none;
		position: relative;
	}

	.form-wrapper::before {
		content: "";
		background-image: url("../images//lazy_chat_logo_v4.png");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		width: 200px;
		height: 60px;
		position: absolute;
		top: 2rem;
		left: 50%;
		transform: translateX(-50%);
	}

	.form-header {
		margin-top: 6rem;
		margin-bottom: 2rem;
		text-align: center;
	}

	.form-header h2 {
		display: none;
	}

	.form-header p {
		font-size: 1rem;
		color: var(--text-secondary);
		margin-top: 0;
	}

	.form-group {
		margin-bottom: 1.2rem;
		width: 100%;
	}

	.input-group {
		width: 100%;
		background: white;
		border-radius: 12px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	}

	.input-group input {
		width: 100%;
		box-sizing: border-box;
		padding: 0.9rem 1rem 0.9rem 2.8rem;
		font-size: 1rem;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 12px;
		background: white;
	}

	.input-group i {
		color: var(--primary-color);
		font-size: 1.1rem;
	}

	.social-btn {
		width: 100%;
		padding: 0.9rem;
		font-size: 0.95rem;
		margin-bottom: 0.8rem;
		border-radius: 12px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	}

	.form-footer {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		margin: 1.5rem 0;
	}

	.remember-me {
		font-size: 0.9rem;
		color: var(--text-primary);
	}

	.forgot-password {
		font-size: 0.9rem;
		color: var(--primary-color);
		font-weight: 500;
	}

	.submit-btn {
		width: 100%;
		padding: 1rem;
		font-size: 1rem;
		font-weight: 500;
		border-radius: 12px;
		background: linear-gradient(
			135deg,
			var(--primary-color),
			var(--secondary-color)
		);
		box-shadow: 0 4px 15px rgba(116, 70, 244, 0.3);
	}

	.form-links {
		margin-top: 1.5rem;
		text-align: center;
	}

	.form-links p {
		font-size: 0.95rem;
		color: var(--text-primary);
	}

	.form-links a {
		color: var(--primary-color);
		font-weight: 500;
	}

	.legal-links {
		margin-top: 2rem;
		text-align: center;
		color: var(--text-secondary);
	}

	.legal-links a {
		color: var(--text-secondary);
		font-size: 0.85rem;
		text-decoration: none;
		margin: 0 0.5rem;
	}

	.input-group .toggle-password {
		right: 1rem;
		font-size: 1.2rem;
	}
	.input-group .toggle-confirm-password {
		right: 1rem;
		font-size: 1.2rem;
	}
}

@media (max-width: 480px) {
	.form-wrapper {
		margin: 0;
		padding: 1rem;
		border-radius: 0;
		min-height: 100vh;
		background: white;
	}

	.form-wrapper::before {
		width: 180px;
		height: 50px;
	}

	.form-header {
		margin-top: 5.5rem;
	}

	.social-login {
		margin: 2rem 0;
	}

	.divider {
		margin: 1.5rem 0;
	}

	.divider::before,
	.divider::after {
		width: 40%;
	}

	.input-group input {
		font-size: 16px;
	}

	.submit-btn {
		margin-top: 1rem;
	}

	.legal-links {
		position: fixed;
		bottom: 1rem;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.9);
		padding: 1rem;
		backdrop-filter: blur(5px);
	}
}

/* Fix for iOS devices */
@supports (-webkit-touch-callout: none) {
	.login-container {
		min-height: -webkit-fill-available;
	}

	input {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}
}

@media (max-width: 640px) {
	.hero-section {
		display: none;
	}

	.form-section {
		padding: 1.5rem;
	}

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

@media (max-width: 767.98px) {
	#register {
		background: #7446f422;
		width: 90vw;
		display: block;
		border-radius: 10px;
		padding: 25px 20px;
		margin: 30px auto;
	}
	.lg-screen-bg {
		display: none !important;
	}
}

@media (min-width: 920px) {
	.register-body {
		min-height: 100vh;
	}
}

@media (min-width: 768px) {
	#register {
		background: #7446f422;
		width: 50%;
		display: block;
		border-radius: 10px;
		padding: 25px 20px;
		margin: 30px auto;
	}
	.lg-screen-bg {
		display: block;
		width: 50%;
		padding: 25px 20px;
		margin: 30px auto;
	}
	.lg-screen-bg img {
		width: 95%;
	}
}
@media (min-width: 1024px) {
	#register {
		background: #7446f422;
		width: 395px;
		display: block;
		border-radius: 10px;
		margin: 0;
	}
	.lg-screen-bg {
		margin: 0;
		padding: 0;
	}
}
.lg-screen-bg img {
	object-fit: contain;
	object-position: center;
}
.text-larger-bolder {
	font-weight: bolder;
	font-size: 1.4rem;
}
.text-md {
	font-weight: 500;
	font-size: 0.85rem;
}
.text-sm {
	font-weight: 500;
	font-size: 0.75rem;
}
.color-paste {
	color: #7446f4;
	cursor: pointer;
}
.google-btn,
.facebook-btn {
	color: rgba(255, 255, 255, 0.9);
	border-radius: 0;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	width: 250px;
	margin: 0 auto;
	display: inherit;
}
.google-btn {
	background-color: #4285f4;
}
.google-btn:hover {
	color: white;
}
.facebook-btn {
	background-color: #3b5998;
}
.facebook-btn:hover {
	color: white;
}
.facebook-btn i,
.google-btn i {
	background-color: white;
	border-radius: 0;
}
.facebook-btn i {
	color: #3b5998;
}
.google-btn i {
	color: #4285f4;
}

.hr-theme-slash-2 .hr-line {
	width: 100%;
	position: relative;
	border-bottom: 1px solid #c9c9c9;
}
.hr-theme-slash-2 .hr-icon {
	position: relative;
	color: #c9c9c9;
}

.btn-paste {
	background-color: #7446f4;
	color: white;
	display: inherit;
	margin: 0 auto;
}
.btn-paste:hover {
	color: white;
}
#register input {
	border-color: black;
	border-radius: 4px;
}

#register input:focus {
	outline: 0;
	box-shadow: none;
	border: 2px solid #09716d;
}
#register input::placeholder {
	color: #c6c6c6;
}
.color-gray {
	color: #c6c6c6;
}
#agreement:checked,
#remember:checked {
	color: #7446f4;
	background-color: #7446f4;
	border-color: #7446f4;
}

.logo-text {
	height: 30px;
	width: auto !important;
	object-fit: contain;
	object-position: center;
	margin-bottom: 50px;
}

.remember-me {
	margin-top: 0.19em;
}

.code-input {
	width: 50px;
	height: 50px;
	text-align: center;
	font-size: 32px;
	color: #7446f4 !important;
	border: 2px solid #7446f4 !important;
}

.text-link {
	color: black;
	font-size: 12px;
	opacity: 0.9;
	font-weight: 500;
}
.text-link:hover {
	text-decoration: underline;
}
.text-copyright {
	color: black;
	font-size: 13px;
	font-weight: 500;
}
.lazychat-logo {
	width: 120px;
}

/* Add these styles */
.input-group .toggle-password:hover {
	color: var(--primary-color);
}
.input-group .toggle-confirm-password:hover {
	color: var(--primary-color);
}

.input-group input[type="password"],
.input-group input[type="text"] {
	padding-right: 3rem !important;
}
