.actionsnippet {
    width: 200px;
    height: 41px;
    margin: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px 0 10px;
    border-radius: 5px;
    background-color: var(--dm-input-file-button-bg-color);
}

.actionsnippet-title {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.actionsnippet .btn {
    width: 25px;
    height: 25px;
}

.truncated-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#loader {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}
  
.spinner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top-color: #777;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}
  
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal.show .modal-content .close {
    font-size: 30px;
}

.modal.show .modal-content .close span {
    display: inline-block;
    margin-bottom: 6px;
}

.loading {
    opacity: 0.5;
    min-width: 40px;
    min-height: 40px;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top-color: #777;
    border-radius: 50%;
    left: calc(50% - 20px);
    animation: spin 1s ease-in-out infinite;
}

.noEvents {
    pointer-events: none;
}

#page-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

input[type="number"] {
    min-width: 55px;
}

.inline-fa {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
    color: rgb(255 255 255 / 61%);
}

.inline-fa::after {
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-weight: 400;
    transition-delay: .0s!important;
}

table.filter tr {
    border: 0px!important;
}

table.filter tr th {
    padding-top: 2px;
    padding-bottom: 2px;
}

table.filter tbody tr td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 13px;
}

.center {
    text-align: center;
}

.blocked {
    position: relative
}

.blocked:after {
    content: attr(data-blocktext);
    width: 100%;
    height: 100%;
    font-size: var(--card-title-font-size);
    padding: var(--tooltip-padding);
    background-color: #000000ba;
    border-radius: var(--base-border-radius);
    position: absolute;
    z-index: 90;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-responsive {
    overflow-x: auto;
}

/* CSS for mobile screens */
@media (max-width: 767px) {
    .table-responsive {
        width: 100%;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    table.table-responsive {
        width: 100%;
        display: block;
    }

    table.table-responsive tbody {
        width: 100%;
        display: block;
    }

    table.table-responsive thead {
        display: none;
    }

    table.table-responsive tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ddd;
    }

    table.table-responsive td,
    table.table-responsive th {
        display: block;
        padding: 6px 10px;
        text-align: right;
    }

    table.table-responsive td * {
        text-align: left;
    }

    table.table-responsive td .custom-checkbox {
        display: inline-block;
    }

    table.table-responsive td:before,
    table.table-responsive th:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    table.table-responsive tfoot tr {
        display: none;
    }
}