/* ============================================================
   LOGIN PAGE — Modern Redesign
   ============================================================ */

body.login {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Layout wrapper === */
.login > div:not(.modal):not(.modal-backdrop) {
	display: flex;
	min-height: 100vh;
}

/* === LEFT COLUMN — Form === */
.login .col-md-6:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 40px;
	background: #ffffff;
	border-radius: 0 40px 40px 0;
	box-shadow: 8px 0 40px rgba(0, 0, 0, 0.08);
	position: relative;
	z-index: 2;
}

.login .logo {
	margin: 0 auto;
	text-align: center;
	padding-top: 0;
	padding-bottom: 32px;
}

.login .logo svg {
	max-width: 220px;
	height: auto;
}

/* === Form card === */
.login .content {
	background-color: #ffffff;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	padding: 0;
}

.login .content h3 {
	color: #1a1a2e;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 8px;
}

.login .content h4 {
	color: #6c757d;
	font-size: 15px;
	font-weight: 400;
	margin-bottom: 24px;
}

.login .content p {
	color: #495057;
}

.login .content .login-form,
.login .content .forget-form {
	padding: 0;
	margin: 0;
}

/* === Input fields === */
.login .content .form-group {
	margin-bottom: 20px;
}

.login .content .input-icon {
	border-left: none !important;
	border: 2px solid #e8ecf1 !important;
	border-radius: 12px !important;
	background: #f8f9fb;
	transition: all 0.3s ease;
	overflow: hidden;
	position: relative;
}

.login .content .input-icon:hover {
	border-color: #c5cdd8 !important;
	background: #fff;
}

.login .content .input-icon:focus-within {
	border-color: #667eea !important;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

.login .content .input-icon > i {
	color: #8e99a9;
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	transition: color 0.3s ease;
	z-index: 1;
	margin: 0;
}

.login .content .input-icon:focus-within > i {
	color: #667eea;
}

.login .content .input-icon .form-control {
	border: none !important;
	border-left: 0;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 15px;
	padding: 14px 14px 14px 44px;
	height: auto;
	color: #2d3436;
}

.login .content .input-icon .form-control::placeholder {
	color: #adb5bd;
}

.login .content .input-icon .form-control.input-lg {
	height: auto;
	padding: 16px 14px 16px 44px;
	font-size: 15px;
	border-radius: 0 !important;
}

/* === Remember me === */
.login .content .checker {
	color: #6c757d;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.login .content .checker input[type="checkbox"] {
	margin-right: 6px;
	accent-color: #667eea;
}

/* === Buttons === */
.login .content .button-group {
	margin-bottom: 12px;
}

.login .content .btn {
	border-radius: 12px !important;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	padding: 12px 24px;
	border: none;
}

.login .content .btn-confirm {
	padding: 14px 24px;
}

.login .content .btn.blue,
.login .content .btn.blue:focus {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.login .content .btn.blue:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45) !important;
}

.login .content .btn.blue:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

.login .content .btn-success {
	background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}

.login .content .btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 176, 155, 0.4) !important;
}

.login .content .btn-info {
	background: transparent !important;
	color: #667eea !important;
	border: 2px solid #667eea !important;
	box-shadow: none;
	padding: 8px 20px;
	font-size: 13px;
}

.login .content .btn-info:hover {
	background: rgba(102, 126, 234, 0.08) !important;
	transform: translateY(-1px);
}

/* === Dividers === */
.login .content hr {
	border-top: 1px solid #e8ecf1;
	margin: 20px 0;
}

/* === Version label === */
.login .content .label-default {
	background: #e8ecf1 !important;
	color: #8e99a9 !important;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 20px !important;
	font-weight: 500;
}

/* === Forget password === */
.login .content .forget-password {
	margin-top: 16px;
	padding-top: 0;
}

.login .content .forget-password p {
	color: #8e99a9;
	font-size: 13px;
}

.login .content .form-title {
	font-weight: 600;
	margin-bottom: 24px;
	font-size: 22px;
	color: #1a1a2e;
}

/* === Form actions (legacy) === */
.login .content .form-actions {
	background-color: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}

.login .content .form-actions .checkbox {
	margin-left: 0;
	padding-left: 0;
	margin-top: 8px;
}

.login .content .form-actions .btn {
	margin-top: 0;
}

.login .content .forget-form .form-actions {
	border: 0;
	margin-bottom: 0;
	padding-bottom: 20px;
}

.login .content .register-form .form-actions {
	border: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.login .content .create-account {
	border-top: 1px solid #e8ecf1;
	padding-top: 16px;
	margin-top: 16px;
}

.login .content .create-account a {
	display: inline-block;
	margin-top: 5px;
}

/* === select2 dropdowns === */
.login .content .select2-container {
	border-left: 2px solid #00b09b !important;
	border-radius: 12px !important;
}

.login .content .select2-container .select2-choice {
	border-left: none !important;
	border-radius: 12px !important;
}

.login .content .select2-container i {
	display: inline-block;
	position: relative;
	color: #8e99a9;
	z-index: 1;
	top: 1px;
	margin: 4px 4px 0px -1px;
	width: 16px;
	height: 16px;
	font-size: 16px;
	text-align: center;
}

.login .content .has-error .select2-container i {
	color: #e74c3c;
}

.login .content .select2-container a span {
	font-size: 13px;
}

.login .content .select2-container a span img {
	margin-left: 4px;
}

/* === Captcha === */
.login .content .img-responsive {
	border-radius: 8px;
	border: 2px solid #e8ecf1;
}

/* === RIGHT COLUMN — Marketing === */
.login .marketing {
	background-image: url('../../img/rocket-go-ver-59AA99133AD3C71A233FAF8B98E47F54.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 40px;
	position: relative;
}

.login .marketing::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
	z-index: 0;
}

.login .marketing h1,
.login .marketing h1 i,
.login .marketing h2,
.login .marketing h3,
.login .marketing span {
	position: relative;
	z-index: 1;
	color: white;
	font-weight: 300;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	padding-top: 0;
}

.login .marketing h1 {
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 24px 0;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.login .marketing h1 i {
	font-size: 48px;
	margin-left: 0;
}

.login .marketing h2 {
	color: rgba(255, 255, 255, 0.9);
	font-size: 22px;
	font-weight: 400;
	margin: 0 0 32px 0;
	line-height: 1.5;
}

.login .marketing h3 {
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
}

.login .marketing .image-responsive {
	margin-left: 0;
	max-height: 65px;
	position: relative;
	z-index: 1;
}

.login .marketing span {
	font-size: 15px;
	margin: 0;
}

/* === Feature highlights === */
.login .marketing .features {
	position: relative;
	z-index: 1;
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.login .marketing .feature-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: all 0.3s ease;
}

.login .marketing .feature-item:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateX(4px);
}

.login .marketing .feature-icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
}

.login .marketing .feature-text {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.login .marketing .feature-text small {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 2px;
}

/* === Footer copyright === */
.login .copyright {
	text-align: center;
	margin: 0 auto;
	padding: 10px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
}

/* === Responsive === */
@media (max-width: 991px) {
	.login > div:not(.modal):not(.modal-backdrop) {
		flex-direction: column;
	}

	.login .col-md-6:first-child {
		border-radius: 0 0 30px 30px;
		box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
		padding: 30px 20px;
		min-height: auto;
	}

	.login .marketing {
		min-height: 50vh;
		padding: 40px 24px;
		border-radius: 0;
	}

	.login .marketing h1 {
		font-size: 32px;
	}

	.login .marketing h2 {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.login .logo {
		padding-top: 10px;
		padding-bottom: 20px;
	}

	.login .logo svg {
		max-width: 180px;
	}

	.login .content h3 {
		font-size: 20px;
	}

	.login .checkbox {
		font-size: 13px;
	}

	.login .col-md-6:first-child {
		padding: 20px 16px;
	}

	.login .content .btn-confirm {
		padding: 12px 20px;
	}

	.login .marketing .features {
		gap: 10px;
	}

	.login .marketing .feature-item {
		padding: 12px 14px;
	}
}
