/* assets/css/toastr.css - Toastr Notifications (Bottom Right) */

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 8px 0;
    padding: 15px 20px;
    width: 350px;
    border-radius: 8px;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(20px);
    animation: toastIn 0.5s ease forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

.toast-success {
    background: #059669;
    border-left: 4px solid #047857;
}

.toast-error {
    background: #DC2626;
    border-left: 4px solid #B91C1C;
}

.toast-warning {
    background: #D97706;
    border-left: 4px solid #B45309;
}

.toast-info {
    background: #2563EB;
    border-left: 4px solid #1D4ED8;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 14px;
    opacity: 0.9;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@media (max-width: 480px) {
    .toast {
        width: calc(100vw - 40px);
        margin: 0 0 8px 0;
        padding: 12px 16px;
    }
}