/* Public dashboard overrides and additions */

/* No login screen needed */
#login-screen { display: none !important; }

/* Badge base + status variants (mirrors dashboard.css .status-* colors) */
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.s-new { background: #1a237e; color: #90caf9; }
.s-investigating { background: #e65100; color: #ffcc80; }
.s-todo { background: #0d47a1; color: #82b1ff; }
.s-todo_urgent { background: #b71c1c; color: #ff8a80; }
.s-fixed { background: #1b5e20; color: #a5d6a7; }
.s-wont_fix { background: #424242; color: #d0d0d0; }
.s-duplicate { background: #4a148c; color: #ce93d8; }
.s-closed { background: #263238; color: #b0bec5; }

.cat-bug { background: #b71c1c; color: #ff8a80; }
.cat-typo { background: #4a148c; color: #ce93d8; }
.cat-feedback { background: #0d47a1; color: #82b1ff; }
.cat-suggestion { background: #1b5e20; color: #a5d6a7; }

/* Detail panel - read-only adjustments */
.detail-panel { max-width: 750px; }

.detail-meta { margin-bottom: 12px; display: flex; gap: 8px; }

.detail-subject {
  font-size: 18px;
  font-weight: 500;
  color: #e0e0e0;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.detail-description {
  color: #ccc;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent);
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 20px;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #1a1a2e;
}

.info-item { display: flex; gap: 8px; font-size: 12px; }
.info-label { color: #777; white-space: nowrap; }
.info-value { color: var(--accent); }

.detail-comments-header {
  color: var(--accent);
  font-size: 14px;
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a2e;
}

.comment {
  padding: 10px 12px;
  margin: 8px 0;
  font-size: 13px;
  border-left: 3px solid;
}

.comment-player { border-color: var(--accent); background: rgba(85,187,188,0.04); }
.comment-staff { border-color: #ff9800; background: rgba(255,152,0,0.04); }

.comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
}

.comment-author { font-weight: 500; }
.comment-body { color: #ccc; line-height: 1.5; }

/* Footer */
.public-footer {
  text-align: center;
  padding: 30px 20px;
  color: #555;
  font-size: 12px;
  border-top: 1px solid #1a1a2e;
  margin-top: 40px;
}

/* Admin login link */
.nav-link {
  text-decoration: none;
  opacity: 0.5;
  font-size: 11px;
}
.nav-link:hover { opacity: 0.8; }

/* Responsive */
@media (max-width: 700px) {
  .detail-info-grid { grid-template-columns: 1fr; }
}
