* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.container {
	display: flex;
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	max-height: 700px;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	padding-right: 0;
}

.login-box {
	flex: 1;
	padding: 60px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.login-logo {
	margin-bottom: 40px;
	text-align: center;
}

.login-logo img {
	max-width: 320px;
	height: auto;
	display: flex;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	text-decoration: none;
	justify-content: center;
}

.logo-wrapper::before {
	content: "";
	width: 40px;
	height: 40px;
	background: linear-gradient(45deg, #4285f4, #34a853);
	border-radius: 8px;
	margin-right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.logo-wrapper::after {
	content: "Easytacho";
	font-size: clamp(20px, 4vw, 24px);
	font-weight: 600;
	color: #333;
}

.login-box-body {
	width: 100%;
	background: none;
	box-shadow: none;
}

.login-box-msg {
	font-size: clamp(24px, 5vw, 32px);
	font-weight: 700;
	color: #333;
	margin-bottom: 40px;
	text-align: left;
}

.form-group {
	margin-bottom: 24px;
	position: relative;
}

.form-control {
	width: 100%;
	padding: 16px 20px 16px 50px;
	border: 2px solid #e1e5e9;
	border-radius: 12px;
	font-size: clamp(14px, 2.5vw, 16px);
	transition: border-color 0.3s ease;
}

.form-control:focus {
	outline: none;
	border-color: #4285f4;
}

.form-control-feedback {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #666;
	z-index: 2;
	font-size: clamp(14px, 2.5vw, 16px);
}

.glyphicon-envelope::before {
	content: "✉";
	font-style: normal;
}

.glyphicon-lock::before {
	font-style: normal;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
	gap: 20px;
}

.col-xs-8 {
	flex: 1;
	min-width: 0;
}

.col-xs-4 {
	flex-shrink: 0;
}

.checkbox {
	margin: 0;
}

.checkbox label {
	align-items: center;
	font-weight: normal;
	color: #333;
	cursor: pointer;
	font-size: clamp(12px, 2vw, 14px);
}

.checkbox input {
	margin-right: 8px;
	flex-shrink: 0;
}

.btn {
	padding: 16px 24px;
	border: none;
	border-radius: 12px;
	font-size: clamp(14px, 2.5vw, 16px);
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	min-height: 48px;
}

.btn-primary {
	background: linear-gradient(45deg, #4285f4, #5a67d8);
	color: white;
}

.btn-block {
	width: 100%;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.login-box-body > a {
	color: #4285f4;
	text-decoration: none;
	font-size: clamp(12px, 2vw, 14px);
	display: inline-block;
	margin-top: 16px;
}

.login-box-body > a:hover {
	text-decoration: underline;
}

.right-section {
	flex: 1;
	background: url('../img/login-right-side.png');
  background-position: center;
  background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	min-width: 0;
}

.logo-placeholder {
	background: rgba(42, 82, 152, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 10px;
	width: 100%;
	min-height: 50px;
	aspect-ratio: 3/1;
}

.logo-placeholder:hover {
	background: rgba(42, 82, 152, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(42, 82, 152, 0.3);
}

.logo-placeholder img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.logo-placeholder:hover img {
	transform: scale(1.05);
}

/* Media Queries */


@media (max-width: 992px) {
	.container {
		max-width: 900px;
	}

	.login-box {
		padding: 50px 40px;
	}

	.right-section {
		padding: 30px;
	}
}

@media (max-width: 768px) {
	body {
		padding: 10px;
	}

	.container {
		flex-direction: column;
		border-radius: 0;
		min-height: 100vh;
		max-height: none;
		box-shadow: none;
	}

	.login-box {
		padding: 40px 30px;
		order: 1;
	}

	.right-section {
		padding: 30px;
		min-height: 250px;
		order: 2;
	}

	.logo-placeholder {
		width: 120px;
		height: 60px;
		min-height: 60px;
	}

	.row {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.col-xs-4 {
		margin-left: 0;
	}
}

@media (max-width: 480px) {
	body {
		padding: 0;
	}

	.container {
		border-radius: 0;
	}

	.login-box {
		padding: 30px 20px;
	}

	.right-section {
		padding: 20px;
		min-height: 200px;
	}

	.form-control {
		padding: 14px 16px 14px 45px;
	}

	.form-control-feedback {
		left: 14px;
	}

	.btn {
		padding: 14px 20px;
	}

	.logo-placeholder {
		width: 100px;
		height: 50px;
		min-height: 50px;
		padding: 5px;
	}

	.login-box-msg {
		margin-bottom: 30px;
		text-align: center;
	}
}

@media (max-width: 360px) {
	.login-box {
		padding: 20px 15px;
	}

	.right-section {
		padding: 15px;
	}

	.logo-placeholder {
		width: 80px;
		height: 40px;
		min-height: 40px;
	}
}

@media (max-height: 500px) and (orientation: landscape) {
	.container {
		flex-direction: row;
		min-height: auto;
	}

	.login-box {
		padding: 20px 30px;
	}

	.right-section {
		min-height: auto;
		padding: 20px;
	}

	.login-box-msg {
		font-size: 24px;
		margin-bottom: 20px;
	}
}
