/* Auth pages: split layout with brand panel + form */

body.auth-body {
	background: #fff;
	min-height: 100vh;
	margin: 0;
}

body.auth-body::before {
	display: none;
}

.auth-split {
	display: flex;
	min-height: 100vh;
}

.auth-brand {
	width: 45%;
	background: #3d4550;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.brand-content {
	position: relative;
	z-index: 1;
	text-align: left;
	padding: 2rem;
}

.brand-content img {
	height: 8rem;
	margin-bottom: 2rem;
}

.brand-content .brand-title {
	font-size: 2rem;
	font-weight: 700;
	color: rgba(255,255,255,0.55);
	line-height: 1.2;
}

.brand-highlight {
	color: rgba(255,255,255,0.95);
}

.brand-short {
	display: none;
}

.auth-wrapper {
	width: 55%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	position: relative;
	z-index: 1;
}

.auth-card {
	padding: 0 2.75rem;
	width: 100%;
	max-width: 420px;
	animation: authCardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authCardEnter {
	from {
		opacity: 0;
		transform: translateX(16px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
	.auth-split {
		flex-direction: column;
	}
	.auth-brand {
		width: 100%;
		padding: 1.25rem 1.5rem;
	}
	.brand-content {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0;
		width: 100%;
	}
	.brand-content img {
		height: 3.5rem;
		margin-bottom: 0;
	}
	.brand-full {
		display: none;
	}
	.brand-short {
		display: block;
		color: #fff;
		font-size: 1.5rem;
	}
	.auth-wrapper {
		width: 100%;
		padding: 2rem 1rem;
	}
	.auth-card {
		padding: 0;
	}
}

/* Card typography */
.auth-card h2 {
	font-size: 1.6rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 0.25rem;
	letter-spacing: -0.02em;
}

.auth-card .subtitle {
	font-size: 0.9rem;
	color: #6b7280;
	margin-bottom: 2rem;
	font-weight: 400;
}

/* Form elements */
.auth-card .form-group {
	margin-bottom: 1.25rem;
}

.auth-card label {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 0.4rem;
	display: block;
}

.auth-card .form-control {
	border: none;
	border-bottom: 2px solid #e0e0e0;
	border-radius: 0;
	padding: 0.65rem 0.25rem;
	font-size: 1rem;
	color: #1a1a1a;
	background: transparent;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-card .form-control:focus {
	border-color: #3d4550;
	box-shadow: none;
	outline: none;
}

.auth-card .form-control::placeholder {
	color: #c5c5c5;
	font-weight: 300;
}

/* Buttons */
.auth-card .btn-auth {
	width: 100%;
	padding: 0.75rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	border: none;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	margin-top: 0.75rem;
	position: relative;
	overflow: hidden;
}

.auth-card .btn-auth:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(44,51,69,0.25);
}

.auth-card .btn-auth:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(44,51,69,0.2);
}

/* Links */
.auth-card .auth-link {
	display: block;
	text-align: center;
	margin-top: 1.5rem;
	font-size: 0.85rem;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

.auth-card .auth-link:hover {
	color: #3d4550;
}

/* Alerts */
.auth-card .alert-danger {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	animation: authAlertShake 0.4s ease;
}

.auth-card .alert-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}

.auth-card .alert-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}

@keyframes authAlertShake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}
