/* Custom beautiful alert styles - top right floating */
#custom-alerts {
  position: fixed;
  top: 2.5rem;
  right: 2.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  min-width: 320px;
  pointer-events: none;
}
.custom-alert {
  position: relative;
  min-width: 320px;
  max-width: 400px;
  padding: 1.25rem 2.5rem 1.25rem 1.25rem;
  border-radius: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0;
  animation: fadeInRight 0.5s;
  pointer-events: auto;
  opacity: 0.98;
}
.custom-alert-success {
  background: linear-gradient(90deg, #e0ffe6 0%, #b6f5c3 100%);
  color: #166534;
  border: 2px solid #4ade80;
}
.custom-alert-error {
  background: linear-gradient(90deg, #ffe0e0 0%, #f5b6b6 100%);
  color: #991b1b;
  border: 2px solid #f87171;
}
.custom-alert-info {
  background: linear-gradient(90deg, #e0f0ff 0%, #b6d8f5 100%);
  color: #1e40af;
  border: 2px solid #60a5fa;
}
.custom-alert .close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  pointer-events: auto;
}
.custom-alert .close-btn:hover {
  opacity: 1;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 0.98; transform: translateX(0); }
}
