body {
  background-color: #f8f9fa;
}

h1 {
  font-size: 2.2rem;
}

.accordion-button::after {
  margin-left: auto;
}

ul.paper-list {
  max-height: 600px;
  overflow-y: auto;
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

ul.paper-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

ul.paper-list li:hover {
  background-color: #f8f9fa;
}

ul.paper-list li:last-child {
  border-bottom: none;
}

.accordion-body {
  max-height: 800px;
  overflow-y: auto;
}

.search-highlight {
  background-color: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
}

.badge-criteria {
  font-size: 0.8rem;
  margin-right: 4px;
}

/* Sankey diagram styling */
#sankey-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  margin: 10px 0;
}

#sankey-container svg {
  display: block;
  margin: 0 auto;
}

.node rect {
  fill-opacity: 0.8;
  shape-rendering: crispEdges;
}

.node text {
  font-size: 12px;
  font-family: sans-serif;
}

.link {
  fill: none;
  stroke-opacity: 0.4;
}

.link:hover {
  stroke-opacity: 0.7;
}

/* Dropdown styling for excluded papers */
.dropdown-header {
  transition: background-color 0.2s;
}

.dropdown-header:hover {
  background-color: #e9ecef !important;
}

.dropdown-content {
  background-color: white;
}

.dropdown-icon {
  transition: transform 0.2s;
}

.dropdown-header:hover .dropdown-icon {
  transform: scale(1.1);
} 