
#smb-modal {
    position: fixed;
    max-width: 500px;
    max-height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    background-color: rgb(85, 80, 80);
    overflow-y: auto;
}

#upload-modal {
    position: fixed;
    max-width: 500px;
    max-height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    background-color: rgb(85, 80, 80);
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 5px;
    right: 5px;
}


@keyframes greenFlash {
    0% {
        background-color: #2f3238;
    }

    30% {
        background-color: #4caf50;
        /* Green color */
    }

    100% {
        background-color: #2f3238;
    }
}

.result {
    background-color: #2f3238;
    position: relative;
}

.result:hover {
    background-color: rgb(108, 112, 119);
    color: black;
    cursor: pointer;
}

.result.flash {
    animation: greenFlash 0.8s ease-out 1;
}

.edit-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 40px;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.result:hover .edit-btn {
    opacity: 1;
}

.queue-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-radius: 0;
}

.queue-item:hover .queue-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}