/* Styles specific to the Issues & PRs page */

.issues-prs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 40px 0;
}

.issues-prs-card {
  /* Remove old background for specificity */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 4px rgba(0,0,0,0.08);
  border: 1.5px solid #e0e7ef;
  padding: 32px 28px 24px 28px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  position: relative;
}
body.dark .issues-prs-card {
  background: #18181b;
}
.issues-prs-card:hover {
  box-shadow: 0 8px 32px rgba(99,102,241,0.18), 0 2px 8px rgba(0,0,0,0.10);
  transform: translateY(-4px) scale(1.01);
  border-color: #6366f1;
}

/* Gradient headers for each card */
.issues-prs-card .issues-prs-title {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  color: #23232a;
  border-radius: 12px 12px 0 0;
  padding: 14px 18px 10px 18px;
  margin: -32px -28px 18px -28px;
  border-bottom: 2px solid #e0e7ef;
}
.issues-prs-card:nth-child(6n+2) .issues-prs-title {
  background: linear-gradient(135deg, #fdf6e3 0%, #fbc2eb 100%);
}
.issues-prs-card:nth-child(6n+3) .issues-prs-title {
  background: linear-gradient(135deg, #e0f7fa 0%, #a1c4fd 100%);
}
.issues-prs-card:nth-child(6n+4) .issues-prs-title {
  background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
}
.issues-prs-card:nth-child(6n+5) .issues-prs-title {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.issues-prs-card:nth-child(6n) .issues-prs-title {
  background: linear-gradient(135deg, #f8ffae 0%, #43cea2 100%);
}
body.dark .issues-prs-card .issues-prs-title {
  background: linear-gradient(135deg, #23232a 0%, #312e81 100%);
  color: #f3f3fa;
  border-bottom: 2px solid #23232a;
}
body.dark .issues-prs-card:nth-child(6n+2) .issues-prs-title {
  background: linear-gradient(135deg, #23232a 0%, #a4508b 100%);
}
body.dark .issues-prs-card:nth-child(6n+3) .issues-prs-title {
  background: linear-gradient(135deg, #23232a 0%, #0099f7 100%);
}
body.dark .issues-prs-card:nth-child(6n+4) .issues-prs-title {
  background: linear-gradient(135deg, #23232a 0%, #f7971e 100%);
}
body.dark .issues-prs-card:nth-child(6n+5) .issues-prs-title {
  background: linear-gradient(135deg, #23232a 0%, #485563 100%);
}
body.dark .issues-prs-card:nth-child(6n) .issues-prs-title {
  background: linear-gradient(135deg, #23232a 0%, #43cea2 100%);
}

.issues-prs-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e7ef;
}
body.dark .issues-prs-title {
  border-bottom: 2px solid #23232a;
}
.issues-prs-title::before {
  content: "📦";
  font-size: 1.2em;
  opacity: 0.8;
}

.issues-prs-flex {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  min-height: 120px;
}
.issues-prs-divider {
  height: 1.5px;
  width: 100%;
  background: rgba(120,120,140,0.13);
  margin: 18px 0;
  display: block;
}
.issues-col, .prs-col {
  flex: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.issues-prs-header {
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05em;
}
.issues-badge, .prs-badge {
  display: inline-block;
  min-width: 22px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 600;
  background: #6366f1;
  color: #fff;
  margin-left: 4px;
}
body.dark .issues-badge, body.dark .prs-badge {
  background: #a78bfa;
  color: #18181b;
}
.issues-prs-list {
  overflow-y: auto;
  max-height: 220px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.issues-prs-list li {
  margin-bottom: 8px;
  padding: 0 0 0 18px;
  position: relative;
}
.issues-prs-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #6366f1;
  opacity: 0.7;
}
body.dark .issues-prs-list li::before {
  color: #a78bfa;
}
.issues-prs-card a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.2s;
  font-weight: 500;
}
.issues-prs-card a:hover {
  color: #1e40af;
}
body.dark .issues-prs-card a {
  color: #a78bfa;
}
body.dark .issues-prs-card a:hover {
  color: #c4b5fd;
}
@media (max-width: 600px) {
  .issues-prs-card {
    max-width: 98vw;
    padding: 18px 4vw 16px 4vw;
  }
}

.issues-prs-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 18px 32px 16px 32px;
  margin: 36px auto 32px auto;
  border-radius: 16px;
  background: linear-gradient(90deg, #6366f1 0%, #60a5fa 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,0.10);
  letter-spacing: 0.01em;
  max-width: 600px;
}
body.dark .issues-prs-page-title {
  background: linear-gradient(90deg, #a78bfa 0%, #6366f1 100%);
  color: #18181b;
}
