/* Estilos específicos para el Dashboard de Alertas */
/* Arquitectura CSS modular - Componentes independientes */

/* ============ ALERTAS DASHBOARD ============ */

.alerts-dashboard {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  margin: 0 0 2rem 0;
  overflow: hidden;
}

.alerts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.alerts-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-direction: column;
  align-items: flex-start;
}

.alert-header-icon {
  font-size: 1.5rem;
  color: #F7C04A;
}

.alerts-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.alerts-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-top: 0.25rem;
}

.alerts-stats {
  display: flex;
  gap: 1.5rem;
}

.alert-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-stat.critical {
  border-color: #DE4C4A;
  background: transparent;
}

.alert-stat.warning {
  border-color: #F7C04A;
  background: transparent;
}

.alert-stat.action {
  border-color: #3A6BDA;
  background: transparent;
}

.alert-stat-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.alert-stat.critical .alert-stat-number {
  color: #ff6b6b;
}

.alert-stat.warning .alert-stat-number {
  color: #ffa726;
}

.alert-stat.action .alert-stat-number {
  color: #42a5f5;
}

.alert-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-align: center;
}

.alerts-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.alert-filter {
  padding: 0.75rem 1.5rem;
  border-radius: 0px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-transform: capitalize;
}

.alert-filter.active {
  background: transparent;
  border-color: #333;
  color: #fff;
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.alerts-list::-webkit-scrollbar {
  width: 6px;
}

.alerts-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.alerts-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.alerts-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.alerts-empty i {
  font-size: 3rem;
  color: #51B97A;
  margin-bottom: 1rem;
}

.alerts-empty p {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.alerts-empty small {
  font-size: 0.875rem;
  opacity: 0.8;
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0;
  cursor: pointer;
  opacity: 1;
  color: #fff !important;
}

.alert-item * {
  color: #fff !important;
}

.alert-item.requires-action {
  border: none;
}

.alert-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
}

.alert-icon i {
  font-size: 1.25rem;
}

.alert-content {
  flex: 1;
  min-width: 0;
}

.alert-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.alert-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  line-height: 1.3;
}

.action-badge {
  background: transparent;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.alert-message {
  font-size: 0.875rem;
  color: #fff !important;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.alert-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.alert-timestamp {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.alert-amount,
.alert-percentage {
  font-size: 0.875rem;
  font-weight: 700;
  color: #F7C04A;
  background: transparent;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  border: 1px solid #F7C04A;
}

.alert-actions {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  flex-shrink: 0;
}

.alert-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 0px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.alert-action-btn.primary {
  background: transparent;
  color: #3A6BDA;
  border: 1px solid #3A6BDA;
}

.alert-action-btn.success {
  background: transparent;
  color: #51B97A;
  border: 1px solid #51B97A;
}

.alert-action-btn.secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animaciones escalonadas removidas para diseño flat */
