/* Base Alert Styles */
.alert-box {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: Arial, sans-serif;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transition: top 0.5s ease, opacity 0.5s ease;
}

/* Progress Bar */
.alert-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255,255,255,0.8);
  width: 100%;
  animation: progressAnim linear forwards;
}

/* Success Style */
.alert-success {
  background-color: #28a745;
}

/* Error Style */
.alert-error {
  background-color: #dc3545;
}

/* Icons */
.alert-icon {
  font-size: 18px;
}

/*.alert-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}*/
/* Progress animation */
@keyframes progressAnim {
  from { width: 100%; }
  to { width: 0%; }
}

