.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;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.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 #c8ced3;
}

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

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

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

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

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

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

.searchable-title {
    font-weight: bold;
}
.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;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

/* Login Page Styles */
.login-container {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background-color: #f8f9fa;
}

.login-container .row {
    height: 100vh;
    max-height: 100vh;
}

.login-image-section {
    background: url('/lab.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    max-height: 100vh;
}

.login-form-section {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
}

.center-content {
    text-align: center;
}

/* Login Form Input Styles */
.login-form-section .input-group {
    margin-bottom: 1rem;
}

.login-form-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #6c757d;
    padding: 0.375rem 0.75rem;
}

.login-form-section .form-control {
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.login-form-section .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.login-form-section .btn {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.login-form-section .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.login-form-section .btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.login-form-section .btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.login-form-section .btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.login-form-section .btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}

.login-form-section .btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.login-form-section .form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.login-form-section .form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.login-form-section .form-check-label {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-image-section {
        display: none;
    }

    .login-form-section {
        padding: 1rem;
    }

    .login-image-content h2 {
        font-size: 2rem;
    }

    .login-logo {
        width: 120px;
    }

}
