/* ═══ Shared Mobile Header — ClinicBase Pattern ═══ */
.mobile-header {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #3a3a3c;
	color: #fff;
	padding: calc(env(safe-area-inset-top, 0px) + 8px) 1rem 8px;
	min-height: 56px;
	flex-shrink: 0;
	z-index: 100;
}

.mobile-header__brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
	flex: 1;
}

.mobile-header__logo {
	width: 30px;
	height: 30px;
	background: var(--primary, #059669);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.mobile-header__logo img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.mobile-header__info {
	min-width: 0;
}

.mobile-header__title {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-header__subtitle {
	display: block;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.55);
}

.mobile-header__actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
}

.mobile-header__btn {
	width: 40px;
	height: 40px;
	background: rgba(15, 23, 42, 0.24);
	border: none;
	border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	font-size: 18px;
}

.mobile-header__btn::after {
	content: "";
	position: absolute;
	inset: -6px;
}

.mobile-header__btn:active {
	background: rgba(15, 23, 42, 0.34);
}

.mobile-header__btn.hidden {
	display: none;
}
