/* Sprecherprofil: Custom-Audio-Player + Sortierliste */

.ss-player {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 340px;
}

.ss-play {
	background: #F49C27;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	transition: background 0.15s;
}

.ss-play:hover {
	background: #d9871a;
}

.ss-track {
	flex: 1;
	height: 6px;
	background: #ddd;
	border-radius: 3px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.ss-progress {
	height: 100%;
	width: 0%;
	background: #F49C27;
	border-radius: 3px;
}

.ss-time {
	font-size: 0.8em;
	color: #888;
	width: 78px;
	text-align: right;
	white-space: nowrap;
}

.sample-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 6px 10px;
	margin-bottom: 6px;
	background: #f7f7f7;
	border-radius: 4px;
}

/* Initialfreigabe: Selbstbeschreibungs-Cards */
.ss-bio-card {
	flex: 1 1 calc(50% - 15px);
	min-width: 280px;
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 12px 16px;
}

.ss-bio-card-title {
	font-weight: bold;
	margin-bottom: 6px;
	color: #333;
}

.ss-bio-card-text {
	white-space: pre-wrap;
	color: #555;
	max-height: 240px;
	overflow-y: auto;
}

.ss-photo-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(244, 156, 39, 0.95);
	color: #fff;
	padding: 2px 10px;
	border-radius: 3px;
	font-size: 12px;
	letter-spacing: 0.5px;
}

.sample-edit-toggle {
	background: none;
	border: none;
	color: #bbb;
	padding: 0 4px;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s ease, color 0.15s ease;
}

.sample-edit-toggle:hover,
.sample-edit-toggle:focus {
	color: #F49C27;
	outline: none;
}

.sample-edit-toggle.open {
	transform: rotate(180deg);
	color: #F49C27;
}

.sample-edit-panel {
	flex-basis: 100%;
	order: 99;
	font-size: 0.9em;
	border-top: 1px dashed #ddd;
	padding-top: 6px;
}

.sample-drag-handle {
	cursor: grab;
	color: #aaa;
	user-select: none;
}

.ss-checklist {
	height: 170px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 6px 10px;
}

.ss-checklist label {
	display: block;
	font-weight: normal;
	margin: 0 0 2px 0;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ss-checklist input[type="checkbox"] {
	accent-color: #F49C27;
	margin-right: 5px;
}

.ss-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 4px;
}

.ss-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #F49C27;
	color: #fff;
	border-radius: 12px;
	padding: 2px 6px 2px 10px;
	font-size: 0.8em;
	max-width: 100%;
}

.ss-chip-remove {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.1em;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}

.ss-chip-remove:hover {
	color: #7a4a08;
}
