@import url('https://fonts.googleapis.com/css2?family=Chonburi&family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "IBM Plex Sans Thai", sans-serif;
    background: #ffffff;
    color: #1f2937;
}

:root {
    --header-h: 50px;
    --toolbar-h: 46px;
    --sidebar-w: 230px;
    --g9s-content-bottom-gap: 72px;

    --g9s-bg: #f8fafc;
    --g9s-surface: #ffffff;
    --g9s-surface-2: #fcfdff;
    --g9s-surface-3: #f4f7fb;

    --g9s-border: #e5eaf1;
    --g9s-border-soft: #eef2f6;

    --g9s-text: #1f2937;
    --g9s-text-soft: #667085;
    --g9s-text-faint: #98a2b3;

    --g9s-brand: #14b8a6;
    --g9s-brand-deep: #0f8f82;
    --g9s-brand-dark: #0a6f65;
    --g9s-brand-soft: #eafaf7;

    --g9s-accent: #d6b370;
    --g9s-accent-soft: #fcf6ea;

    --g9s-sidebar-top: #111827;
    --g9s-sidebar-mid: #162033;
    --g9s-sidebar-bottom: #1b2638;

    --g9s-sidebar-line: rgba(255,255,255,.06);
    --g9s-sidebar-text: rgba(255,255,255,.95);
    --g9s-sidebar-text-soft: rgba(255,255,255,.72);
    --g9s-sidebar-text-faint: rgba(255,255,255,.50);

    --g9s-sidebar-hover: rgba(255,255,255,.05);
    --g9s-sidebar-open: rgba(255,255,255,.03);
    --g9s-sidebar-active: linear-gradient(90deg, #16b3a3 0%, #109789 100%);
    --g9s-sidebar-active-shadow: 0 8px 18px rgba(0,0,0,.18);

    --g9s-header-start: #111827;
    --g9s-header-end: #1a2332;

    --g9s-footer-top: #16202f;
    --g9s-footer-bottom: #1b2636;
    --g9s-footer-text: rgba(255,255,255,.90);
    --g9s-footer-text-soft: rgba(255,255,255,.72);
    --g9s-footer-border: rgba(255,255,255,.06);

    --g9s-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
    --g9s-shadow-sm: 0 8px 24px rgba(16, 24, 40, 0.05);
    --g9s-shadow-md: 0 16px 36px rgba(16, 24, 40, 0.08);
    --g9s-shadow-toolbar: 0 8px 20px rgba(16, 24, 40, 0.04);

    --g9s-radius-sm: 10px;
    --g9s-radius-md: 14px;
    --g9s-radius-lg: 18px;
    --g9s-radius-xl: 20px;

    --g9s-scrollbar-size: 5px;
    --g9s-scrollbar-track: transparent;
    --g9s-scrollbar-thumb: rgba(120, 132, 143, .28);
    --g9s-scrollbar-thumb-hover: rgba(120, 132, 143, .48);
}

html,
body {
    height: 99%;
    min-height: 99vh;
    background: #ffffff !important;
    scrollbar-width: thin;
    scrollbar-color: var(--g9s-scrollbar-thumb) var(--g9s-scrollbar-track);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: var(--g9s-scrollbar-size);
    height: var(--g9s-scrollbar-size);
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--g9s-scrollbar-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--g9s-scrollbar-thumb);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--g9s-scrollbar-thumb-hover);
}

.wrapper {
    min-height: 99vh;
    overflow: hidden !important;
    background: #ffffff !important;
}

.content-wrapper,
.right-side {
    background: #ffffff !important;
}

a {
    transition: all .18s ease;
}

.main-header .navbar {
    background: linear-gradient(90deg, var(--g9s-header-start) 0%, var(--g9s-header-end) 100%) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.main-header .logo {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: .35px;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.06);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 14px !important;
    overflow: hidden;
}

.main-header .logo:hover {
    background: #0b1324 !important;
    color: #ffffff !important;
}

.main-header .logo img {
    max-height: 32px;
    width: auto;
    display: block;
}

.main-header .navbar .nav > li > a,
.main-header .navbar .sidebar-toggle {
    color: rgba(255,255,255,.96) !important;
}

.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:focus,
.main-header .navbar .nav .open > a,
.main-header .navbar .nav .open > a:hover,
.main-header .navbar .nav .open > a:focus,
.main-header .navbar .nav > .active > a,
.main-header .navbar .sidebar-toggle:hover {
    background: rgba(255,255,255,.08) !important;
    color: #ffffff !important;
}

.custom-toolbar-wrapper {
    position: relative;
    display: block;
    background: #ffffff;
    border-bottom: 1px solid var(--g9s-border);
    box-shadow: none;
}

.custom-toolbar-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
    border-bottom: 1px solid #e9eef4;
    padding: 0 10px;
    min-height: 46px;
}

.toolbar-header {
    display: block;
    height: auto;
    min-height: 46px;
}

.custom-toolbar-tabs {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d6dde6 transparent;
    padding: 6px 0;
    list-style: none;
    font-size: 11px;
    margin: 0;
    gap: 6px;
}

.custom-toolbar-tabs li {
    flex: 0 0 auto;
    margin-right: 0;
}

.custom-toolbar-tabs li a {
    display: block;
    padding: 7px 14px 7px;
    color: var(--g9s-text-soft);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    background: transparent;
    border: 1px solid transparent;
}

.custom-toolbar-tabs li a:hover {
    background: #f3faf8;
    color: var(--g9s-brand-deep);
    border-color: #dceeea;
}

.custom-toolbar-tabs li.active a {
    background: #edf9f7;
    color: var(--g9s-brand-deep);
    border: 1px solid #d8eeea;
    box-shadow: none;
    font-weight: 700;
}

.custom-toolbar-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.custom-toolbar-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #dbe7ee;
    border-radius: 999px;
    background: #ffffff;
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all .18s ease;
}

.custom-toolbar-toggle-btn:hover {
    background: #f6fbfa;
    color: var(--g9s-brand-deep);
    border-color: #cfe8e3;
}

.custom-toolbar-toggle-btn .toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
}

.custom-toolbar-toggle-btn .toggle-text-collapse {
    display: none;
}

.custom-toolbar-wrapper.is-collapsed .custom-toolbar-toggle-btn .toggle-text-expand {
    display: none;
}

.custom-toolbar-wrapper.is-collapsed .custom-toolbar-toggle-btn .toggle-text-collapse {
    display: inline;
}

.custom-toolbar-wrapper.is-collapsed .custom-toolbar-toggle-btn .toggle-icon i {
    transform: rotate(180deg);
}

.custom-toolbar-toggle-btn .toggle-icon i {
    transition: transform .18s ease;
}

.custom-toolbar-content {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px 12px 10px;
    background: transparent;
    max-height: 999px;
    opacity: 1;
    transition: max-height .22s ease, opacity .16s ease, padding .18s ease;
}

.custom-toolbar-content:empty {
    display: none !important;
    padding: 0 !important;
    max-height: 0 !important;
}

.custom-toolbar-wrapper.is-collapsed .custom-toolbar-content {
    display: none;
}

.toolbar-group {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 10px 10px 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    margin-right: 10px;
    min-height: 82px;
}

.group-title {
    font-weight: 800;
    margin-bottom: 6px;
    text-align: center;
    font-size: 13px;
    color: #273444;
    line-height: 1.2;
}

.group-icons a {
    display: block;
    float: left;
    width: 78px;
    text-align: center;
    margin: 0 4px 0;
    color: var(--g9s-text-soft);
    text-decoration: none;
    font-size: 10.5px;
    border-radius: 12px;
    padding: 6px 4px;
    transition: all .16s ease;
}

.group-icons a:hover {
    background: #f4faf8;
    color: var(--g9s-brand-deep);
    transform: translateY(-1px);
}

.group-icons a img {
    display: block;
    margin: 0 auto 4px;
    width: 33px;
    height: 33px;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.toolbar-panel {
    display: inline-block;
    min-width: max-content;
    vertical-align: top;
    display: none;
}

.toolbar-panel-none {
    display: none;
}

.toolbar-panel.active {
    display: block;
}

.toolbar-panel .group-icons a.is-active,
.toolbar-panel .group-icons a.is-active:hover,
.toolbar-panel .group-icons a.is-active:focus {
    background: #eafaf7;
    border-radius: 12px;
    color: var(--g9s-brand-deep);
}

.toolbar-panel .group-icons a.is-active span,
.toolbar-panel .group-icons a.is-active:hover span,
.toolbar-panel .group-icons a.is-active:focus span {
    color: var(--g9s-brand-deep);
    font-weight: 700;
}

.toolbar-panel .group-icons a.is-active img,
.toolbar-panel .group-icons a.is-active:hover img,
.toolbar-panel .group-icons a.is-active:focus img {
    transform: scale(1.02);
}

.main-sidebar,
.left-side {
    background: linear-gradient(180deg, var(--g9s-sidebar-top) 0%, var(--g9s-sidebar-mid) 52%, var(--g9s-sidebar-bottom) 100%) !important;
    box-shadow: inset -1px 0 0 var(--g9s-sidebar-line), 8px 0 18px rgba(2, 6, 23, .08);
    overflow: hidden !important;
}

.g9s-sidebar-brand {
    padding: 8px 10px 4px;
    border-bottom: 0 !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g9s-sidebar-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    overflow: hidden !important;
    text-align: center !important;
}

.g9s-sidebar-brand-link:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.g9s-sidebar-brand-logo {
    display: block;
    width: 100%;
    max-width: 160px !important;
    height: 55px !important;
    min-width: 0;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain;
    object-position: center center;
    transform: none !important;
    padding-top: 10px;
}

.g9s-sidebar-brand-text {
    display: none !important;
}

.g9s-sidebar-brand-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .2px;
    margin-bottom: 3px;
}

.g9s-sidebar-brand-subtitle {
    color: rgba(255,255,255,.68);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    white-space: normal;
}

.sidebar {
    padding-top: 8px;
}

.sidebar a {
    color: var(--g9s-sidebar-text) !important;
}

.sidebar-menu {
    padding: 0 10px 0px;
}

.sidebar-menu > li {
    margin-bottom: 4px;
}

.sidebar-menu > li > a {
    margin: 0 !important;
    border-left: 0 !important;
    border-radius: 14px;
    padding: 11px 14px !important;
    font-weight: 600;
    font-size: 13px;
    color: var(--g9s-sidebar-text) !important;
    background: transparent !important;
}

.sidebar-menu > li > a > .fa,
.sidebar-menu > li > a > .glyphicon,
.sidebar-menu > li > a > .ion {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    color: rgba(255,255,255,.88) !important;
}

.sidebar-menu > li > a > .pull-right-container {
    right: 12px;
}

.sidebar-menu > li:hover > a {
    background: var(--g9s-sidebar-hover) !important;
    color: #ffffff !important;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li.menu-open > a {
    background: var(--g9s-sidebar-active) !important;
    color: #ffffff !important;
    box-shadow: var(--g9s-sidebar-active-shadow);
}

.sidebar-menu > li.active > a > .fa,
.sidebar-menu > li.menu-open > a > .fa,
.sidebar-menu > li.active > a > .glyphicon,
.sidebar-menu > li.menu-open > a > .glyphicon,
.sidebar-menu > li.active > a > .ion,
.sidebar-menu > li.menu-open > a > .ion {
    color: #ffffff !important;
}

.sidebar-menu > li > .treeview-menu {
    margin: 8px 0 10px 0 !important;
    background: transparent !important;
}

.treeview-menu > li {
    margin-bottom: 3px;
}

.treeview-menu > li > a {
    margin: 0 !important;
    border-radius: 10px;
    color: var(--g9s-sidebar-text-soft) !important;
    font-size: 12px;
    padding: 10px 14px 10px 7px !important;
    background: transparent !important;
    font-weight: 500;
}

.treeview-menu > li > a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.04) !important;
}

.treeview-menu > li.active > a {
    color: #ffffff !important;
    background: rgba(255,255,255,.08) !important;
    box-shadow: inset 2px 0 0 rgba(255,255,255,.16);
}

.sidebar-form {
    display: block;
    box-sizing: border-box;
    background: rgba(255,255,255,.04) !important;
    border-radius: 14px !important;
    overflow: visible !important;
    margin: 12px 12px 16px !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 200 !important;
}

.sidebar-form .input-group {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    position: relative !important;
    overflow: hidden !important;
    z-index: 201 !important;
    border-radius: 14px !important;
    background: transparent !important;
}

.sidebar-form input[type="text"],
.sidebar-form .form-control {
    display: block;
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    height: 38px;
    font-size: 13px;
    padding: 0 14px !important;
    border-radius: 14px 0 0 14px !important;
    outline: 0 !important;
}

.sidebar-form input[type="text"]:focus,
.sidebar-form .form-control:focus,
.sidebar-form input[type="text"]:active,
.sidebar-form .form-control:active {
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.sidebar-form .btn,
.sidebar-form button,
.sidebar-form .input-group-btn {
    margin: 0 !important;
}

.sidebar-form .input-group-btn {
    display: flex !important;
    align-items: stretch !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sidebar-form .btn,
.sidebar-form button,
.sidebar-form .input-group-btn > .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 14px 14px 0 !important;
    outline: 0 !important;
}

.sidebar-form .btn:hover,
.sidebar-form .btn:focus,
.sidebar-form .btn:active,
.sidebar-form button:hover,
.sidebar-form button:focus,
.sidebar-form button:active,
.sidebar-form .input-group-btn > .btn:hover,
.sidebar-form .input-group-btn > .btn:focus,
.sidebar-form .input-group-btn > .btn:active {
    background: rgba(255,255,255,.05) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.sidebar-form input[type="text"]::placeholder,
.sidebar-form .form-control::placeholder {
    color: rgba(255,255,255,.60);
}

.content-wrapper,
.content-wrapper *,
.right-side,
.right-side *,
.tab-content,
.tab-content *,
.box,
.box *,
.panel,
.panel *,
.card,
.card *,
.small-box,
.small-box *,
.info-box,
.info-box *,
.nav-tabs > li > a,
.tab-pane,
.tab-pane * {
    color: inherit;
}

.content-wrapper,
.right-side,
.tab-content,
.tab-pane,
.box,
.panel,
.card,
.small-box,
.info-box,
.content-header,
.breadcrumb,
.nav-tabs > li > a,
.table,
.el-table,
.el-table th,
.el-table td,
.el-table__body td,
.el-table__header th,
.form-group label,
.control-label,
.help-block,
.text-muted,
.small-box h3,
.small-box p,
.info-box-text,
.info-box-number,
.content-wrapper span,
.content-wrapper div,
.content-wrapper p,
.content-wrapper strong,
.content-wrapper small,
.right-side span,
.right-side div,
.right-side p,
.right-side strong,
.right-side small {
    color: var(--g9s-text) !important;
}

.content-wrapper a,
.right-side a,
.tab-content a,
.box a,
.panel a,
.card a,
.small-box a,
.info-box a {
    color: var(--g9s-brand-deep) !important;
}

.content-wrapper a:hover,
.right-side a:hover,
.tab-content a:hover,
.box a:hover,
.panel a:hover,
.card a:hover,
.small-box a:hover,
.info-box a:hover {
    color: var(--g9s-brand) !important;
}

.content-wrapper.tab-content.tab-addtabs > .tab-pane {
    background: #ffffff;
    box-shadow: none;
    overflow: auto;
}

.box,
.panel,
.card {
    border-radius: 18px !important;
    border: 1px solid #e7edf3 !important;
    box-shadow: none !important;
    background: #ffffff !important;
}

.search-card,
.table-card,
.g9s-card,
.g9s-panel {
    background: #ffffff !important;
    border: 1px solid #e7edf3 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

.form-control,
.el-input__inner,
.el-textarea__inner,
.select2-container--default .select2-selection--single {
    border-radius: 12px !important;
    border: 1px solid #dbe3ec !important;
    background: #ffffff !important;
    color: var(--g9s-text) !important;
    box-shadow: none !important;
}

.form-control:focus,
.el-input__inner:focus,
.el-textarea__inner:focus {
    border-color: #7ad7cd !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,.10) !important;
}

.btn-primary,
.el-button--primary {
    background: linear-gradient(90deg, #15b5a4 0%, #109184 100%) !important;
    border-color: #109184 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.btn-primary:hover,
.el-button--primary:hover,
.btn-primary:focus,
.el-button--primary:focus {
    background: linear-gradient(90deg, #109b8d 0%, #0d7d72 100%) !important;
    border-color: #0d7d72 !important;
    color: #ffffff !important;
}

.btn-default,
.el-button--default {
    background: #ffffff !important;
    border: 1px solid #dbe3ec !important;
    color: #556274 !important;
    border-radius: 12px !important;
}

.btn-success {
    background: linear-gradient(90deg, #17b67f 0%, #20cb93 100%) !important;
    border-color: #17b67f !important;
    color: #ffffff !important;
    border-radius: 12px !important;
}

.table,
.el-table {
    color: var(--g9s-text) !important;
    background: #ffffff !important;
}

.table thead th,
.el-table th {
    background: #fafcff !important;
    color: #2b3645 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #e7edf3 !important;
}

.table td,
.el-table td,
.el-table__body td {
    background: #ffffff !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.table tbody tr:hover,
.el-table__body tr:hover > td {
    background: #f8fbfc !important;
}

.tab-addtabs .tab-pane {
    width: 100% !important;
}

.main-footer {
    background: transparent !important;
    border-top: 0 !important;
    padding-right: 0;
    padding-left: 0;
}

.main-footer .footer-center {
    background: linear-gradient(90deg, var(--g9s-footer-top) 0%, var(--g9s-footer-bottom) 100%);
    color: var(--g9s-footer-text) !important;
    font-size: 11px;
    line-height: 1.45;
    margin: 0;
    border: 1px solid var(--g9s-footer-border);
    text-align: center;
    padding-top: 6px;
    padding-bottom: 6px;
}

.g9s-footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 2px 14px;
}

.g9s-footer-brand-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    opacity: .96;
}

.g9s-footer-brand-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-footer .footer-center,
.main-footer .footer-center *,
.main-footer .footer-center a,
.main-footer .footer-center span,
.main-footer .footer-center div,
.main-footer .footer-center small,
.main-footer .footer-center strong {
    color: var(--g9s-footer-text) !important;
}

.main-footer .footer-center a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

body.fixed {
    overflow: hidden !important;
}

body.fixed .main-sidebar {
    height: calc(100vh - var(--header-h)) !important;
    overflow: hidden !important;
}

body.fixed .main-sidebar .sidebar {
    height: calc(100vh - var(--header-h)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 120px !important;
    box-sizing: border-box !important;
}

body.fixed .content-wrapper,
body.fixed .right-side {
    margin-top: 0 !important;
    height: calc(100vh - var(--header-h) - var(--toolbar-h)) !important;
    min-height: calc(100vh - var(--header-h) - var(--toolbar-h)) !important;
    max-height: calc(100vh - var(--header-h) - var(--toolbar-h)) !important;
    overflow: hidden !important;
}

body.fixed .main-footer,
body.fixed .control-sidebar-bg {
    margin-top: 0 !important;
}

body.fixed .content-wrapper > .tab-content,
body.fixed .right-side > .tab-content,
body.fixed .content-wrapper.tab-content.tab-addtabs {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane,
body.fixed .content-wrapper > .tab-content > .tab-pane,
body.fixed .right-side > .tab-content > .tab-pane {
    height: 99% !important;
    min-height: 99% !important;
    max-height: 99% !important;
    box-sizing: border-box !important;
    overflow-y: hidden !important;
    padding-bottom: var(--g9s-content-bottom-gap) !important;
}

body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane::after,
body.fixed .content-wrapper > .tab-content > .tab-pane::after,
body.fixed .right-side > .tab-content > .tab-pane::after {
    display: none !important;
    content: none !important;
}

html,
body,
.sidebar,
body.fixed .main-sidebar .sidebar,
.custom-toolbar-tabs-wrapper,
.custom-toolbar-tabs,
.custom-toolbar-content,
.el-table__body-wrapper,
.el-table__header-wrapper,
.el-table__fixed-body-wrapper,
.el-scrollbar__wrap,
.table-responsive,
.modal-body,
.dropdown-menu,
.pre-scrollable,
.select2-results__options,
body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane,
body.fixed .content-wrapper > .tab-content > .tab-pane,
body.fixed .right-side > .tab-content > .tab-pane {
    scrollbar-width: thin;
    scrollbar-color: var(--g9s-scrollbar-thumb) var(--g9s-scrollbar-track);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.sidebar::-webkit-scrollbar,
body.fixed .main-sidebar .sidebar::-webkit-scrollbar,
.custom-toolbar-tabs-wrapper::-webkit-scrollbar,
.custom-toolbar-tabs::-webkit-scrollbar,
.custom-toolbar-content::-webkit-scrollbar,
.el-table__body-wrapper::-webkit-scrollbar,
.el-table__header-wrapper::-webkit-scrollbar,
.el-table__fixed-body-wrapper::-webkit-scrollbar,
.el-scrollbar__wrap::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.pre-scrollable::-webkit-scrollbar,
.select2-results__options::-webkit-scrollbar,
body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane::-webkit-scrollbar,
body.fixed .content-wrapper > .tab-content > .tab-pane::-webkit-scrollbar,
body.fixed .right-side > .tab-content > .tab-pane::-webkit-scrollbar {
    width: var(--g9s-scrollbar-size);
    height: var(--g9s-scrollbar-size);
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track,
body.fixed .main-sidebar .sidebar::-webkit-scrollbar-track,
.custom-toolbar-tabs-wrapper::-webkit-scrollbar-track,
.custom-toolbar-tabs::-webkit-scrollbar-track,
.custom-toolbar-content::-webkit-scrollbar-track,
.el-table__body-wrapper::-webkit-scrollbar-track,
.el-table__header-wrapper::-webkit-scrollbar-track,
.el-table__fixed-body-wrapper::-webkit-scrollbar-track,
.el-scrollbar__wrap::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.dropdown-menu::-webkit-scrollbar-track,
.pre-scrollable::-webkit-scrollbar-track,
.select2-results__options::-webkit-scrollbar-track,
body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane::-webkit-scrollbar-track,
body.fixed .content-wrapper > .tab-content > .tab-pane::-webkit-scrollbar-track,
body.fixed .right-side > .tab-content > .tab-pane::-webkit-scrollbar-track {
    background: var(--g9s-scrollbar-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb,
body.fixed .main-sidebar .sidebar::-webkit-scrollbar-thumb,
.custom-toolbar-tabs-wrapper::-webkit-scrollbar-thumb,
.custom-toolbar-tabs::-webkit-scrollbar-thumb,
.custom-toolbar-content::-webkit-scrollbar-thumb,
.el-table__body-wrapper::-webkit-scrollbar-thumb,
.el-table__header-wrapper::-webkit-scrollbar-thumb,
.el-table__fixed-body-wrapper::-webkit-scrollbar-thumb,
.el-scrollbar__wrap::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.pre-scrollable::-webkit-scrollbar-thumb,
.select2-results__options::-webkit-scrollbar-thumb,
body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane::-webkit-scrollbar-thumb,
body.fixed .content-wrapper > .tab-content > .tab-pane::-webkit-scrollbar-thumb,
body.fixed .right-side > .tab-content > .tab-pane::-webkit-scrollbar-thumb {
    background: var(--g9s-scrollbar-thumb);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.sidebar::-webkit-scrollbar-thumb:hover,
body.fixed .main-sidebar .sidebar::-webkit-scrollbar-thumb:hover,
.custom-toolbar-tabs-wrapper::-webkit-scrollbar-thumb:hover,
.custom-toolbar-tabs::-webkit-scrollbar-thumb:hover,
.custom-toolbar-content::-webkit-scrollbar-thumb:hover,
.el-table__body-wrapper::-webkit-scrollbar-thumb:hover,
.el-table__header-wrapper::-webkit-scrollbar-thumb:hover,
.el-table__fixed-body-wrapper::-webkit-scrollbar-thumb:hover,
.el-scrollbar__wrap::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.dropdown-menu::-webkit-scrollbar-thumb:hover,
.pre-scrollable::-webkit-scrollbar-thumb:hover,
.select2-results__options::-webkit-scrollbar-thumb:hover,
body.fixed .content-wrapper.tab-content.tab-addtabs > .tab-pane::-webkit-scrollbar-thumb:hover,
body.fixed .content-wrapper > .tab-content > .tab-pane::-webkit-scrollbar-thumb:hover,
body.fixed .right-side > .tab-content > .tab-pane::-webkit-scrollbar-thumb:hover {
    background: var(--g9s-scrollbar-thumb-hover);
}

form.sidebar-form,
.main-sidebar form.sidebar-form,
.left-side form.sidebar-form {
    position: relative !important;
    overflow: visible !important;
    z-index: 200 !important;
}

form.sidebar-form .input-group,
.main-sidebar form.sidebar-form .input-group,
.left-side form.sidebar-form .input-group {
    position: relative !important;
    overflow: visible !important;
    z-index: 201 !important;
}

form.sidebar-form .menuresult,
.main-sidebar form.sidebar-form .menuresult,
.left-side form.sidebar-form .menuresult {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    max-height: 250px !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border: 1px solid #dbe3ec !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .24) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
}

form.sidebar-form .menuresult.hide,
.main-sidebar form.sidebar-form .menuresult.hide,
.left-side form.sidebar-form .menuresult.hide {
    display: none !important;
}

form.sidebar-form .menuresult:empty,
.main-sidebar form.sidebar-form .menuresult:empty,
.left-side form.sidebar-form .menuresult:empty {
    display: none !important;
}

form.sidebar-form .menuresult a,
form.sidebar-form .menuresult .list-group-item,
.main-sidebar form.sidebar-form .menuresult a,
.main-sidebar form.sidebar-form .menuresult .list-group-item,
.left-side form.sidebar-form .menuresult a,
.left-side form.sidebar-form .menuresult .list-group-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    color: #0f8f82 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
    border-radius: 0 !important;
    white-space: normal !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
}

form.sidebar-form .menuresult a:last-child,
form.sidebar-form .menuresult .list-group-item:last-child,
.main-sidebar form.sidebar-form .menuresult a:last-child,
.main-sidebar form.sidebar-form .menuresult .list-group-item:last-child,
.left-side form.sidebar-form .menuresult a:last-child,
.left-side form.sidebar-form .menuresult .list-group-item:last-child {
    border-bottom: 0 !important;
}

form.sidebar-form .menuresult a:hover,
form.sidebar-form .menuresult .list-group-item:hover,
.main-sidebar form.sidebar-form .menuresult a:hover,
.main-sidebar form.sidebar-form .menuresult .list-group-item:hover,
.left-side form.sidebar-form .menuresult a:hover,
.left-side form.sidebar-form .menuresult .list-group-item:hover {
    background: #f4fbfa !important;
    color: #0a6f65 !important;
}

.main-sidebar,
.left-side {
    overflow: hidden !important;
}

.main-sidebar .sidebar,
.left-side .sidebar {
    overflow-x: hidden !important;
}