/* ============================================================
   Must-Have Tweaks – Biometric / Passkey Login
   ============================================================ */

/* ---- Login page ------------------------------------------ */

#mhtweaks-biometric-wrap {
	margin-top: 20px;
	text-align: center;
}

.mhtweaks-bio-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: #8c8f94;
	font-size: 12px;
}

.mhtweaks-bio-divider::before,
.mhtweaks-bio-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #dcdcde;
}

#mhtweaks-biometric-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	color: #1d2327;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	line-height: 1.4;
}

#mhtweaks-biometric-btn:hover {
	background: #f6f7f7;
	border-color: #c3c4c7;
}

#mhtweaks-biometric-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

#mhtweaks-biometric-btn svg {
	flex-shrink: 0;
}

#mhtweaks-biometric-msg {
	margin: 10px 0 0;
	font-size: 13px;
	min-height: 1.4em;
}

#mhtweaks-biometric-msg.mhtweaks-bio-error   { color: #d63638; }
#mhtweaks-biometric-msg.mhtweaks-bio-success  { color: #1e7e34; }
#mhtweaks-biometric-msg.mhtweaks-bio-info     { color: #135e96; }

/* ---- Profile page ---------------------------------------- */

#mhtweaks-biometric-profile {
	margin-top: 30px;
	padding-top: 10px;
	border-top: 1px solid #dcdcde;
}

#mhtweaks-biometric-profile h2 {
	font-size: 1.3em;
	margin-bottom: 6px;
}

.mhtweaks-cred-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1;
}

.mhtweaks-cred-item:last-child {
	border-bottom: none;
}

.mhtweaks-cred-icon {
	color: #8c8f94;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.mhtweaks-cred-name {
	font-weight: 500;
	flex: 1;
}

.mhtweaks-cred-date {
	color: #8c8f94;
	font-size: 12px;
}

#mhtweaks-reg-status {
	font-size: 13px;
	margin-left: 4px;
}

#mhtweaks-reg-status.mhtweaks-bio-error   { color: #d63638; }
#mhtweaks-reg-status.mhtweaks-bio-success  { color: #1e7e34; }
#mhtweaks-reg-status.mhtweaks-bio-info     { color: #135e96; }
