* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
a { color: #409eff; text-decoration: none; }
a:hover { color: #66b1ff; }

.header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #fff; padding: 0 16px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.header .logo { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 2px; white-space: nowrap; }
.header nav { display: flex; align-items: center; gap: 4px; }
.header nav a { color: rgba(255,255,255,0.85); font-size: 14px; padding: 6px 12px; border-bottom: 2px solid transparent; transition: all 0.3s; white-space: nowrap; }
.header nav a:hover, .header nav a.active { color: #fff; border-bottom-color: #ffd04b; }
.header .user-info { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header .user-info span { color: #ffd04b; font-size: 13px; white-space: nowrap; }
.header .user-info a { color: rgba(255,255,255,0.85); font-size: 13px; white-space: nowrap; }

.container { max-width: 1200px; margin: 0 auto; padding: 16px; min-height: calc(100vh - 180px); }
.footer { background: #2c3e50; color: rgba(255,255,255,0.6); text-align: center; padding: 20px 16px; font-size: 12px; margin-top: 40px; }

.btn { display: inline-block; padding: 8px 20px; border: 1px solid #dcdfe6; border-radius: 4px; cursor: pointer; font-size: 14px; text-align: center; transition: all 0.2s; line-height: 1.5; background: #fff; }
.btn-primary { background: #409eff; color: #fff; border-color: #409eff; }
.btn-primary:hover { background: #66b1ff; border-color: #66b1ff; color: #fff; }
.btn-success { background: #67c23a; color: #fff; border-color: #67c23a; }
.btn-success:hover { background: #85ce61; border-color: #85ce61; color: #fff; }
.btn-danger { background: #f56c6c; color: #fff; border-color: #f56c6c; }
.btn-danger:hover { background: #f78989; border-color: #f78989; color: #fff; }
.btn-warning { background: #e6a23c; color: #fff; border-color: #e6a23c; }
.btn-warning:hover { background: #ebb563; border-color: #ebb563; color: #fff; }
.btn-default { background: #fff; color: #606266; border-color: #dcdfe6; }
.btn-default:hover { background: #f5f7fa; color: #409eff; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 12px 30px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }

.card { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 20px; margin-bottom: 16px; }
.card-title { font-size: 17px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #ebeef5; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: #606266; }
.form-group .required::before { content: '*'; color: #f56c6c; margin-right: 4px; }
.form-control { width: 100%; padding: 10px 12px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 15px; transition: border-color 0.2s; outline: none; -webkit-appearance: none; }
.form-control:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,0.2); }
textarea.form-control { min-height: 80px; resize: vertical; }
select.form-control { appearance: auto; background: #fff; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-inline { display: flex; align-items: center; gap: 12px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
table th { background: #f5f7fa; font-weight: 600; font-size: 13px; color: #909399; white-space: nowrap; }
table th, table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #ebeef5; font-size: 14px; }
table tr:hover { background: #f5f7fa; }
table .actions { white-space: nowrap; }
table .actions a { margin-right: 6px; margin-bottom: 4px; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge-success { background: #f0f9eb; color: #67c23a; }
.badge-warning { background: #fdf6ec; color: #e6a23c; }
.badge-danger { background: #fef0f0; color: #f56c6c; }
.badge-info { background: #ecf5ff; color: #409eff; }
.badge-default { background: #f4f4f5; color: #909399; }

.msg-box { max-width: 90%; width: 420px; margin: 80px auto; text-align: center; background: #fff; padding: 40px 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.msg-box h2 { margin-bottom: 16px; font-size: 20px; }
.msg-box p { margin-bottom: 20px; color: #606266; font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.product-card .product-icon { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.product-card .product-icon.buyback { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.product-card .info { padding: 12px; }
.product-card .info h3 { font-size: 13px; margin-bottom: 6px; color: #303133; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.product-card .info .price { color: #f56c6c; font-size: 17px; font-weight: 700; }
.product-card .info .price small { font-size: 12px; color: #999; text-decoration: line-through; margin-left: 4px; font-weight: 400; }
.product-card .info .meta { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }

.page-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: #303133; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-title .tag { font-size: 12px; padding: 3px 10px; border-radius: 4px; font-weight: 500; }

.pagination { display: flex; justify-content: center; gap: 4px; margin: 20px 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; color: #606266; }
.pagination a:hover { background: #409eff; color: #fff; border-color: #409eff; }
.pagination span.current { background: #409eff; color: #fff; border-color: #409eff; }

.tabs { display: flex; gap: 0; border-bottom: 2px solid #ebeef5; margin-bottom: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabs a { padding: 10px 16px; color: #606266; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.3s; white-space: nowrap; flex-shrink: 0; }
.tabs a:hover { color: #409eff; }
.tabs a.active { color: #409eff; border-bottom-color: #409eff; font-weight: 600; }

.user-sidebar { width: 100%; flex-shrink: 0; }
.user-sidebar .menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
.user-sidebar .menu li { flex: 1; min-width: 120px; }
.user-sidebar .menu li a { display: block; padding: 10px 12px; color: #606266; border-radius: 6px; transition: all 0.2s; text-align: center; font-size: 13px; background: #fff; border: 1px solid #ebeef5; }
.user-sidebar .menu li a:hover, .user-sidebar .menu li a.active { background: #ecf5ff; color: #409eff; border-color: #409eff; }
.user-content { flex: 1; width: 100%; }

.flex-layout { display: flex; flex-direction: column; gap: 16px; }

.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.stat-card .label { font-size: 12px; color: #909399; margin-bottom: 6px; }
.stat-card .value { font-size: 22px; font-weight: 700; color: #303133; word-break: break-all; }
.stat-card .value.money { color: #f56c6c; }

.order-info-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.order-info-grid .item { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; }
.order-info-grid .item .label { color: #909399; white-space: nowrap; min-width: 70px; flex-shrink: 0; }
.order-info-grid .item .value { color: #303133; word-break: break-all; }

.empty-tip { text-align: center; padding: 40px 16px; color: #909399; }
.empty-tip .icon { font-size: 40px; margin-bottom: 10px; }
.empty-tip p { font-size: 14px; }

.bank-info { background: linear-gradient(135deg, #1e3c72, #2a5298); color: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.bank-info h3 { font-size: 14px; opacity: 0.8; margin-bottom: 12px; }
.bank-info .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.bank-info .row .val { font-weight: 600; }
.bank-info .account-no { font-size: 22px; font-weight: 700; letter-spacing: 2px; text-align: center; margin: 16px 0; word-break: break-all; }

.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 12px; font-size: 14px; }
.alert-info { background: #ecf5ff; color: #409eff; border: 1px solid #d9ecff; }
.alert-warning { background: #fdf6ec; color: #e6a23c; border: 1px solid #faecd8; }
.alert-success { background: #f0f9eb; color: #67c23a; border: 1px solid #e1f3d8; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-danger { color: #f56c6c; }
.text-success { color: #67c23a; }
.text-muted { color: #909399; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.order-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 12px; overflow: hidden; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f9f9fb; border-bottom: 1px solid #ebeef5; gap: 8px; flex-wrap: wrap; }
.order-card-header .order-no { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; color: #303133; font-weight: 600; word-break: break-all; }
.order-card-header .order-time { font-size: 12px; color: #909399; }
.order-card-body { padding: 12px 16px; }
.order-card-body .product-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #f0f0f0; }
.order-card-body .product-row:last-child { border-bottom: none; }
.order-card-body .product-icon-sm { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.order-card-body .product-icon-sm.secondhand { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.order-card-body .product-icon-sm.buyback { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; }
.order-card-body .product-info { flex: 1; min-width: 0; }
.order-card-body .product-info .name { font-size: 13px; color: #303133; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-card-body .product-info .meta { font-size: 11px; color: #909399; }
.order-card-body .product-price { text-align: right; flex-shrink: 0; }
.order-card-body .product-price .price { color: #f56c6c; font-weight: 700; font-size: 14px; }
.order-card-body .product-price .qty { font-size: 11px; color: #909399; }
.order-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fafbfc; border-top: 1px solid #ebeef5; gap: 10px; flex-wrap: wrap; }
.order-card-footer .total { font-size: 14px; color: #303133; }
.order-card-footer .total strong { color: #f56c6c; font-size: 16px; }
.order-card-footer .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.recycle-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 12px; overflow: hidden; }
.recycle-card-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: linear-gradient(135deg, #e8f5e9, #f1f8e9); border-bottom: 1px solid #e0f2e0; gap: 8px; flex-wrap: wrap; }
.recycle-card-header .recycle-no { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; color: #2e7d32; font-weight: 600; }
.recycle-card-header .recycle-time { font-size: 12px; color: #909399; }
.recycle-card-body { padding: 12px 16px; }
.recycle-card-body .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.recycle-card-body .info-grid .info-item { display: flex; gap: 6px; font-size: 13px; }
.recycle-card-body .info-grid .info-item .label { color: #909399; white-space: nowrap; }
.recycle-card-body .info-grid .info-item .value { color: #303133; }
.recycle-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fafbfc; border-top: 1px solid #ebeef5; gap: 8px; flex-wrap: wrap; }

.recycle-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.recycle-entry-item { background: #fff; border-radius: 12px; padding: 24px 16px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: 2px solid transparent; text-decoration: none; color: #333; display: block; }
.recycle-entry-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); text-decoration: none; color: #333; }
.recycle-entry-item .icon { font-size: 40px; margin-bottom: 10px; display: block; }
.recycle-entry-item .title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.recycle-entry-item .desc { font-size: 12px; color: #909399; line-height: 1.5; }
.recycle-entry-item.price-check { border-color: #409eff; }
.recycle-entry-item.price-check:hover { border-color: #66b1ff; background: #f0f7ff; }
.recycle-entry-item.ship { border-color: #67c23a; }
.recycle-entry-item.ship:hover { border-color: #85ce61; background: #f0f9eb; }

.recycle-progress { display: flex; align-items: center; justify-content: center; padding: 20px 12px; margin-bottom: 16px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.recycle-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.recycle-step .step-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 6px; background: #e4e7ed; color: #909399; transition: all 0.3s; }
.recycle-step.active .step-icon { background: #67c23a; color: #fff; box-shadow: 0 2px 8px rgba(103,194,58,0.4); }
.recycle-step.done .step-icon { background: #67c23a; color: #fff; }
.recycle-step.reject .step-icon { background: #f56c6c; color: #fff; }
.recycle-step .step-text { font-size: 11px; color: #909399; text-align: center; }
.recycle-step.active .step-text { color: #67c23a; font-weight: 600; }
.recycle-step.done .step-text { color: #67c23a; }
.recycle-step.reject .step-text { color: #f56c6c; }
.recycle-step .step-line { position: absolute; top: 18px; left: 55%; right: -45%; height: 2px; background: #e4e7ed; }
.recycle-step.done .step-line { background: #67c23a; }
.recycle-step:last-child .step-line { display: none; }

.buyback-steps { display: flex; align-items: center; justify-content: center; padding: 20px 12px; margin-bottom: 16px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.buyback-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.buyback-step .step-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 6px; background: #e4e7ed; color: #909399; transition: all 0.3s; }
.buyback-step.active .step-icon { background: #409eff; color: #fff; box-shadow: 0 2px 8px rgba(64,158,255,0.4); }
.buyback-step.done .step-icon { background: #67c23a; color: #fff; }
.buyback-step .step-text { font-size: 11px; color: #909399; text-align: center; }
.buyback-step.active .step-text { color: #409eff; font-weight: 600; }
.buyback-step.done .step-text { color: #67c23a; }
.buyback-step .step-line { position: absolute; top: 18px; left: 55%; right: -45%; height: 2px; background: #e4e7ed; }
.buyback-step.done .step-line { background: #67c23a; }
.buyback-step:last-child .step-line { display: none; }

.order-detail-info { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 8px 0; }
.order-detail-info .info-item { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; }
.order-detail-info .info-item .label { color: #909399; white-space: nowrap; min-width: 70px; flex-shrink: 0; }
.order-detail-info .info-item .value { color: #303133; word-break: break-all; }

.shipping-timeline { padding: 12px 0; }
.shipping-timeline .timeline-item { display: flex; gap: 12px; padding: 0 0 16px 0; position: relative; }
.shipping-timeline .timeline-item::before { content: ''; position: absolute; left: 5px; top: 18px; width: 2px; height: calc(100% - 18px); background: #e4e7ed; }
.shipping-timeline .timeline-item:last-child::before { display: none; }
.shipping-timeline .timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: #409eff; flex-shrink: 0; margin-top: 4px; }
.shipping-timeline .timeline-dot.active { box-shadow: 0 0 0 4px rgba(64,158,255,0.2); }
.shipping-timeline .timeline-content { flex: 1; }
.shipping-timeline .timeline-content .title { font-size: 14px; color: #303133; font-weight: 500; }
.shipping-timeline .timeline-content .time { font-size: 12px; color: #909399; margin-top: 2px; }

.balance-highlight { font-size: 24px; font-weight: 800; color: #f56c6c; }

.price-tag { display: inline-flex; align-items: baseline; gap: 2px; }
.price-tag .symbol { font-size: 12px; color: #f56c6c; }
.price-tag .amount { font-size: 18px; font-weight: 700; color: #f56c6c; }

.detail-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.filter-bar .form-control { font-size: 14px; padding: 8px 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (max-width: 768px) {
    .header-inner { height: auto; min-height: 48px; padding: 8px 0; flex-wrap: wrap; gap: 6px; }
    .header nav { display: flex; flex-wrap: wrap; gap: 0; order: 3; width: 100%; padding-bottom: 4px; }
    .header nav a { padding: 4px 8px; font-size: 13px; margin-left: 0; }
    .header .user-info { font-size: 12px; gap: 8px; }
}

@media (min-width: 769px) {
    .container { padding: 20px; }
    .header-inner { height: 60px; }
    .header .logo { font-size: 22px; }
    .header nav a { font-size: 15px; margin-left: 20px; padding: 6px 0; }
    .header .user-info span { font-size: 14px; }
    .header .user-info a { font-size: 14px; }
    .flex-layout { flex-direction: row; gap: 24px; }
    .user-sidebar { width: 220px; }
    .user-sidebar .menu { flex-direction: column; }
    .user-sidebar .menu li { min-width: auto; }
    .user-sidebar .menu li a { text-align: left; border-radius: 0; background: transparent; border: none; border-left: 3px solid transparent; padding: 12px 20px; }
    .user-sidebar .menu li a:hover, .user-sidebar .menu li a.active { background: #ecf5ff; color: #409eff; border-left-color: #409eff; border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; }
    .user-content { flex: 1; }
    .stat-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
    .stat-card { padding: 20px; }
    .stat-card .value { font-size: 28px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
    .product-card .product-icon { height: 180px; font-size: 64px; }
    .product-card .info { padding: 16px; }
    .product-card .info h3 { font-size: 15px; }
    .product-card .info .price { font-size: 20px; }
    .card { padding: 24px; }
    .card-title { font-size: 18px; }
    .page-title { font-size: 24px; margin-bottom: 24px; }
    .order-info-grid { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
    .order-detail-info { grid-template-columns: 1fr 1fr; gap: 16px 32px; }
    .buyback-step .step-icon, .recycle-step .step-icon { width: 40px; height: 40px; font-size: 18px; }
    .buyback-step .step-text, .recycle-step .step-text { font-size: 12px; }
    .buyback-steps, .recycle-progress { padding: 24px 16px; }
    .bank-info { padding: 30px; }
    .bank-info .account-no { font-size: 28px; }
    .balance-highlight { font-size: 28px; }
    .price-tag .amount { font-size: 22px; }
    .detail-actions { flex-direction: row; }
    .msg-box { padding: 50px 40px; margin: 100px auto; }
    .footer { padding: 24px; font-size: 13px; }
    .recycle-entry { gap: 20px; }
    .recycle-entry-item { padding: 30px 20px; }
    .recycle-entry-item .icon { font-size: 48px; }
    .recycle-entry-item .title { font-size: 18px; }
    .recycle-entry-item .desc { font-size: 13px; }
    .recycle-card-header { padding: 14px 20px; }
    .recycle-card-body { padding: 16px 20px; }
    .recycle-card-body .info-grid .info-item { font-size: 14px; }
    .recycle-card-footer { padding: 14px 20px; }
    .order-card-header { padding: 14px 20px; }
    .order-card-body { padding: 16px 20px; }
    .order-card-footer { padding: 14px 20px; }
    .filter-bar { flex-wrap: nowrap; }
    .grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (min-width: 1024px) {
    .stat-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .header nav a { margin-left: 28px; }
}

.admin-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 4px 8px; margin-right: 8px; }

/* Admin styles */
.admin-body { background: #f0f2f5; }
.admin-sidebar { width: 240px; background: #001529; min-height: 100vh; position: fixed; left: 0; top: 0; z-index: 50; }
.admin-sidebar .logo { height: 56px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .nav-group { margin-top: 8px; }
.admin-sidebar .nav-group .title { padding: 8px 24px; font-size: 12px; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.admin-sidebar .nav-item { display: block; padding: 11px 24px; color: rgba(255,255,255,0.65); font-size: 14px; border-left: 3px solid transparent; transition: all 0.2s; }
.admin-sidebar .nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.admin-sidebar .nav-item.active { color: #fff; background: #409eff; border-left-color: #ffd04b; }
.admin-main { margin-left: 240px; min-height: 100vh; }
.admin-header { height: 56px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; z-index: 40; }
.admin-header .title { font-size: 15px; font-weight: 600; }
.admin-header .right { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.admin-content { padding: 20px; }

@media (max-width: 768px) {
    .admin-menu-btn { display: inline-block; }
    .admin-sidebar { width: 100%; height: auto; position: relative; padding: 0; }
    .admin-sidebar .logo { height: 48px; font-size: 15px; justify-content: flex-start; padding: 0 12px; }
    .admin-sidebar .nav-group { margin-top: 0; padding: 4px 8px; display: none; }
    .admin-sidebar.open .nav-group { display: block; }
    .admin-sidebar .nav-group .title { padding: 6px 8px; font-size: 11px; }
    .admin-sidebar .nav-item { padding: 10px 16px; font-size: 13px; border-left: none; border-radius: 4px; margin-bottom: 2px; }
    .admin-sidebar .nav-item.active { border-left: none; }
    .admin-main { margin-left: 0; }
    .admin-header { padding: 0 12px; height: 48px; }
    .admin-header .title { font-size: 14px; }
    .admin-header .right { gap: 8px; font-size: 12px; }
    .admin-content { padding: 12px; }
    .order-info-grid .item, .order-detail-info .info-item { font-size: 13px; }
}
