body {
    min-height: 100vh;
    background-color: #f4f6f9;
}

/* ================= Sidebar ================= */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: #212529;
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar.collapsed {
    width: 70px;
}

/* Sidebar header & logo */
.sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-logo {
    max-width: 220px !important;
    max-height: 100px;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-logo {
    max-width: 35px;
}

/* Sidebar links */
.sidebar a {
    color: #adb5bd;
    text-decoration: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.sidebar a i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    font-size: 15px;
}

/* Hide text & arrow when collapsed */
.sidebar.collapsed a span,
.sidebar.collapsed .fa-chevron-down {
    display: none;
}

/* Hover & active */
.sidebar a:hover,
.sidebar a.active {
    background: #0d6efd;
    color: #fff;
}

/* Sidebar submenu */
.sidebar-submenu {
    padding: 10px 20px 10px 55px;
    font-size: 14px;
    color: #adb5bd;
    display: flex;
    align-items: center;
    background: #1c1f23;
}

.sidebar-submenu i {
    width: 20px;
    margin-right: 10px;
}

.sidebar-submenu:hover,
.sidebar-submenu.active {
    background: #0d6efd;
    color: #fff;
}

/* Sidebar divider */
.sidebar>a {
    border-bottom: 1px solid #686a6b;
}

/* Dropdown arrow animation */
.sidebar .fa-chevron-down {
    transition: transform 0.3s ease;
}

a[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

/* ================= Content ================= */
.content {
    flex: 1;
}

.navbar {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
}

/* ================= User Page ================= */

/* DATATABLE TOP CONTROLS  */
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
    margin-bottom: 1rem;
}

/* SEARCH (Right side) */
.dataTables_wrapper .dataTables_filter {
    float: right;
}

.dataTables_wrapper .dataTables_filter label {
    position: relative;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    padding: 6px 12px 6px 36px;
    border: 1px solid #dee2e6;
    outline: none;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.dataTables_wrapper .dataTables_filter label::before {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #6c757d;
}

/* SHOW ENTRIES (Left side) */
.dataTables_wrapper .dataTables_length {
    float: left;
}

.dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #dee2e6;
}

/* Clear floats */
.dataTables_wrapper::after {
    content: "";
    display: block;
    clear: both;
}

/* Pagination Button */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: .15em 0.6em;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 10px;
}

#listTable_paginate {
    padding-top: 10px;
}

/* Tables Style  */
table thead tr th {
    text-align: center;

}

/* Progress Steyle */
.progress {
    height: 22px;
    border-radius: 6px;
}

.progress-bar {
    font-weight: 600;
}

/* Batch Feedback */
.rating-stars i {
    font-size: 20px;
    cursor: pointer;
    color: #ddd;
}

.rating-stars i.active {
    color: #ffc107;
}



/* ghjkkjh */
/* =========================================================
   GLOBAL DYNAMIC THEME
========================================================= */

:root {
    --theme-primary: #2563eb;
    --theme-primary-rgb: 37, 99, 235;

    --theme-primary-light: rgba(var(--theme-primary-rgb), 0.08);
    --theme-primary-soft: rgba(var(--theme-primary-rgb), 0.12);
    --theme-primary-border: rgba(var(--theme-primary-rgb), 0.25);

    --theme-text: #1f2937;
}


/* =========================================================
   NAVBAR
========================================================= */

.theme-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
}


/* Sidebar toggle */

.theme-toggle-btn {
    border: 1px solid var(--theme-primary) !important;
    color: var(--theme-primary) !important;
    background: transparent;
}

.theme-toggle-btn:hover {
    background: var(--theme-primary) !important;
    color: #ffffff !important;
}


/* Theme button */

.theme-color-btn {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--theme-primary-border) !important;

    color: var(--theme-primary) !important;

    background: var(--theme-primary-light) !important;

    border-radius: 8px;
}

.theme-color-btn:hover {
    background: var(--theme-primary) !important;
    color: #ffffff !important;
}


/* User */

.theme-user-menu {
    color: #374151 !important;
}

.theme-user-menu:hover {
    color: var(--theme-primary) !important;
}


/* =========================================================
   THEME DROPDOWN
========================================================= */

.theme-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;

    filter: brightness(.90);
}


/* =========================================================
   OUTLINE PRIMARY
========================================================= */

.btn-outline-primary {
    color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar a:hover,
.sidebar a.active {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

.sidebar-submenu:hover,
.sidebar-submenu.active {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
}


/* Sidebar icons */

.sidebar a i {
    color: var(--theme-primary);
}

.sidebar a:hover i,
.sidebar a.active i,
.sidebar-submenu:hover i,
.sidebar-submenu.active i {
    color: #ffffff !important;
}


/* =========================================================
   LINKS
========================================================= */

a {
    color: var(--theme-primary);
}

a:hover {
    color: var(--theme-primary);
}


/* =========================================================
   TEXT
========================================================= */

.text-primary {
    color: var(--theme-primary) !important;
}


/* =========================================================
   FORM
========================================================= */

.form-control:focus,
.form-select:focus {
    border-color: var(--theme-primary) !important;

    box-shadow:
        0 0 0 0.2rem var(--theme-primary-soft) !important;
}


/* =========================================================
   CHECKBOX
========================================================= */

.form-check-input:checked {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}


/* =========================================================
   TABLE
========================================================= */

.table-hover>tbody>tr:hover>* {
    --bs-table-hover-bg: var(--theme-primary-light);
}


/* =========================================================
   PAGINATION
========================================================= */

.page-item.active .page-link {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

.page-link {
    color: var(--theme-primary) !important;
}

.page-link:hover {
    background-color: var(--theme-primary-light) !important;
    color: var(--theme-primary) !important;
}


/* =========================================================
   DATATABLE
========================================================= */

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--theme-primary) !important;

    box-shadow:
        0 0 0 0.15rem var(--theme-primary-soft) !important;
}


/* =========================================================
   PROGRESS
========================================================= */

.progress-bar {
    background-color: var(--theme-primary) !important;
}


/* =========================================================
   BADGES
========================================================= */

.badge-theme {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
}


/* =========================================================
   BORDER
========================================================= */

.border-primary {
    border-color: var(--theme-primary) !important;
}


/* =========================================================
   THEME UTILITIES
========================================================= */

.theme-bg {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

.theme-bg-light {
    background-color: var(--theme-primary-light) !important;
}

.theme-border {
    border-color: var(--theme-primary) !important;
}

.icon-primary {
    color: var(--theme-primary) !important;
}