.alerts-actions {
  display: flex; gap: 12px; align-items: center; margin-bottom: 20px;
}
.alerts-actions label {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4a5568;
}

.alerts-list { display: flex; flex-direction: column; gap: 12px; }

.alert-card {
  background: #fff; padding: 16px 20px; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex; justify-content: space-between; align-items: center;
  border-left: 4px solid #cbd5e0;
}
.alert-card.active { border-left-color: #38a169; }
.alert-card.triggered { border-left-color: #d69e2e; }
.alert-card.inactive { opacity: 0.6; border-left-color: #a0aec0; }

.alert-info { flex: 1; }
.alert-name { font-size: 15px; font-weight: 600; color: #1a365d; margin-bottom: 4px; }
.alert-route { font-family: ui-monospace, monospace; font-size: 13px; color: #4a5568; margin-bottom: 4px; }
.alert-details { font-size: 12px; color: #718096; }

.alert-metrics {
  display: flex; gap: 18px; align-items: center; font-size: 12px;
}
.metric { text-align: center; }
.metric-value { font-size: 15px; font-weight: 700; color: #1a365d; }
.metric-label { font-size: 10px; color: #718096; text-transform: uppercase; }

.alert-actions { display: flex; gap: 6px; }
.alert-actions .btn { padding: 6px 12px; font-size: 12px; }

.modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.modal.hidden { display: none; }
.modal-content {
  background: #fff; padding: 28px 32px; border-radius: 10px;
  width: 480px; max-width: 90vw;
}
.modal-content h2 { margin: 0 0 18px 0; font-size: 18px; }
.modal-content label { display: block; margin-bottom: 12px; font-size: 12px; color: #4a5568; font-weight: 600; }
.modal-content label input, .modal-content label select {
  display: block; width: 100%; margin-top: 4px; padding: 8px 10px;
  border: 1px solid #cbd5e0; border-radius: 5px; font-size: 14px;
  box-sizing: border-box;
}
.modal-content .form-row { display: flex; gap: 12px; }
.modal-content .form-row label { flex: 1; }
.modal-content .form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

/* botão criar alerta na tela de busca */
.create-alert-btn {
  background: #d69e2e !important; color: #fff !important; padding: 4px 10px !important;
  font-size: 11px !important; border-radius: 4px !important; cursor: pointer; border: none;
  margin-left: 6px;
}
.create-alert-btn:hover { background: #b7791f !important; }
