/* =========================================================
   EVENTOS
========================================================= */

.notif-eventos-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
}

/* =========================================================
   KPIS
========================================================= */

.notif-eventos-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.notif-eventos-kpi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  background: #ffffff;
}

.notif-eventos-kpi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
}

.notif-eventos-kpi-icon-success {
  background: #ecfdf3;
  color: #027a48;
}

.notif-eventos-kpi-icon-danger {
  background: #fef2f2;
  color: #dc2626;
}

.notif-eventos-kpi-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notif-eventos-kpi-value {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.notif-eventos-kpi-label {
  font-size: 12px;
  color: #6b7280;
}

/* =========================================================
   LIST
========================================================= */

.notif-eventos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif-eventos-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  background: #ffffff;
}

.notif-eventos-item-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.notif-eventos-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f3f4f6;
  color: var(--color_primario);
  font-size: 18px;
}

.notif-eventos-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.notif-eventos-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notif-eventos-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.notif-eventos-item-description {
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
}

.notif-eventos-item-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.notif-eventos-item-code {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
}

.notif-eventos-item-channels {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-eventos-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
}

.notif-eventos-item-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.notif-eventos-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-eventos-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
  transition: 0.2s ease;
}

.notif-eventos-action-btn:hover {
  background: #e5e7eb;
}

.notif-eventos-action-danger {
  background: #fef2f2;
  color: #dc2626;
}

.notif-eventos-action-danger:hover {
  background: #fee2e2;
}

/* =========================================================
   STATUS
========================================================= */

.notif-eventos-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.notif-eventos-status.active {
  background: #ecfdf3;
  color: #027a48;
}

.notif-eventos-status.inactive {
  background: #fef2f2;
  color: #dc2626;
}

.notif-eventos-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* =========================================================
   PRIORITY
========================================================= */

.notif-eventos-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.notif-eventos-priority-baja {
  background: #f3f4f6;
  color: #6b7280;
}

.notif-eventos-priority-media {
  background: #eff6ff;
  color: #2563eb;
}

.notif-eventos-priority-alta {
  background: #fff7ed;
  color: #ea580c;
}

.notif-eventos-priority-critica {
  background: #fef2f2;
  color: #dc2626;
}

/* =========================================================
   EMPTY
========================================================= */

.notif-eventos-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 320px;
  padding: 40px 20px;
  text-align: center;
}

.notif-eventos-empty-icon {
  font-size: 54px;
  color: #cbd5e1;
}

.notif-eventos-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.notif-eventos-empty-text {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.notif-eventos-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--color_primario);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .notif-eventos-kpis {
    grid-template-columns: 1fr;
  }

  .notif-eventos-item {
    flex-direction: column;
    align-items: stretch;
  }

  .notif-eventos-item-right {
    justify-content: space-between;
    width: 100%;
  }
}
