/**
 * Auth pelanggan — satu kolom, simpel & profesional (tanpa panel promo)
 */
:root {
	--def-auth-brand: #222222;
	--def-auth-brand-dark: #111111;
	--def-auth-brand-soft: #f1f5f9;
	--def-auth-text: #0f172a;
	--def-auth-muted: #64748b;
	--def-auth-border: #e2e8f0;
	--def-auth-bg: #f4f5f7;
	--def-auth-card: #ffffff;
	--def-auth-radius: 16px;
	--def-auth-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

body.definite-auth-page {
	min-height: 100vh;
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--def-auth-text);
	background: var(--def-auth-bg);
	-webkit-text-size-adjust: 100%;
}

body.definite-auth-page,
body.definite-auth-page * {
	box-sizing: border-box;
}

.definite-auth-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 28px 16px 40px;
}

.definite-auth-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 420px;
}

.definite-auth-toplink {
	align-self: stretch;
	display: flex;
	justify-content: flex-start;
	margin-bottom: 12px;
}

.definite-auth-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 10px 6px 8px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--def-auth-muted);
	text-decoration: none;
	background: transparent;
	transition: color 0.15s ease, background 0.15s ease;
}

.definite-auth-back:hover {
	color: var(--def-auth-text);
	background: rgba(15, 23, 42, 0.05);
	text-decoration: none;
}

.definite-auth-back i {
	font-size: 14px;
	line-height: 1;
}

.definite-auth-brandmark {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 22px;
	text-align: center;
}

.definite-auth-brandmark img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
	background: #111;
}

.definite-auth-brandmark__name {
	display: none;
}

.definite-auth-forgot-row {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
}

.definite-auth-forgot {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 600;
	color: var(--def-auth-muted);
	text-decoration: none;
	white-space: nowrap;
}

.definite-auth-forgot:hover {
	color: var(--def-auth-text);
	text-decoration: underline;
}

.definite-auth-footer-cta {
	margin: 0;
	font-size: 14px;
	color: var(--def-auth-muted);
}

.definite-auth-footer-cta a {
	font-weight: 700;
	color: var(--def-auth-text);
	text-decoration: none;
}

.definite-auth-footer-cta a:hover {
	text-decoration: underline;
}

.definite-auth-card {
	width: 100%;
	background: var(--def-auth-card);
	border: 1px solid var(--def-auth-border);
	border-radius: var(--def-auth-radius);
	box-shadow: var(--def-auth-shadow);
	overflow: hidden;
}

.definite-auth-card-head {
	padding: 26px 24px 18px;
	text-align: center;
}

.definite-auth-card-head h2 {
	margin: 0 0 6px;
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--def-auth-text);
	letter-spacing: -0.03em;
}

.definite-auth-card-head p {
	margin: 0;
	font-size: 14px;
	color: var(--def-auth-muted);
	line-height: 1.5;
}

.definite-auth-card-body {
	padding: 8px 24px 26px;
}

.definite-auth-form .form-group {
	margin-bottom: 16px;
}

.definite-auth-form label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--def-auth-text);
}

.definite-auth-form .form-control {
	width: 100%;
	height: auto;
	padding: 13px 14px;
	font-size: 15px;
	border: 1px solid var(--def-auth-border);
	border-radius: 10px;
	background: #f8fafc;
	color: var(--def-auth-text);
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.definite-auth-form .form-control:focus {
	border-color: #94a3b8;
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.definite-auth-password-wrap {
	position: relative;
}

.definite-auth-password-wrap .form-control {
	padding-right: 48px;
}

.definite-auth-toggle-pass {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: var(--def-auth-muted);
	cursor: pointer;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.definite-auth-toggle-pass:hover {
	color: var(--def-auth-text);
	background: var(--def-auth-brand-soft);
}

.definite-auth-submit {
	width: 100%;
	margin-top: 6px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: var(--def-auth-brand);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
	transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.definite-auth-submit:hover {
	background: var(--def-auth-brand-dark);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.definite-auth-submit:active {
	transform: translateY(0);
}

.definite-auth-footer {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--def-auth-border);
	text-align: center;
}

.definite-auth-footer p {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--def-auth-muted);
}

.definite-auth-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
}

.definite-auth-links a {
	font-size: 14px;
	font-weight: 600;
	color: var(--def-auth-text);
	text-decoration: none;
}

.definite-auth-links a:hover {
	text-decoration: underline;
}

.definite-auth-links a.definite-auth-link-muted {
	color: var(--def-auth-muted);
}

.definite-auth-legal {
	margin: 18px 0 0;
	font-size: 11px;
	line-height: 1.65;
	color: #94a3b8;
	text-align: center;
}

/* Legacy: sembunyikan sisa panel promo jika masih ada di markup */
.definite-auth-brand,
.definite-auth-mobile-logo,
.definite-auth-badge {
	display: none !important;
}

@media (max-width: 480px) {
	.definite-auth-layout {
		padding: 20px 14px 32px;
		justify-content: flex-start;
	}

	.definite-auth-card-head {
		padding: 22px 18px 14px;
	}

	.definite-auth-card-body {
		padding: 4px 18px 22px;
	}

	.definite-auth-brandmark img {
		width: 64px;
		height: 64px;
	}
}
