/* =========================
   FuseNotify v1.0.0 - CSS
   ========================= */
   
/* Container base */
.fusenotify-container {
  position: fixed;
  z-index: 1055;
  min-width: 280px;
  pointer-events: none; /* don't block page clicks */
}
.fusenotify-container > .fusenotify {
  pointer-events: auto;
}

/* Positions */
.fusenotify-top-right { top: 1rem; right: 1rem; }
.fusenotify-top-left { top: 1rem; left: 1rem; }
.fusenotify-bottom-right { bottom: 1rem; right: 1rem; }
.fusenotify-bottom-left { bottom: 1rem; left: 1rem; }

/* Strong colors */
.fusenotify-success {
  background-color: #008000 !important;
  color: #fff !important;
}
.fusenotify-danger {
  background-color: #cc0000 !important;
  color: #fff !important;
}

.fusenotify {
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.fusenotify .close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Burning fuse line */
.burning-line {
  position: relative;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 2px;
}
.burning-line::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.8),
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,0.8) 100%);
  background-size: 200% 100%;
  animation: fire-move 1s linear infinite;
}
.burning-line-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  animation: shrink linear forwards;
}
.fuse-success {
  background-color: #ffffff; /* white */
}
.fuse-danger {
  background: linear-gradient(90deg, #ffae00, #ff4500, #ff0000);
}

/* Animations */
@keyframes fire-move {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes shrink {
  from { width: 100%; }
  to { width: 0%; }
}
