/* ==========================================================================
   Bamecare - Trang Đăng nhập / Đăng ký
   Dùng chung bảng màu với dichvu-style.css
   ========================================================================== */

.bmc-auth-wrap {
	--bmc-primary: #0E7C7B;
	--bmc-primary-dark: #084C61;
	--bmc-accent: #F4A259;
	--bmc-bg-soft: #F7FAF9;
	--bmc-text: #223338;
	--bmc-text-muted: #5C6E72;
	--bmc-border: #E3ECEA;
	--bmc-radius: 16px;

	display: flex;
	justify-content: center;
	align-items: center;
	padding: 60px 20px;
	min-height: 60vh;
}
.bmc-auth-wrap * { box-sizing: border-box; }

.bmc-auth-card {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border: 1px solid var(--bmc-border);
	border-radius: var(--bmc-radius);
	box-shadow: 0 20px 50px rgba(8,76,97,0.10);
	padding: 32px 30px 34px;
}

.bmc-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--bmc-bg-soft);
	border: 1px solid var(--bmc-border);
	border-radius: 999px;
	padding: 4px;
	margin-bottom: 28px;
}
.bmc-auth-tab {
	border: none;
	background: transparent;
	padding: 11px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	color: var(--bmc-text-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.bmc-auth-tab.is-active {
	background: var(--bmc-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(14,124,123,0.3);
}

.bmc-auth-form p { margin: 0 0 16px; }
.bmc-auth-form input[type="text"],
.bmc-auth-form input[type="email"],
.bmc-auth-form input[type="password"] {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--bmc-border);
	border-radius: 10px;
	font-size: 15px;
	background: var(--bmc-bg-soft);
	color: var(--bmc-text);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bmc-auth-form input::placeholder { color: var(--bmc-text-muted); }
.bmc-auth-form input:focus {
	outline: none;
	border-color: var(--bmc-primary);
	box-shadow: 0 0 0 3px rgba(14,124,123,0.15);
	background: #fff;
}

.bmc-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13.5px;
}
.bmc-auth-remember { display: flex; align-items: center; gap: 6px; color: var(--bmc-text-muted); cursor: pointer; }
.bmc-auth-remember input { width: 15px; height: 15px; accent-color: var(--bmc-primary); }
.bmc-auth-forgot { color: var(--bmc-primary); text-decoration: none; font-weight: 600; }
.bmc-auth-forgot:hover { text-decoration: underline; }

.bmc-auth-alert {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	margin-bottom: 18px;
}
.bmc-auth-alert-error { background: #FDECEC; color: #C0341F; border: 1px solid #F6C6C0; }

.bmc-btn {
	display: inline-block;
	border: none;
	padding: 14px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.bmc-btn-block { width: 100%; }
.bmc-btn-primary {
	background: var(--bmc-primary);
	color: #fff;
}
.bmc-btn-primary:hover { background: var(--bmc-primary-dark); transform: translateY(-1px); color: #fff; }

.bmc-auth-loggedin { text-align: center; }
.bmc-auth-loggedin h3 { color: var(--bmc-primary-dark); margin: 6px 0 10px; font-size: 20px; }
.bmc-auth-loggedin p { color: var(--bmc-text-muted); margin-bottom: 22px; font-size: 14px; }

.bmc-form-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bmc-primary);
	background: rgba(14,124,123,0.1);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

@media (max-width: 480px) {
	.bmc-auth-card { padding: 26px 20px 28px; }
}
