@import url("wxyc-shared.b65a83b8.css");

/* wxycdb-specific styles (library administration) */

body.library-admin {
	background-color: #FFDD55;
}

#facetLinksHeader {
	text-align: left;
	font-size: 0.85em;
	position: absolute;
	top: 145px;
	left: 5px;
}

#facetLinks {
	text-align: left;
	font-size: 0.85em;
	position: absolute;
	top: 200px;
	left: 15px;
}

#searchString {
	text-align: left;
	font-size: 0.85em;
	position: absolute;
	top: 10px;
	left: 130px;
	width: 150px;
	margin: 10px;
}

#searchButton {
	margin: 10px;
	position: absolute;
	top: 10px;
	left: 400px;
	width: 200px;
}

#adminLogin {
	text-align: left;
	font-size: 0.85em;
	position: absolute;
	top: 10px;
	left: 625px;
	width: 200px;
	margin: 10px;
}

#sortbyRelevance {
	text-align: left;
	font-size: 0.85em;
	position: absolute;
	top: 10px;
	left: 10px;
	width: 100px;
	margin: 10px;
}

#searchResultsPanel {
	text-align: left;
	font-size: 1em;
	position: absolute;
	top: 60px;
	left: 130px;
	width: 670px;
}

#libraryReleasePanel {
	text-align: left;
	font-size: 1em;
	position: absolute;
	top: 60px;
	left: 10px;
	width: 790px;
}

#facetLinks a:hover {
	color: #FF0000;
}

#pageLinks {
	text-align: left;
	font-size: 0.85em;
}

ul {
	list-style-type: circle;
}

ul, ol, li {
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
}

.centerWidth {
	width: 800px;
	text-align: center;
}

/* ========== wxycdb entry table overrides ========== */

.entry-table { margin: 0 auto; font-size: 0.9em; line-height: 1.4; }
.entry-row { cursor: pointer; }

/* ========== wxycdb live-result rows ========== */

.live-results-table {
	border-collapse: collapse;
	margin: 0 auto;
	font-size: 0.9em;
	line-height: 1.4;
}

.live-results-header {
	background: #444;
	color: #fff;
}

.live-results-header th {
	padding: 10px 8px;
	text-align: left;
	font-weight: bold;
}

.live-result-row {
	transition: background-color 0.15s ease;
}

.live-result-row td {
	padding: 8px;
	border-bottom: 1px solid #ddd;
}

.live-result-row a {
	color: #000;
	text-decoration: none;
}

.live-result-row a:hover {
	color: #CC0000;
	text-decoration: underline;
}

.live-result-row-even {
	background-color: #f9f9f9;
}

.live-result-row-odd {
	background-color: #fff;
}

.live-result-row:hover {
	background-color: #e8e8e8;
}

/* ========== Facet Bar ========== */

#facetBar {
	display: none;
	margin: 10px auto 0 auto;
	text-align: center;
	max-width: 800px;
}

.facet-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
	font-size: 0.85em;
}

.facet-group-label {
	font-weight: bold;
	color: #333;
}

.facet-group-separator {
	margin-left: 16px;
}

.facet-chip {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 14px;
	background-color: #f5f5f5;
	color: #333;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.facet-chip:hover {
	background-color: #e0e0e0;
	border-color: #999;
}

.facet-chip.active {
	background-color: #CC0000;
	color: #fff;
	border-color: #CC0000;
}

.facet-chip.active:hover {
	background-color: #aa0000;
	border-color: #aa0000;
}

/* ========== Release Detail ========== */

.release-detail {
	position: absolute;
	top: 60px;
	left: 10px;
	width: 790px;
}

.release-detail-title {
	text-align: center;
	margin-bottom: 15px;
}

.release-detail-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.9em;
	line-height: 1.4;
	border: 1px solid #ddd;
	margin-bottom: 20px;
}

.release-detail-table td {
	padding: 8px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.release-detail-table td:first-child {
	font-weight: bold;
	white-space: nowrap;
	width: 1%;
	color: #333;
	padding-right: 16px;
}

.release-detail-table tr:nth-child(even):not(.tracklist-header) {
	background-color: #f9f9f9;
}

.release-detail-table tr:nth-child(odd):not(.tracklist-header) {
	background-color: #fff;
}

.release-detail-table tr:hover:not(.tracklist-header) {
	background-color: #e8e8e8;
}

.release-detail-table a {
	color: #000;
	text-decoration: underline;
}

.release-detail-table a:hover {
	color: #CC0000;
	text-decoration: underline;
}

/* ========== Tracklist ========== */

.tracklist-section {
	margin: 20px 0;
}

.tracklist-section h3 {
	text-align: center;
	margin-bottom: 10px;
}

.tracklist-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.9em;
	line-height: 1.4;
	border: 1px solid #ddd;
	margin-bottom: 20px;
}

.tracklist-header {
	background: #444;
	color: #fff;
}

.tracklist-header th {
	padding: 8px;
	text-align: left;
	font-weight: bold;
}

.tracklist-row td {
	padding: 6px 8px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.tracklist-row-even {
	background-color: #f9f9f9;
}

.tracklist-row-odd {
	background-color: #fff;
}

.tracklist-row:hover {
	background-color: #e8e8e8;
}

.tracklist-pos {
	width: 40px;
	text-align: center;
	color: #666;
}

.tracklist-loading,
.tracklist-empty {
	text-align: center;
	padding: 10px;
	font-size: 0.9em;
	color: #666;
}

/* ========== Browse Exclusive ========== */

.browse-exclusive-btn {
	display: inline-block;
	background: #7B2D8E;
	color: #fff;
	padding: 8px 20px;
	border-radius: 9999px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9em;
	letter-spacing: 0.5px;
	margin-top: 4px;
}

.browse-exclusive-btn:hover {
	background: #6a2479;
	color: #fff;
}

.exclusive-chip.active {
	background-color: #7B2D8E;
	border-color: #7B2D8E;
}

.exclusive-chip.active:hover {
	background-color: #6a2479;
	border-color: #6a2479;
}
