@keyframes toast-in-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toast-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.animate-toast-in-down {
    animation: toast-in-down 0.5s ease-out forwards;
}

.animate-toast-fade-out {
    animation: toast-fade-out 0.5s ease-in forwards;
}

/* Dark mode */
.toast {
    @apply relative flex items-start p-4 rounded-lg shadow-lg border-l-4 w-full animate-toast-in-down;
}

.toast.light {
    background-color: white;
    color: #374151;
}

.toast.dark {
    background-color: #1f2937;
    color: #f3f4f6;
}

.toast-success {
    border-color: #22c55e;
}

.toast-error {
    border-color: #ef4444;
}

.toast-warning {
    border-color: #f59e0b;
}

.toast-info {
    border-color: #3b82f6;
}