/* eOrganista — style współdzielone przez widoki frontendowe (biblioteka pieśni, panel
   operatora, prezentacja). Style specyficzne dla operatora/prezentacji zostaną dołożone wraz
   z tymi widokami. */

.eor-piesn-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.button-hero {
	text-decoration: none;
}

/* --- Panel operatora ------------------------------------------------------------- */

.eor-operator-wrap {
	max-width: 1100px;
	margin: 1.5em auto;
	padding: 0 16px;
}

.eor-operator-breadcrumb {
	margin-bottom: 1em;
}

.eor-operator {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.eor-op-pane {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 16px;
}

.eor-op-pane--list {
	width: 300px;
	flex: 0 0 300px;
	max-height: 80vh;
	overflow-y: auto;
}

.eor-op-pane--main {
	flex: 1 1 auto;
	min-width: 0;
}

.eor-op-list-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 4px;
}

.eor-op-list-item:hover {
	background: #f0f0f1;
}

.eor-op-list-item--active {
	background: #2271b1;
	color: #fff;
}

.eor-op-list-item__badge {
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 600;
	opacity: 0.75;
	white-space: nowrap;
}

.eor-op-list-item__title {
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eor-op-slide-info {
	min-height: 160px;
	margin-bottom: 16px;
}

.eor-op-current-title {
	margin-top: 0;
}

.eor-op-slide-body {
	font-size: 1.15em;
	line-height: 1.6;
}

.eor-op-empty {
	color: #666;
	font-style: italic;
}

.eor-op-slide-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.eor-op-slide-counter {
	color: #666;
	font-variant-numeric: tabular-nums;
}

.eor-op-player-panel {
	border-top: 1px solid #eee;
	padding-top: 14px;
}

.eor-op-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.eor-op-tempo-label,
.eor-op-volume-label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.eor-op-tempo-label input[type="number"] {
	width: 4em;
}

.eor-op-mixer {
	display: grid;
	grid-template-columns: repeat(auto-fill, 140px);
	gap: 10px;
}

.eor-op-channel {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px;
	text-align: center;
}

.eor-op-channel__label {
	font-size: 12px;
	margin-bottom: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eor-op-channel__instrument-label {
	display: block;
	font-size: 11px;
	color: #666;
	text-align: left;
	margin-bottom: 6px;
}

.eor-op-channel__instrument {
	display: block;
	width: 100%;
	margin-top: 2px;
	font-size: 12px;
}

.eor-op-channel__btn {
	display: inline-block;
	width: 100%;
	margin-bottom: 4px;
	padding: 4px 0;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #f6f7f7;
	cursor: pointer;
}

.eor-op-channel__btn.is-active {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.eor-op-projector-link {
	display: inline-block;
	margin-top: 16px;
	text-decoration: none;
}

@media screen and ( max-width: 782px ) {
	.eor-operator {
		flex-direction: column;
	}
	.eor-op-pane--list {
		width: 100%;
		flex-basis: auto;
		max-height: 40vh;
	}
}

/* --- Widok prezentacji (rzutnik / drugi ekran) ------------------------------------ */

.eor-projector {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: #000;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4vw;
	box-sizing: border-box;
}

.eor-pj-waiting {
	font-size: 2vw;
	opacity: 0.5;
}

.eor-pj-text {
	max-width: 90%;
}

.eor-pj-title {
	font-size: 3vw;
	opacity: 0.7;
	margin-bottom: 2vw;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.eor-pj-body {
	font-size: 5vw;
	line-height: 1.4;
	white-space: pre-line;
}

.eor-pj-media img,
.eor-pj-media video {
	max-width: 90vw;
	max-height: 80vh;
}

.eor-pj-caption {
	margin-top: 1.5vw;
	font-size: 1.8vw;
	opacity: 0.7;
}
