/* 1. Push content down from Nav Bar */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px !important; /* Forces space below nav */
}

/* 2. Tightened Card */
.research-card {
  position: relative;
  background: var(--panel);
  box-shadow: inset 0 0 10px rgba(129, 140, 248, 0.1) !important;
  transition: background 0.2s ease, border-color 0.2s ease;
  width: 100%;
}   

.research-card:hover {
  background: #202940 !important;
  border-color: rgba(129, 140, 248, 0.8) !important;
}

/* Reduced internal padding */
.research-card .card-pad {
  padding: 15px 20px !important; 
}

/* 3. Tightened Header (Title & Venue) */
.research-header {
  margin-bottom: 5px !important;
}

.research-title {
  margin: 0 !important;
  font-size: 19px;
  line-height: 1.1;
  color: #fff;
}

.research-venue {
  margin-top: 2px !important; /* Minimal gap */
  font-size: 10.5px;
  color: rgb(151, 161, 236);
  text-transform: uppercase;
  font-family: monospace;
}

/* 4. Abstract & Buttons */
.research-abstract p {
  margin: 10px 0 !important;
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
}

.research-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
}

/* Badge for 'In Progress', 'Updated', or 'New' */
.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #f0f0f0; /* Light gray base */
  color: #555;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #ddd;
  z-index: 10;
}

/* Optional: Color coding for different statuses */
.status-badge:contains("In Progress") {
  background-color: #fff4e5;
  color: #b45d00;
  border-color: #ffcc80;
}

/* ==========================================================================
   NOTEBOOK TAGS (Consistent with main Pills)
   ========================================================================== */

.notebook-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.notebook-tags strong {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

/* Individual tag styling - mirrors your .pill class */
.notebook-tags .tag {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 0px;
  color: var(--accent-cyan); /* Using your tech/data color */
  font-weight: 600;
  transition: all 160ms ease;
}

.notebook-tags .tag:hover {
  background: rgba(25, 158, 179, 0.1); /* Subtle Cyan glow */
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}