* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

body {
	min-height: 100vh;
}

.main-wrapper {
	display: flex;
	min-height: 100vh;
}

/* LEFT SIDE */
.left {
	width: 50%;
	background: linear-gradient(135deg, #002147, #003c8f);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	overflow: hidden;
}

/* Floating Glow Shapes */
.left::before,
.left::before {
	width: 400px;
	height: 400px;
	background: #ffcc00;
	top: -100px;
	left: -100px;
}

.left::after {
	width: 350px;
	height: 350px;
	background: #0056ff;
	bottom: -100px;
	right: -100px;
}

.branding {
	text-align: center;
	z-index: 2;
	animation: fadeUp 1.2s ease;
}

.branding h1 {
	font-size: 34px;
	margin-bottom: 10px;
}

.branding p {
	font-size: 15px;
	opacity: 0.85;
}

.left img {
	width: 80%;
	max-width: 480px;
	margin-top: 30px;
	z-index: 2;
	animation: fadeUp 1.5s ease;
}

/* RIGHT SIDE */
.right {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f5f7fb;
}

.login-box {
	width: 100%;
	max-width: 450px;
	padding: 40px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
	animation: fadeUp 1.2s ease;
}

.login-box h2 {
	color: #002147;
	margin-bottom: 8px;
}

.login-box p {
	margin-bottom: 25px;
	font-size: 14px;
	color: #666;
}

.input-group {
	position: relative;
	margin-bottom: 20px;
}

.input-group input {
	width: 100%;
	padding: 13px 45px;
	border: 1px solid #ddd;
	outline: none;
	transition: 0.3s;
}

.input-group input:focus {
	border-color: #ffcc00;
	box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.2);
}

.input-group i {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #777;
}

.password-wrapper {
	position: relative;
}

.password-wrapper input {
	width: 100%;
	border-radius: 12px;
	border: 1px solid #ddd;
	height: 48px; /* samakan tinggi */
}

.toggle-password {
	position: absolute;
	right: 45px; /* nempel kanan */
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #777;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.toggle-password:hover {
	color: #002147;
}

/* Premium Button */
.login-btn {
	width: 100%;
	padding: 13px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffcc00, #ffdb4d);
	color: #002147;
	font-weight: 600;
	cursor: pointer;
	transition: 0.3s;
}

.login-btn:hover {
	transform: translateY(-3px);
	background: linear-gradient(135deg, #e6b800, #ffd633);
}

.extra {
	margin-top: 18px;
	font-size: 13px;
}

.extra a {
	color: #002147;
	font-weight: 500;
	text-decoration: none;
}

.extra a:hover {
	text-decoration: underline;
}

/* Animation */
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 900px) {
	.left {
		display: none;
	}
	.right {
		width: 100%;
	}
}
.captcha-box {
	display: flex;
	align-items: center;
	/* justify-content: flex-end; INI YANG BUAT RATA KANAN */
	gap: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#captchaCanvas {
	background: linear-gradient(135deg, #667eea, #764ba2);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.refreshCaptcha {
	background: #ff8800;
	border: none;
	color: white;
	padding: 8px 12px;
	border-radius: 10px;
	transition: 0.3s;
}

.refreshCaptcha:hover {
	background: #ff6600;
	transform: rotate(90deg);
}

.captchaImage {
	width: 60%; /* FULL LEBAR */
	height: 55px;
	border: 1px solid #ddd;
	object-fit: cover;
}
