/* 二次元风格（无毛玻璃、无动画、注重可读与性能） */

:root {
    --acg-bg-overlay: rgba(10, 12, 28, 0.45);
    --acg-primary: #7a8cff;
    --acg-secondary: #b88cff;
    --acg-danger: #ff6b88;
    --acg-text-strong: #111319;
    --acg-text-muted: #6b7280;
    --acg-card-bg: rgba(255, 255, 255);
    --acg-border: #e5e7eb;
}

html {
    font-size: 13px;
}

a {
    text-decoration: none;
}

/* 背景直接铺图 + 颜色叠加（不使用 fixed，避免闪烁） */
body {
    background-image: linear-gradient(180deg, var(--acg-bg-overlay), rgba(10, 12, 28, 0.6)), url('/assets/admin/images/login/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

body.page-bg-dynamic {
    background-image:
        linear-gradient(180deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 71%)),
        var(--page-bg-image, url('/assets/admin/images/login/bg.jpg'));
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* 导航：渐变条 + 细边框 */
.navbar-acg {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
    z-index: 999999;
}

.navbar-acg .navbar-brand {
    font-size: 1.45rem;
}

.navbar-acg .nav-link {
    color: #898989;
    font-size: 1.2rem;
}

.navbar-acg .nav-link.active {
    color: #479afb;
}

.navbar-acg .nav-link.active {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .user-info-box {
        position: absolute;
        right: 64px;
        top: 8px;
    }
    .user-login-box {
        position: absolute;
        right: 68px;
        top: 14px;
    }
}


/* Hero 文案块（纯色卡片） */
.hero-acg {
    background: var(--acg-card-bg);
    border: 1px solid var(--acg-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.hero-title {
    font-weight: 800;
    letter-spacing: .3px;
}

.hero-sub {
    color: var(--acg-text-muted);
}

.accent-bar {
    height: 4px;
    width: 64px;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    border-radius: 4px;
}

/* 分类 Chip */
.chip-list {
    display: flex;
    gap: .5rem;
    overflow-x: visible;
    overflow-y: visible;
    padding: 2px 0 .25rem;
    flex-wrap: wrap;
}

.chip-list::-webkit-scrollbar {
    height: 6px;
}

.chip-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .15);
    border-radius: 999px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: rgb(255 248 248 / 23%);
    color: #707070;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    transform-origin: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 1.231rem;
}

.chip.is-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    border-color: transparent;
}

/* 商品卡片（简洁，无动态特效） */
.acg-card {
    background: var(--acg-card-bg);
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.acg-thumb {
    height: 160px;
    position: relative;
    transition: transform .25s ease;
}

/* 内容容器弹性布局，底部元素对齐 */
.acg-card > .p-3 {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* 价格行靠近底部，库存/已售置底对齐 */
.acg-card > .p-3 .stat-row {
    margin-top: auto;
}

.goods-title {
    font-weight: 700;
    color: #1f1f1f;
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em; /* 2 行占位，保证一行与两行卡片对齐 */
}

.price {
    color: var(--acg-danger);
    font-weight: 800;
    font-size: 20px;
}

.price .unit {
    font-weight: 600;
    font-size: 16px;
    color: #ef7d93;
}

.meta {
    color: var(--acg-text-muted);
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.stat-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--acg-text-muted);
}

.badge-soft {
    display: inline-block;
    padding: .15rem .45rem;
    border-radius: 999px;
    font-size: 12px;
}

.badge-soft-primary {
    background: rgba(122, 140, 255, .12);
    color: #5b6ce6;
    border: 1px solid rgba(122, 140, 255, .25);
}

.badge-soft-success {
    background: rgba(80, 200, 120, .12);
    color: #3aa76d;
    border: 1px solid rgba(80, 200, 120, .25);
}

.badge-soft-danger {
    background: rgba(255, 0, 0, 0.12);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.25);
}

.badge-soft-muted {
    background: rgba(31, 41, 55, 0.12);
    color: rgba(31, 41, 55);
    border: 1px solid rgba(31, 41, 55, 0.25);
}

.badge-soft-warning {
    background: rgba(254, 243, 199, 0.12);
    color: #fef3c7;
    border: 1px solid rgba(254, 243, 199, 0.25);
}


.badge-soft-info {
    background: rgba(186, 149, 251, 0.12);
    color: #ba95fb;
    border: 1px solid rgba(186, 149, 251, 0.25);
}

.shared-button {
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.shared-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.tags {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    margin-bottom: .4rem;
}

.acg-card.soldout {
    filter: grayscale(1) contrast(.92) brightness(.98);
}

.acg-card.soldout:hover {
    transform: none;
    box-shadow: rgba(100, 100, 111, .2) 0 7px 29px 0;
}

.soldout-ribbon {
    position: absolute;
    top: 12px;
    left: -36px;
    transform: rotate(-45deg);
    background: linear-gradient(90deg, #ff8080, #ff6b88);
    color: #fff;
    padding: 4px 46px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(255, 107, 136, .35);
}

/* 分类图标（演示使用统一图片） */
.chip .chip-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

/* 布局微调 */
.section-title {
    color: #111827;
    font-weight: 700;
}

.notice {
    color: #374151;
}

@media (min-width: 992px) {
    .hero-acg {
        padding: 32px;
    }
}

/* 响应式卡片封面高度调整 */
@media (max-width: 575.98px) {
    .acg-thumb {
        height: 120px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .acg-thumb {
        height: 140px;
    }
}

/* 移动端 chip 紧凑化，保持单行显示 */
@media (max-width: 575.98px) {
    .chip {
        padding: .35rem .6rem;
        font-size: 13px;
    }

    .chip .chip-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }

    /* 隐藏移动端横向滚动条但可滑动 */
    .chip-list {
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .chip-list::-webkit-scrollbar {
        display: none;
    }
}

/* 仅在支持 hover 的设备启用动效，避免手机耗电与误触 */
@media (hover: hover) and (pointer: fine) {
    .chip:hover {
        transform: scale(1.02);
    }

    .sku:hover {
        transform: scale(1.02);
    }

    .acg-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    }

    .acg-card:hover .acg-thumb {
        transform: scale(1.03);
    }
}

/* 系统减少动态时，弱化动效 */
@media (prefers-reduced-motion: reduce) {
    .chip, .acg-card, .acg-thumb, .sku {
        transition-duration: .001ms !important;
    }
}

/* 顶部图标与输入组微调 */
.navbar-acg .nav-link .nav-icon {
    margin-right: .35rem;
    font-size: 1.15rem;
}

.navbar-acg .btn .nav-icon {
    margin-right: .35rem;
}

.brand-logo {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.search-input {
    max-width: 360px;
}

.search-input .input-group-text {
    border: 1px solid #90909075;
    background: transparent;
    border-right: 0;
    padding: 0 0 0 10px;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
}

.search-input .form-control {
    border: 1px solid #90909075;
    border-left: 0;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;

}

.search-input .form-control:focus {
    border: var(--bs-border-width) solid #90909075 !important;
    border-left: none !important;
    box-shadow: none;
}

/* 通用 panel 样式（公告/购买区） */
.panel {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
}

.panel + .panel {
    margin-top: 16px;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 16px;

}

.panel-header .icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.panel-title {
    margin: 0;
    color: #111827;
    font-size: 1.2rem;
}

.panel-body {
    color: #1f2937;
    padding: 0 16px 16px 16px;
}

.panel-soft {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.90)),
        linear-gradient(135deg, rgba(145, 214, 255, 0.12), rgba(219, 238, 255, 0.10));
    box-shadow: 0 30px 70px rgba(66, 91, 138, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.panel-soft::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.30), transparent 45%);
}

.panel-soft .panel-header,
.panel-soft .panel-body {
    position: relative;
    z-index: 1;
}

.panel-copy {
    color: #55657f;
    line-height: 1.8;
}

.empty-copy {
    margin: 0;
    color: #7c8aa3;
}

.muted {
    color: var(--acg-text-muted);
}

.item-message {
    text-align: center;
    margin-top: 12px;
    color: grey;
    font-size: 14px;
}

.storefront-shell {
    width: min(1450px, calc(100% - 48px));
    margin: 0 auto;
}

.storefront-hero,
.item-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 24px;
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.90)),
        linear-gradient(135deg, rgba(145, 214, 255, 0.12), rgba(219, 238, 255, 0.10));
    box-shadow: 0 30px 70px rgba(66, 91, 138, 0.12);
}

.storefront-hero::before,
.item-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.30), transparent 45%);
}

.storefront-hero-copy,
.storefront-hero-side,
.item-hero-copy,
.item-hero-side {
    position: relative;
    z-index: 1;
}

.storefront-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(137,221,255,0.24), rgba(159,236,202,0.28));
    color: #157b67;
    box-shadow: inset 0 0 0 1px rgba(124, 210, 186, 0.16);
}

.storefront-hero-copy h1,
.item-hero-copy h1 {
    margin: 18px 0 14px;
    font-size: 3.6rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #273758;
}

.storefront-hero-copy p,
.item-hero-copy p {
    max-width: 760px;
    margin: 0;
    font-size: 1.16rem;
    color: #667792;
    line-height: 1.8;
}

.storefront-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.storefront-hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #5d6b85;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 22px rgba(108, 128, 164, 0.08);
}

.storefront-stat-card,
.item-hero-stat {
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,247,255,0.92)),
        linear-gradient(135deg, rgba(133, 213, 255, 0.14), rgba(194, 220, 255, 0.08));
    box-shadow: inset 0 0 0 1px rgba(193, 212, 239, 0.28);
}

.storefront-stat-card label,
.item-hero-stat label,
.storefront-mini-card label {
    display: block;
    margin-bottom: 8px;
    color: #7b879c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.storefront-stat-card strong,
.item-hero-stat strong,
.storefront-mini-card strong {
    display: block;
    color: #273758;
    font-size: 2rem;
    line-height: 1.1;
}

.storefront-stat-card p,
.item-hero-stat p {
    margin: 12px 0 0;
    color: #667792;
    line-height: 1.7;
}

.storefront-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.storefront-mini-card {
    min-height: 120px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 16px 28px rgba(121, 140, 172, 0.10);
}

.storefront-panel-body {
    padding-top: 0;
}

.storefront-category-wrap {
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.74);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.storefront-item-list {
    min-height: 180px;
}

.item-page-shell {
    margin-top: 0;
}

.item-panel {
    margin-top: 24px !important;
}

.item-panel-body {
    padding-top: 8px;
}

.item-cover-card {
    min-height: 420px;
    border-radius: 28px;
}

.item-purchase-shell {
    padding: 8px 4px;
}

.item-meta-badges {
    flex-wrap: wrap;
}

.item-price-row {
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 14px 28px rgba(121, 140, 172, 0.08);
}

.item-form-shell {
    padding: 18px;
    border-radius: 28px;
    background: rgba(255,255,255,0.74);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}


/* SKU LIST */
.sku-list {
    display: flex;
    gap: .5rem;
    overflow-x: visible;
    overflow-y: visible;
    flex-wrap: wrap;
    margin-top: 2px;
}

.sku-list::-webkit-scrollbar {
    height: 6px;
}

.sku-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .15);
    border-radius: 16px;
}

.sku {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: .2rem .6rem;
    border-radius: 16px;
    background: rgba(255, 248, 248, 0.63);
    color: #929292;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    transform-origin: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 14px;
}

/* 价格加价徽标（悬浮在 SKU 右上角） */
.sku .badge-money,
.sku .badge-moeny {
    position: absolute;
    top: -15px;
    right: -12px;
    z-index: 1;
    padding: 1px 4px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    background: linear-gradient(90deg, #ffb84d, #ff6b88);
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(255, 107, 136, .35);
    pointer-events: none; /* 不干扰点击 SKU */
}

/* 在选中/主色 SKU 上同样清晰可见 */
.sku.is-primary .badge-money,
.sku.is-primary .badge-moeny,
.pay-list .pay.is-primary .badge-money,
.pay-list .pay.active .badge-money,
.pay-list .pay.selected .badge-money {
    border-color: rgba(255, 255, 255, 0.95);
}

@media (hover: hover) and (pointer: fine) {
    .sku:hover .badge-money,
    .sku:hover .badge-moeny,
    .optional-card:hover {
        transform: translateY(-1px) scale(1.05);
        transition: transform .12s ease;
    }
}

@media (max-width: 575.98px) {
    .sku .badge-money,
    .sku .badge-moeny {
        transform: scale(.94);
        transform-origin: top right;
    }
}

.sku.is-primary {
    color: #fff;
    background: linear-gradient(90deg, #ffb1b1, #ab57ff);
    border-color: transparent;
}

.vstack label {
    color: grey;
    font-size: 14px;
}

.vstack .form-control {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.49);
    border: var(--bs-border-width) solid #ababab47;
}

.captcha-input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: none;
}

.captcha-img {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left: none;
    background: rgba(255, 255, 255, 0.49);
    padding: 0;
    height: 100%;
    cursor: pointer;
    margin-left: 2px;
}

/* 容器（外层白底圆角、淡蓝描边与光晕） */
.input-group.qty-group {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 8px;
    border-radius: 0.375rem;
    width: 140px; /* 可按需要调整 */
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
    border: 2px solid #cfe7ff;
    box-shadow: 0 14px 24px rgba(47, 127, 245, .16),
    0 0 0 6px rgba(207, 231, 255, .35) inset;
}

/* 左右按钮（蓝色圆角方块） */
.input-group.qty-group > button {
    width: 32px;
    height: 24px;
    border: 0;
    border-radius: 0.375rem;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(180deg, #79c8ff, #2f7ff5);
    box-shadow: 0 8px 18px rgba(47, 127, 245, .30);
    transition: transform .12s ease, filter .12s ease;
}

.input-group.qty-group > button:hover {
    filter: brightness(1.06);
}

.input-group.qty-group > button:active {
    transform: scale(.98);
}

/* 中间数字输入（透明背景、无边框、大号数字） */
.input-group.qty-group > input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    text-align: center;
    color: #2d72d4;
    font-size: 14px;
    font-weight: 700;
    padding: 0;
}

/* 去掉数字输入的上下小箭头 */
.input-group.qty-group > input[type="number"]::-webkit-outer-spin-button,
.input-group.qty-group > input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-group.qty-group > input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* 结账分区（高阶分隔卡片） */
.cash-pay {
    position: relative;
    border-radius: 16px;
    padding: 12px;
    background: #ffffff70;
    border: none;
    box-shadow: 0 10px 28px rgba(149, 157, 165, 0.25),
    0 0 0 6px rgba(122, 140, 255, .06) inset;
}

.cash-pay .form-label {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin: 4px 0 8px 4px;
    font-weight: 800;
    font-size: 1rem;
    color: #9d93f7;
}

.cash-pay .form-label i {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    box-shadow: 0 6px 14px rgba(122, 140, 255, .35);
}

.cash-pay .pay-list {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed #eceff3;
}

/* 强化在结账区域内的支付按钮视觉分组 */
.cash-pay .pay-list .pay {
    background: rgba(255, 248, 248, 0.3);
    border: none;
    cursor: pointer;
}

.cash-pay .pay-list .pay.is-primary,
.cash-pay .pay-list .pay.active,
.cash-pay .pay-list .pay.selected {
    box-shadow: 0 10px 22px rgba(122, 140, 255, .28);
}

@media (max-width: 575.98px) {
    .cash-pay {
        padding: 10px;
        border-radius: 14px;
    }

    .cash-pay .form-label {
        margin-bottom: 6px;
    }
}

.pay-list .pay {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: .4rem .75rem;
    border-radius: 12px;
    background: rgba(255, 248, 248, 0.15);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    text-decoration: none;
    user-select: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, filter .12s ease;
}

.pay-list .pay img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.pay-list .pay span {
    font-size: 14px;
    font-weight: 700;
    color: #a3a3a3;
}

/* 选中态，可通过添加 .active / .selected / .is-primary 类控制 */
.pay-list .pay.is-primary,
.pay-list .pay.active,
.pay-list .pay.selected {
    color: #fff;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(122, 140, 255, .25);
}

.pay-list .pay.is-primary span,
.pay-list .pay.active span,
.pay-list .pay.selected span {
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .pay-list .pay:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
        filter: brightness(1.02);
    }
}

/* 商品详情块微调（置于左侧商品图下） */
.item-detail {
    margin-top: 12px;
}

.item-detail .panel-header .icon {
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
    color: #fff;
}

.item-detail .panel-body img {
    max-width: 100%;
}

.item-detail .panel-body p {
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .storefront-shell {
        width: min(100%, calc(100% - 24px));
    }

    .storefront-hero,
    .item-hero {
        grid-template-columns: 1fr;
        padding: 22px;
        border-radius: 28px;
    }

    .storefront-hero-copy h1,
    .item-hero-copy h1 {
        font-size: 2.4rem;
    }

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

    .storefront-category-wrap,
    .item-form-shell,
    .item-price-row {
        padding: 14px;
    }

    .item-cover-card {
        min-height: 280px;
    }

    .item-detail {
        margin-top: 10px;
    }
}

/* 移动端：标题不强制占两行 */
@media (max-width: 575.98px) {
    .goods-title {
        -webkit-line-clamp: 1;
        line-clamp: 1;
        min-height: 1.35em;
    }

    .chip-list {
        flex-wrap: wrap;
    }
}


.wholesale-table {
    width: 140px;
    background: transparent;
}

.wholesale-table > * > * > * {
    background: transparent !important;
}

.wholesale-table thead th {
    color: #2d72d4 !important;
    font-size: 14px;
}

.wholesale-table tbody td {
    color: #2d72d4 !important;
    font-size: 14px;
}

/* 用户头像样式 */
#user-avatar {
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease;
}

#user-avatar:hover {
    border-color: #139655;
}

/* 用户信息按钮样式 */
#userDropdown {
    padding: 4px 8px;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

#userDropdown:hover {
    background-color: rgba(19, 150, 85, 0.1);
    border-radius: 8px;
}

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 4px 0;
    backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.7);
}

.dropdown-item {
    padding: 6px 16px;
    transition: background-color 0.2s ease;
    font-size: 14px;
    line-height: 1.3;
}

.dropdown-item:hover {
    background-color: rgba(19, 150, 85, 0.1);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* 用户名和余额样式 */
#username {
    color: #212529;
    font-weight: 600;
}

#user-balance {
    color: #6c757d;
    font-weight: 500;
}

.optional-card {
    display: flex;
    align-items: center;
    position: relative;
    padding: .2rem .6rem;
    border-radius: 16px;
    background: rgba(255, 248, 248, 0.63);
    color: #929292;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    transform-origin: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 14px;
}

.optional-card.is-primary {
    color: #fff;
    background: linear-gradient(90deg, #79c8ff, #2f7ff5);
    border-color: transparent;
}

.bootstrap-table.bootstrap5 .table-switch-state button.active, .table-switch-state button:focus {
    background-color: rgba(121, 200, 255, 0.40) !important;
}

.bootstrap-table.bootstrap5 .table-switch-state button:hover {
    background-color: rgba(121, 200, 255, 0.22) !important;
}

.table {
    --bs-table-bg: rgba(255, 255, 255, 0) !important;
    --bs-table-border-color: transparent;
}

.btn-group-sm > .btn, .btn-sm {
    font-size: 1rem;
}

/* 订单查询页面样式 */
.order-query-form {

}

.order-results, .no-results, .loading-state {
    margin-top: 12px;
}

.order-query-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.order-query-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    height: 48px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-query-form .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--acg-primary);
    box-shadow: 0 0 0 4px rgba(122, 140, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.order-query-form .btn-primary {
    background: linear-gradient(135deg, var(--acg-primary), var(--acg-secondary));
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    height: 48px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.order-query-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.order-query-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 140, 255, 0.35);
}

.order-query-form .btn-primary:hover::before {
    left: 100%;
}

.order-query-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(122, 140, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .order-query-form .btn-primary {
        width: 120px;
    }
}

/* 订单项样式 - 重新设计 */
.order-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--acg-primary), var(--acg-secondary));
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 订单头部 */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.order-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.order-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-badge.status-pending {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: none;
}

.status-badge.status-paid {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.status-badge.status-completed {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.status-badge.status-cancelled {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
}

.status-badge.status-shipped {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
}

.status-badge.status-waiting-shipment {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.shipment-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 发货状态徽章样式 */
.shipment-status {

}

.shipment-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.shipment-badge.shipment-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #d97706;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.shipment-badge.shipment-paid {
    background: rgba(34, 197, 94, 0.2);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.shipment-badge.shipment-shipped {
    background: rgba(139, 92, 246, 0.2);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.shipment-badge.shipment-waiting {
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.order-basic {
    flex: 1;
}

.order-no {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.order-time,
.payment-time,
.payment-dst {
    font-size: 14px;
    color: #374151;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.order-time:last-child,
.payment-time:last-child,
.payment-dst:last-child {
    margin-bottom: 0;
}

.order-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    gap: 12px;
}

.order-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.amount-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.amount-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--acg-danger);
    line-height: 1;
}

/* 商品信息 */
.goods-section {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.goods-thumb {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.goods-image {
    width: 72px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.goods-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.goods-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.goods-meta {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.goods-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--acg-danger);
}

.payment-dst {
    display: flex;
    align-items: center;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    /*background: #bdbdbd3b;*/

    /*box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;*/
    /*padding: 3px 6px;*/
    cursor: pointer;
    box-shadow: inset rgb(255 197 249 / 24%) -20px 0px 2px 2px;
    border-radius: 4px;

}

.payment-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.payment-name {
    font-size: 1rem;
    color: #21c44d;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
    .order-header {
        flex-direction: column;
        gap: 12px;
    }

    .order-meta {
        margin-left: 0;
    }

    .order-content {
        flex-direction: column;
        gap: 16px;
    }

    .goods-info {
        flex-direction: column;
        gap: 12px;
    }

    .goods-thumb {
        align-self: center;
    }

    .payment-info {
        text-align: center;
        min-width: auto;
    }
}

/* 加载状态样式 */
.loading-state .icon-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 无结果状态样式 */
.no-results .fa-search {
    opacity: 0.6;
}

/* 验证码输入组样式调整 */
.order-query-form .captcha-input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: none;
}

.order-query-form .captcha-img {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left: none;
    background: rgba(255, 255, 255, 0.8);
    padding: 0;
    height: 100%;
    cursor: pointer;
    margin-left: 2px;
    border-radius: 0 8px 8px 0;
}

/* 虚拟卡密样式 - 重新设计 */
.card-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.card-header {
    margin-bottom: 16px;
}

.card-title {
    margin: 0;
    font-weight: 700;
    color: #1f2937;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.password-input-group {
    margin-bottom: 16px;
}

.password-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.card-password-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
    padding: 10px 12px;
    height: 42px;
    transition: all 0.2s ease;
}

.card-password-input:focus {
    border-color: var(--acg-primary);
    box-shadow: 0 0 0 3px rgba(122, 140, 255, 0.1);
}

.view-card-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    background: linear-gradient(135deg, var(--acg-primary), var(--acg-secondary));
    color: white;
    border: 2px solid var(--acg-primary);
    border-radius: 0 8px 8px 0;
    padding: 10px 16px;
    height: 42px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.view-card-btn:hover {
    background: linear-gradient(135deg, var(--acg-secondary), var(--acg-primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.3);
}

.card-content,
.card-content-no-password {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.card-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--acg-primary);
    box-shadow: 0 2px 8px rgba(122, 140, 255, 0.1);
}

.card-info {
    flex: 1;
}

.card-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-size: 14px;
}

.card-value {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    color: #495057;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-all;
    user-select: all;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
}

.card-value:hover {
    background: #e9ecef;
    border-color: var(--acg-primary);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.copy-card-btn {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.2s ease;
}

.copy-card-btn:hover {
    background: var(--acg-primary);
    color: white;
    border-color: var(--acg-primary);
}

.card-loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.card-loading .icon-spin {
    color: var(--acg-primary);
    font-size: 1.5rem;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .card-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .view-card-btn {
        font-size: 13px;
        padding: 10px 12px;
    }
}

.card-display {
    white-space: pre-line;
}

/* 新的卡密显示样式 */
.card-display-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.card-text {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1f2937;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
    word-break: break-all;
    user-select: all;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    min-height: 80px;
    max-height: 300px;
    overflow-y: auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.card-text:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.copy-all-btn {
    background: linear-gradient(135deg, var(--acg-primary), var(--acg-secondary));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.25);
}

.copy-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(122, 140, 255, 0.35);
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .order-item {
        padding: 20px;
    }

    .goods-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .goods-meta {
        justify-content: center;
    }

    .order-header {
        flex-direction: column;
        gap: 16px;
    }

    .order-right {
        align-self: flex-start;
    }

    .card-display-content {
        padding: 16px;
    }

    .card-text {
        font-size: 13px;
        padding: 12px;
    }
}

/* 加载更多状态样式 */
.load-more-loading,
.load-more-end {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 16px;
}

.load-more-loading .icon-spin {
    color: var(--acg-primary);
    font-size: 1.2rem;
}

.load-more-loading span {
    color: #374151;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.load-more-end {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.load-more-end span {
    color: #6b7280;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.load-more-end .fa-check-circle {
    color: #10b981;
}

/* 滚动条样式优化 */
.order-list::-webkit-scrollbar {
    width: 6px;
}

.order-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.order-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.order-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.item-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acg-cover {
    position: relative;
    overflow: hidden;
}

.flex-fill {
    flex: 1 1 auto;
}

.br-12 {
    border-radius: 12px;
}

footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    color: #858585;
}

.dashboard-shell {
    padding: 18px !important;
}

.fly-user-main > .layui-nav {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 60px rgba(38, 57, 94, 0.12);
}

.fly-user-main > .layui-nav .layui-nav-item {
    margin: 6px 10px;
}

.fly-user-main > .layui-nav .layui-nav-item a {
    min-height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.fly-user-main > .layui-nav .layui-nav-item.layui-this > a,
.fly-user-main > .layui-nav .layui-nav-item > a:hover {
    box-shadow: 0 10px 24px rgba(111, 132, 168, 0.18);
}

.navbar-acg .container {
    gap: 12px;
}

.navbar-acg .navbar-nav {
    align-items: center;
    gap: 6px;
}

.navbar-acg .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px !important;
    border-radius: 999px;
    font-weight: 700;
    transition: all .2s ease;
}

.navbar-acg .nav-link:hover {
    color: #1f7ed5;
    background: rgba(71, 154, 251, 0.08);
}

.navbar-acg .nav-link.active {
    background: #fff;
    box-shadow: 0 10px 24px rgba(111, 132, 168, 0.16);
}

.user-info-box .dropdown-toggle {
    border-radius: 999px;
    padding-right: 12px !important;
}

.user-nav-trigger {
    display: none !important;
}

.dashboard-hero,
.dashboard-main-card,
.query-hero-panel,
.query-entry-card,
.query-result-panel,
.query-empty-panel,
.query-loading-panel {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 24px 60px rgba(38, 57, 94, 0.12);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    padding: 28px;
    border-radius: 28px;
    margin-bottom: 22px;
}

.dashboard-hero-badge,
.query-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(32, 180, 134, 0.12);
    color: #178564;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.dashboard-hero-copy h1,
.query-hero-copy h1 {
    margin: 16px 0 12px;
    color: #1b2940;
    font-size: 2.5rem;
    line-height: 1.22;
    font-weight: 800;
}

.dashboard-hero-copy p,
.query-hero-copy p {
    margin: 0;
    color: #64748b;
    font-size: 1.12rem;
    line-height: 1.9;
}

.dashboard-hero-tags,
.query-hero-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.dashboard-hero-tags span,
.query-hero-tips span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(20, 35, 68, 0.08);
    color: #5b687f;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-profile-card {
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(20, 35, 68, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.92));
}

.dashboard-profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-profile-head img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(83, 119, 173, 0.16);
}

.dashboard-profile-head strong {
    display: block;
    font-size: 1.28rem;
    color: #1c2740;
}

.dashboard-profile-head span {
    color: #6b7890;
    font-size: 13px;
}

.dashboard-profile-grid,
.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-mini-card,
.dashboard-summary-card {
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(20, 35, 68, 0.06);
    background: rgba(255, 255, 255, 0.88);
}

.profile-mini-card label,
.dashboard-summary-card label {
    display: block;
    color: #7b879c;
    font-size: 13px;
    margin-bottom: 8px;
}

.profile-mini-card strong,
.dashboard-summary-card strong {
    display: block;
    color: #1d2a43;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
}

.profile-mini-card.is-primary,
.dashboard-summary-card.is-primary {
    background: linear-gradient(135deg, rgba(32, 180, 134, 0.18), rgba(255, 255, 255, 0.92));
}

.profile-mini-card.is-blue {
    background: linear-gradient(135deg, rgba(85, 149, 255, 0.18), rgba(255, 255, 255, 0.92));
}

.dashboard-summary-card.is-purple {
    background: linear-gradient(135deg, rgba(184, 140, 255, 0.2), rgba(255, 255, 255, 0.92));
}

.dashboard-main-card {
    border-radius: 28px;
    padding: 24px;
}

.dashboard-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dashboard-card-head h2 {
    margin: 0 0 6px;
    color: #1c2740;
    font-size: 2rem;
    font-weight: 800;
}

.dashboard-card-head p,
.dashboard-summary-card p {
    margin: 0;
    color: #6f7b92;
    font-size: 1rem;
    line-height: 1.8;
}

.dashboard-info-list {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 35, 68, 0.06);
}

.dashboard-info-row span {
    color: #7a869d;
    font-size: 1rem;
}

.dashboard-info-row strong {
    color: #1d2a43;
    font-size: 1.05rem;
    font-weight: 700;
}

.dashboard-info-row .highlight-blue {
    color: #3c87dc;
}

.dashboard-info-row .danger-text {
    color: #e55d6d;
    font-style: normal;
    margin-left: 8px;
}

.query-page-shell {
    display: grid;
    gap: 20px;
}

.query-hero-panel {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    padding: 26px;
    border-radius: 28px;
}

.query-entry-card,
.query-result-panel,
.query-empty-panel,
.query-loading-panel {
    border-radius: 24px;
}

.query-entry-card {
    padding: 20px;
}

.query-panel-header {
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.query-panel-header .panel-title {
    font-size: 1.5rem;
}

.query-panel-subtitle {
    color: #8a95a9;
}

.query-form-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 14px;
}

.query-form-input,
.query-form-action {
    min-width: 0;
}

.query-form-action .btn-search-query {
    width: 100%;
}

.query-result-panel .panel-body,
.query-empty-panel .panel-body,
.query-loading-panel .panel-body {
    padding: 22px;
}

.query-result-panel .order-list {
    min-height: 40px;
}

@media (max-width: 991.98px) {
    .dashboard-hero,
    .query-hero-panel {
        grid-template-columns: 1fr;
    }

    .navbar-acg .container {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .dashboard-shell {
        padding: 12px !important;
    }

    .dashboard-hero,
    .dashboard-main-card,
    .query-hero-panel,
    .query-entry-card,
    .query-result-panel,
    .query-empty-panel,
    .query-loading-panel {
        border-radius: 22px;
    }

    .dashboard-hero,
    .query-hero-panel {
        padding: 18px;
    }

    .dashboard-hero-copy h1,
    .query-hero-copy h1 {
        font-size: 2rem;
    }

    .dashboard-profile-grid,
    .dashboard-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-info-row {
        grid-template-columns: 1fr;
    }

    .query-form-row {
        grid-template-columns: 1fr;
    }

    .user-nav-trigger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .user-info-box {
        position: static;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 6px;
    }

    .user-info-box .dropdown,
    .user-info-box .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .navbar-acg .navbar-brand {
        max-width: calc(100% - 56px);
    }

    .navbar-acg .navbar-toggler {
        margin-left: auto;
    }

    .fly-user-main {
        margin-top: 20px !important;
    }
}

/* stronger visual pass */
.bg-content {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        radial-gradient(circle at top center, rgba(142, 201, 255, 0.18), transparent 30%),
        radial-gradient(circle at 12% 20%, rgba(135, 208, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 255, 0.98)) !important;
}

.bg-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 42%),
        radial-gradient(circle at 78% 14%, rgba(195, 176, 255, 0.08), transparent 20%);
}

.navbar-acg {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 44px rgba(56, 79, 120, 0.10);
}

.navbar-acg .navbar-brand {
    font-size: 2rem;
}

.navbar-acg .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d8efff, #eef8ff);
    padding: 4px;
    box-shadow: 0 10px 20px rgba(68, 128, 196, 0.18);
}

.navbar-acg .navbar-nav {
    padding: 6px;
    border-radius: 999px;
    background: rgba(247, 250, 255, 0.92);
    border: 1px solid rgba(151, 176, 214, 0.18);
}

.navbar-acg .nav-link {
    color: #5f6e88;
    min-height: 46px;
    padding: 0 18px !important;
}

.navbar-acg .nav-link.active {
    color: #2d88f3;
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
    box-shadow: 0 14px 30px rgba(114, 140, 190, 0.20);
}

.navbar-acg .search-input .input-group {
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,248,255,0.88));
    box-shadow: 0 10px 24px rgba(113, 132, 166, 0.12);
}

.navbar-acg .search-input .input-group-text,
.navbar-acg .search-input .form-control {
    border: none;
    background: transparent;
}

.user-info-box .dropdown-toggle {
    min-height: 54px;
    padding-left: 8px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,249,255,0.92));
    box-shadow: 0 12px 28px rgba(113, 132, 166, 0.14);
}

.fly-user-main {
    position: relative;
    display: block;
    width: min(1450px, calc(100% - 48px));
    margin: 42px auto 0 !important;
    min-height: 768px;
}

.fly-user-main > .layui-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 14px 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,255,0.88)),
        linear-gradient(135deg, rgba(127, 220, 255, 0.14), rgba(219, 238, 255, 0.12));
}

.fly-user-main > .layui-nav::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
    pointer-events: none;
}

.fly-user-main > .layui-nav .layui-nav-item {
    position: relative;
    margin: 8px 0;
}

.fly-user-main > .layui-nav .layui-nav-item a {
    color: #2d72d4 !important;
    font-size: 1.55rem;
    font-weight: 700;
    min-height: 60px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(137, 200, 255, 0.20);
}

.fly-user-main > .layui-nav .layui-nav-item .layui-icon {
    color: inherit;
    font-size: 22px;
}

.fly-user-main > .layui-nav .layui-nav-item.layui-this > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%);
    box-shadow: 0 18px 30px rgba(47, 127, 245, 0.24);
}

.fly-user-main > .fly-panel {
    margin: 0 0 10px 224px !important;
    min-height: 768px;
    border-radius: 34px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,250,255,0.90)) !important;
    box-shadow: 0 30px 70px rgba(66, 91, 138, 0.10) !important;
}

.fly-panel-user {
    overflow: hidden;
}

.fly-panel-user[pad20],
.dashboard-shell[pad20] {
    padding: 24px !important;
}

.fly-panel-user .layui-tab,
.fly-panel-user .layui-tab-brief {
    margin: 0;
}

.fly-panel-user .layui-tab-title {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
    margin-bottom: 20px;
    padding: 6px 10px;
    border: none;
    border-radius: 999px;
    background: rgba(245, 248, 255, 0.92);
    overflow: visible;
}

.fly-panel-user .layui-tab-title li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    line-height: 1;
    min-width: 150px;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    color: #667792;
    font-weight: 700;
}

.fly-panel-user .layui-tab-title li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    color: inherit;
    line-height: 1;
}

.fly-panel-user .layui-tab-title li .layui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    transform: translateY(1px);
}

.fly-panel-user .layui-tab-title li a {
    color: inherit;
}

.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this {
    color: #1f7ed5;
    background: #fff;
    box-shadow: 0 12px 28px rgba(111, 132, 168, 0.14);
}

.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this a,
.fly-panel-user .layui-tab-title li:hover a {
    color: #1f7ed5;
}

.fly-panel-user .layui-tab-brief > .layui-tab-more li.layui-this:after,
.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this:after {
    left: 12px;
    right: 12px;
    bottom: -6px;
    width: auto;
    height: 3px;
    border: none;
    border-radius: 999px;
    background: #2f7ff5;
}

@media (max-width: 768px) {
    .fly-panel-user .layui-tab-title {
        gap: 6px;
        padding: 6px;
        border-radius: 24px;
        overflow-x: auto;
    }

    .fly-panel-user .layui-tab-title li {
        min-width: 120px;
        height: 46px;
        white-space: nowrap;
    }

    .fly-panel-user .layui-tab-title li .layui-icon {
        font-size: 20px;
    }
}

.content-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #243554;
    font-size: 1.35rem;
    font-weight: 800;
}

.content-header .layui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #1f7ed5;
    background: linear-gradient(135deg, rgba(137, 221, 255, 0.24), rgba(219, 238, 255, 0.22));
}

.content-body {
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(20, 35, 68, 0.06);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.content-body-table {
    position: relative;
    overflow: hidden;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,250,255,0.88)),
        linear-gradient(135deg, rgba(145, 214, 255, 0.10), rgba(219, 238, 255, 0.08));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 16px 34px rgba(102, 121, 157, 0.08);
}

.content-body-table::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.30), transparent 45%);
}

.content-body > *:last-child,
.form-block > *:last-child {
    margin-bottom: 0 !important;
}

.elem-quote {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 0;
    border-radius: 18px;
    color: #55657f;
    background: linear-gradient(135deg, rgba(137, 221, 255, 0.14), rgba(159, 236, 202, 0.18));
}

.form-block {
    display: grid;
    gap: 20px;
}

.form-header {
    margin-bottom: 10px;
    color: #5d6e8b;
    font-size: 14px;
    font-weight: 700;
}

.form-meta {
    color: #63b584;
    font-size: 14px;
    font-weight: 600;
}

.form-body {
    color: #44526b;
}

.form-body .layui-input,
.form-body .layui-textarea,
.form-body .layui-select,
.form-body select,
.form-body textarea,
.form-body input[type="text"],
.form-body input[type="number"],
.form-body input[type="password"] {
    max-width: 100%;
    min-height: 50px;
    border: 1px solid rgba(157, 179, 214, 0.34) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 24px rgba(114, 140, 190, 0.08);
}

.form-body .layui-input[style],
.form-body input[style],
.form-body select[style],
.form-body textarea[style] {
    width: min(420px, 100%) !important;
}

.field-control {
    width: min(320px, 100%) !important;
}

.field-control-short {
    width: min(160px, 100%) !important;
}

.field-control-wide {
    width: min(260px, 100%) !important;
}

.field-accent {
    color: #2d72d4 !important;
}

.form-body .amount-input {
    width: min(150px, 100%) !important;
    color: #2d72d4 !important;
}

.form-body textarea,
.form-body .layui-textarea {
    min-height: 120px;
    padding-top: 14px;
}

.form-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.form-inline-actions .layui-input,
.form-inline-actions input {
    width: min(220px, 100%) !important;
}

.layui-form-select dl {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(70, 89, 122, 0.14);
}

.layui-btn-pink,
.payButton,
.save-data,
.send-captcha {
    min-height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%) !important;
    box-shadow: 0 18px 36px rgba(47, 127, 245, 0.22);
}

.send-captcha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-gap {
    margin-top: 25px;
}

.spacer-top-sm {
    margin-top: 10px;
}

.text-accent-blue {
    color: #0c84d1;
}

.text-accent-purple {
    color: #8d16e3;
}

.text-accent-green {
    color: #108d25;
}

.text-accent-pink {
    color: #2f7ff5;
}

.text-accent-indigo {
    color: #6a71f1;
}

.text-accent-note {
    color: #0a53be;
}

.text-strong-pink {
    color: #2f7ff5;
    font-weight: 700;
}

.text-success-strong {
    color: green;
}

.text-danger-strong {
    color: red;
}

.text-highlight-link {
    color: #a372d7;
    font-weight: 700;
}

.link-spacer-left {
    margin-left: 10px;
}

.clickable-icon {
    cursor: pointer;
}

.editor-toggle {
    width: 100%;
    border: none;
    border-radius: 5px 5px 0 0;
    background: rgba(255, 255, 255, 0.35);
    color: #c9b8b8;
}

.business-level-copy {
    font-size: 12px;
    color: #5d6e88;
}

.business-level-copy p {
    margin-bottom: 6px;
}

.status-icon-yes {
    color: green;
}

.status-icon-no {
    color: red;
}

.status-text-pending {
    color: mediumvioletred;
}

.mini-icon-top {
    margin-top: -5px;
}

.level-icon-inline {
    height: 16px;
    margin-top: -4px;
}

.tips-compact {
    font-size: 12px;
}

.welfare-line {
    padding-bottom: 5px;
}

.badge-clickable {
    cursor: pointer;
}

.tap-icon {
    font-size: 32px;
    color: #0C84D1;
    cursor: pointer;
}

.brand-title {
    color: #1396558a;
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
    background-color: #f8f9fa;
}

.user-name-sm {
    font-size: 14px;
    line-height: 1.2;
}

.user-balance-sm {
    font-size: 12px;
    line-height: 1.2;
}

.query-empty-icon {
    font-size: 3rem;
    color: #6b7280;
}

.query-loading-icon {
    font-size: 2rem;
    color: var(--acg-primary);
}

.trade-captcha-group {
    width: 240px;
}

.hidden-input {
    display: none;
}

.hidden-inline {
    display: none;
}

.hidden-block {
    display: none;
}

.avatar-uploader {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 1px solid rgba(122, 189, 246, 0.42);
    box-shadow: 0 18px 36px rgba(82, 133, 194, 0.14);
    cursor: pointer;
}

.table,
.table-bordered,
.bootstrap-table .fixed-table-container {
    border-color: rgba(157, 179, 214, 0.22) !important;
}

.table thead th,
.table thead td {
    color: #5d6e88;
    font-weight: 800;
    background: rgba(243, 248, 255, 0.9);
}

.table tbody td {
    vertical-align: middle;
    color: #334155;
    background: rgba(255, 255, 255, 0.8);
}

.table-hover tbody tr:hover td {
    background: rgba(245, 249, 255, 0.98);
}

.card-views {
    background: rgba(255, 255, 255, 0.82);
}

.avatar-img,
.wx_qrcode {
    box-shadow: 0 16px 32px rgba(111, 132, 168, 0.14) !important;
}

.avatar-img {
    border: 1px solid rgba(122, 189, 246, 0.32);
    background: rgba(255, 255, 255, 0.94);
}

.auth-wrapper {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    width: min(100%, 480px);
    padding: 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.9)),
        linear-gradient(135deg, rgba(145, 214, 255, 0.12), rgba(219, 238, 255, 0.10));
    box-shadow: 0 30px 70px rgba(66, 91, 138, 0.14);
}

.brand-header {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(137, 221, 255, 0.26), rgba(47, 127, 245, 0.16));
    box-shadow: 0 16px 30px rgba(114, 140, 190, 0.14);
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.auth-subtitle {
    text-align: center;
    color: #697991;
    font-size: 14px;
    line-height: 1.8;
}

.text-link {
    color: #1f7ed5;
    font-weight: 700;
}

.auth-card .form-floating > .form-control,
.auth-card .form-control {
    min-height: 58px;
    border: 1px solid rgba(157, 179, 214, 0.34);
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 10px 24px rgba(114, 140, 190, 0.08);
}

.auth-card .form-floating > label {
    color: #7b879c;
}

.btn-gradient {
    min-height: 56px;
    border: none;
    border-radius: 18px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%);
    box-shadow: 0 18px 36px rgba(47, 127, 245, 0.22);
}

.send-email-captcha,
.send-phone-captcha,
.auth-card .btn-outline-primary {
    min-height: 58px;
    border-radius: 18px;
    border-color: rgba(137, 221, 255, 0.5);
    color: #1f7ed5;
    background: rgba(255,255,255,0.88);
}

.image-code {
    width: 100%;
    height: 58px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(157, 179, 214, 0.3);
    box-shadow: 0 10px 24px rgba(114, 140, 190, 0.08);
}

.divider {
    color: #8a95a9;
    text-align: center;
}

.cash-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 22px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(157, 179, 214, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(114, 140, 190, 0.08);
    color: #2d72d4;
}

.cash-wallet-btn.checked {
    border-color: rgba(31, 126, 213, 0.28);
    background: linear-gradient(135deg, rgba(137, 221, 255, 0.2), rgba(47, 127, 245, 0.14));
    box-shadow: 0 16px 32px rgba(47, 127, 245, 0.16);
}

.cash-wallet-btn .pay-icon {
    height: 24px;
    margin-top: 0;
}

.group-level-icon {
    height: 32px;
}

.layui-bg-cash {
    border-radius: 999px;
    padding: 2px 7px;
}

.content-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    position: relative;
    z-index: 1;
}

.content-toolbar .layui-btn {
    margin: 0 !important;
}

.content-body-table .bootstrap-table,
.content-body-table table,
.content-body-table .fixed-table-container {
    position: relative;
    z-index: 1;
}

.content-body-table .bootstrap-table {
    border-radius: 22px;
    overflow: hidden;
}

.content-body-table .fixed-table-container {
    border-radius: 22px !important;
    border: 1px solid rgba(157, 179, 214, 0.20) !important;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 30px rgba(110, 129, 165, 0.08);
}

.content-body-table .fixed-table-toolbar,
.content-body-table .fixed-table-pagination,
.content-body-table .fixed-table-loading {
    position: relative;
    z-index: 1;
}

.content-body-table .pagination > li > a,
.content-body-table .pagination > li > span {
    border-radius: 12px !important;
    margin: 0 4px;
    border-color: rgba(157, 179, 214, 0.24);
    color: #5d6e88;
    background: rgba(255,255,255,0.92);
}

.content-body-table .pagination > .active > a,
.content-body-table .pagination > .active > span,
.content-body-table .pagination > .active > a:hover,
.content-body-table .pagination > .active > span:hover {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%);
    box-shadow: 0 10px 24px rgba(47, 127, 245, 0.18);
}

.business-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    line-height: 22px;
    min-width: 220px;
    max-width: 260px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(157, 179, 214, 0.24);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 32px rgba(114, 140, 190, 0.08);
}

.business-group hr {
    width: 100%;
    margin: 0;
    border-color: rgba(157, 179, 214, 0.18);
}

.business-group .pay-icon {
    height: 28px;
}

.editor-wrapper {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(157, 179, 214, 0.24);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(114, 140, 190, 0.08);
}

.editor-content {
    background: rgba(255, 255, 255, 0.96);
}

.form-split-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: min(520px, 100%);
}

.form-split-row .layui-col-md5,
.form-split-row .layui-col-md7 {
    width: auto;
}

.a-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.a-badge-success {
    color: #157b67;
    background: rgba(159, 236, 202, 0.28);
}

.a-badge-danger {
    color: #cc4c69;
    background: rgba(255, 214, 224, 0.26);
}

.a-badge-primary {
    color: #1f7ed5;
    background: rgba(137, 221, 255, 0.24);
}

.layui-layer-page .layui-layer-content {
    position: relative !important;
    overflow: auto !important;
}

.dashboard-shell {
    padding: 0 !important;
}

.dashboard-hero,
.dashboard-main-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,250,255,0.88)),
        linear-gradient(135deg, rgba(136, 214, 255, 0.12), rgba(219, 238, 255, 0.10));
    box-shadow:
        0 30px 70px rgba(66, 91, 138, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.dashboard-hero::before,
.dashboard-main-card::before,
.query-hero-panel::before,
.query-result-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.30), transparent 45%);
}

.dashboard-hero-copy {
    padding: 8px 4px 8px 10px;
}

.dashboard-hero-badge,
.query-hero-badge {
    padding: 10px 18px;
    font-size: 13px;
    background: linear-gradient(135deg, rgba(137,221,255,0.24), rgba(159,236,202,0.28));
    color: #157b67;
    box-shadow: inset 0 0 0 1px rgba(124, 210, 186, 0.16);
}

.dashboard-hero-copy h1,
.query-hero-copy h1 {
    font-size: 4rem;
    letter-spacing: -0.03em;
    color: #273758;
    margin-top: 22px;
}

.dashboard-hero-copy p,
.query-hero-copy p {
    max-width: 760px;
    font-size: 1.22rem;
    color: #667792;
}

.dashboard-hero-tags span,
.query-hero-tips span {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
    color: #5d6b85;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 22px rgba(108, 128, 164, 0.08);
}

.dashboard-profile-card {
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,247,255,0.92)),
        linear-gradient(135deg, rgba(133, 213, 255, 0.14), rgba(194, 220, 255, 0.08));
    box-shadow: inset 0 0 0 1px rgba(193, 212, 239, 0.28);
}

.dashboard-hero-compact {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.dashboard-hero-compact .dashboard-hero-side {
    max-width: none;
    width: 100%;
}

.dashboard-hero-compact .dashboard-profile-card {
    width: 100%;
}

.dashboard-profile-head img {
    width: 64px;
    height: 64px;
    padding: 6px;
    background: linear-gradient(135deg, #79c8ff, #d8efff);
}

.dashboard-profile-head strong {
    font-size: 1.7rem;
}

.profile-mini-card,
.dashboard-summary-card {
    min-height: 112px;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 16px 28px rgba(121, 140, 172, 0.10);
}

.profile-mini-card strong,
.dashboard-summary-card strong {
    font-size: 2.7rem;
}

.dashboard-main-card {
    margin-top: 24px;
    padding: 30px 30px 34px;
}

.dashboard-card-head h2 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

.dashboard-info-row {
    min-height: 66px;
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 20px rgba(120, 138, 173, 0.06);
}

.query-page-shell {
    width: min(1450px, calc(100% - 48px));
    margin: 34px auto 0;
}

.query-hero-panel,
.query-entry-card,
.query-result-panel,
.query-empty-panel,
.query-loading-panel {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.90)),
        linear-gradient(135deg, rgba(145, 214, 255, 0.12), rgba(219, 238, 255, 0.10));
    box-shadow: 0 30px 70px rgba(66, 91, 138, 0.12);
}

.query-hero-panel {
    padding: 34px;
}

.query-hero-compact {
    display: block;
    padding: 24px;
}

.query-hero-compact .query-entry-card {
    max-width: 720px;
    margin: 0 auto;
}

.query-entry-card {
    padding: 24px;
}

.query-form-row {
    grid-template-columns: 1fr 210px;
}

.query-form-input .form-control {
    height: 60px;
    border-radius: 18px;
    font-size: 15px;
}

.query-form-action .btn-search-query {
    height: 60px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .fly-user-main {
        width: min(100%, calc(100% - 24px));
        min-height: 0;
    }

    .fly-user-main > .layui-nav {
        position: fixed;
        top: 0;
        left: -320px;
        width: 288px;
        height: 100vh;
        min-height: 100vh;
        z-index: 9999;
        transition: left .28s ease;
    }

    .fly-user-main > .fly-panel {
        margin: 0 !important;
        min-height: 0;
    }

    .fly-panel-user[pad20],
    .dashboard-shell[pad20],
    .content-body {
        padding: 18px !important;
    }

    .form-body .layui-input[style],
    .form-body input[style],
    .form-body select[style],
    .form-body textarea[style],
    .form-inline-actions .layui-input,
    .form-inline-actions input {
        width: 100% !important;
    }

    .form-split-row {
        grid-template-columns: 1fr;
    }

    .site-mobile .fly-user-main > .layui-nav {
        left: 0;
    }
}

@media (max-width: 767.98px) {
    .auth-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .navbar-acg .navbar-nav {
        margin-top: 12px;
        border-radius: 24px;
        align-items: stretch;
    }

    .navbar-acg .nav-link {
        justify-content: center;
    }

    .dashboard-hero-copy h1,
    .query-hero-copy h1 {
        font-size: 2.8rem;
    }

    .dashboard-main-card,
    .query-hero-panel,
    .query-entry-card,
    .query-result-panel {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* blue visual refresh */
:root {
    --acg-bg-overlay: rgba(15, 49, 108, 0.18);
    --acg-primary: #2f7ff5;
    --acg-secondary: #76c8ff;
    --acg-danger: #1e66d0;
    --acg-text-strong: #132746;
    --acg-text-muted: #64748b;
    --acg-border: #d9e7f7;
}

body.page-bg-dynamic {
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.78), rgba(236,246,255,0.94)),
        var(--page-bg-image, url('/assets/user/images/theme/aurora-blue-bg.svg'));
}

.bg-content {
    background:
        radial-gradient(circle at top center, rgba(142, 201, 255, 0.22), transparent 30%),
        radial-gradient(circle at 12% 20%, rgba(176, 224, 255, 0.24), transparent 24%),
        linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(232, 243, 255, 0.98)) !important;
}

.navbar-acg {
    border-bottom-color: rgba(175, 205, 236, 0.54);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 36px rgba(66, 114, 176, 0.10);
}

.navbar-acg .brand-logo {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #d8efff, #eef8ff);
    box-shadow: 0 12px 24px rgba(68, 128, 196, 0.18);
}

.brand-title {
    color: #2e73c8;
    letter-spacing: -0.02em;
}

.navbar-acg .nav-link {
    color: #4d6486;
}

.navbar-acg .nav-link:hover {
    color: #1c5fc7;
    background: rgba(98, 167, 245, 0.12);
}

.navbar-acg .nav-link.active {
    color: #1b63cf;
    background: linear-gradient(135deg, rgba(220, 238, 255, 0.95), rgba(242, 249, 255, 0.95));
    box-shadow: 0 10px 24px rgba(90, 132, 185, 0.16);
}

.chip {
    background: rgba(237, 246, 255, 0.94);
    color: #547093;
    box-shadow: rgba(81, 130, 183, 0.12) 0 6px 18px;
}

.chip.is-primary,
.sku.is-primary,
.optional-card.is-primary,
.pay-list .pay.is-primary,
.pay-list .pay.active,
.pay-list .pay.selected,
.btn-gradient,
.copy-all-btn,
.layui-btn-pink,
.payButton,
.save-data,
.send-captcha {
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%) !important;
}

.soldout-ribbon,
.sku .badge-money,
.sku .badge-moeny {
    background: linear-gradient(135deg, #4ca4ff, #2b6bd7);
    box-shadow: 0 8px 18px rgba(58, 123, 204, .28);
}

.input-group.qty-group {
    background: linear-gradient(180deg, #ffffff, #edf7ff);
    border-color: #cbe4fb;
    box-shadow: 0 14px 24px rgba(96, 148, 214, .12), 0 0 0 6px rgba(202, 227, 250, .38) inset;
}

.input-group.qty-group > button {
    background: linear-gradient(180deg, #5caeff, #2f7ff5);
    box-shadow: 0 8px 18px rgba(47, 127, 245, .25);
}

.input-group.qty-group > input[type="number"] {
    color: #2f7ff5;
}

.cash-pay .form-label,
.price,
.price .unit,
.text-accent-pink,
.text-strong-pink,
.text-highlight-link,
.status-text-pending {
    color: #2f7ff5;
}

.field-accent,
.form-body .amount-input {
    color: #2d72d4 !important;
}

.panel-header .icon,
.item-detail .panel-header .icon {
    color: #fff;
    background: linear-gradient(135deg, #7dcfff, #2f7ff5);
    box-shadow: 0 10px 22px rgba(75, 137, 213, 0.18);
}

.panel-soft,
.storefront-hero,
.item-hero,
.dashboard-hero,
.dashboard-main-card,
.query-hero-panel,
.query-entry-card,
.query-result-panel,
.query-empty-panel,
.query-loading-panel {
    box-shadow: 0 30px 70px rgba(70, 122, 186, 0.10);
}

.dashboard-hero-badge,
.query-hero-badge,
.storefront-badge {
    background: linear-gradient(135deg, rgba(187, 229, 255, 0.8), rgba(230, 245, 255, 0.92));
    color: #235fbf;
    box-shadow: inset 0 0 0 1px rgba(131, 192, 245, 0.22);
}

.dashboard-profile-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,247,255,0.92)),
        linear-gradient(135deg, rgba(133, 213, 255, 0.18), rgba(219, 238, 255, 0.14));
}

.fly-user-main > .layui-nav .layui-nav-item a {
    color: #2b6ecf !important;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(156, 201, 240, 0.26);
}

.fly-user-main > .layui-nav .layui-nav-item.layui-this > a {
    background: linear-gradient(135deg, #58b8ff, #2d72ef 88%);
    box-shadow: 0 18px 30px rgba(72, 129, 211, 0.24);
}

.cash-wallet-btn {
    color: #2d72d4;
}

.content-body-table .pagination > .active > a,
.content-body-table .pagination > .active > span,
.content-body-table .pagination > .active > a:hover,
.content-body-table .pagination > .active > span:hover {
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%);
    box-shadow: 0 10px 24px rgba(65, 129, 210, 0.20);
}

.content-body-table .btn,
.content-body-table .layui-btn,
.content-body-table .btn-default,
.content-body-table .btn-secondary,
.content-body-table .btn-outline-secondary {
    border-color: rgba(169, 203, 238, 0.52);
    color: #567091;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 16px rgba(87, 129, 181, 0.08);
}

.content-body-table .btn:hover,
.content-body-table .btn-default:hover,
.content-body-table .btn-secondary:hover,
.content-body-table .btn-outline-secondary:hover {
    border-color: rgba(120, 180, 235, 0.58);
    color: #235fbf;
    background: rgba(235, 245, 255, 0.98);
}

.content-body-table .btn.active,
.content-body-table .btn:active,
.content-body-table .btn-default.active,
.content-body-table .btn-default:active,
.content-body-table .btn-secondary.active,
.content-body-table .btn-secondary:active,
.content-body-table .btn-outline-secondary.active,
.content-body-table .btn-outline-secondary:active,
.content-body-table .btn-check:checked + .btn,
.content-body-table .layui-tab-brief > .layui-tab-title .layui-this,
.content-body-table .bootstrap-table .table-switch button.active,
.content-body-table .bootstrap-table .table-switch-state button.active,
.content-body-table .table-switch-state button:focus {
    border-color: transparent !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%) !important;
    box-shadow: 0 10px 24px rgba(65, 129, 210, 0.20) !important;
}

.content-body-table .fixed-table-container tbody .no-records-found td,
.content-body-table .fixed-table-body .no-records-found,
.content-body-table .no-records-found {
    color: #86a0bf !important;
}

.content-body-table .search,
.content-body-table .btn[name="search"],
.content-body-table button[type="submit"],
.content-body-table .queryButton {
    border: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%) !important;
    box-shadow: 0 10px 24px rgba(65, 129, 210, 0.20) !important;
}

.bootstrap-table.bootstrap5 .table-switch-state button.active,
.bootstrap-table.bootstrap5 .table-switch-state button:hover,
.table-switch-state button:focus {
    background: linear-gradient(135deg, #79c8ff, #2f7ff5 88%) !important;
    color: #fff !important;
}

.fly-panel-user .layui-tab-title li,
.fly-panel-user .layui-tab-title li a,
.fly-panel-user .layui-tab-title li .layui-icon {
    color: #557092 !important;
}

.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this,
.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this a,
.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this .layui-icon {
    color: #1f7ed5 !important;
}

.fly-panel-user .layui-tab-brief > .layui-tab-title .layui-this:after {
    border-bottom-color: #2f7ff5 !important;
}

.fly-panel-user .avatar-uploader,
.fly-panel-user .avatar-img {
    border-color: rgba(47, 127, 245, 0.32) !important;
    box-shadow: 0 18px 36px rgba(47, 127, 245, 0.14) !important;
}

.dashboard-profile-head img {
    background: linear-gradient(135deg, #79c8ff, #d8efff) !important;
    box-shadow: 0 12px 24px rgba(47, 127, 245, 0.16) !important;
}

.sms-page-shell {
    width: min(1780px, calc(100% - 64px));
    margin: 18px auto 76px;
}

.sms-console-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.sms-brand-chip,
.sms-head-actions {
    display: flex;
    align-items: center;
}

.sms-brand-chip {
    gap: 12px;
    color: #111827;
}

.sms-brand-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #2f6df6, #5d91ff);
    box-shadow: 0 14px 28px rgba(47, 109, 246, 0.28);
}

.sms-brand-chip b {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.sms-brand-chip p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.sms-head-actions {
    gap: 12px;
}

.sms-head-actions .layui-btn,
.sms-balance-pill {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid #d8e5f7;
    background: rgba(255, 255, 255, 0.88);
    color: #1e293b;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(50, 82, 132, 0.08);
}

.sms-head-actions .layui-btn-primary {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: #d8e5f7 !important;
}

.sms-balance-pill {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
}

.sms-balance-pill b {
    font-size: 18px;
}

.sms-workspace {
    display: grid;
    grid-template-columns: 490px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.sms-buy-card,
.sms-record-card {
    border: 1px solid #dbe6f5;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 56px rgba(44, 75, 121, 0.12);
}

.sms-buy-card {
    padding: 26px;
}

.sms-buy-card h2,
.sms-record-head h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.sms-muted,
.sms-record-head p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.sms-form-block {
    margin-top: 22px;
}

.sms-form-block label,
.sms-current-row span,
.sms-message-box span {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-size: 16px;
    font-weight: 900;
}

.sms-select-like {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid #cfe0f5;
    border-radius: 10px;
    color: #111827;
    background: #fbfdff;
    font-size: 17px;
    font-weight: 800;
}

.sms-country-select {
    appearance: auto;
    cursor: pointer;
}

.sms-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.sms-metric {
    min-height: 92px;
    padding: 18px;
    border: 1px solid #e1e9f4;
    border-radius: 10px;
    background: #f8fbff;
}

.sms-metric span {
    color: #64748b;
    font-weight: 900;
}

.sms-metric b {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.sms-available-line,
.sms-stock-line,
.sms-warning {
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid #b8d5ff;
    border-radius: 10px;
    color: #2563eb;
    background: #eff6ff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.65;
}

.sms-available-line {
    border: 0;
    padding: 0;
    color: #2563eb;
    background: transparent;
    font-size: 18px;
}

.sms-available-line b {
    font-size: 22px;
}

.sms-stock-line {
    margin-top: 12px;
}

.sms-warning {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff1f2;
}

.sms-current-card {
    display: none;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e4edf8;
    border-radius: 10px;
    background: #fbfdff;
}

.sms-current-card.has-order {
    display: grid;
}

.sms-current-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #0f172a;
}

.sms-current-row span,
.sms-message-box span {
    margin: 0;
    white-space: nowrap;
}

.sms-current-row b {
    text-align: right;
    color: #2563eb;
    font-weight: 950;
    word-break: break-all;
}

.sms-message-box p {
    min-height: 40px;
    margin: 8px 0 0;
    color: #475569;
    line-height: 1.65;
    word-break: break-word;
}

.sms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.sms-actions .layui-btn {
    min-width: 112px;
    min-height: 52px;
    margin-left: 0 !important;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 950;
}

.sms-actions .layui-btn-pink {
    border-color: #2563eb !important;
    background: #2563eb !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.sms-actions .layui-btn-primary {
    color: #1f2937;
    border-color: #d8e5f7 !important;
    background: #fff !important;
}

.sms-record-card {
    min-height: 690px;
    overflow: hidden;
}

.sms-record-head {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 26px 26px 24px;
    border-bottom: 1px solid #e8eef7;
}

.sms-record-head h2 {
    margin-bottom: 4px;
}

.sms-auto-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    color: #2563eb;
    border: 1px solid #bfd7ff;
    background: #eff6ff;
    font-size: 14px;
    font-weight: 900;
}

.sms-record-tabs {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.sms-record-tabs button {
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #d7e3f3;
    border-radius: 999px;
    color: #52657f;
    background: #fff;
    font-size: 16px;
    font-weight: 950;
}

.sms-record-tabs button.active {
    color: #1457d9;
    border-color: #2f6df6;
    background: #eaf2ff;
}

.sms-history-wrap {
    padding: 20px;
}

.sms-history-wrap .query-empty-panel,
.sms-history-empty {
    display: grid;
    place-items: center;
    min-height: 96px;
    border: 1px dashed #cfe0f5;
    border-radius: 10px;
    color: #64748b;
    background: #fff;
    font-size: 16px;
    font-weight: 900;
}

.sms-history-wrap .bootstrap-table {
    border-radius: 10px;
    overflow: hidden;
}

.sms-history-wrap .fixed-table-container {
    border: 0;
}

.sms-history-wrap .table {
    margin-bottom: 0 !important;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
    color: #2f6df6 !important;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
    background: #5d91ff !important;
}

@media (max-width: 980px) {
    .sms-console-head,
    .sms-workspace {
        display: block;
    }

    .sms-head-actions {
        margin-top: 16px;
        flex-wrap: wrap;
    }

    .sms-record-card {
        margin-top: 20px;
    }

    .sms-record-head {
        grid-template-columns: 1fr;
    }

    .sms-record-tabs {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .sms-page-shell {
        width: min(100% - 24px, 680px);
        margin-top: 18px;
    }

    .sms-buy-card,
    .sms-record-head {
        padding: 20px;
    }

    .sms-metric-grid {
        grid-template-columns: 1fr;
    }

    .sms-record-card {
        min-height: 420px;
    }
}
