body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	margin: 0;
	padding: 0;
	background: #fff;
	color: #111
}

.container {
	max-width: 80vw;
	margin: 12px auto;
	padding: 20px
}

header {
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 18px
}

h1 {
	font-size: 1.6rem;
	margin: 8px 0
}

.meta {
	color: #555;
	margin-bottom: 14px
}

.layout {
	display: flex;
	gap: 20px
}

.main {
	flex: 1
}

.side {
	width: 30vw
}

.abstract {
	background: #fafafa;
	border: 1px solid #eee;
	padding: 16px;
	border-radius: 6px
}

.links a {
	display: inline-block;
	margin-right: 8px;
	margin-top: 6px
}

pre.bib {
	background: #f7f7f7;
	border: 1px solid #eee;
	padding: 0 12px;
	white-space: pre-wrap;
	word-wrap: break-word
}

.citation {
	font-size: 0.9rem;
	color: #555
}

embed.pdf {
	width: 100%;
	height: 640px;
	border: 1px solid #ddd
}

@media(max-width:900px) {
	.layout {
		flex-direction: column
	}

	.side {
		width: 100%
	}
}

.hidden {
	display: none
}

#copy-btn {
	padding: 4px 8px;
	background: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

#copy-btn.copied {
	background: green;
}

.side-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Paper list display page */
.main-content {
	max-width: 60vw;
	margin: 0 auto;
	padding: 10vh 10vw;
}

/* Styles for the papers table */
.papers-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1.2rem;
	font-size: 0.95rem;
	color: #222;
}

.papers-table caption {
	text-align: left;
	font-weight: 600;
	margin-bottom: 0.6rem;
}

.papers-table th,
.papers-table td {
	border: 1px solid #e8e8e8;
	padding: 10px 12px;
	vertical-align: top;
}

.papers-table thead th {
	background: #fafafa;
	font-weight: 700;
}

.papers-table tbody tr:nth-child(odd) {
	background: #fff;
}
.papers-table tbody tr:nth-child(even) {
	background: #fbfbfb;
}

.papers-table a {
	color: #0066cc;
	text-decoration: none;
}
.papers-table a:hover,
.papers-table a:focus {
	text-decoration: underline;
}

/* Make the table horizontally scrollable on small screens */
.papers-table-wrapper {
	overflow-x: auto;
}

@media (max-width: 900px) {
	.papers-table th,
	.papers-table td {
		padding: 8px 10px;
		font-size: 0.9rem;
	}

	.main-content {
		padding: 5vh 6vw;
		max-width: 94vw;
	}
}
