body.inside-header,
body.inside-aside {
    background: #f5f7fb;
}

.skin-blue .main-header .navbar,
.skin-blue-light .main-header .navbar,
.main-header .navbar {
    background: linear-gradient(90deg, #5b6ee1 0%, #6f46c9 100%) !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, .18);
}

.main-header .logo {
    background: #5867d9 !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .02em;
}

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

.main-sidebar,
.left-side {
    background: #ffffff !important;
    box-shadow: 8px 0 24px rgba(31, 41, 55, .06);
}

.sidebar-menu > li > a {
    color: #354052 !important;
    border-left: 3px solid transparent;
    padding: 13px 18px;
}

.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a {
    color: #4f46e5 !important;
    background: #f1f4ff !important;
    border-left-color: #5b6ee1;
}

.sidebar-menu .treeview-menu {
    background: #fafbff !important;
}

.sidebar-menu .treeview-menu > li > a {
    color: #607086 !important;
    padding: 10px 5px 10px 34px;
}

.sidebar-menu .treeview-menu > li.active > a,
.sidebar-menu .treeview-menu > li > a:hover {
    color: #4f46e5 !important;
}

.sidebar-form {
    border: 0 !important;
    margin: 14px;
}

.sidebar-form input[type="text"],
.sidebar-form .btn {
    background: #f4f6fb !important;
    border-color: #edf0f7 !important;
    color: #667085 !important;
}

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

#ribbon {
    background: transparent;
    border: 0;
    padding: 12px 0 0;
}

.panel.panel-default {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, .06);
}

.panel-intro > .panel-heading {
    border: 0;
    background: #fff;
    border-radius: 12px 12px 0 0;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 16px;
    padding: 20px 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, .06);
}

.admin-page-kicker {
    color: #6f46c9;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.admin-page-head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.admin-page-head p {
    margin: 8px 0 0;
    color: #667085;
}

.admin-page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-page-actions .btn,
.toolbar .btn {
    border: 0;
    border-radius: 8px;
    padding: 8px 13px;
    box-shadow: none;
}

.product-manage-page {
    background: transparent;
    box-shadow: none !important;
}

.product-manage-page > .panel-body {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, .06);
}

.product-type-filter {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 12px;
    padding: 9px 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, .05);
}

.product-type-filter a {
    min-width: 72px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #667085;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: all .16s ease;
}

.product-type-filter a:hover {
    color: #344054;
    background: #f3f5fb;
}

.product-type-filter a.active {
    color: #3b5bdb;
    background: #eef2ff;
}

.product-manage-page .toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.product-manage-page .fixed-table-toolbar .columns-right,
.product-manage-page .fixed-table-toolbar .search,
.product-manage-page .fixed-table-toolbar .bs-bars {
    margin-top: 0;
    margin-bottom: 14px;
}

.product-manage-page .bootstrap-table .table {
    border: 0 !important;
}

.product-manage-page .bootstrap-table .table > thead > tr > th {
    background: #f7f8fc;
    color: #475467;
    border-color: #edf0f7;
    font-weight: 700;
    padding: 13px 10px;
}

.product-manage-page .bootstrap-table .table > tbody > tr > td {
    border-color: #f0f2f7;
    vertical-align: middle;
    padding: 12px 10px;
}

.product-manage-page .bootstrap-table .table > tbody > tr:hover > td {
    background: #fbfcff;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.product-avatar {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    overflow: hidden;
    background: #f1f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.product-avatar-text {
    color: #5867d9;
    font-weight: 700;
}

.product-name {
    color: #111827;
    font-weight: 700;
    line-height: 1.25;
}

.product-symbol {
    color: #8a94a6;
    font-size: 12px;
    margin-top: 3px;
}

.product-type-badge,
.source-badge,
.period-chip,
.profit-chip,
.sort-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
    margin: 2px 4px 2px 0;
    white-space: nowrap;
}

.product-type-badge.crypto {
    color: #2563eb;
    background: #dbeafe;
}

.product-type-badge.forex {
    color: #047857;
    background: #d1fae5;
}

.product-type-badge.metal {
    color: #b45309;
    background: #fef3c7;
}

.product-type-badge.stock,
.product-type-badge.other {
    color: #6d28d9;
    background: #ede9fe;
}

.source-badge {
    color: #475467;
    background: #f2f4f7;
}

.period-chip {
    color: #475467;
    background: #eef2ff;
}

.profit-chip {
    color: #047857;
    background: #ecfdf3;
}

.sort-pill {
    color: #344054;
    background: #f7f8fb;
    border: 1px solid #eaecf0;
}

.product-manage-page .bootstrap-table .btn {
    border: 0;
    border-radius: 7px;
    margin: 2px;
    font-weight: 600;
}

.product-manage-page .bootstrap-table .btn-warning {
    background: #f59e0b;
}

.product-manage-page .bootstrap-table .btn-primary {
    background: #4f46e5;
}

.product-manage-page .bootstrap-table .btn-danger {
    background: #ef4444;
}

.product-manage-page .form-commonsearch {
    background: #f8fafc;
    border: 1px solid #edf0f7;
    border-radius: 12px;
    padding: 14px 14px 2px;
    margin-bottom: 14px;
}

.user-identity-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 128px;
}

.user-identity-avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2ff;
    flex-shrink: 0;
}

.user-identity-id {
    color: #111827;
    font-weight: 700;
    line-height: 1.2;
}

.user-identity-sub {
    color: #8a94a6;
    font-size: 12px;
    margin-top: 2px;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-money {
    color: #047857;
    font-weight: 700;
    white-space: nowrap;
}
