/* General Styles for Alert Boxes */
.alert-box {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  color: #e6edf6;
  background: rgba(12, 18, 32, 0.88);
  border-left: 4px solid;
  box-shadow: 0 10px 24px rgba(6, 10, 20, 0.45);
  font-family: var(--dt-font, 'Space Grotesk', sans-serif);
  backdrop-filter: blur(10px);
}

.alert-box h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb2c8;
}

.alert-box p {
  margin: 0;
  color: #e6edf6;
}

/* Specific Alert Box Styles */
.alert-box.traffic {
  border-left-color: #f97316;
  background: linear-gradient(140deg, rgba(34, 16, 7, 0.92), rgba(12, 18, 32, 0.92));
}

.alert-box.weather {
  border-left-color: #60a5fa;
  background: linear-gradient(140deg, rgba(10, 24, 42, 0.92), rgba(12, 18, 32, 0.92));
}

.alert-box.event {
  border-left-color: #f59e0b;
  background: linear-gradient(140deg, rgba(39, 27, 8, 0.92), rgba(12, 18, 32, 0.92));
}

.alert-box.is-hidden {
  display: none;
}

/* Flash Effect */
.flash {
  animation: flash-animation 1s ease;
}

@keyframes flash-animation {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(61, 214, 198, 0.25); }
  50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(61, 214, 198, 0.4); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(61, 214, 198, 0.25); }
}
