/* ===== 个人中心 - 工作台布局 ===== */
.ws-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
    display: flex;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== 侧边栏 ===== */
.ws-sidebar {
    width: 220px;
    min-height: 100vh;
    background: rgb(0 0 0);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    overflow-y: auto;
}
.ws-sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
}
.ws-sidebar-logo {
    font-size: 18px;
    font-weight: 700;
    color: #d4a853;
   
}
.ws-sidebar-user {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ws-sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a853, #b8892e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.ws-sidebar-name {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ws-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ws-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    border-left: 3px solid transparent;
}
.ws-menu-item:hover {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.9);
}
.ws-menu-item.active {
    background: rgba(212,168,83,0.08);
    color: #d4a853;
    border-left-color: #d4a853;
}
.ws-menu-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}
.ws-menu-label {
    flex: 1;
}

/* ===== 主内容区 ===== */
.ws-main {
    flex: 1;
    margin-left: 220px;
    padding: 24px 32px;
    min-height: 100vh;
}
.ws-section {
    display: none;
}
.ws-section.active {
    display: block;
}
.ws-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.ws-section-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

/* ===== 服务卡片网格 ===== */
.ws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.ws-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s;
}
.ws-card:hover {
    border-color: rgba(212,168,83,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.ws-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.ws-card-price {
    font-size: 22px;
    font-weight: 700;
    color: #d4a853;
    margin-bottom: 4px;
}
.ws-card-price .unit {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}
.ws-card-deposit {
    font-size: 13px;
    color: #ffa940;
    margin-bottom: 8px;
    padding: 4px 8px;
    background: rgba(255,169,64,0.1);
    border-radius: 4px;
    display: inline-block;
}
.ws-card-stock {
    font-size: 13px;
    color: #51cf66;
    margin-bottom: 8px;
    padding: 4px 8px;
    background: rgba(81,207,102,0.1);
    border-radius: 4px;
    display: inline-block;
}
.ws-card-stock.out {
    color: #ff4d4f;
    background: rgba(255,77,79,0.1);
}
.ws-card-appoint {
    font-size: 13px;
    color: #74c0fc;
    margin-bottom: 8px;
    padding: 4px 8px;
    background: rgba(116,192,252,0.1);
    border-radius: 4px;
}
.ws-card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 16px;
}
.ws-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.ws-tag {
    padding: 3px 10px;
    background: rgba(212,168,83,0.1);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 20px;
    font-size: 11px;
    color: #d4a853;
}
.ws-tag.free {
    background: rgba(81,207,102,0.1);
    border-color: rgba(81,207,102,0.2);
    color: #51cf66;
}
.ws-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}
.ws-btn-gold {
    background: linear-gradient(135deg, #d4a853, #b8892e);
    color: #fff;
}
.ws-btn-gold:hover {
    box-shadow: 0 4px 12px rgba(212,168,83,0.3);
    transform: translateY(-1px);
}
.ws-btn-outline {
    background: transparent;
    border: 1px solid rgba(212,168,83,0.4);
    color: #d4a853;
}
.ws-btn-outline:hover {
    background: rgba(212,168,83,0.1);
}
.ws-btn-red {
    background: linear-gradient(135deg, #c41e3a, #9a051d);
    color: #fff;
}
.ws-btn-red:hover {
    box-shadow: 0 4px 12px rgba(196,30,58,0.3);
}

/* ===== 表单弹窗 ===== */
.ws-modal-mask {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.ws-modal-mask.show {
    display: flex;
}
.ws-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.ws-modal::-webkit-scrollbar { display: none; }
.ws-modal { scrollbar-width: none; }

/* 弹框固定头尾布局 */
.ws-modal-flex {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}
.ws-modal-flex .ws-modal-header {
    flex-shrink: 0;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.ws-modal-flex .ws-modal-header .ws-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
}
.ws-modal-flex .ws-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    scrollbar-width: none;
}
.ws-modal-flex .ws-modal-body::-webkit-scrollbar { display: none; }
.ws-modal-flex .ws-form-actions {
    flex-shrink: 0;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 0;
}

/* 下单弹框双列布局 */
.ws-modal.ws-modal-order {
    max-width: 720px;
}
.ws-order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
.ws-order-form-grid .ws-form-group.full-width {
    grid-column: 1 / -1;
}
@media (max-width: 600px) {
    .ws-order-form-grid {
        grid-template-columns: 1fr;
    }
}
.ws-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.ws-modal-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}
.ws-form-group {
    margin-bottom: 16px;
}
.ws-form-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}
.ws-form-input,
.ws-form-textarea,
.ws-form-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.ws-form-input:focus,
.ws-form-textarea:focus,
.ws-form-select:focus {
    border-color: #d4a853;
}
.ws-form-textarea {
    min-height: 80px;
    resize: vertical;
}
.ws-form-select option {
    background: #1a1a2e;
    color: #fff;
}
.ws-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.ws-form-actions .ws-btn {
    flex: 1;
    padding: 12px;
}
.ws-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ws-modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ===== 订单列表 ===== */
.ws-orders {
    margin-top: 24px;
}
.ws-empty-orders {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}
.ws-orders-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.ws-order-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ws-order-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.ws-order-info {
    flex: 1;
}
.ws-order-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.ws-order-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.ws-order-extra {
    font-size: 12px;
    color: #74c0fc;
    margin-top: 4px;
}
.ws-order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.ws-order-status.s0 { background: rgba(212,168,83,0.15); color: #d4a853; }
.ws-order-status.s1 { background: rgba(59,130,246,0.15); color: #3b82f6; }
.ws-order-status.s2 { background: rgba(168,85,247,0.15); color: #a855f7; }
.ws-order-status.s3 { background: rgba(245,158,11,0.15); color: #f59e0b; }
.ws-order-status.s4 { background: rgba(81,207,102,0.15); color: #51cf66; }
.ws-order-status.s5 { background: rgba(255,107,107,0.15); color: #ff6b6b; }
.ws-order-cancel {
    background: rgba(255,107,107,0.12);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
}
.ws-order-countdown {
    font-size: 12px;
    color: #51cf66;
    margin-top: 6px;
    padding: 3px 8px;
    background: rgba(81,207,102,0.08);
    border-radius: 4px;
    display: inline-block;
}
.ws-order-countdown.warning {
    color: #ff4d4f;
    background: rgba(255,77,79,0.1);
    font-weight: 600;
}
.ws-order-countdown.expired {
    color: #ff4d4f;
    background: rgba(255,77,79,0.15);
}
.ws-order-renew {
    background: rgba(255,169,64,0.12);
    border: 1px solid rgba(255,169,64,0.4);
    color: #ffa940;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}
.ws-order-renew:hover {
    background: rgba(255,169,64,0.2);
}
.ws-empty {
    text-align: center;
    padding: 40px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

/* ===== 流程步骤 ===== */
.ws-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}
.ws-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.ws-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212,168,83,0.2);
    color: #d4a853;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}
.ws-step-arrow {
    color: rgba(255,255,255,0.2);
    font-size: 10px;
}

/* ===== 账户信息 ===== */
.ws-info-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 32px;
    max-width: 500px;
}
.ws-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ws-info-row:last-child {
    border-bottom: none;
}
.ws-info-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.ws-info-value {
    font-size: 14px;
    color: #fff;
}

/* ===== 未登录 ===== */
.ws-login-prompt {
    display: none;
    text-align: center;
    padding: 100px 20px;
    width: 100%;
}
.ws-login-prompt p {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin-bottom: 24px;
}
.ws-login-prompt .ws-btn {
    padding: 14px 48px;
    font-size: 16px;
}

/* ===== Toast ===== */
.ws-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 300;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    pointer-events: none;
}
.ws-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.ws-toast.success {
    background: rgba(81,207,102,0.15);
    border: 1px solid rgba(81,207,102,0.3);
    color: #51cf66;
}
.ws-toast.error {
    background: rgba(255,107,107,0.15);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
}

/* ===== 移动端菜单按钮 ===== */
.ws-mobile-menu {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 150;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #d4a853;
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ===== 通知图标 ===== */
.ws-notify-bell {
    display: flex;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 150;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.ws-notify-icon { font-size: 20px; line-height: 1; }
.ws-notify-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #ff4444;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ws-notify-shake { animation: wsNotifyShake 0.5s ease-in-out; }
@keyframes wsNotifyShake { 0%,100%{transform:rotate(0)} 20%{transform:rotate(15deg)} 40%{transform:rotate(-15deg)} 60%{transform:rotate(10deg)} 80%{transform:rotate(-10deg)} }

/* ===== 通知弹框 ===== */
.ws-notify-popup {
    position: fixed;
    top: 60px;
    right: 16px;
    z-index: 200;
    width: 320px;
    max-height: 400px;
    background: rgba(20,20,25,0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ws-notify-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ws-notify-popup-title { color: #fff; font-size: 14px; font-weight: 600; }
.ws-notify-popup-close {
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}
.ws-notify-popup-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.ws-notify-popup-body { flex: 1; overflow-y: auto; padding: 8px 0; -webkit-overflow-scrolling: touch; }
.ws-notify-section { padding: 6px 0; }
.ws-notify-section-title { padding: 6px 16px; font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.ws-notify-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    gap: 10px;
}
.ws-notify-item:hover { background: rgba(255,255,255,0.06); }
.ws-notify-item-pending { border-left: 2px solid rgba(212,168,83,0.5); }
.ws-notify-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ws-notify-item-name { font-size: 13px; color: #fff; font-weight: 500; }
.ws-notify-item-desc { font-size: 12px; color: rgba(255,255,255,0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-notify-item-time { font-size: 11px; color: rgba(255,255,255,0.3); white-space: nowrap; flex-shrink: 0; }
.ws-notify-loading, .ws-notify-empty { padding: 24px 16px; text-align: center; color: rgba(255,255,255,0.4); font-size: 13px; }

@media (max-width: 768px) {
    .ws-notify-popup {
        top: 60px;
        right: 8px;
        left: 8px;
        width: auto;
        max-height: 60vh;
    }
}

/* ===== 订单操作按钮（统一基础样式） ===== */
.ws-order-view,
.ws-order-payment,
.ws-order-cancel {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.ws-order-view {
    background: rgba(212,168,83,0.12);
    border: 1px solid rgba(212,168,83,0.3);
    color: #d4a853;
}
.ws-order-view:hover {
    background: rgba(212,168,83,0.25);
}
.ws-order-payment {
    background: rgba(81,207,102,0.12);
    border: 1px solid rgba(81,207,102,0.3);
    color: #51cf66;
}
.ws-order-payment:hover {
    background: rgba(81,207,102,0.25);
}

/* ===== 订单进度弹窗 ===== */
.ws-modal-process {
    max-width: 616px;
    width: 92%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ws-modal-process .ws-modal-title,
.ws-modal-process .ws-modal-sub {
    flex-shrink: 0;
}

/* ===== 客户时间线 ===== */
.mbr-timeline {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 0 4px 4px;
    margin-bottom: 0;
    scrollbar-width: none;
}
.mbr-timeline::-webkit-scrollbar { display: none; }
.mbr-tl-item {
    position: relative;
    padding-left: 20px;
    padding-bottom: 14px;
}
.mbr-tl-item:last-child { padding-bottom: 0; }
.mbr-tl-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.08);
}
.mbr-tl-item:last-child::before { display: none; }
.mbr-tl-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: #1a1a3e;
}
.mbr-tl-process .mbr-tl-dot { border-color: #d4a853; background: #d4a853; }
.mbr-tl-reply .mbr-tl-dot { border-color: #51cf66; background: #51cf66; }
.mbr-tl-approve .mbr-tl-dot { border-color: #74c0fc; background: #74c0fc; }
.mbr-tl-body {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px 12px;
}
.mbr-tl-header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    margin-bottom: 4px;
}
.mbr-tl-user { color: #fff; font-weight: 500; }
.mbr-tl-type { color: rgba(255,255,255,0.4); }
.mbr-tl-time { color: rgba(255,255,255,0.25); margin-left: auto; font-size: 11px; }
.mbr-tl-content {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 4px;
}
.mbr-tl-images {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.mbr-tl-images img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}
.mbr-tl-images img:hover { border-color: #d4a853; }

/* ===== 回复区 ===== */
.mbr-reply-section {
    margin-top: 12px;
    flex-shrink: 0;
}
.mbr-reply-label {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-bottom: 6px;
}
.mbr-reply-actions {
    margin-top: 10px;
    text-align: right;
}
.mbr-reply-confirm {
    display: none;
}
.mbr-reply-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.mbr-reply-label-row .mbr-reply-label {
    margin-bottom: 0;
}

/* ===== Toggle 开关组件 ===== */
.ws-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ws-toggle-label {
    font-size: 12px;
    color: rgba(212,168,83,0.8);
}
.ws-toggle {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}
.ws-toggle-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s, background 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ws-toggle.on {
    background: linear-gradient(135deg, #d4a853, #b8892e);
}
.ws-toggle.on .ws-toggle-knob {
    transform: translateX(18px);
    background: #fff;
}

/* ===== 认可/不认可（消息内嵌） ===== */
.mbr-tl-approve-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.mbr-approve-sm {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.mbr-approve-sm.approve-yes {
    background: rgba(81,207,102,0.15);
    border: 1px solid rgba(81,207,102,0.3);
    color: #51cf66;
}
.mbr-approve-sm.approve-yes:hover { background: rgba(81,207,102,0.3); }
.mbr-approve-sm.approve-no {
    background: rgba(255,107,107,0.15);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
}
.mbr-approve-sm.approve-no:hover { background: rgba(255,107,107,0.3); }
.mbr-approve-sm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.mbr-tl-approve-result {
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}
.mbr-tl-approve-result.done-yes {
    color: #51cf66;
    background: rgba(81,207,102,0.1);
}
.mbr-tl-approve-result.done-no {
    color: #ff6b6b;
    background: rgba(255,107,107,0.1);
}
.mbr-tl-approve-result.badge-pending {
    color: #d4a853;
    background: rgba(212,168,83,0.1);
}
.mbr-tl-badge {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.mbr-tl-badge.badge-yes {
    background: rgba(81,207,102,0.15);
    color: #51cf66;
}
.mbr-tl-badge.badge-no {
    background: rgba(255,107,107,0.15);
    color: #ff6b6b;
}
.mbr-tl-badge.badge-pending {
    background: rgba(212,168,83,0.15);
    color: #d4a853;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .ws-mobile-menu {
        display: flex;
    }
    .ws-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .ws-sidebar.open {
        transform: translateX(0);
    }
    .ws-main {
        margin-left: 0;
        padding: 70px 16px 24px;
    }
    .ws-grid {
        grid-template-columns: 1fr;
    }
    .ws-order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ws-order-actions {
        flex-wrap: wrap;
    }
    .ws-steps {
        flex-direction: column;
    }
    .ws-step-arrow {
        display: none;
    }
    /* 订单进度弹窗移动端底部固定 */
    .ws-modal-process {
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        height: 85vh;
        border-radius: 16px 16px 0 0;
        padding: 20px 16px 16px;
    }
    .ws-modal-mask {
        align-items: flex-end;
    }
}

/* ===== 销售数量 ===== */
.ws-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}
.ws-sales {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ===== 收款记录弹窗内容 ===== */
.mbr-payment-summary {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.mbr-pay-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.mbr-pay-total {
    color: #d4a853;
    font-weight: 600;
    font-size: 14px;
}
.mbr-pay-paid {
    color: #51cf66;
    font-weight: 600;
    font-size: 14px;
}
.mbr-pay-remaining {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 14px;
}

/* ===== 收款记录列表 ===== */
.mbr-payment-list {
    max-height: 300px;
    overflow-y: auto;
}
.mbr-pay-record {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    overflow: hidden;
}
.mbr-pay-record:last-child {
    margin-bottom: 0;
}
.mbr-pay-record-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}
.mbr-pay-type {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(212,168,83,0.15);
    border-radius: 4px;
    color: #d4a853;
    font-size: 11px;
}
.mbr-pay-amount {
    color: #51cf66;
    font-size: 14px;
    font-weight: 600;
}
.mbr-pay-time {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    margin-left: auto;
}
.mbr-pay-expand-icon {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    transition: transform 0.2s;
}
.mbr-pay-record.expanded .mbr-pay-expand-icon {
    transform: rotate(180deg);
}
.mbr-pay-record-detail {
    display: none;
    padding: 0 12px 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.mbr-pay-record.expanded .mbr-pay-record-detail {
    display: block;
}
.mbr-pay-record-detail span {
    color: rgba(255,255,255,0.4);
}
.mbr-pay-screenshot {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    vertical-align: middle;
}
.mbr-pay-screenshot:hover {
    border-color: #d4a853;
}

/* ===== DateTimePicker 组件 ===== */
.dtp { position: relative; width: 100%; }
.dtp-trig {
    display: flex; align-items: center; height: 38px; width: 100%;
    padding: 0 14px; font-size: 14px; color: #fff;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; cursor: pointer; outline: none; font-family: inherit;
    box-sizing: border-box;
}
.dtp-trig:hover { border-color: rgba(212,168,83,0.5); }
.dtp.open .dtp-trig { border-color: #d4a853; box-shadow: 0 0 0 3px rgba(212,168,83,0.15); }
.dtp-trig-ph { color: rgba(255,255,255,0.35); }
.dtp-trig-date { color: #fff; font-weight: 500; }
.dtp-trig-val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtp-dd {
    position: fixed; display: none; width: 300px; max-width: calc(100vw - 24px);
    background: #1e2130; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 10000; overflow: hidden;
}
.dtp-body { background: #1e2130; }
.dtp-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; background: #252838; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dtp-nav {
    width: 28px; height: 28px; border: none; background: transparent;
    border-radius: 6px; cursor: pointer; color: rgba(255,255,255,0.5);
    font-size: 14px; display: inline-flex; align-items: center; justify-content: center;
}
.dtp-nav:hover { background: #d4a853; color: #fff; }
.dtp-title { font-size: 14px; font-weight: 600; color: #fff; }
.dtp-wk {
    display: grid; grid-template-columns: repeat(7,1fr);
    padding: 8px 10px 4px; background: #1e2130; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dtp-wk span { display: flex; align-items: center; justify-content: center; height: 24px; font-size: 11px; color: rgba(255,255,255,0.3); }
.dtp-days { display: grid; grid-template-columns: repeat(7,1fr); padding: 6px 10px 10px; gap: 2px; background: #1e2130; }
.dtp-d {
    display: flex; align-items: center; justify-content: center; height: 34px;
    font-size: 13px; color: rgba(255,255,255,0.8); border-radius: 8px; cursor: pointer; font-weight: 500;
}
.dtp-d:hover:not(.dtp-dis):not(.dtp-other) { background: rgba(212,168,83,0.15); }
.dtp-today { color: #d4a853; font-weight: 700; }
.dtp-sel { background: #d4a853 !important; color: #fff !important; font-weight: 600; }
.dtp-other { color: rgba(255,255,255,0.15); }
.dtp-dis { color: rgba(255,255,255,0.15); cursor: not-allowed; opacity: 0.5; }
.dtp-time-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; background: #252838; border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 13px; font-weight: 600; color: #fff;
}
.dtp-time-cur { font-size: 22px; font-weight: 700; color: #d4a853; font-variant-numeric: tabular-nums; }
.dtp-time-cols { display: flex; height: 220px; overflow: hidden; }
.dtp-tcol { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.dtp-tcol:last-child { border-left: 1px solid rgba(255,255,255,0.06); }
.dtp-topt {
    display: flex; align-items: center; justify-content: center; padding: 7px 0;
    font-size: 13px; color: rgba(255,255,255,0.7); cursor: pointer; font-variant-numeric: tabular-nums;
}
.dtp-topt:hover { background: rgba(212,168,83,0.1); }
.dtp-topt.dtp-sel { background: #d4a853; color: #fff; font-weight: 600; border-radius: 6px; margin: 1px 4px; }
.dtp-tcol::-webkit-scrollbar { width: 3px; }
.dtp-tcol::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.dtp-ft {
    display: flex; align-items: center; justify-content: flex-end; gap: 8px;
    padding: 10px 12px; border-top: 1px solid rgba(255,255,255,0.08); background: #252838;
}
.dtp-btn {
    font-size: 12px; color: rgba(255,255,255,0.6); cursor: pointer;
    padding: 6px 16px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12);
    background: transparent; font-family: inherit; font-weight: 500;
}
.dtp-btn:hover { background: rgba(212,168,83,0.1); border-color: #d4a853; color: #d4a853; }
.dtp-btn-ok { background: #d4a853 !important; color: #1a1d2e !important; border-color: #d4a853 !important; font-weight: 600 !important; }
@media (max-width: 480px) {
    .dtp-dd { width: calc(100vw - 24px); }
    .dtp-d { height: 32px; font-size: 12px; }
}

