:root {
	--primary-blue: #1b61f3;
	--text-dark: #1a1a1a;
	--text-gray: #666;
	--border-color: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

body { background-color: #fff; min-height: 100vh; overflow-x: hidden; }

.main-container { display: flex; min-height: 100vh; }

/* Left Panel - Branding */
.left-panel {
	flex: 1.2;
	background: linear-gradient(rgba(0, 38, 175, 0.85), rgba(0, 38, 175, 0.85)), 
				url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80');
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	padding: 40px;
	text-align: center;
}

.brand-box { background: white; padding: 12px 24px; border-radius: 8px; margin-bottom: 5px; }
.brand-box h1 { color: var(--primary-blue); font-size: 2.2rem; margin: 0; }

/* Right Panel - Registration Form */
.right-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #fcfcfc;
	padding: 40px 20px;
}

.reg-card {
	background: white;
	width: 100%;
	max-width: 500px;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.reg-card h2 { font-size: 1.8rem; margin-bottom: 5px; }
.subtitle { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 25px; }

/* Form Grid - 2 Columns for larger screens */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.85rem; margin-bottom: 6px; font-weight: 600; }

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper i.field-icon { position: absolute; left: 14px; color: #aaa; }
.input-wrapper input {
	width: 100%;
	padding: 12px 12px 12px 40px;
	border: 1.5px solid var(--border-color);
	border-radius: 8px;
	font-size: 0.95rem;
	outline: none;
	transition: 0.3s;
}
.input-wrapper input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(27, 97, 243, 0.1); }

.submit-btn {
	width: 100%;
	padding: 14px;
	background-color: var(--primary-blue);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	margin-top: 10px;
}

/* Alert UI Styling */
#alert-container { position: fixed; top: 20px; right: 20px; z-index: 9999; width: 320px; }
.alert {
	padding: 15px; margin-bottom: 10px; border-radius: 8px; 
	display: flex; align-items: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	animation: slideIn 0.4s ease forwards; transition: 0.4s;
}
.alert::before { font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 12px; font-size: 1.1rem; }
.alert-success { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.alert-success::before { content: "\f058"; }
.alert-danger { background: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }
.alert-danger::before { content: "\f057"; }
.alert-info { background: #cff4fc; color: #055160; border: 1px solid #b6effb; }
.alert-info::before { content: "\f05a"; }
.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}
.alert-warning::before {
    content: "\f071"; /* fa-triangle-exclamation */
    color: #ffc107;
}

@keyframes slideIn { from { transform: translateX(110%); } to { transform: translateX(0); } }

/* Mobile View */
@media (max-width: 850px) {
	.main-container { flex-direction: column; }
	.left-panel { min-height: 200px; flex: none; }
	.right-panel { padding: 30px 15px; }
	.reg-card { box-shadow: none; padding: 10px; }
}

#notification {
	position: fixed;
	top: 10px;
	right: 10px;
}

.alert {
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade {
	opacity: 0;
	transform: translateY(-20px);
	/* Slides up slightly while fading */
}