/* alerts.css — Alert items & sections */
/* ============================================================================
   ALERTS
   ============================================================================ */

.alert-item {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: background 0.2s ease;
}

.alert-item:last-child {
  border-bottom: none;
}

.alert-item:hover .alert-resolve-btn {
  opacity: 1;
}

.alert-open {
  border-left-color: #ef4444;
  background: rgba(239,68,68,0.04);
}

.alert-resolved {
  opacity: 0.55;
}

.alert-title {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 3px;
}

.alert-msg {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.alert-time {
  font-size: 11.5px;
  color: var(--text-placeholder);
}

.alert-resolve-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 4px;
  font-size: 11.5px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}


