html {
	height: 100%;
}

body {
	font-family: "open sans", "segoe ui", "arial";
	font-size: 15px;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100%;
	position: relative;
	overflow-x: hidden;
}

label {
	font-weight: 600;
	color: #334155;
	font-size: 13.5px;
	margin-bottom: 5px;
}

li {
	margin-left: 20px;
}

.login-input,
.login-input:focus {
	border: 0;
	border-bottom: 1px solid #CCCCCC;
	outline: none;
	box-shadow: none;
	padding: 10px 5px;
	font-size: 14.5px;
}

.input-group-text {
	background: none;
	border: 0;
	color: #64748b;
	padding: 0 10px 0 0;
}

.alert ul {
	margin: 0;
	padding: 0;
}

p.small {
	margin-bottom: 0;
}

small.alert {
	padding: 5px;
	padding-left: 10px;
	display: block;
	margin: 0;
	margin-top: 3px;
}

.card-header:first-child {
	border-radius: 0;
}

/* Background & Backdrop */
.background,
.backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
}

.background {
	background: url('../../../images/bg_login.jpg') no-repeat -10vw center;
	background-size: cover;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.backdrop {
	background-color: rgba(0, 0, 0, 0.40); /* Opacity 40% */
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

/* Title PT. SHAN TAMA WIJAYA di atas sebelah kiri */
.text-overlay {
	position: absolute;
	top: 40px;
	left: 40px;
	color: #ffffff;
	font-size: 30px;
	z-index: 10;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.pro {
	font-weight: bold;
	color: #60a5fa;
}

.slogan {
	font-size: 14.5px;
	color: #f1f5f9;
	margin-top: 4px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Form full ke kanan, 0 margin, no shadow */
.card-container {
	width: 460px;
	max-width: 100%;
	z-index: 2;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	background-color: #ffffff;
	padding: 40px 35px;
	height: 100%;
	min-height: 100vh;
	box-shadow: none !important; /* Tanpa shadow */
	box-sizing: border-box;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Back to Home / Navbar */
.auth-top-nav {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.btn-back-home {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	padding: 6px 14px;
	border-radius: 20px;
	background-color: #f8fafc;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid #e2e8f0;
}

.btn-back-home:hover {
	color: #0f172a;
	background-color: #f1f5f9;
	border-color: #cbd5e1;
	transform: translateX(-3px);
	text-decoration: none;
}

.card-body {
	padding: 10px 0;
	background: #FFFFFF;
}

.card-header {
	text-align: center;
	padding: 0 0 15px 0;
	background: #FFFFFF;
	border: 0;
}

.card-header .logo img {
	max-height: 55px;
	max-width: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.card-header h3 {
	font-weight: 700;
	font-size: 22px;
	margin: 10px 0 4px 0;
	color: #0f172a;
}

.card-header p {
	font-size: 13.5px;
	color: #64748b;
	margin: 0;
}

.card-footer {
	background: transparent;
	text-align: center;
	padding: 15px 0;
	font-size: 95%;
	border: 0;
}

.card-container .copyright {
	background: none;
	color: #64748b;
	text-align: center;
	margin-top: 30px;
	font-size: 12.5px;
}

.forgot-password-link {
	font-size: 12.5px;
	color: #2563eb;
	text-decoration: none;
	font-weight: 500;
}

.forgot-password-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.btn-toggle-password {
	background: transparent;
	border: 0;
	color: #94a3b8;
	padding: 0 5px;
	cursor: pointer;
	display: flex;
	align-items: center;
	outline: none;
}

.btn-toggle-password:hover {
	color: #334155;
}

.card-container .btn {
	height: calc(2.75rem + 2px);
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
}

.form-check {
	display: flex;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 20px;
}

.form-check-input {
	cursor: pointer;
	margin-right: 8px;
}

.form-check-label {
	cursor: pointer;
	font-weight: normal;
	font-size: 13.5px;
	color: #475569;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.card-container {
		position: relative;
		width: 100%;
		height: auto;
		min-height: 100vh;
		padding: 30px 20px;
	}

	.text-overlay {
		display: none;
	}
}