/* web/app/inversim/opportunityAlerts.css */
/* ✅ FASE 2: Estilos para Sistema de Alertas de Oportunidades */

/* Contenedor de toasts */
.inversim-alerts-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.inversim-alerts-toast-container > * {
  pointer-events: auto;
}

/* Toast individual */
.inversim-alert-toast {
  will-change: transform, opacity;
}

.inversim-alert-toast:hover {
  transform: translateX(-4px) !important;
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.4) !important;
}

.inversim-alert-toast__close {
  transition: color 0.2s;
}

.inversim-alert-toast__close:hover {
  color: #f1f5f9 !important;
}

/* Panel de alertas */
.inversim-alerts-panel {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.inversim-alerts-panel__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.inversim-alerts-panel__title {
  font-size: 20px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 4px 0;
}

.inversim-alerts-panel__subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

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

/* Tarjeta de alerta */
.inversim-alert-card {
  will-change: transform;
}

.inversim-alert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .inversim-alerts-toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .inversim-alert-toast {
    min-width: auto !important;
    max-width: 100% !important;
  }

  .inversim-alerts-panel {
    padding: 16px;
  }
}
