/* Match spacing between header and buttons with schedule.php */
.day-filter-container {
	margin-top: 0 !important;
	padding-top: 2px !important;
	background-color: transparent !important;
	border: none !important;
}

/* Search inside light gray filter panel */
.poster-filter-mini-bar {
	background-color: #5b5476;
	color: #fff;
	padding: 10px 16px 12px;
	border-radius: 8px 8px 0 0;
}

.poster-filter-title {
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	margin: 0 0 10px;
}

.poster-session-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	width: 100%;
	text-align: center;
	gap: 8px;
	margin: 0 auto;
}

.poster-filter-bar .poster-session-btn {
	background-color: #5b5476;
	color: #fff;
	border: 2px solid #fff;
	padding: 6px 16px;
	margin: 0 !important;
	cursor: pointer;
	border-radius: 4px;
	font-size: 14px;
	font-weight: normal;
	min-width: 100px;
	max-width: 280px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.25;
	white-space: normal;
	box-sizing: border-box;
}

.poster-filter-bar .poster-session-btn .poster-session-schedule {
	font-size: 11px;
	font-weight: normal;
	opacity: 0.85;
	line-height: 1.2;
}

.poster-filter-bar .poster-session-btn.active {
	background-color: #e8b84a;
	color: #2c2540;
	border-color: #e8b84a;
	font-weight: bold;
}

.poster-filter-bar .poster-session-btn.active .poster-session-schedule {
	opacity: 0.75;
}

.poster-filter-bar .poster-session-btn:hover {
	background-color: rgba(255, 255, 255, 0.18);
}

.poster-filter-bar .poster-session-btn.active:hover {
	background-color: #f0c96a;
}

.poster-filter-body {
	padding: 14px 16px 16px;
}

.poster-filter-search-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 16px;
	margin: 0 auto 12px;
}

.poster-filter-search {
	width: 100%;
	max-width: 400px;
	margin: 0;
	flex: 0 1 400px;
}

.poster-filter-search-inner.search-container {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0;
}

.poster-filter-sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 13px;
	color: #2c2540;
	white-space: nowrap;
}

.poster-filter-sort-label {
	font-weight: bold;
}

.poster-filter-sort-option {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	font-weight: normal;
}

.poster-filter-sort-option input {
	accent-color: #5b5476;
}

#poster-search {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 40px 10px 38px;
	font-size: 15px;
	border: 2px solid #ccc;
	border-radius: 5px;
	background: #fff;
	color: #2c2540;
}

#poster-search::placeholder {
	color: #888;
}

.poster-filter-search-inner .fa-search {
	position: absolute;
	left: 12px;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	color: #666;
	background: none;
	padding: 0;
	border-radius: 0;
	z-index: 1;
	display: block;
	pointer-events: none;
}

#clear-poster-search {
	display: none;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: #d32f2f;
	border: none;
	color: white;
	cursor: pointer;
	font-size: 18px;
	padding: 5px 10px;
	border-radius: 3px;
	z-index: 2;
}

/* White strip between purple top bar and sticky column headers */
.poster-table-top-gap {
	height: 6px;
	background: #fff;
	position: sticky;
	top: var(--main-header-offset, 52px);
	z-index: 21;
}

/* Table layout - make Title/Finding column 3x wider than others */
.poster-table {
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

.poster-table .poster-col-session {
	width: 4.5em;
}
.poster-table .poster-col-id {
	width: 5%;
}
.poster-table .poster-col-title {
	width: 32%;
}
.poster-table .poster-col-authors {
	width: 18%;
}
.poster-table .poster-col-abstract {
	width: 40%;
}

.poster-table thead th {
	position: sticky;
	top: calc(var(--main-header-offset, 52px) + 6px);
	z-index: 20;
	background: #E4E9F0;
	box-shadow: 0 1px 0 #ccc;
}

.poster-table .poster-th-note {
	font-weight: normal;
	font-style: italic;
	font-size: 12px;
	color: #6a6578;
}

/* Session column - wide enough for "Session" header */
.poster-table th:nth-child(1),
.poster-table td:nth-child(1) {
	width: 4.5em !important;
	min-width: 4.5em !important;
	max-width: none !important;
	white-space: nowrap;
	text-align: center;
	vertical-align: middle;
	overflow: visible !important;
}

/* Override shared schedule first-column shrink rules on posters */
.poster-table.table_session th:first-child,
.poster-table.table_session td:first-child {
	width: 4.5em !important;
	min-width: 4.5em !important;
	max-width: none !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.poster-table th:nth-child(2),
.poster-table td:nth-child(2) {
	width: 5%;
	text-align: center;
	vertical-align: middle;
}

.poster-table th:nth-child(3),
.poster-table td:nth-child(3) {
	width: 32%;
}

.poster-table td.poster-title {
	font-size: 85%;
	font-weight: normal;
}

.poster-table th:nth-child(4),
.poster-table td:nth-child(4) {
	width: 18%;
}

.poster-table td.poster-authors {
	font-size: 85%;
	font-weight: normal;
	vertical-align: middle !important;
	overflow: visible;
	cursor: pointer;
}

.poster-table .poster-authors-wrap {
	cursor: pointer;
	min-height: 1.2em;
}

.poster-table td.poster-authors .poster-author-block:last-child {
	margin-bottom: 0;
}

.poster-table .poster-presenter {
	margin-bottom: 2px;
}

.poster-table .poster-affiliation {
	font-size: 90%;
	color: #999;
	font-weight: normal;
	margin-bottom: 4px;
	line-height: 1.25;
}

.poster-table .poster-author-block {
	margin-bottom: 6px;
}

.poster-table .poster-author-name {
	margin-bottom: 1px;
	font-weight: 500;
}

.poster-table .authors {
	margin: 0 0 6px 0;
	border-left: 3px solid #5b5476;
	text-align: left;
	font-size: 100%;
	background-color: #eee;
	line-height: 1.4;
	color: #333;
	padding: 4px 6px;
	border-radius: 3px;
	cursor: pointer;
}

/* Abstract — wide column replacing Design / IV / DV */
.poster-table th:nth-child(5),
.poster-table td:nth-child(5) {
	width: 40%;
}

/* All cells vertically middle-aligned */
.poster-table th,
.poster-table td,
.poster-table .cell_content {
	vertical-align: middle !important;
}

/* Session / ID cells: no row action — default arrow (hide link keeps pointer) */
.poster-table tbody tr.clickable-cell td.poster-session-cell,
.poster-table tbody tr.clickable-cell td.poster-id-cell {
	cursor: default;
}

/* Hide control under ID # */
.poster-table td.poster-id-cell {
	text-align: center;
	white-space: nowrap;
}

.poster-table .poster-hide-btn {
	display: inline-block;
	margin-top: 2px;
	font-size: 11px;
	line-height: 1.2;
	color: #888;
	text-decoration: none;
	cursor: pointer;
}

.poster-table .poster-hide-btn:hover {
	color: #555;
	text-decoration: underline;
}

/* Parked hidden-posters separator */
.poster-table tbody tr.poster-hidden-separator td {
	background-color: #555;
	color: #eee;
	border: 1px solid #444;
	padding: 8px 12px;
	text-align: center;
	font-size: 13px;
	cursor: default;
}

.poster-table .poster-hidden-toggle {
	color: #fff;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 4px;
}

.poster-table .poster-hidden-toggle:hover {
	color: #ffd27a;
}

/* Highlighted poster rows */
.poster-table tbody tr.clickable-cell.highlighted {
	background-color: #d4e1ff;
	cursor: pointer;
}

.poster-table tbody tr.clickable-cell {
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.poster-table tbody tr.clickable-cell:hover {
	background-color: #f0f0f0;
}

.poster-table tbody tr.clickable-cell.highlighted:hover {
	background-color: #c4d1ef;
}

.poster-table td.poster-abstract {
	vertical-align: middle;
	cursor: pointer;
}

.poster-table .poster-abstract-wrap {
	cursor: pointer;
	min-height: 1.2em;
}

.poster-table .abstract {
	margin: 0 0 6px 0;
	border-left: 3px solid #5b5476;
	text-align: justify;
	font-size: 90%;
	background-color: #eee;
	line-height: 1.4;
	color: #333;
	padding: 4px 6px;
	border-radius: 3px;
	cursor: pointer;
}

/* Classifier filter bar — purple mini bar + light gray body */
.poster-filter-bar {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	background: #e8e8e8;
	color: #2c2540;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	padding: 0;
	margin: 0 0 16px 0;
	overflow: hidden;
}

.poster-filter-cols {
	display: flex;
	gap: 16px;
	width: 100%;
	align-items: stretch;
}

.poster-filter-col {
	min-width: 0;
}

.poster-filter-topics {
	flex: 3 1 0;
}

.poster-filter-methods {
	flex: 1 1 0;
}

.poster-filter-divider {
	flex: 0 0 1px;
	width: 1px;
	align-self: stretch;
	background: #aaa;
	margin: 4px 4px;
}

.poster-filter-heading {
	font-weight: bold;
	margin: 4px 0 10px;
	font-size: 15px;
	color: #2c2540;
}

.poster-filter-heading-note {
	font-weight: normal;
	font-style: italic;
	font-size: 12px;
	color: #8a8499;
}

.poster-filter-list {
	display: flex;
	flex-direction: column;
	gap: 3px;
	max-height: 260px;
	overflow-y: auto;
	padding-right: 4px;
}

.poster-filter-list-topics {
	display: block;
	column-count: 3;
	column-gap: 18px;
}

.poster-filter-list-topics .poster-filter-item {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin-bottom: 3px;
}

.poster-filter-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	font-size: 13px;
	line-height: 1.3;
	padding: 3px 0;
}

.poster-filter-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: normal;
	flex: 0 1 auto;
	min-width: 0;
	color: #2c2540;
}

.poster-filter-item input[type="checkbox"] {
	accent-color: #5b5476;
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.poster-filter-count {
	opacity: 0.7;
	font-size: 12px;
	color: #555;
}

.poster-filter-only {
	background: transparent;
	border: 1px solid #aaa;
	border-radius: 4px;
	padding: 2px 7px;
	margin: 0;
	color: #5b5476;
	font-size: 11px;
	cursor: pointer;
	text-decoration: none;
	flex-shrink: 0;
	line-height: 1.3;
}

.poster-filter-only:hover {
	background: rgba(91, 84, 118, 0.1);
	text-decoration: none;
}

.poster-filter-group-all-wrap {
	display: flex;
	justify-content: flex-start;
	margin: 0 0 8px;
	padding: 0 0 6px;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}

@media (max-width: 900px) {
	.poster-filter-cols {
		flex-direction: column;
		gap: 14px;
	}

	.poster-filter-divider {
		width: auto;
		height: 1px;
		margin: 0;
	}

	.poster-filter-list-topics {
		column-count: 2;
	}

	.poster-filter-list {
		max-height: 180px;
	}
}

@media (max-width: 600px) {
	.poster-filter-list-topics {
		column-count: 1;
	}
}

