/* Login Page Styles */

.login-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 60px;
	background: linear-gradient(135deg, #f5f7f9 0%, #ffffff 100%);
	position: relative;
}

.login-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(199, 166, 109, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	animation: float 20s ease-in-out infinite;
}

.login-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	background: var(--white);
	border-radius: 16px;
	box-shadow: 0 20px 60px var(--shadow-lg);
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.login-content {
	padding: 4rem;
}

.login-header {
	margin-bottom: 2rem;
}

.login-header h1 {
	font-family: 'Crimson Pro', serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 0.5rem;
}

.login-header p {
	color: var(--gray);
	font-size: 1.125rem;
}

/* Alerts */
.alert {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.alert-error {
	background: #fee;
	border: 1px solid #fcc;
	color: #c33;
}

.alert-success {
	background: #efe;
	border: 1px solid #cfc;
	color: #3a3;
}

/* Form Styles */
.login-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	font-weight: 600;
	color: var(--dark);
	font-size: 0.9375rem;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
	padding: 0.875rem 1rem;
	border: 2px solid #e1e4e8;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.3s ease;
	background: var(--white);
}

.form-group input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

.form-group input::placeholder {
	color: #999;
}

.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: -0.5rem;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.9375rem;
	color: var(--gray);
}

.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--primary);
}

.forgot-link {
	color: var(--primary);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.forgot-link:hover {
	color: var(--primary-light);
	text-decoration: underline;
}

.btn-login {
	background: var(--primary);
	color: var(--white);
	padding: 1rem 2rem;
	border: none;
	border-radius: 8px;
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px var(--shadow);
	margin-top: 0.5rem;
}

.btn-login:hover {
	background: var(--primary-light);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--shadow-lg);
}

.btn-login:active {
	transform: translateY(0);
}

.login-footer {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--light-gray);
	text-align: center;
	color: var(--gray);
}

.login-footer a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.login-footer a:hover {
	color: var(--primary-light);
	text-decoration: underline;
}

/* Visual Side */
.login-visual {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	padding: 4rem;
	min-height: 600px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.login-visual::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.3;
}

.visual-content {
	position: relative;
	z-index: 1;
	color: var(--white);
}

.visual-content h2 {
	font-family: 'Crimson Pro', serif;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 2rem;
	line-height: 1.3;
}

.feature-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.0625rem;
}

.feature-list svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--accent-light);
}

/* Footer Bar */
.login-footer-bar {
	background: var(--dark);
	color: rgba(255, 255, 255, 0.7);
	padding: 1.5rem 0;
	text-align: center;
	font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.login-wrapper {
		grid-template-columns: 1fr;
	}
	
	.login-visual {
		min-height: auto;
		padding: 3rem 2rem;
	}
	
	.visual-content h2 {
		font-size: 1.75rem;
	}
}

@media (max-width: 768px) {
	.login-section {
		padding: 100px 0 40px;
	}
	
	.login-content {
		padding: 2.5rem 2rem;
	}
	
	.login-header h1 {
		font-size: 2rem;
	}
	
	.form-options {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.login-visual {
		padding: 2.5rem 2rem;
	}
}

@media (max-width: 480px) {
	.login-content {
		padding: 2rem 1.5rem;
	}
	
	.login-header h1 {
		font-size: 1.75rem;
	}
}
