.custom-toastr-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 250px;
    max-width: 350px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-toast.success {
    background-color: #28a745;
}

.custom-toast.error {
    background-color: #dc3545;
}

.custom-toast.info {
    background-color: #17a2b8;
}

.custom-toast.warning {
    background-color: #ffc107;
}

.custom-toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
}

.custom-toast-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
}

@keyframes timerLine {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
