html,
body {
    min-height: 100%;
}

.erp-login-page {
    margin: 0;
    overflow: hidden;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #06162b;
}

.erp-login-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 50px 50px,
        radial-gradient(circle at 76% 44%, rgba(0,148,206,.26), transparent 34%),
        linear-gradient(180deg, #051023 0%, #06304a 100%);
}

.erp-login-title {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 66px;
    line-height: 1;
    font-weight: 800;
    color: rgba(0, 116, 178, .32);
}

.erp-login-watermark {
    position: absolute;
    right: 6%;
    bottom: 7%;
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 16px;
    color: rgba(0, 140, 190, .24);
}

.erp-login-card {
    position: relative;
    z-index: 3;
    width: 400px;
    max-width: calc(100vw - 36px);
    min-height: 408px;
    padding: 58px 40px 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff 0%, #fff 62%, #f6f9ff 100%);
    color: #133462;
    box-shadow: 0 20px 52px rgba(0, 0, 0, .24);
}

.erp-login-card h1 {
    margin: 0 0 30px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #173c72;
}

.erp-login-field {
    display: flex;
    align-items: center;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 7px;
    overflow: hidden;
    background: #eaf2ff;
    box-shadow: 0 10px 18px rgba(30, 65, 118, .12);
}

.erp-login-field > i {
    width: 36px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    background: #fff;
}

.erp-login-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    height: 38px;
    padding: 0 14px;
    background: transparent;
    color: #1e2d42;
}

.erp-password-toggle {
    width: 40px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #555;
}

.erp-login-keep {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 22px;
    color: #6b7280;
    font-weight: 400;
}

.erp-login-submit {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    background: #294f91;
    box-shadow: 0 12px 20px rgba(41, 79, 145, .28);
}

.erp-login-wave {
    position: absolute;
    left: -5%;
    width: 110%;
    height: 120px;
    bottom: 0;
    background: rgba(0, 133, 180, .22);
    border-radius: 50% 50% 0 0 / 35% 35% 0 0;
}

.erp-login-wave.wave-one {
    bottom: 70px;
    opacity: .48;
}

.erp-login-wave.wave-two {
    bottom: 28px;
    opacity: .36;
}

.erp-login-stars::before,
.erp-login-stars::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(35, 205, 255, .86) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(255, 255, 255, .55) 0 1px, transparent 2px);
    background-size: 180px 150px, 250px 210px;
    background-position: 32px 90px, 120px 40px;
    opacity: .6;
}

.erp-front {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #1d2b3f;
    background: #f3f7fb;
}

.erp-shell {
    min-height: 100vh;
    display: flex;
}

.erp-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    display: flex;
    flex-direction: column;
    background: #0d223d;
    color: #dce9f9;
    box-shadow: 12px 0 28px rgba(5, 18, 33, .16);
    z-index: 20;
}

.erp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 0 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.erp-brand:hover,
.erp-brand:focus {
    color: #fff;
    text-decoration: none;
}

.erp-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #55ddff, #0b76bd);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .16);
}

.erp-brand strong,
.erp-brand small {
    display: block;
}

.erp-brand strong {
    font-size: 18px;
}

.erp-brand small {
    margin-top: 3px;
    color: #3fd5ff;
    font-size: 11px;
    letter-spacing: 3px;
}

.erp-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 10px 18px;
    padding: 16px 18px;
    border: 1px solid rgba(41, 177, 255, .18);
    border-radius: 8px;
    background: #103052;
}

.erp-avatar {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8eef5;
    color: #8b95a3;
    overflow: hidden;
}

.erp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.erp-user-card strong,
.erp-user-card small {
    display: block;
}

.erp-user-card small {
    margin-top: 4px;
    color: #28e0a4;
}

.erp-user-card small i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #00df8d;
}

.erp-nav-title {
    padding: 8px 20px;
    color: #7893b2;
    font-size: 12px;
}

.erp-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
}

.erp-nav-sub {
    margin-top: 4px;
}

.erp-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    padding: 0 16px;
    border-radius: 7px;
    color: #a9bdd5;
}

.erp-nav a:hover,
.erp-nav a:focus,
.erp-nav a.active {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #0b9fdc, #0f567d);
}

.erp-nav a.danger {
    color: #ff8a58;
}

.erp-nav a.danger:hover,
.erp-nav a.danger:focus,
.erp-nav a.danger:active,
.erp-nav a.danger.active {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #f05a3c, #b92f2f);
}

.erp-nav a i {
    width: 18px;
    text-align: center;
}

body.erp-front .layui-layer.erp-layer-confirm {
    width: 380px !important;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 22px 56px rgba(6, 22, 43, .28);
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-title {
    height: 54px;
    padding: 0 54px 0 22px;
    border-bottom: 1px solid #edf2f7;
    color: #0d223d;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 54px;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-setwin {
    top: 16px;
    right: 18px;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-setwin .layui-layer-close1 {
    opacity: .72;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-setwin .layui-layer-close1:hover {
    opacity: 1;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-content {
    padding: 24px 24px 22px;
    color: #10233f;
    font-size: 16px;
    line-height: 1.7;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn {
    padding: 0 24px 22px;
    text-align: right;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn a {
    min-width: 78px;
    height: 38px;
    margin: 0 0 0 10px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 6px;
    color: #5f6f83;
    background: #eef3f8;
    box-shadow: none;
    outline: 0;
    font-weight: 700;
    line-height: 38px;
    text-align: center;
    text-decoration: none;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-confirm {
    display: none;
    position: absolute;
    inset: 0;
    border: 0 !important;
    background: transparent;
    box-shadow: none !important;
    outline: 0 !important;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn .layui-layer-btn0 {
    color: #fff;
    background: linear-gradient(90deg, #0b7ec2, #0a9ec7);
    box-shadow: 0 8px 18px rgba(11, 126, 194, .22);
    outline: 0;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn .layui-layer-btn0:hover,
body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn .layui-layer-btn0:focus,
body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn .layui-layer-btn0:active,
body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn .layui-layer-btn0:focus-visible {
    color: #fff;
    background: linear-gradient(90deg, #096fab, #078aad);
    box-shadow: 0 8px 18px rgba(11, 126, 194, .22);
    outline: 0;
}

body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn a:hover,
body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn a:focus,
body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn a:active,
body.erp-front .layui-layer.erp-layer-confirm .layui-layer-btn a:focus-visible {
    color: #0b5790;
    background: #e2edf7;
    box-shadow: none;
    outline: 0;
}

.erp-sidebar-footer {
    margin-top: auto;
    padding: 20px;
    color: #51708f;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.erp-main {
    flex: 1;
    min-width: 0;
    margin-left: 240px;
    padding: 24px;
}

.erp-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #0b7ec2;
}

.erp-hero {
    min-height: 160px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 30px 46px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(115deg, #07182e 0%, #075d9d 100%);
    box-shadow: 0 18px 38px rgba(12, 42, 75, .16);
}

.erp-hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    color: #999;
    background: #e9eef5;
    border: 3px solid #15c8f7;
}

.erp-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.erp-hero h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.erp-hero p {
    margin: 14px 0 0;
    color: #20d9ff;
}

.erp-member-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 28px;
    background: rgba(19, 164, 225, .42);
    border: 1px solid rgba(92, 213, 255, .28);
}

.erp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.erp-stat-card,
.erp-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(31, 55, 78, .09);
}

.erp-stat-card {
    min-height: 178px;
    padding: 26px 28px;
    border-top: 4px solid #0ba7e8;
}

.erp-stat-card i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    color: #0474c8;
    font-size: 26px;
    background: #e1f2ff;
}

.erp-stat-card span,
.erp-stat-card strong {
    display: block;
}

.erp-stat-card span {
    color: #6e7d8f;
}

.erp-stat-card strong {
    margin-top: 8px;
    color: #083d76;
    font-size: 40px;
    line-height: 1;
}

.border-indigo {
    border-color: #0870d4;
}

.border-green {
    border-color: #21c49a;
}

.border-green strong {
    color: #008346;
}

.border-orange {
    border-color: #ff9d16;
}

.border-orange strong {
    color: #d56d00;
}

.erp-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.erp-panel {
    padding: 28px;
}

.erp-panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.erp-panel-title i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: #0574bc;
    font-size: 20px;
}

.erp-panel-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.erp-info-list {
    margin: 0;
}

.erp-info-list dt,
.erp-info-list dd {
    min-height: 52px;
    line-height: 52px;
    border-bottom: 1px solid #eef2f6;
}

.erp-info-list dt {
    float: left;
    width: 110px;
    color: #728094;
    font-weight: 400;
}

.erp-info-list dd {
    margin-left: 120px;
    text-align: right;
}

.erp-link-text {
    color: #087ada;
}

.erp-wide-action {
    display: block;
    margin-top: 20px;
    padding: 14px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    background: linear-gradient(90deg, #0875dc, #0aa7cf);
}

.erp-wide-action:hover,
.erp-wide-action:focus {
    color: #fff;
    text-decoration: none;
}

.erp-page-head {
    padding: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f3f7fb;
    box-shadow: 0 6px 12px rgb(243 247 251);
}

.erp-page-head h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.erp-page-head p {
    margin: 8px 0 0;
    color: #7a8799;
}

.erp-page-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.erp-filter select,
.erp-advanced-filter select,
.erp-form-grid select,
.erp-kv-row select {
    padding-right: 38px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2367788f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
}

.erp-filter select::-ms-expand,
.erp-advanced-filter select::-ms-expand,
.erp-form-grid select::-ms-expand,
.erp-kv-row select::-ms-expand {
    display: none;
}

.erp-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 100px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #0b7ec2;
    line-height: 40px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.erp-action-btn:hover,
.erp-action-btn:focus {
    color: #fff;
    background: #096fab;
    text-decoration: none;
}

.erp-action-primary {
    color: #fff;
    background: #0b7ec2;
}

.erp-action-danger {
    color: #fff;
    background: #d93025;
}

.erp-action-danger:hover,
.erp-action-danger:focus {
    background: #a9231b;
}

.erp-action-btn.disabled,
.erp-action-btn:disabled {
    opacity: .72;
}

.erp-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 100px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    color: #5f6f83;
    background: #eef3f8;
    line-height: 40px;
    white-space: nowrap;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.erp-filter-reset:hover,
.erp-filter-reset:focus {
    color: #0b5790;
    background: #e2edf7;
    text-decoration: none;
}

.erp-page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.erp-filter button i {
    margin-right: 6px;
}

.erp-filter-main {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.erp-filter-main .erp-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 220px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dde6ef;
    border-radius: 6px;
    background: #f9fbfd;
}

.erp-filter-main .erp-search i {
    flex: 0 0 auto;
    color: #001b44;
    font-size: 16px;
}

.erp-filter-main .erp-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    line-height: 38px;
}

.erp-filter-main button,
.erp-filter-main .erp-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 72px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    line-height: 40px;
    white-space: nowrap;
    text-decoration: none;
}

.erp-filter-main button[type="submit"] {
    min-width: 96px;
    color: #fff;
    background: #0b7ec2;
}

.erp-filter-main button[type="submit"]:hover,
.erp-filter-main button[type="submit"]:focus {
    color: #fff;
    background: #096fab;
}

.erp-filter-main .erp-filter-toggle {
    min-width: 96px;
    color: #fff;
    background: #123a63;
}

.erp-filter-main .erp-filter-toggle:hover,
.erp-filter-main .erp-filter-toggle:focus,
.erp-filter-main .erp-filter-toggle.is-active {
    color: #fff;
    background: #0d2c4c;
}

.erp-filter-main .erp-filter-reset {
    color: #5f6f83;
    background: #eef3f8;
}

.erp-filter-main .erp-filter-reset:hover,
.erp-filter-main .erp-filter-reset:focus {
    color: #0b5790;
    background: #e2edf7;
    text-decoration: none;
}

.erp-filter-main button i {
    margin-right: 6px;
}

.erp-order-filter,
.erp-order-item-filter,
.erp-list-filter {
    display: block;
}

.erp-filter button.erp-filter-toggle:hover,
.erp-filter button.erp-filter-toggle:focus,
.erp-filter button.erp-filter-toggle.is-active,
.erp-filter button.erp-filter-toggle.is-active:hover,
.erp-filter button.erp-filter-toggle.is-active:focus {
    background: #0d2c4c;
}

.erp-advanced-filter {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #e4edf5;
    border-radius: 8px;
    background: #f8fbfe;
}

.erp-advanced-filter.is-open {
    display: grid;
}

.erp-advanced-filter label {
    margin: 0;
    color: #7a8799;
    font-weight: 400;
}

.erp-advanced-filter .erp-filter-wide {
    grid-column: auto;
}

.erp-advanced-filter .erp-batch-filter {
    grid-column: span 2;
}

.erp-advanced-divider {
    grid-column: 1 / -1;
    width: 100%;
    margin: 2px 0;
    border: 0;
    border-top: 1px solid #e4edf5;
}

.erp-advanced-filter span {
    display: block;
    margin-bottom: 8px;
}

.erp-advanced-filter input,
.erp-advanced-filter select,
.erp-advanced-filter textarea {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #dde6ef;
    border-radius: 6px;
    background: #fff;
    outline: 0;
}

.erp-advanced-filter input,
.erp-advanced-filter select {
    height: 40px;
}

.erp-advanced-filter textarea {
    min-height: 86px;
    padding-top: 8px;
    padding-bottom: 8px;
    resize: vertical;
}

.erp-front .daterangepicker {
    z-index: 2060;
}

.erp-date-presets {
    margin: 0;
    color: #7a8799;
}

.erp-date-presets > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.erp-date-presets button {
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #d8e5f1;
    border-radius: 15px;
    color: #2d5f8f;
    background: #f6faff;
    cursor: pointer;
}

.erp-date-presets button:hover,
.erp-date-presets button:focus {
    color: #0b5790;
    border-color: #9fc8ee;
    background: #edf7ff;
}

.erp-table-wrap .bootstrap-table {
    min-width: 1120px;
}

.erp-table-wrap .fixed-table-container {
    border: 0;
    border-radius: 0;
}

.erp-table-wrap .fixed-table-body {
    overflow: visible;
}

.erp-table-wrap .bootstrap-table .table {
    margin-bottom: 0;
}

.erp-table-wrap .fixed-table-container thead th,
.erp-table-wrap .fixed-table-container tbody td,
.erp-table-wrap .fixed-table-container thead th .th-inner {
    vertical-align: middle;
}

.erp-table-wrap .fixed-table-container thead th .th-inner {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding-top: 0;
    padding-bottom: 0;
}

.erp-table th {
    height: 46px;
    color: #5f6f83;
    font-weight: 700;
    background: #f7f9fc;
    white-space: nowrap;
}

.erp-table td {
    height: 54px;
    border-top: 1px solid #edf1f5;
    color: #27364a;
}

.erp-table th,
.erp-table td {
    padding: 0 14px;
}

.erp-table strong {
    color: #073f7d;
}

.erp-order-table .col-index {
    min-width: 62px;
    width: 62px;
    text-align: center;
}

.erp-order-table .col-order-no {
    min-width: 190px;
    width: 190px;
}

.erp-order-table .col-platform-order-no {
    min-width: 300px;
    width: 300px;
}

.erp-order-table .col-platform {
    min-width: 84px;
    width: 84px;
}

.erp-order-table .col-store {
    min-width: 110px;
    width: 110px;
}

.erp-order-table .col-warehouse {
    min-width: 90px;
    width: 90px;
}

.erp-order-table .col-platform-status,
.erp-order-table .col-local-status {
    min-width: 96px;
    width: 96px;
}

.erp-order-table .col-express-carrier {
    min-width: 120px;
    width: 120px;
}

.erp-order-table .col-tracking-no {
    min-width: 150px;
    width: 150px;
}

.erp-order-table .col-has-label {
    min-width: 88px;
    width: 88px;
    text-align: center;
}

.erp-order-table .col-time {
    min-width: 120px;
    width: 120px;
}

.erp-order-table .col-remark {
    min-width: 180px;
    width: 180px;
}

.erp-order-table .col-operate {
    min-width: 130px;
    width: 130px;
}

.erp-order-table th,
.erp-order-table td {
    line-height: 20px;
    vertical-align: middle;
}

.erp-order-table tbody tr {
    height: 64px;
}

.erp-order-table tbody td {
    height: 64px;
}

.erp-order-table .col-index,
.erp-order-table .col-order-no,
.erp-order-table .col-platform-order-no,
.erp-order-table .col-platform,
.erp-order-table .col-store,
.erp-order-table .col-warehouse,
.erp-order-table .col-platform-status,
.erp-order-table .col-local-status,
.erp-order-table .col-has-label,
.erp-order-table .col-time,
.erp-order-table .col-operate {
    white-space: nowrap;
}

.erp-order-table .col-express-carrier,
.erp-order-table .col-tracking-no,
.erp-order-table .col-remark {
    white-space: normal;
    overflow-wrap: anywhere;
}

.erp-order-table .erp-cell-clamp {
    display: -webkit-box;
    max-height: 40px;
    overflow: hidden;
    line-height: 20px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.erp-table-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #087ada;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.erp-table-link:hover,
.erp-table-link:focus {
    color: #055fa8;
    text-decoration: none;
}

.erp-table-link-danger {
    color: #d93025;
}

.erp-table-link-danger:hover,
.erp-table-link-danger:focus {
    color: #a9231b;
}

.erp-check-col {
    width: 44px;
    text-align: center;
}

.erp-action-btn.is-loading,
.erp-table-link.is-loading {
    opacity: .65;
    pointer-events: none;
}

.erp-map-btn {
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: 13px;
    color: #9b6200;
    background: #fff4dc;
    cursor: pointer;
    white-space: nowrap;
}

.erp-map-btn:hover,
.erp-map-btn:focus {
    color: #7a4a00;
    background: #ffe7b3;
}

.erp-order-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 6px;
    color: #5f6f83;
    background: #f6f9fc;
}

.erp-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.erp-detail-panel {
    padding: 22px 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(10, 41, 71, .08);
}

.erp-detail-panel-wide {
    grid-column: 1 / -1;
}

.erp-detail-title {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #0b2b4c;
}

.erp-detail-list {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px 16px;
    margin: 0;
}

.erp-detail-list-wide {
    grid-template-columns: 96px minmax(0, 1fr) 96px minmax(0, 1fr);
}

.erp-detail-list dt {
    line-height: 30px;
    color: #7a8799;
    font-weight: 400;
}

.erp-detail-list dd {
    line-height: 30px;
    min-width: 0;
    margin: 0;
    color: #1e2d42;
    overflow-wrap: anywhere;
}

.erp-detail-list dd input, .erp-detail-list dd select, .erp-detail-list dd textarea {
    border-radius: 4px;
}

.erp-map-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 6px;
    background: #f6f9fc;
}

.erp-map-info span,
.erp-map-label,
.erp-map-empty {
    color: #7a8799;
    font-weight: 400;
}

.erp-map-info strong {
    display: block;
    margin-top: 4px;
    color: #1e2d42;
    overflow-wrap: anywhere;
}

.erp-modal .modal-dialog {
    width: min(920px, calc(100% - 32px));
    margin: 48px auto;
}

.erp-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 72px rgba(7, 25, 49, .28);
}

.erp-modal .modal-content.erp-quick-map-form {
    overflow: visible;
}

.erp-modal .modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    padding: 10px 24px;
    border-bottom: 1px solid #edf3f8;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.erp-modal .modal-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    color: #0b2b4c;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.erp-modal .modal-header .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    grid-column: 2;
    grid-row: 1;
    width: 34px;
    height: 34px;
    margin: 0 -8px 0 0;
    border-radius: 50%;
    color: #7a8799;
    text-shadow: none;
    opacity: 1;
}

.erp-modal .modal-header .close:hover,
.erp-modal .modal-header .close:focus {
    color: #0b2b4c;
    background: #eef5fb;
    outline: 0;
}

.erp-modal .modal-body {
    padding: 24px;
}

.erp-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #edf3f8;
    background: #f8fbfe;
}

.erp-modal .modal-footer:before,
.erp-modal .modal-footer:after {
    display: none;
}

.erp-modal .modal-footer .btn {
    min-width: 82px;
    height: 38px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: none;
}

.erp-modal .modal-footer .btn-default {
    border: 1px solid #dce6ef;
    color: #5f6f83;
    background: #fff;
}

.erp-modal .modal-footer .btn-default:hover,
.erp-modal .modal-footer .btn-default:focus {
    border-color: #c9d7e4;
    color: #0b5790;
    background: #eef5fb;
    outline: 0;
}

.erp-modal .modal-footer .btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #0b7ec2 0%, #0ca3d8 100%);
}

.erp-modal .modal-footer .btn-primary:hover,
.erp-modal .modal-footer .btn-primary:focus {
    color: #fff;
    background: linear-gradient(135deg, #096fab 0%, #078dbd 100%);
    outline: 0;
}

.erp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.erp-form-grid label {
    margin: 0;
    color: #7a8799;
    font-weight: 400;
}

.erp-form-grid span {
    display: block;
    margin-bottom: 8px;
}

.erp-form-grid input,
.erp-form-grid select,
.erp-form-grid textarea {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #dde6ef;
    border-radius: 6px;
    background: #fff;
    outline: 0;
    color: #203754;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.erp-form-grid input:focus,
.erp-form-grid select:focus,
.erp-form-grid textarea:focus,
.erp-kv-row input:focus,
.erp-kv-row select:focus {
    border-color: #0b7ec2;
    box-shadow: 0 0 0 3px rgba(11, 126, 194, .12);
}

.erp-form-grid input,
.erp-form-grid select {
    height: 40px;
}

.erp-form-grid input:disabled,
.erp-form-grid select:disabled,
.erp-form-grid textarea:disabled {
    color: #8a96a6;
    border-color: #e3eaf1;
    background: #f4f7fa;
    box-shadow: none;
    cursor: not-allowed;
}

.erp-form-grid textarea {
    min-height: 86px;
    padding-top: 9px;
    padding-bottom: 9px;
    resize: vertical;
}

.erp-form-full {
    grid-column: 1 / -1;
}

.erp-platform-sku-panel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e4edf5;
}

.erp-form-section-title {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #0b2b4c;
}

.erp-permission-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
    color: #5f6f83;
    font-size: 13px;
}

.erp-permission-tools label,
.erp-permission-node-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.erp-permission-tree {
    max-height: 330px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid #dce6ef;
    border-radius: 6px;
    background: #fbfdff;
}

.erp-permission-node {
    position: relative;
    padding-left: 22px;
}

.erp-permission-root {
    padding-left: 0;
}

.erp-permission-node:not(.erp-permission-root):before {
    position: absolute;
    top: 0;
    bottom: 11px;
    left: 8px;
    border-left: 1px dotted #9eafc0;
    content: '';
}

.erp-permission-node-row {
    display: flex;
    align-items: center;
    min-height: 30px;
    color: #31455d;
}

.erp-permission-toggle,
.erp-permission-toggle-placeholder {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 2px;
}

.erp-permission-toggle {
    padding: 0;
    border: 0;
    color: #5f7893;
    background: transparent;
}

.erp-permission-toggle:hover,
.erp-permission-toggle:focus {
    color: #0b7ec2;
    outline: 0;
}

.erp-permission-root-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b2b4c;
    font-weight: 700;
}

.erp-permission-children {
    padding-left: 14px;
}

.erp-kv-head,
.erp-kv-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(200px, 2fr) 40px;
    gap: 8px;
    align-items: center;
}

.erp-kv-head {
    margin-bottom: 8px;
    color: #5f6f83;
}

.erp-kv-head span:last-child {
    grid-column: 2 / 3;
}

.erp-warehouse-head,
.erp-warehouse-row {
    grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1.2fr) minmax(160px, 1fr) 40px;
}

.erp-warehouse-head span:last-child {
    grid-column: auto;
}

.erp-kv-row {
    margin-bottom: 8px;
}

.erp-kv-row input,
.erp-kv-row select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d8e5f1;
    border-radius: 6px;
    background: #fff;
    outline: 0;
}

.erp-filter select,
.erp-advanced-filter select,
.erp-form-grid select,
.erp-kv-row select {
    padding-right: 38px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2367788f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
}

.erp-account-panel {
    padding: 0;
    overflow: hidden;
}

.erp-account-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    min-height: 520px;
}

.erp-account-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 36px;
    color: #fff;
    background: linear-gradient(145deg, #071931 0%, #075f9b 100%);
}

.erp-account-summary h2 {
    margin: 8px 0 0;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.erp-account-summary p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.8;
}

.erp-account-avatar,
.erp-account-avatar-wrap {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 3px solid rgba(46, 194, 239, .95);
    background: #e9eef5;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
}

.erp-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b7ec2;
    font-size: 38px;
}

.erp-account-avatar-img,
.erp-account-avatar-wrap .profile-user-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.erp-account-avatar-wrap .profile-avatar-text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    color: #fff;
    font-size: 13px;
    background: rgba(7, 25, 49, .64);
    opacity: 0;
    transition: opacity .16s ease;
}

.erp-account-avatar-wrap:hover .profile-avatar-text {
    opacity: 1;
}

.erp-account-avatar-wrap button {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.erp-account-meta {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.erp-account-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: rgba(255, 255, 255, .86);
}

.erp-account-meta i {
    width: 18px;
    color: #24c4f2;
}

.erp-account-form {
    padding: 34px 38px 38px;
}

.erp-clean-form .form-group {
    margin-left: 0;
    margin-right: 0;
}

.erp-form-grid-single {
    grid-template-columns: minmax(260px, 520px);
}

.erp-form-wide {
    grid-column: 1 / -1;
}

.erp-input-action {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.erp-input-action input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.erp-input-action .btn-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 0 16px;
    border: 1px solid #d7e4ef;
    border-left: 0;
    border-radius: 0 6px 6px 0;
    color: #fff;
    background: #0b7ec2;
    white-space: nowrap;
}

.erp-input-action .btn-change:hover,
.erp-input-action .btn-change:focus {
    color: #fff;
    background: #096fab;
    text-decoration: none;
}

.erp-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.erp-kv-remove {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #f04438;
}

.erp-kv-remove:hover,
.erp-kv-remove:focus {
    background: #d92d20;
}

.erp-kv-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #12b886;
    font-weight: 700;
}

.erp-kv-add:hover,
.erp-kv-add:focus {
    background: #0ca678;
}

.erp-map-label {
    display: block;
    margin-bottom: 8px;
}

.erp-map-empty {
    margin: 10px 0 0;
}

.erp-sync-range {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.erp-sync-range label {
    margin: 0;
    color: #7a8799;
    font-weight: 400;
}

.erp-sync-range span {
    display: block;
    margin-bottom: 8px;
}

.erp-sync-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 6px;
    color: #0b5790;
    background: #eef7ff;
}

.erp-sync-orders-form.is-loading .erp-sync-loading {
    display: flex;
}

.erp-sync-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(11, 126, 194, .24);
    border-top-color: #0b7ec2;
    border-radius: 50%;
    animation: erp-spin .72s linear infinite;
}

@keyframes erp-spin {
    to {
        transform: rotate(360deg);
    }
}

.erp-sync-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 18px;
}

.erp-sync-presets button {
    height: 30px;
    padding: 0 12px;
    border: 1px solid #d8e5f1;
    border-radius: 15px;
    color: #2d5f8f;
    background: #f6faff;
    cursor: pointer;
}

.erp-sync-presets button:hover,
.erp-sync-presets button:focus {
    color: #0b5790;
    border-color: #9fc8ee;
    background: #edf7ff;
}

.erp-store-tags {
    display: inline-block;
    max-width: 260px;
    color: #33465d;
    line-height: 1.6;
    white-space: normal;
}

.erp-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 24px;
    padding: 0 9px;
    border-radius: 14px;
    font-size: 12px;
    color: #0b7a44;
    background: #e5f8ef;
}

.erp-status::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: currentColor;
}

.erp-status-pending,
.erp-status-wms-pending {
    color: #b76500;
    background: #fff4dd;
}

.erp-status-abnormal,
.erp-status-failed,
.erp-status-wms-failed,
.erp-status-disabled,
.erp-status-deleted,
.erp-status-cancelled {
    color: #c0392b;
    background: #fdebea;
}

.erp-status-label_purchased,
.erp-status-wms_pushed,
.erp-status-shipped,
.erp-status-completed,
.erp-status-success,
.erp-status-normal,
.erp-status-wms-success {
    color: #0b7a44;
    background: #e5f8ef;
}

.erp-status-muted {
    color: #6f7d8c;
    background: #eef2f5;
}

.erp-pagination {
    margin-top: 22px;
    text-align: right;
}

.erp-pagination .pagination {
    margin: 0;
}

.erp-sidebar-mask {
    display: none;
}

@media (max-width: 1180px) {
    .erp-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erp-panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .erp-sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .erp-front.sidebar-open .erp-sidebar {
        transform: translateX(0);
    }

    .erp-main {
        margin-left: 0;
        padding: 16px;
    }

    .erp-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .erp-sidebar-mask {
        position: fixed;
        inset: 0;
        z-index: 15;
        background: rgba(5, 18, 33, .48);
    }

    .erp-front.sidebar-open .erp-sidebar-mask {
        display: block;
    }

    .erp-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .erp-member-badge {
        margin-left: 0;
    }

    .erp-stat-grid {
        grid-template-columns: 1fr;
    }

    .erp-filter {
        flex-direction: column;
    }

    .erp-filter-main {
        flex-direction: column;
    }

    .erp-filter-main .erp-search {
        width: 100%;
        min-width: 0;
    }

    .erp-page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .erp-filter select,
    .erp-filter button,
    .erp-filter-main .erp-filter-reset {
        width: 100%;
        height: 40px;
    }

	    .erp-detail-grid,
	    .erp-detail-list-wide,
	    .erp-map-info,
	    .erp-sync-range,
	    .erp-account-layout,
	    .erp-form-grid,
	    .erp-advanced-filter {
	        grid-template-columns: 1fr;
	    }

	    .erp-account-summary,
	    .erp-account-form {
	        padding: 24px;
	    }

    .erp-advanced-filter .erp-batch-filter {
        grid-column: 1 / -1;
    }

    .erp-detail-list {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .erp-kv-head,
    .erp-kv-row {
        grid-template-columns: 1fr;
    }

    .erp-kv-head span:last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .erp-login-title {
        top: 8%;
        font-size: 42px;
    }

    .erp-login-card {
        padding: 46px 26px 34px;
    }

    .erp-login-watermark {
        display: none;
    }

    .erp-hero h1 {
        font-size: 24px;
    }

    .erp-panel {
        padding: 20px;
    }

    .erp-info-list dt {
        float: none;
        width: auto;
        min-height: 0;
        line-height: 1.4;
        padding-top: 12px;
        border-bottom: 0;
    }

	    .erp-info-list dd {
	        margin-left: 0;
	        min-height: 36px;
	        line-height: 36px;
	        text-align: left;
	    }

	    .erp-account-panel {
	        padding: 0;
	    }

	    .erp-account-summary,
	    .erp-account-form {
	        padding: 20px;
	    }

	    .erp-form-actions {
	        align-items: stretch;
	        flex-direction: column;
	    }

	    .erp-form-actions .erp-action-btn,
	    .erp-form-actions .erp-filter-reset {
	        width: 100%;
	    }
	}

/* Admin-like front shell overrides */
.erp-front {
    background: #f3f7fb;
}

.erp-shell {
    display: block;
}

.erp-sidebar {
    width: 230px;
    background: #0d223d;
    box-shadow: none;
}

.erp-brand {
    min-height: 50px;
    justify-content: center;
    padding: 0 16px;
    border-bottom: 0;
}

.erp-brand strong {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .2px;
}

.erp-user-card {
    margin: 10px 10px 12px;
    padding: 0;
    border: 0;
    background: transparent;
}

.erp-user-card .erp-avatar {
    width: 46px;
    height: 46px;
}

.erp-user-card strong {
    color: #fff;
}

.erp-user-card small {
    color: #fff;
    font-weight: 700;
}

.erp-menu-search {
    position: relative;
    display: block;
    margin: 6px 10px 22px;
}

.erp-menu-search input {
    width: 100%;
    height: 38px;
    padding: 0 34px 0 12px;
    border: 0;
    border-radius: 2px;
    outline: 0;
    color: #b9cadb;
    background: #263d4c;
}

.erp-menu-search input::placeholder {
    color: #aab8c4;
}

.erp-menu-search i {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #aab8c4;
}

.erp-nav {
    height: calc(100vh - 146px);
    gap: 0;
    padding: 4px 10px;
    overflow-y: auto;
}

.erp-nav a,
.erp-nav-group {
    width: 100%;
    height: 50px;
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    color: #8fb0c7;
    background: transparent;
    font-size: 14px;
    text-align: left;
}

.erp-nav-group {
    justify-content: space-between;
    color: #fff;
    font-weight: 700;
}

.erp-nav-group span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.erp-nav-group .fa-angle-down {
    transition: transform .18s ease;
}

.erp-nav-group:not(.is-open) .fa-angle-down {
    transform: rotate(-90deg);
}

.erp-nav-children {
    display: none;
}

.erp-nav-group.is-open + .erp-nav-children {
    display: block;
}

.erp-nav-children {
    margin: 2px 0 8px;
    padding: 4px 0 6px;
    border-radius: 6px;
    background: rgba(5, 18, 34, .18);
}

.erp-nav-children a {
    height: 40px;
    margin: 2px 0;
    padding-left: 20px;
    border-left: 3px solid transparent;
    border-radius: 4px;
    color: #8ab0c9;
    font-weight: 400;
}

.erp-nav-children a i {
    width: 16px;
    font-size: 13px;
}

.erp-nav-children a:hover,
.erp-nav-children a:focus,
.erp-nav-children a.active {
    border-left-color: #65d4ff;
}

.erp-nav a:hover,
.erp-nav a:focus,
.erp-nav a.active,
.erp-nav-group:hover,
.erp-nav-group:focus {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #0b9fdc, #0f567d);
}

.erp-nav a i,
.erp-nav-group i:first-child {
    width: 18px;
    color: #86b2d4;
    text-align: center;
}

.erp-nav a:hover i,
.erp-nav a:focus i,
.erp-nav a.active i,
.erp-nav-group:hover i,
.erp-nav-group:focus i {
    color: #fff;
}

.erp-nav a em {
    margin-left: auto;
    padding: 1px 6px;
    border-radius: 3px;
    color: #fff;
    background: #0b79ff;
    font-size: 12px;
    font-style: normal;
    line-height: 18px;
}

.erp-sidebar-footer,
.erp-nav-title {
    display: none;
}

.erp-main {
    min-height: 100vh;
    margin-left: 230px;
    padding: 50px 0 0;
    background: #f3f7fb;
}

.erp-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 230px;
    z-index: 12;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d9dee4;
    background: #fff;
    box-shadow: 0 1px 4px rgba(16, 35, 54, .08);
}

.erp-topbar-left,
.erp-topbar-right {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
}

.erp-topbar-left {
    flex: 1;
}

.erp-topbar-right {
    margin-left: auto;
    padding-right: 12px;
}

.erp-tab-strip {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.erp-top-icon,
.erp-top-link,
.erp-tab,
.erp-top-user {
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    border: 0;
    border-left: 1px solid #eef1f4;
    color: #46576b;
    background: transparent;
    white-space: nowrap;
}

.erp-top-icon {
    min-width: 42px;
    padding: 0 10px;
}

.erp-top-user-menu {
    height: 100%;
}

.erp-top-user-menu.open .erp-top-user {
    color: #1f4f95;
    background: #f5f7fa;
}

.erp-top-user-dropdown {
    min-width: 168px;
    margin-top: 0;
    padding: 6px 0;
    border-color: #d9e2ec;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 18px rgba(16, 35, 54, .12);
}

.erp-top-user-dropdown > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: #46576b;
}

.erp-top-user-dropdown > li > a:hover,
.erp-top-user-dropdown > li > a:focus {
    color: #1f4f95;
    background: #f5f7fa;
}

.erp-top-user-dropdown > li > a.text-danger {
    color: #d9534f;
}

.erp-top-user-dropdown .divider {
    margin: 5px 0;
}

.erp-top-link:hover,
.erp-top-link:focus,
.erp-top-icon:hover,
.erp-top-icon:focus,
.erp-tab:hover,
.erp-tab:focus,
.erp-top-user:hover,
.erp-top-user:focus,
.erp-tab.active {
    color: #1f4f95;
    text-decoration: none;
    background: #f5f7fa;
}

.erp-tab.active {
    border-top: 2px solid #0b9fdc;
}

.erp-tab .close-tab {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    border-radius: 50%;
    color: #9aa7b5;
    font-size: 12px;
}

.erp-tab .close-tab:hover {
    color: #fff;
    background: #d9534f;
}

.erp-top-avatar {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    color: #9aa6b2;
    background: #e1e6ec;
}

.erp-top-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.erp-content {
    padding: 16px 14px 28px;
}

.erp-workspace-content {
    height: calc(100vh - 50px);
    padding: 0;
    overflow: hidden;
}

.erp-frame-stage {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f3f7fb;
}

.erp-page-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    border: 0;
    background: #f3f7fb;
}

.erp-page-frame.active {
    display: block;
}

.erp-frame-page {
    min-height: 100vh;
    background: #f3f7fb;
}

.erp-frame-content {
    min-height: 100vh;
    padding: 16px 14px 28px;
}

.erp-content > .erp-hero:first-child,
.erp-content > .erp-page-head:first-child,
.erp-content > .erp-panel:first-child {
    margin-top: 0;
}

.erp-menu-toggle {
    display: none;
}

.erp-front.sidebar-collapsed .erp-sidebar {
    width: 54px;
}

.erp-front.sidebar-collapsed .erp-main {
    margin-left: 54px;
}

.erp-front.sidebar-collapsed .erp-topbar {
    left: 54px;
}

.erp-front.sidebar-collapsed .erp-brand strong,
.erp-front.sidebar-collapsed .erp-user-card span:last-child,
.erp-front.sidebar-collapsed .erp-menu-search,
.erp-front.sidebar-collapsed .erp-nav span,
.erp-front.sidebar-collapsed .erp-nav em,
.erp-front.sidebar-collapsed .erp-nav-group .fa-angle-down {
    display: none;
}

.erp-front.sidebar-collapsed .erp-nav a,
.erp-front.sidebar-collapsed .erp-nav-group {
    justify-content: center;
    padding: 0;
    border-radius: 6px;
}

.erp-front.sidebar-collapsed .erp-nav-children a {
    border-left: 0;
}

.erp-front.sidebar-collapsed .erp-user-card {
    justify-content: center;
}

.erp-nav.is-filtering .erp-nav-group,
.erp-nav.is-filtering .erp-nav-children {
    display: block;
}

.erp-nav a.is-hidden {
    display: none;
}

@media (max-width: 820px) {
    .erp-main {
        margin-left: 0;
        padding-top: 50px;
    }

    .erp-topbar {
        left: 0;
    }

    .erp-topbar-right .erp-top-link,
    .erp-topbar-right .erp-top-user span:last-child {
        display: none;
    }

    .erp-tab-strip {
        max-width: calc(100vw - 220px);
    }

    .erp-content {
        padding: 14px;
    }

    .erp-workspace-content {
        padding: 0;
    }

    .erp-frame-content {
        padding: 14px;
    }
}
