/* Reset dasar untuk halaman login */
body {
	margin: 0;
	padding: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background-color: #f0f2f5; /* Warna background sedikit abu-abu soft */
}

/* --- 1. MEMBUAT POSISI TENGAH (CENTERING) --- */
.center-body {
	display: flex;
	justify-content: center; /* Tengah secara Horizontal */
	align-items: center; /* Tengah secara Vertikal */
	min-height: 100vh; /* Tinggi minimal setinggi layar browser */
}

/* --- 2. KARTU LOGIN --- */
.login-card {
	background: white;
	padding: 40px 30px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Bayangan halus */
	width: 100%;
	max-width: 350px; /* Batas lebar agar tidak terlalu lebar di Desktop */
	text-align: center;
}

.login-card h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #333;
	font-size: 24px;
}

/* --- 3. FORM INPUT --- */
.form-group {
	margin-bottom: 20px;
	text-align: left;
}

input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 12px 15px;
	margin: 5px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-sizing: border-box; /* Agar padding tidak menambah lebar elemen */
	font-size: 16px;
	transition: border-color 0.3s;
}

/* Efek saat input diklik */
input[type="text"]:focus,
input[type="password"]:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* --- 4. TOMBOL (BUTTON) --- */
.btn-primary {
	background-color: #007bff;
	color: white;
	padding: 12px 20px;
	margin-top: 10px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	width: 100%; /* Tombol memenuhi lebar kartu */
	font-size: 16px;
	font-weight: bold;
	transition: background-color 0.3s;
}

.btn-primary:hover {
	background-color: #0056b3;
}

/* Tambahkan di file login.css */

.remember-me {
	text-align: left; /* Rata kiri */
	margin-bottom: 15px;
	font-size: 14px;
	color: #555;
}

.remember-me label {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.remember-me input[type="checkbox"] {
	width: auto; /* Reset lebar input agar tidak 100% */
	margin-right: 8px; /* Jarak antara kotak dan teks */
	cursor: pointer;
}
