.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    color: #fff;
    background: #333;
    opacity: 0;
    transform: translateY(10px);
    transition: .3s;
    z-index: 9999;
    font-size: 14px;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }



/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(148,163,184,.5) transparent;
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(148,163,184,.45);
  border-radius: 6px;  
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(148,163,184,.7);
}

/* Dark mode */
.dark ::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,.25);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,.4);
}