.lh-2 {
    line-height: 2;
}

form.remote-submit {
    --bs-submit-color: var(--bs-primary);
    --bs-submit-bg-rgb: var(--bs-light-rgb);
    --bs-submit-bg-image: none;
    --bs-submit-text: "Processing";

    position: relative;
}

form.remote-submit::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--bs-submit-bg-rgb), 0.5);
    z-index: 9999990;
}

form.remote-submit::after {
    content: var(--bs-submit-text);
    display: inline-block;
    min-height: 50px;
    min-width: 50px;
    position: absolute;
    background: transparent var(--bs-submit-bg-image) center center;
    background-size: 50%;
    background-repeat: no-repeat;
    top: 2.5rem;
    left: 50%;
    color: var(--bs-submit-color);
    font-weight: 600;
    transform: translateX(-50%);
    opacity: 0.5;
    animation: form-submitting 1s infinite;
    z-index: 9999999;
}

form.remote-submit:not(.submitting)::before,
form.remote-submit:not(.submitting)::after {
    display: none;
}

@keyframes form-submitting {
    50% {
        opacity: 1;
        background-size: 70%;
    }
}

div.dataTables_wrapper {
    position: relative;
}

div.dataTables_wrapper div.dataTables_processing {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 1rem;
    background-color: rgba(var(--bs-white-rgb), 0.1);
    z-index: 10;
}

div.dataTables_wrapper div.dataTables_info {
    font-size: 0.9rem;
}

div.dataTables_wrapper .pagination {
    --bs-pagination-padding-x: 0.5rem;
    --bs-pagination-padding-y: 0.25rem;
    --bs-pagination-font-size: 0.9rem;
    --bs-pagination-border-radius: 0.2rem;
}

.card > .card-body div.dataTables_wrapper div.dataTables_info,
.card > .card-body div.dataTables_wrapper div.dataTables_paginate {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.table-responsive > table.dataTable {
    margin-top: 0 !important;
    min-width: 100% !important;
}

.modal {
    --bs-modal-header-padding: 0.5rem 1rem;
}

.modal .modal-footer {
    padding: var(--bs-modal-header-padding);
}

.navbar .dropdown-menu {
    font-size: 0.9rem;
}

.cursor-pointer {
    cursor: pointer !important;
}
