html {
    font-size: 14px;
}
body[dir="ltr"]{
    text-align: left !important;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@font-face {
    font-family: 'Tajawal';
    src: url('/fonts/Tajawal/Tajawal-Regular.ttf')format('truetype');
}

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem;
    }

    .secondary-color {
        background-color: #3ec65b;
        color: white
    }

    @media screen and (min-width: 1500px) {
        .input-amount {
            width: 130px !important;
        }

        .shortdesc {
            width: 250px !important
        }

        .input-taxAmount {
            width: 80px;
        }

        .input-product {
            min-width: 235px;
        }

        tbody i {
            font-size: 20px;
        }
    }

    .card-header {
        background-color: aliceblue !important
    }
    /*html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Nunito', sans-serif !important;
}*/
    .titleColor {
        color: #3e5ec6 !important;
    }

.table-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.colvis-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    color: #555;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .colvis-btn:hover {
        background: rgba(0, 123, 255, 0.12);
        color: #0d6efd;
    }

    .colvis-btn:focus {
        outline: none;
        box-shadow: none;
    }

.topbar-search {
    flex: 1;
    display: flex;
    align-items: center;
}

.topbar-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.dataTables_length {
    margin-top: 8px;
}
.bottom-area {
    display: flex;
    justify-content:space-between;
    flex-direction: row-reverse;
}

.dataTables_length label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
}

.dataTables_length label select {
    min-width: 90px;
    height: 40px;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    background: #fff !important;
    padding: 0 12px !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.dataTables_length label select:hover {
    border-color: #3b82f6;
}

.dataTables_length label select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

    .select2-container, .select2-selection__rendered {
        font-size: 12px !important
    }

    #entryTable tr td input, textarea {
        font-size: 12px !important
    }

    .dataTables_wrapper .row:first-child {
        direction: ltr !important
    }

    body[dir='rtl'] .dataTable thead tr:first-child th:first-child {
        border-top-right-radius: 20px;
    }

    body[dir='ltr'] .dataTable thead tr:first-child th:first-child {
        border-top-left-radius: 20px;
    }

    body[dir='rtl'] .dataTable thead tr:first-child th:last-child {
        border-top-left-radius: 20px;
    }

    body[dir='ltr'] .dataTable thead tr:first-child th:last-child {
        border-top-right-radius: 20px;
    }

    .page-item {
        border: unset;
        padding: 0 !important;
        border-radius: 4px;
        background: unset !important;
    }

    .paginate_button:hover {
        border-color: #007bff00 !important;
    }

    .page-item.active .page-link {
        border: unset;
        background-color: #007bff !important;
        border-color: #007bff !important;
    }

    .page-link {
        background-color: #e8e8e8 !important;
        border: unset;
        border-radius: 4px;
        padding: .5rem 1rem !important;
    }

        .page-link:hover {
            background-color: #007bff !important;
            color: #fff !important
        }

    .ui-datepicker-trigger {
        position: absolute !important;
        right: 18px !important;
        top: 11px !important;
    }

    .hasDatepicker {
        padding: .75rem 2rem !important;
    }

    .submenu, .sub-submenu {
        padding: 0 !important
    }

.float-right {
    float: inline-end !important;
}
.float-left {
    float: inline-start !important;
}
select[name="single-column-search_length"] {
    width: 50px !important;
    display: inline !important;
}
.bs-tooltip:hover {
    box-shadow: 0px 0px 10px 4px #2262c6;
    padding: 2px;
    border-radius: 5px;
}

/* Remove/hide the DataTables search label text and keep only the input */
.dataTables_filter label {
    font-size: 0 !important;
    color: transparent !important;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
}

.dataTables_filter label input {
    font-size: 14px !important;
    color: #3b3f5c !important;
    display: inline-block !important;
    height: 40px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    background-color: #fff !important;
    width: 250px !important;
    transition: all .25s ease !important;
}

.dataTables_filter label input:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59,130,246,.15) !important;
}

/* Ensure placeholder and input text direction & alignment behave correctly in RTL and LTR */
body[dir="rtl"] .dataTables_filter input[type="search"] {
    direction: rtl !important;
    text-align: right !important;
}
body[dir="rtl"] .dataTables_filter input[type="search"]::placeholder {
    direction: rtl !important;
    text-align: right !important;
}
body[dir="rtl"] .dataTables_filter input[type="search"]::-webkit-input-placeholder {
    direction: rtl !important;
    text-align: right !important;
}
body[dir="rtl"] .dataTables_filter input[type="search"]::-moz-placeholder {
    direction: rtl !important;
    text-align: right !important;
}
body[dir="rtl"] .dataTables_filter input[type="search"]:-ms-input-placeholder {
    direction: rtl !important;
    text-align: right !important;
}

body[dir="ltr"] .dataTables_filter input[type="search"] {
    direction: ltr !important;
    text-align: left !important;
}
body[dir="ltr"] .dataTables_filter input[type="search"]::placeholder {
    direction: ltr !important;
    text-align: left !important;
}
body[dir="ltr"] .dataTables_filter input[type="search"]::-webkit-input-placeholder {
    direction: ltr !important;
    text-align: left !important;
}
body[dir="ltr"] .dataTables_filter input[type="search"]::-moz-placeholder {
    direction: ltr !important;
    text-align: left !important;
}
body[dir="ltr"] .dataTables_filter input[type="search"]:-ms-input-placeholder {
    direction: ltr !important;
    text-align: left !important;
}