/* Dismissible modal for alerts and warnings */
#alert-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
#alert-modal {
  background: #222;
  color: #FFD700;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  padding: 28px 32px 18px 32px;
  min-width: 260px;
  max-width: 90vw;
  font-size: 18px;
  text-align: center;
  position: relative;
  animation: popIn 0.2s;
    border: 2px solid #ff000061;
    opacity: 0.8;
    backdrop-filter: blur(10px);
}
#alert-modal .close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #FFD700;
  font-size: 22px;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
