/* Log item styling */

/* Common log styling */
.log-item {
  position: relative;
}

/* Status colors */
.log-type-alert {
  border-left-color: #f44336 !important;
}

.log-type-maintenance {
  border-left-color: #ff9800 !important;
}

.log-type-update {
  border-left-color: #4caf50 !important;
}

/* Card view specific styling */
.card.log-item {
  border-left-width: 4px;
  overflow: hidden;
}

.card.log-item.log-type-alert {
  background-color: #ffebee;
}

.card.log-item.log-type-maintenance {
  background-color: #fff3e0;
}

.card.log-item.log-type-update {
  background-color: #e8f5e9;
}

/* List view specific styling */
.list-group-item.log-item {
  border-left-width: 4px;
}

/* Detailed view specific styling */
.log-item.log-type-alert {
  background-color: #ffebee;
}

.log-item.log-type-maintenance {
  background-color: #fff3e0;
}

.log-item.log-type-update {
  background-color: #e8f5e9;
}

/* Archived log styling */
.log-item.archived {
  opacity: 0.7;
}

/* Log meta styling */
.log-meta {
  font-size: 0.85rem;
}

.log-author {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Admin actions */
.log-admin-actions {
  margin-top: 1rem;
}
