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

.datatable {
    width: 100% !important;
}

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

/* Enhanced Sidebar Styling */
.sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2a38 100%);
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
}

.sidebar .sidebar-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .nav {
    margin-top: 10px;
}

.sidebar .nav-item {
    margin-bottom: 5px;
    border-radius: 5px;
    overflow: hidden;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.sidebar .nav-link.active {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.sidebar .nav-link .nav-icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 1.1em;
}

.sidebar .nav-dropdown-toggle::after {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .nav-dropdown.open > .nav-dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

.sidebar .nav-dropdown-items {
    padding-left: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-left: 3px solid rgba(52, 152, 219, 0.5);
    margin-left: 15px;
    border-radius: 0 0 5px 5px;
}

.sidebar .nav-dropdown-items .nav-link {
    padding: 10px 15px;
    font-size: 0.95em;
}

/* Category Icons with Custom Colors */
.sidebar .nav-icon.fa-tachometer-alt {
    color: #3498db;
}

.sidebar .nav-icon.fa-users {
    color: #9b59b6;
}

.sidebar .nav-icon.fa-list {
    color: #f1c40f;
}

.sidebar .nav-icon.fa-arrow-circle-right {
    color: #2ecc71;
}

.sidebar .nav-icon.fa-paw {
    color: #e67e22;
}

.sidebar .nav-icon.fa-chart-bar,
.sidebar .nav-icon.fa-chart-line,
.sidebar .nav-icon.fa-chart-pie {
    color: #1abc9c;
}

.sidebar .nav-icon.fa-utensils {
    color: #e74c3c;
}

.sidebar .nav-icon.fa-sign-out-alt {
    color: #95a5a6;
}

/* Brand styling */
.app-header .navbar-brand {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Navbar styling */
.app-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Improve sidebar minimizer */
.sidebar-minimizer {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-minimizer:hover {
    background: rgba(0, 0, 0, 0.3);
}
