/* Unread Issues Plugin - Indicators */

/* Base indicator dot */
.uis-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Unread issue - red dot (never viewed) */
.uis-indicator.uis-unread {
  background-color: #e74c3c;
  box-shadow: 0 0 3px rgba(231, 76, 60, 0.5);
}

/* Updated issue - blue dot (viewed but changed since) */
.uis-indicator.uis-updated {
  background-color: #3498db;
  box-shadow: 0 0 3px rgba(52, 152, 219, 0.5);
}

/* Read issue - no indicator needed, but add subtle style if desired */
.uis-indicator.uis-read {
  display: none;
}

/* Counter badge in top menu */
.uis-counter {
  font-size: 0.85em;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 3px;
}

.uis-counter-unread {
  background-color: #e74c3c;
  color: #fff;
}

.uis-counter-updated {
  background-color: #3498db;
  color: #fff;
}

.uis-counter-total {
  background-color: #95a5a6;
  color: #fff;
}

/* Issue list row highlighting */
tr.issue.uis-row-unread td.subject a {
  font-weight: bold;
}

tr.issue.uis-row-updated td.subject a {
  font-style: italic;
}

/* View stats section on issue detail */
.uis-read-stats {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  font-size: 0.9em;
}

.uis-read-stats .uis-reader {
  display: inline-block;
  margin-right: 12px;
  color: #555;
}

.uis-read-stats .uis-reader .uis-read-time {
  color: #999;
  font-size: 0.85em;
}

/* Legend for issue list */
.uis-legend {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 5px;
}

.uis-legend .uis-indicator {
  width: 8px;
  height: 8px;
}
