.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #dee2e6;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #dee2e6;
}

.select2 {
    max-width: 100%;
    width: 100%;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    /* background-image: none; */
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.select2-container--open {
    z-index: 9999;
}
.searchable-fields {
    padding-left: 5px;
}
.searchable-link {
    padding: 0 5px 0 5px;
}
.searchable-link:hover {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.dataTables_length label select {
    width: 65px !important;
}

div.dt-button-collection {
    padding: 0;
}

.buttons-columnVisibility {
    display: block;
}

.buttons-columnVisibility.active {
    background-color: rgba(128, 128, 128, 0.1);
    font-weight: bolder;
}

.row-bg-danger {
    background-color: rgb(255, 76, 76, 0.25) !important;
}
.row-bg-success {
    background-color: rgba(22, 255, 26, 0.25) !important;
}
.row-bg-warning {
    background-color: rgba(255, 255, 13, 0.25) !important;
}
.row-bg-info {
    background-color: rgba(62, 174, 255, 0.25) !important;
}
.row-bg-pink {
    background-color: rgba(255, 105, 180, 0.25) !important;
}

.bg-success-light {
    background-color: rgba(22, 255, 26, 0.3) !important;
}
.bg-danger-light {
    background-color: rgb(255, 76, 76, 0.3) !important;
}

/* GENERETED BY DEEPSEEK AFTER DECIDING ON V2 */
/* #navbar {
    display: flex !important;
}

#sidebar {
    display: none;
}

@media (min-width: 993px) {
    #sidebar {
        display: block;
    }
}

.main-tag {
    transition: margin 0.3s ease;
}

@media (min-width: 993px) {
    #navbar {
        display: none !important;
    }

    #sidebar {
        display: block !important;
    }
}

@media (max-width: 992px) {
    #navbar {
        display: flex !important;
    }

    #sidebar {
        display: none;
    }

    #sidebar.collapse.show {
        display: block !important;
    }
}
.main-tag {
    min-height: 100vh;
    transition: margin 0.3s ease;
}

@media (min-width: 993px) {
    .main-tag {
        margin-left: var(--sidebar-width);
    }

    #navbar {
        display: none !important;
    }
}

@media (min-width: 993px) {
    #navbar {
        display: none !important;
    }
}

#navbarClose {
    display: none;
}

#navbarHamburger {
    display: inline-block;
} */

#navbar {
    display: flex !important;
}

#sidebar {
    display: none;
}

#sidebar.show {
    display: block !important;
}

/* Hide guest navbar items on mobile */
@media (max-width: 992px) {
    #navbar-items-guest {
        display: none !important;
    }

    #sidebar.collapse.show {
        display: block !important;
    }

    .main-tag {
        margin-left: 0 !important;
    }

    #footer {
        padding-left: 0 !important;
    }

    .d-none.d-flex {
        display: flex !important;
    }
}

/* Desktop styles */
@media (min-width: 993px) {
    body.authenticated #navbar {
        display: none !important;
    }

    body.authenticated #sidebar {
        display: block !important;
    }

    body.authenticated .main-tag {
        margin-left: var(--sidebar-width);
    }

    body.authenticated #footer {
        padding-left: var(--sidebar-width);
    }

    body:not(.authenticated) #navbar {
        display: flex !important;
    }

    #navbar-items-guest {
        display: flex !important;
        justify-content: flex-end;
    }

    .d-none.d-flex {
        display: none !important;
    }
}

#navbarClose {
    display: none;
}

#navbarHamburger {
    display: inline-block;
}

.border-left-0 {
    border-left: 0 !important;
}

.border-right-0 {
    border-right: 0 !important;
}

.border-left-radius-0 {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.border-right-radius-0 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

