/* =============================================================
   魔云控制台 · 智简魔方会员中心皮肤
   设计方向：深流控制台（Deep Current）
   - 深海墨蓝侧栏 + 极光青主色 + 熔橙信号色
   - 发丝边框、等宽数字、仪表盘式排版
   说明：本文件为纯覆盖层，不修改智简魔方内核，仅覆盖视觉样式。
   作者：IDC 开发组
   创建：2026-11-18
   ============================================================= */

/* ---------------- 设计令牌 ---------------- */
:root {
    --brand: #0f766e;
    --brand-dark: #0b5d57;
    --brand-2: #14b8a6;
    --brand-3: #5eead4;
    --brand-soft: #e8f7f4;
    --brand-line: #bdebe3;

    --accent: #ff6b35;
    --accent-dark: #e85520;
    --accent-soft: #fff1ea;

    --ink: #0b1220;
    --ink-2: #22304a;
    --ink-3: #3b4a63;
    --muted: #69788f;
    --line: #e2e8f0;
    --line-soft: #eef2f6;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #f9fbfc;

    --success: #0e9f6e;
    --success-soft: #e7f8f1;
    --warning: #d97706;
    --warning-soft: #fef6e7;
    --danger: #e5484d;
    --danger-soft: #fdecec;
    --info: #2563eb;
    --info-soft: #eaf1ff;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
    --shadow: 0 22px 48px -32px rgba(11, 18, 32, .42);

    --sidebar: #080e1a;
    --sidebar-2: #101a2b;
    --dark-line: rgba(148, 197, 255, .12);

    --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------------- 基础 ---------------- */
body {
    font-family: var(--font) !important;
    background: var(--bg) !important;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
}

body,
.card,
.btn,
.form-control,
.table {
    font-family: var(--font);
}

a { color: var(--brand); }
a:hover, a:focus { color: var(--brand-dark); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.015em; }

::selection { background: rgba(20, 184, 166, .24); }

.text-primary { color: var(--brand) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--muted) !important; }
.bg-primary { background-color: var(--brand) !important; }
.color-999 { color: var(--muted) !important; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; background-clip: padding-box; border: 2px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 顶栏 ---------------- */
#page-topbar {
    background: rgba(255, 255, 255, .92) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
    backdrop-filter: saturate(140%) blur(10px);
    height: 64px;
}

#page-topbar .navbar-header {
    height: 64px;
    padding: 0 14px;
}

.navbar-brand-box {
    background: transparent !important;
    width: auto !important;
    padding: 0 10px 0 4px !important;
    display: flex;
    align-items: center;
}

.navbar-brand-box .logo.logo-dark,
.navbar-brand-box .logo.logo-light {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand-box .logo-lg img {
    max-height: 30px;
    width: auto !important;
    object-fit: contain;
}

/* 控制台标识 */
.my-brand-mark {
    width: 34px;
    height: 34px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-3);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 15px;
    background: #0b1424;
    border: 1px solid rgba(94, 234, 212, .38);
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
    box-shadow: inset 0 0 18px rgba(20, 184, 166, .22);
    letter-spacing: 0;
    line-height: 1;
}

.my-brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.my-brand-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}

.my-console-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 1px 8px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    vertical-align: middle;
}

/* 顶栏按钮 */
#page-topbar .header-item {
    height: 40px;
    min-width: 40px;
    padding: 0 10px;
    border-radius: var(--radius-xs);
    color: var(--ink-2) !important;
    background: transparent;
    border: 1px solid transparent;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

#page-topbar .header-item:hover {
    background: var(--surface-2);
    border-color: var(--line);
    color: var(--ink) !important;
}

#page-topbar .header-item i,
#page-topbar .header-item .bx {
    font-size: 20px;
    color: var(--ink-2);
}

#page-topbar .noti-icon .badge {
    top: 4px;
    right: 2px;
    background: var(--accent) !important;
    border: 2px solid #fff;
    font-family: var(--mono);
}

#page-topbar .user-center_header {
    background: linear-gradient(135deg, var(--brand-2), var(--brand)) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 6px 14px -8px rgba(15, 118, 110, .8);
}

#page-topbar .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 6px;
    margin-top: 6px;
    min-width: 190px;
}

#page-topbar .dropdown-item {
    border-radius: var(--radius-xs);
    padding: 8px 12px;
    font-size: 13.5px;
    color: var(--ink-2);
}

#page-topbar .dropdown-item:hover,
#page-topbar .dropdown-item:focus {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

#page-topbar .dropdown-item.text-danger,
#page-topbar .dropdown-item.text-danger i { color: var(--danger) !important; }

#vertical-menu-btn {
    color: var(--ink-2) !important;
    background: transparent;
    border: 1px solid transparent;
}

#vertical-menu-btn:hover { background: var(--surface-2); border-color: var(--line); }

/* ---------------- 侧栏 ---------------- */
.vertical-menu {
    background: var(--sidebar) !important;
    border-right: 1px solid rgba(255, 255, 255, .06) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .04);
}

#sidebar-menu {
    padding: 14px 10px 30px;
}

#sidebar-menu ul li a {
    color: #a9b6c9 !important;
    padding: 10px 12px;
    border-radius: var(--radius-xs);
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
    transition: background .16s ease, color .16s ease;
    position: relative;
}

#sidebar-menu ul li a i {
    font-size: 17px;
    color: #6f8199;
    transition: color .16s ease;
    width: 18px;
    text-align: center;
}

#sidebar-menu ul li a:hover {
    background: rgba(255, 255, 255, .05);
    color: #f2f7fa !important;
}

#sidebar-menu ul li a:hover i { color: var(--brand-3); }

#sidebar-menu ul li a.active,
#sidebar-menu ul li.mm-active > a {
    background: linear-gradient(90deg, rgba(20, 184, 166, .18), rgba(20, 184, 166, .04)) !important;
    color: #f2f7fa !important;
    box-shadow: inset 2px 0 0 var(--brand-2);
}

#sidebar-menu ul li a.active i,
#sidebar-menu ul li.mm-active > a i { color: var(--brand-3); }

#sidebar-menu .sub-menu {
    background: rgba(255, 255, 255, .02);
    border-radius: var(--radius-xs);
    padding: 4px;
    margin: 2px 0 6px;
}

#sidebar-menu .sub-menu li a {
    padding-left: 34px;
    font-size: 13px;
    color: #93a2b7 !important;
    font-weight: 400;
}

#sidebar-menu .sub-menu li a:hover { color: #f2f7fa !important; }

/* 侧栏空态菜单（未登录） */
.vertical-menu.menu-js .metismenu > li > a { color: #a9b6c9; }

/* 侧栏折叠按钮悬浮 */
#sidebar-menu .menu-title,
#sidebar-menu .menu-title span {
    color: #4d5f78 !important;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* ---------------- 内容区 ---------------- */
.page-content { padding: 22px 24px 40px !important; }

body[data-sidebar="dark"] .main-content,
body[data-sidebar="dark"] .page-content { background: var(--bg); }

/* 页头 */
.page-title-box {
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.page-title-box h4 {
    font-size: 19px !important;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}

.page-title-box h4::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    margin-right: 9px;
    vertical-align: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-2), var(--accent));
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 12.5px;
}

.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--brand); }
.breadcrumb-item.active { color: var(--ink-2); }
.breadcrumb-item + .breadcrumb-item::before { color: #b8c4d4; }

/* ---------------- 卡片 ---------------- */
.card {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    background: var(--surface) !important;
    margin-bottom: 20px;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--line-soft) !important;
    padding: 15px 20px;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}

.card-header:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }

.card-title {
    font-size: 15px !important;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: 0;
}

.card-body { padding: 20px; }

.card-footer {
    background: var(--surface-2) !important;
    border-top: 1px solid var(--line-soft) !important;
}

/* 首页用户卡片 */
.user-center_h300 { min-height: 300px; }

.user-center_header {
    background: linear-gradient(135deg, var(--brand-2), var(--brand)) !important;
    color: #fff !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    font-weight: 700;
    box-shadow: 0 10px 22px -14px rgba(15, 118, 110, .9);
}

.user-center_name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-right: 8px;
}

.user-center_safety {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 18px;
    border: 1px solid var(--brand-line);
    transition: transform .16s ease, box-shadow .16s ease;
}

.user-center_safety:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -16px rgba(15, 118, 110, .9);
}

.user-center_product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-xs);
    background: var(--surface-2);
    color: var(--ink-2);
    font-size: 13.5px;
    margin-bottom: 8px;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.user-center_product:hover {
    border-color: var(--brand-line);
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.user-center_product i { color: var(--brand); margin-right: 6px; }

/* 公告列表 */
.user-center_notice_ul { list-style: none; margin: 0; padding: 0; }

.user-center_notice_item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line-soft);
}

.user-center_notice_item:last-child { border-bottom: none; }

.notice_item_time {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--muted) !important;
    white-space: nowrap;
}

.notice_item_title {
    color: var(--ink-2);
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice_item_title:hover { color: var(--brand); }

/* ---------------- 按钮 ---------------- */
.btn {
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius-xs) !important;
    font-size: 13.5px;
    padding: 8px 16px;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
    box-shadow: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px -18px rgba(11, 18, 32, .8) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
    background: #16233a !important;
    border-color: #16233a !important;
    color: #fff !important;
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus {
    background: #0b8a5f !important;
    border-color: #0b8a5f !important;
}

.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: #fff !important;
}

.btn-danger:hover { background: #cf3b40 !important; border-color: #cf3b40 !important; }

.btn-warning {
    background: var(--warning) !important;
    border-color: var(--warning) !important;
    color: #fff !important;
}

.btn-info {
    background: var(--brand-2) !important;
    border-color: var(--brand-2) !important;
    color: #fff !important;
}

.btn-outline-primary,
.btn-outline-info {
    color: var(--brand) !important;
    border-color: var(--brand-line) !important;
    background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
    background: var(--brand-soft) !important;
    border-color: var(--brand-2) !important;
    color: var(--brand-dark) !important;
}

.btn-outline-danger { color: var(--danger) !important; border-color: #f3c4c6 !important; }
.btn-outline-danger:hover { background: var(--danger-soft) !important; color: #b42c31 !important; }

.btn-light {
    background: #fff !important;
    border-color: var(--line) !important;
    color: var(--ink-2) !important;
}

.btn-light:hover { background: var(--surface-2) !important; border-color: #cfd9e4 !important; }

.btn-link { color: var(--brand) !important; font-weight: 600; }
.btn-link:hover { color: var(--brand-dark) !important; }

.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 7px !important; }
.btn-lg { padding: 12px 26px; font-size: 15px; border-radius: var(--radius-sm) !important; }

.btn-group > .btn { border-radius: 0 !important; }

/* waves 波纹改为青色 */
.waves-effect.waves-light .waves-ripple { background: rgba(255, 255, 255, .35); }
.waves-effect.waves-classic .waves-ripple { background: rgba(20, 184, 166, .22); }

/* ---------------- 表单 ---------------- */
.form-control {
    height: auto;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13.5px;
    color: var(--ink);
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-xs) !important;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.form-control:focus {
    border-color: var(--brand-2) !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .16) !important;
    color: var(--ink);
}

.form-control::placeholder { color: #a2aebf; }

.form-control:disabled,
.form-control[readonly] {
    background: var(--surface-2) !important;
    color: var(--muted);
}

select.form-control { padding-right: 30px; }

label,
.col-form-label,
.form-group > label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-3);
    margin-bottom: 6px;
}

.custom-control-label { font-weight: 400; font-size: 13.5px; }

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--brand); border-color: var(--brand); }

.input-group-text {
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

/* 必填星号 */
.text-danger.ml-1 { color: var(--danger) !important; }

/* ---------------- 表格 ---------------- */
.table {
    color: var(--ink-2);
    font-size: 13.5px;
    margin-bottom: 0;
}

.table thead th {
    background: var(--surface-2) !important;
    color: var(--muted) !important;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: none;
    border-top: none !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 11px 14px;
    white-space: nowrap;
}

.table td,
.table th {
    border-color: var(--line-soft);
    padding: 12px 14px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: var(--brand-soft) !important;
    color: var(--brand-dark);
}

.table-striped tbody tr:nth-of-type(odd) { background: var(--surface-2); }

.table-responsive { border-radius: var(--radius-sm); }

/* 数字列等宽 */
.table td.text-right,
.table td .price,
.table td.money,
.money,
.price {
    font-variant-numeric: tabular-nums;
}

/* 表格工具栏 */
.table-footer { padding-top: 6px; }

/* ---------------- 分页 ---------------- */
.pagination { margin-bottom: 0; }

.page-link {
    color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-xs) !important;
    margin: 0 3px;
    font-size: 13px;
    min-width: 34px;
    text-align: center;
    transition: all .16s ease;
}

.page-link:hover { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-dark); }

.page-item.active .page-link {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

.page-item.disabled .page-link { color: #b8c4d4; background: #fff; border-color: var(--line-soft); }

/* ---------------- 徽章 ---------------- */
.badge {
    font-weight: 600;
    font-size: 11.5px;
    border-radius: 999px;
    padding: 3px 9px;
    font-family: var(--font);
}

.badge-primary { background: var(--brand-soft) !important; color: var(--brand-dark) !important; border: 1px solid var(--brand-line); }
.badge-success { background: var(--success-soft) !important; color: #067a55 !important; border: 1px solid #bfeeda; }
.badge-danger { background: var(--danger-soft) !important; color: #bd2f34 !important; border: 1px solid #f8cfd0; }
.badge-warning { background: var(--warning-soft) !important; color: #a65a05 !important; border: 1px solid #fbe3b6; }
.badge-info { background: var(--info-soft) !important; color: #1d4ed8 !important; border: 1px solid #c9dbff; }
.badge-light { background: #f1f5f9 !important; color: var(--muted) !important; border: 1px solid var(--line); }
.badge-pill { padding-left: 8px; padding-right: 8px; }

/* ---------------- 提示 / 弹窗 ---------------- */
.alert {
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    border-left-width: 3px;
    font-size: 13.5px;
    padding: 11px 16px;
}

.alert-success { background: var(--success-soft); border-color: #bfeeda; border-left-color: var(--success); color: #05664a; }
.alert-danger { background: var(--danger-soft); border-color: #f8cfd0; border-left-color: var(--danger); color: #a52429; }
.alert-warning { background: var(--warning-soft); border-color: #fbe3b6; border-left-color: var(--warning); color: #8a4a04; }
.alert-info { background: var(--info-soft); border-color: #c9dbff; border-left-color: var(--info); color: #1a44b8; }

.modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 32px 64px -40px rgba(11, 18, 32, .55);
}

.modal-header { border-bottom: 1px solid var(--line-soft); padding: 16px 22px; }
.modal-title { font-size: 15.5px; font-weight: 700; }
.modal-body { padding: 20px 22px; }
.modal-footer { border-top: 1px solid var(--line-soft); padding: 14px 22px; }

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    font-size: 13.5px;
}

.dropdown-item { border-radius: var(--radius-xs); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--brand-soft); color: var(--brand-dark); }
.dropdown-divider { border-top-color: var(--line-soft); }

.tooltip-inner {
    background: var(--ink);
    border-radius: 7px;
    font-size: 12px;
    padding: 5px 9px;
}

.bs-tooltip-top .arrow::before { border-top-color: var(--ink); }
.bs-tooltip-bottom .arrow::before { border-bottom-color: var(--ink); }

.popover {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    font-size: 13.5px;
}

/* ---------------- 标签页 / 导航 ---------------- */
.nav-tabs { border-bottom: 1px solid var(--line); }

.nav-tabs .nav-link {
    border: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link:hover { color: var(--brand); border-color: transparent; }

.nav-tabs .nav-link.active {
    color: var(--brand) !important;
    background: transparent !important;
    border-color: transparent transparent var(--brand) transparent !important;
}

.nav-pills .nav-link {
    border-radius: var(--radius-xs);
    color: var(--ink-2);
    font-weight: 600;
    font-size: 13.5px;
}

.nav-pills .nav-link.active { background: var(--brand) !important; color: #fff !important; }

/* 列表组 */
.list-group-item {
    border-color: var(--line-soft);
    font-size: 13.5px;
    padding: 12px 16px;
}

.list-group-item.active {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
}

/* 进度条 */
.progress { background: #eef2f6; border-radius: 999px; height: 8px; }
.progress-bar { background: linear-gradient(90deg, var(--brand-2), var(--brand)); }

/* 分割线 */
hr { border-top-color: var(--line-soft); }

/* ---------------- 页脚 ---------------- */
.footer {
    background: transparent !important;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
    padding: 16px 24px;
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--brand); }

.my-footer-brand { color: var(--ink-2); font-weight: 600; }
.my-footer-sep { margin: 0 8px; color: #c3cedb; }
.my-footer-meta { font-family: var(--mono); font-size: 11.5px; color: #93a2b7; letter-spacing: .04em; }
.my-footer-links a { margin-left: 16px; font-size: 12.5px; }
.my-footer-links a:first-child { margin-left: 0; }

/* ---------------- 登录 / 注册 ---------------- */
.auth-full-bg .bg-overlay {
    background:
        radial-gradient(900px 420px at 12% 18%, rgba(20, 184, 166, .28), transparent 62%),
        radial-gradient(700px 380px at 82% 8%, rgba(94, 234, 212, .16), transparent 60%),
        linear-gradient(150deg, #071019 0%, #0b1727 48%, #08111d 100%) !important;
    opacity: 1 !important;
    background-size: cover !important;
}

.auth-page .auth-full-bg .bg-overlay,
.bglogo .bg-overlay { filter: saturate(110%); }

.auth-full-bg h1,
.auth-full-bg .text-white { color: #f4f8fb !important; letter-spacing: -.02em; }
.auth-full-bg p, .auth-full-bg .text-white-50 { color: rgba(214, 228, 240, .7) !important; }

/* 登录表单卡片 */
.auth-page .card,
.container-fluid .card.auth-card {
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    box-shadow: 0 30px 60px -42px rgba(11, 18, 32, .5) !important;
}

/* 右侧表单区域白底留白 */
.col-xl-5 .p-4.p-sm-5 {
    background: #fff;
}

.auth-logo .logo img { max-height: 40px; }

/* ---------------- 购物车 / 产品 ---------------- */
.cart-sidebar,
.sidebar-categories {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-sidebar .list-group-item {
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0;
    color: var(--ink-2);
}

.cart-sidebar .list-group-item.active,
.sidebar-categories .list-group-item.active {
    background: var(--brand-soft) !important;
    border-left-color: var(--brand-2);
    color: var(--brand-dark) !important;
}

/* 商品卡片价格信号色 */
.card .card-body .text-right[style*="e64a19"] {
    color: var(--accent) !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* 产品配置页步骤条 */
.el-steps .el-step__title.is-process,
.el-steps .el-step__head.is-process .el-step__icon {
    color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.el-steps .el-step__head.is-finish .el-step__icon,
.el-steps .el-step__head.is-finish .el-step__line {
    background: var(--brand-2) !important;
    border-color: var(--brand-2) !important;
    color: #fff !important;
}

/* ---------------- Element UI 通用（前台少量使用） ---------------- */
.el-button--primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.el-button--primary:hover,
.el-button--primary:focus {
    background-color: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
}

.el-input__inner:focus,
.el-textarea__inner:focus { border-color: var(--brand-2) !important; }

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-radio__input.is-checked .el-radio__inner {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.el-checkbox__input.is-checked + .el-checkbox__label,
.el-radio__input.is-checked + .el-radio__label { color: var(--brand) !important; }

.el-tabs__item.is-active { color: var(--brand) !important; }
.el-tabs__active-bar { background-color: var(--brand) !important; }
.el-pagination.is-background .el-pager li:not(.disabled).active { background-color: var(--brand) !important; }

.el-dialog { border-radius: var(--radius) !important; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 991.98px) {
    .page-content { padding: 16px 14px 32px !important; }
    .my-brand-title { display: none; }
    .navbar-brand-box .logo-lg img { max-height: 24px; }
}

@media (max-width: 575.98px) {
    .my-console-tag { display: none; }
    #page-topbar .navbar-header { padding: 0 8px; }
}
