/**
 * Course player top bar: reserve width for wide logo + scale by height (not width).
 */
.masterstudy-course-player-header {
	gap: 10px;
}

.masterstudy-course-player-header__logo {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	flex-shrink: 0 !important;
	width: auto !important;
	min-width: 120px;
	height: 46px !important;
	margin: 0 10px 0 0 !important;
	padding: 0;
	overflow: visible !important;
	position: relative;
	z-index: 1;
}

.masterstudy-course-player-header__logo img {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	height: 40px !important;
	max-height: 40px !important;
	object-fit: contain !important;
	object-position: left center;
}

.masterstudy-course-player-header__curriculum {
	flex: 0 0 auto !important;
	flex-shrink: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	position: relative;
	z-index: 2;
}

@media (max-width: 576px) {
	.masterstudy-course-player-header__logo {
		min-width: 96px;
		height: 38px !important;
		margin-right: 6px !important;
	}

	.masterstudy-course-player-header__logo img {
		height: 32px !important;
		max-height: 32px !important;
	}
}

/**
 * Hide PDF lesson toolbar actions (download, print, open, fullscreen).
 */
.masterstudy-course-player-pdf-lesson .masterstudy-toolbar__download-btn,
.masterstudy-course-player-pdf-lesson .masterstudy-toolbar__print-btn,
.masterstudy-course-player-pdf-lesson .masterstudy-toolbar__open-new-tab-btn,
.masterstudy-course-player-pdf-lesson .masterstudy-toolbar__expand-btn,
.masterstudy-toolbar__menu-tooltip .masterstudy-toolbar__download-btn,
.masterstudy-toolbar__menu-tooltip .masterstudy-toolbar__print-btn,
.masterstudy-toolbar__menu-tooltip .masterstudy-toolbar__open-new-tab-btn {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
