.info-box .progress .progress-bar-aqua, .info-box .progress .progress-bar-info {
    background-color: #00c0ef;
}

.info-box .progress .progress-bar-green, .info-box .progress .progress-bar-success {
    background-color: #00a65a;
}

.info-box .progress .progress-bar-light-blue, .info-box .progress .progress-bar-primary {
    background-color: #3c8dbc;
}

.info-box .progress .progress-bar-red, .info-box .progress .progress-bar-danger {
    background-color: #dd4b39;
}

.info-box .progress .progress-bar-yellow, .info-box .progress .progress-bar-warning {
    background-color: #f39c12;
}

.box.loading .overlay {
    display: block;
}

.box.collapsed-box .overlay .fa {
    font-size: 30px;
}

.box .overlay {
    display: none;
}

.box .overlay .fa {
    font-size: 60px;
    color: #888888;
}

.box .box-header {
    min-height: 33px;
}

.box .box-body {
    overflow-x: hidden;
}

.box .box-footer ul.pagination {
    margin: 0;
}

div.callout {
    clear: both;
}

div.callout.callout-with-icon .callout-icon {
    width: 5%;
    float: left;
    text-align: center;
    font-size: 36px;
    line-height: 120%;
}

div.callout.callout-with-icon .callout-content {
    width: 95%;
    float: left;
}

div.callout.callout-with-icon .callout-content .callout-title {
    margin: 0 !important;
}

ul.sidebar-menu li > a small.label {
    margin-right: 0;
}

ul.sidebar-menu li.treeview > a small.label {
    margin-right: 20px;
}
:root {
    --admin-header-h: 56px;
    --admin-bg: #f3f6f8;
    --admin-surface: #ffffff;
    --admin-border: #dbe2ea;
    --admin-text: #1f2933;
    --admin-muted: #6b7785;
    --admin-topbar: #3d8ab2;
    --admin-topbar-deep: #337ca2;
    --admin-sidebar: #1f2d33;
    --admin-sidebar-deep: #172226;
    --admin-sidebar-section: #182429;
    --admin-sidebar-soft: #2a3b42;
    --admin-sidebar-text: #d6e5eb;
    --admin-sidebar-muted: #6f8b98;
    --admin-accent: #21a7cf;
    --admin-accent-strong: #1689ad;
    --admin-accent-soft: rgba(33, 167, 207, .18);
}

body {
    background: var(--admin-bg);
    color: var(--admin-text);
}

.wrapper,
.content-wrapper {
    background: var(--admin-bg);
}

.main-header.navbar {
    min-height: var(--admin-header-h);
    height: var(--admin-header-h);
    padding: 0 14px;
    background: var(--admin-topbar) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-shadow: none;
}

.main-header .navbar-nav > .nav-item > .nav-link {
    min-height: var(--admin-header-h);
    height: var(--admin-header-h);
    display: flex;
    align-items: center;
    color: #ffffff !important;
    border-radius: 0;
    padding: 0 .75rem;
}

.main-header .navbar-nav > .nav-item > .nav-link:hover,
.main-header .navbar-nav > .nav-item.show > .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .12);
}

.main-sidebar {
    background: var(--admin-sidebar);
    box-shadow: 1px 0 0 rgba(255, 255, 255, .03) inset;
}

.main-sidebar .brand-link {
    min-height: var(--admin-header-h);
    height: var(--admin-header-h);
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #ffffff;
    background: var(--admin-topbar-deep);
    border-bottom: 0;
}

.main-sidebar .brand-link:hover {
    color: #ffffff;
}

.main-sidebar .brand-link .brand-image {
    width: 30px;
    height: 30px;
    margin-top: 0;
    margin-left: 0;
    object-fit: cover;
    box-shadow: none !important;
}

.main-sidebar .brand-text {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600 !important;
    letter-spacing: 0;
}

.main-sidebar .sidebar {
    padding: 8px 0 16px;
}

.main-sidebar .nav-sidebar > .nav-item {
    margin-bottom: 2px;
}

.main-sidebar .nav-sidebar .nav-link {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem 1rem;
    color: var(--admin-sidebar-text);
    border-radius: 0;
    font-size: 12.5px;
    line-height: 1.25;
}

.main-sidebar .nav-sidebar .nav-link p {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-sidebar .nav-sidebar .nav-icon {
    width: 1.35rem;
    color: var(--admin-sidebar-muted);
    text-align: center;
    font-size: .95rem;
}

.main-sidebar .nav-sidebar .nav-link:hover {
    color: #ffffff;
    background: var(--admin-sidebar-soft);
}

.main-sidebar .nav-sidebar .nav-link:hover .nav-icon,
.main-sidebar .nav-sidebar .nav-link.active .nav-icon {
    color: #ffffff;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link.active,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link {
    color: #ffffff;
    background: #263942;
    box-shadow: inset 3px 0 0 var(--admin-accent);
}

.main-sidebar .nav-treeview {
    margin: 0;
    padding: 3px 0 7px;
    background: rgba(0, 0, 0, .08);
    border-left: 0;
}

.main-sidebar .nav-sidebar .nav-treeview .nav-link {
    min-height: 30px;
    padding: .36rem .85rem .36rem 2.15rem;
    color: #b7c4cf;
    background: transparent;
    font-size: 11.5px;
}

.main-sidebar .nav-sidebar .nav-treeview .nav-icon {
    flex: 0 0 1rem;
    width: 1rem;
    margin: 0 .45rem 0 0;
    color: #86a9b7;
    font-size: .82rem;
    line-height: 1;
}

.main-sidebar .nav-sidebar .nav-treeview .nav-link p {
    flex: 1 1 auto;
}

.main-sidebar .nav-sidebar .nav-treeview .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .07);
}

.main-sidebar .nav-sidebar .nav-treeview .nav-link.active {
    color: #ffffff;
    background: var(--admin-accent-soft);
    box-shadow: inset 3px 0 0 var(--admin-accent);
}

.main-sidebar .nav-header {
    margin: 8px 0 4px;
    padding: .62rem 1rem .55rem;
    color: var(--admin-sidebar-muted);
    background: var(--admin-sidebar-section);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.content-header {
    padding: 18px .5rem 10px;
}

.content-header h1 {
    color: var(--admin-text);
    font-size: 22px;
    font-weight: 600;
}

.content {
    padding-bottom: 24px;
    font-size: 13px;
}

.content-wrapper .content,
.content-wrapper .table,
.content-wrapper .form-control,
.content-wrapper .btn {
    font-size: 13px;
}

.content-wrapper h1 {
    font-size: 22px;
}

.content-wrapper h2 {
    font-size: 19px;
}

.content-wrapper h3,
.content-wrapper .card-title,
.content-wrapper .box-title {
    font-size: 16px;
}

.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    font-size: 14px;
}

.content-wrapper .table > thead > tr > th,
.content-wrapper .table > tbody > tr > td {
    padding: .48rem .55rem;
    vertical-align: middle;
}

.content-wrapper .table h5 {
    margin: 0;
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.content-wrapper .table h5 small {
    display: inline-block;
    margin-top: 2px;
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.35;
}

.content-wrapper .card-header,
.content-wrapper .box .box-header {
    min-height: 42px;
    padding: .55rem .75rem;
}

.content-wrapper .card-body,
.content-wrapper .box .box-body {
    padding: .75rem;
}

.content-wrapper .breadcrumb {
    font-size: 12px;
}

.content-header .admin-breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--admin-muted);
    font-size: 12px;
}

.content-header .admin-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #9aa8b4;
}

.content-header .admin-breadcrumb a {
    color: #267da7;
}

.content-header .admin-breadcrumb .active {
    color: var(--admin-muted);
}

.content-wrapper .btn-default {
    color: #33424f;
    background: #ffffff;
    border-color: #cfd9e2;
}

.content-wrapper .btn-default:hover,
.content-wrapper .btn-default:focus {
    color: var(--admin-text);
    background: #edf3f6;
    border-color: #b8c6d1;
}

.content-wrapper .btn-xs,
.content-wrapper .btn-group-xs > .btn {
    padding: .18rem .4rem;
    font-size: 12px;
    line-height: 1.25;
    border-radius: 4px;
}

.content-wrapper .action-column,
.content-wrapper .kv-action-column {
    white-space: nowrap;
}

.content-wrapper .action-column .btn,
.content-wrapper .kv-action-column .btn,
.content-wrapper td:last-child .btn-xs {
    min-width: 28px;
    margin: 0 1px;
}

.grid-view,
.kv-grid-container,
.kv-grid-table {
    font-size: 12px;
}

.grid-view .table > thead > tr > th,
.grid-view .table > thead > tr > td,
.grid-view .table > tbody > tr > td,
.kv-grid-table > thead > tr > th,
.kv-grid-table > thead > tr > td,
.kv-grid-table > tbody > tr > td {
    padding: .38rem .45rem;
    font-size: 12px;
    line-height: 1.3;
}

.grid-view .filters .form-control,
.grid-view .filters select,
.kv-grid-table .filters .form-control,
.kv-grid-table .filters select {
    height: 30px;
    padding: .25rem .45rem;
    font-size: 12px;
}

.grid-view .btn,
.kv-grid-toolbar .btn,
.kv-grid-container .btn {
    padding: .25rem .45rem;
    font-size: 12px;
    line-height: 1.25;
}

.kv-grid-toolbar {
    margin-bottom: 6px;
}

.grid-view .empty,
.kv-grid-table .empty {
    padding: 28px 16px !important;
    color: var(--admin-muted);
    font-size: 13px;
    text-align: center;
    background: #fbfcfd;
}

.grid-view .empty::before,
.kv-grid-table .empty::before {
    content: "\f080";
    display: block;
    margin-bottom: 8px;
    color: #9dafbb;
    font-family: "Font Awesome 5 Free";
    font-size: 24px;
    font-weight: 900;
}

.glyphicon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.glyphicon-plus::before {
    content: "\f067";
}

.glyphicon-repeat::before {
    content: "\f2f1";
}

.glyphicon-trash::before {
    content: "\f2ed";
}

.glyphicon-eye-open::before {
    content: "\f06e";
}

.glyphicon-edit::before {
    content: "\f044";
}

.glyphicon-remove::before {
    content: "\f00d";
}

.glyphicon-download-alt::before {
    content: "\f019";
}

.glyphicon-import::before {
    content: "\f56f";
}

.glyphicon-list::before,
.glyphicon-th-list::before {
    content: "\f03a";
}

.glyphicon-indent-right::before {
    content: "\f03c";
}

.glyphicon-envelope::before {
    content: "\f0e0";
}

.distributor-index .panel,
.distributor-index .kv-panel-before,
.distributor-index .kv-grid-container,
.distributor-index .kv-panel-after {
    border-color: var(--admin-border);
}

.distributor-index .panel-primary > .panel-heading,
.distributor-index .card-header {
    color: #ffffff;
    background: var(--admin-topbar-deep);
    border-color: var(--admin-topbar-deep);
}

.distributor-index .panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.distributor-index .panel-title i {
    margin-right: 6px;
}

.distributor-index .kv-panel-before {
    padding: 8px 10px;
    background: #ffffff;
}

.distributor-index .kv-grid-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.distributor-index .kv-grid-toolbar .btn {
    min-width: 32px;
}

.distributor-index .distributor-grid-table > thead > tr > th {
    color: #176fa4;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.distributor-index .distributor-grid-table > tbody > tr > td {
    font-size: 12px;
}

.distributor-index .grid-action-btn {
    color: #267da7;
    border: 0;
    background: transparent;
}

.distributor-index .grid-action-btn:hover {
    color: #0f5f85;
    background: #e9f2f6;
}

.distributor-index .grid-action-btn--danger {
    color: #c34444;
}

.distributor-index .grid-action-btn--danger:hover {
    color: #982f2f;
    background: #f8eaea;
}

.card,
.box {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.card-header,
.box .box-header {
    background: var(--admin-surface);
    border-bottom-color: var(--admin-border);
}

.user-menu > .nav-link {
    gap: .35rem;
}

.user-menu__avatar {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--admin-topbar);
    background: #ffffff;
    border-radius: 50%;
}

.user-menu .dropdown-menu {
    min-width: 220px;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}

.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: .45rem .65rem;
    color: var(--admin-text);
    border-radius: 6px;
}

.user-menu .dropdown-item:hover,
.user-menu .dropdown-item:focus {
    color: var(--admin-text);
    background: #edf2f5;
}

.user-menu .dropdown-item.active,
.user-menu .dropdown-item:active {
    color: #ffffff;
    background: var(--admin-accent-strong);
}

.user-menu .dropdown-divider {
    margin: 6px 0;
    border-top-color: var(--admin-border);
}

.site-index .dashboard-stats {
    margin-bottom: 18px;
}

.site-index .dashboard-stat {
    min-height: 82px;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 10px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.site-index .dashboard-stat__icon {
    width: 70px;
    height: 64px;
    display: inline-flex;
    flex: 0 0 70px;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    color: #ffffff;
    border-radius: 4px;
    font-size: 30px;
}

.site-index .dashboard-stat__icon--visits {
    background: #17b8d8;
}

.site-index .dashboard-stat__icon--sync {
    background: #df3044;
}

.site-index .dashboard-stat__icon--orders {
    background: #1fa34a;
}

.site-index .dashboard-stat__icon--users {
    background: #f5b20a;
}

.site-index .dashboard-stat .info-box-content {
    min-width: 0;
    padding: 0 0 0 2px;
}

.site-index .dashboard-stat .info-box-text {
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    white-space: normal;
}

.site-index .dashboard-stat .info-box-number {
    color: var(--admin-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.site-index .dashboard-stat .info-box-number + .info-box-number {
    margin-top: 1px;
}

.site-index .dashboard-chart-card {
    border-radius: 6px;
}

.site-index .dashboard-chart-card .card-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    background: var(--admin-surface);
}

.site-index .dashboard-chart-card .card-title {
    margin: 0;
    color: var(--admin-text);
    font-size: 18px;
    font-weight: 600;
}

.site-index .dashboard-chart-card .card-tools {
    margin-left: auto;
}

.site-index .dashboard-chart-card .btn-tool {
    color: #6f7f8c;
}

.site-index .dashboard-chart-card .btn-tool:hover {
    color: var(--admin-text);
}

.site-index .dashboard-chart-card .card-body {
    padding: 16px 18px 20px;
    background: #f8fafb;
}

.site-index .dashboard-chart-caption {
    margin-bottom: 16px;
    color: var(--admin-text);
    font-size: 14px;
}

.site-index .dashboard-chart {
    min-height: 390px;
}

.site-index .dashboard-empty-state {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #758593;
    border: 1px dashed #cbd6df;
    border-radius: 6px;
    background: #ffffff;
}

.site-index .dashboard-empty-state i {
    margin-bottom: 4px;
    color: #9dafbb;
    font-size: 34px;
}

.site-index .dashboard-empty-state strong {
    color: var(--admin-text);
    font-size: 16px;
}

.logreader-index .table {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
}

.logreader-index .table > thead > tr > th {
    border-bottom: 1px solid var(--admin-border);
    color: var(--admin-text);
    font-weight: 700;
}

.logreader-index .table > tbody > tr > td {
    border-top-color: #e6ebf0;
}

.logreader-index .btn-xs {
    padding: .18rem .45rem;
    font-size: 12px;
    line-height: 1.35;
}
