.area-toast {
  width: 100%;
  pointer-events: none;
  z-index: 99999;
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.toast {
  position: relative;
  background-color: #333;
  padding: 1rem 2.5rem 1rem 1rem;
  width: 250px;
  min-height: max-content;
  border-radius: 0.25rem;
  color: white;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: auto;
}

.toast.hidden {
  opacity: 0;
}

.toast.success {
  background-color: #219b3d;
}
.toast.danger {
  background-color: #dc3545;
}
.toast.warning {
  background-color: #ffc107;
  color: #212529;
}
.toast.info {
  background-color: #17a2b8;
}

.close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
