/* Container positioned at top right */
.alert-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  width: 100%;
  pointer-events: none;
}

/* Floating Alert Box */
.floating-alert {
  pointer-events: auto;
  background-color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  
  /* Slide & Fade Animation */
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.3s ease;
}

.success{
  border-left: 4px solid #65e22b; /* Red accent border */
}

.danger{
  border-left: 4px solid #ef4444; /* Red accent border */
}
/* Shown State */
.floating-alert.show {
  opacity: 1;
  transform: translateY(0);
}

.alert-content {
  display: flex;
  flex-direction: column;
}

.alert-content strong {
  font-size: 13px;
  color: #1e293b;
  text-transform: capitalize;
}

.alert-content span {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.alert-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.alert-close:hover {
  color: #475569;
}