.custom-btn-info {
    color: #fff;
    background-color: #3BC3DE;
    border-color: #3BC3DE;
}
.custom-btn-info:hover {
    color: #fff;
    background-color: #35b1c9;
    border-color: #32a6bd;
}
.btn-check:focus + .custom-btn-info, .custom-btn-info:focus {
    color: #fff;
    background-color: #35b1c9;
    border-color: #32a6bd;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(60, 200, 228, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(60, 200, 228, 0.5);
}
.btn-check:checked + .custom-btn-info, .btn-check:active + .custom-btn-info, .custom-btn-info:active, .custom-btn-info.active, .show > .custom-btn-info.dropdown-toggle {
    color: #fff;
    background-color: #32a6bd;
    border-color: #319fb5;
}
.btn-check:checked + .custom-btn-info:focus, .btn-check:active + .custom-btn-info:focus, .custom-btn-info:active:focus, .custom-btn-info.active:focus, .show > .custom-btn-info.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(60, 200, 228, 0.5);
        box-shadow: 0 0 0 0.15rem rgba(60, 200, 228, 0.5);
}
.custom-btn-info:disabled, .custom-btn-info.disabled {
    color: #fff;
    background-color: #3BC3DE;
    border-color: #3BC3DE;
}

.custom-text-muted {
    --bs-text-opacity: 1;
    color:#e9ecef!important;
}

.custom-card-bg-color {
    background-color: #252b3b;
    border: 0 solid #2d3448;
}

.ellipsis-table-td {
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drag-and-drop-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 160px); /* Adjust the number of columns and the width as needed */
    grid-gap: 10px;
    max-width: calc((3 * 160px) + 2 * 10px + 2px); /* (total col/item in row * item size) + total grid-gap * grid-gap + extra pixel to see border */
    border: 1px solid grey;
}

.product-cube {
    position: relative;
    width: 150px;
    height: 150px;
    padding: 0.5em;
    background-color: #022b2b;
    margin: auto;
}

.product-cube .background-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.product-cube h3 {
    color: #fff;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.droppable {
    width: 160px;
    height: 160px;
    background-color: lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons-container {
    position: absolute;
    bottom: 5px;
    right: 0;
    z-index: 1;
}
  
.buttons-wrapper {
    display: flex;
    justify-content: flex-end;
}

.buttons-wrapper a {
    margin-right: 5px;
}


@media (min-width: 1053px) and (max-width: 1199.98px) { 
    .drag-and-drop-grid-container {
        grid-template-columns: repeat(3, 150px); /* Adjust the number of columns and the width as needed */
        grid-gap: 5px;
        max-width: calc((3 * 150px) + 2 * 5px + 2px); /* (total col/item in row * item size) + total grid-gap * grid-gap + extra pixel to see border */
        border: 1px solid grey;
    }

    .product-cube {
        width: 140px;
        height: 140px;
    }
    
    .droppable {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 992px) and (max-width: 1052.98px) { 
    .drag-and-drop-grid-container {
        grid-template-columns: repeat(3, 140px); /* Adjust the number of columns and the width as needed */
        grid-gap: 5px;
        max-width: calc((3 * 140px) + 2 * 5px + 2px); /* (total col/item in row * item size) + total grid-gap * grid-gap + extra pixel to see border */
        border: 1px solid grey;
    }

    .product-cube {
        width: 130px;
        height: 130px;
    }
    
    .droppable {
        width: 140px;
        height: 140px;
    }
}

@media (min-width: 768px) and (max-width: 872.98px) { 
    .drag-and-drop-grid-container {
        grid-template-columns: repeat(3, 140px); /* Adjust the number of columns and the width as needed */
        grid-gap: 5px;
        max-width: calc((3 * 140px) + 2 * 5px + 2px); /* (total col/item in row * item size) + total grid-gap * grid-gap + extra pixel to see border */
        border: 1px solid grey;
    }

    .product-cube {
        width: 130px;
        height: 130px;
    }
    
    .droppable {
        width: 140px;
        height: 140px;
    }
}

#transaction-detail-table {
    border: 1px solid #ced4da;
}

#transaction-detail-table>:not(caption)>*>* {
    padding: 8px;
}