* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: #333; background: #f5f6fa; }
a { color: #2d8cf0; text-decoration: none; }
a:hover { color: #57a3f3; }
ul { list-style: none; }

#header { background: #fff; border-bottom: 1px solid #e8e8e8; box-shadow: 0 1px 4px rgba(0,0,0,.05); position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 56px; padding: 0 20px; }
.logo .logo-link { display: flex; align-items: center; }
.header-logo-img { height: 32px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.nav { flex: 1; margin-left: 40px; }
.nav ul { display: flex; gap: 4px; }
.nav ul li a { display: block; padding: 8px 16px; color: #555; border-radius: 6px; font-size: 14px; }
.nav ul li a:hover { background: #f0f5ff; color: #2d8cf0; }
.nav ul li.cur a { background: #2d8cf0; color: #fff; }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-info .welcome { color: #666; font-size: 13px; }
.user-info .logout-btn { color: #999; font-size: 13px; }
.user-info .logout-btn:hover { color: #f56c6c; }

#main { padding-top: 56px; min-height: calc(100vh - 56px); }
.main-inner { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }

#footer { background: #fff; border-top: 1px solid #e8e8e8; padding: 16px 0; text-align: center; color: #999; font-size: 12px; }

.btn { display: inline-block; padding: 8px 20px; border-radius: 6px; font-size: 14px; cursor: pointer; border: none; transition: all .2s; }
.btn-primary { background: #2d8cf0; color: #fff; }
.btn-primary:hover { background: #57a3f3; }
.btn-danger { background: #f56c6c; color: #fff; }
.btn-danger:hover { background: #f78989; }
.btn-default { background: #f0f0f0; color: #333; }
.btn-default:hover { background: #e0e0e0; }
.btn-sm { display: inline-block; padding: 4px 12px; font-size: 12px; border-radius: 4px; background: #2d8cf0; color: #fff; }
.btn-sm:hover { background: #57a3f3; }

.form-item { margin-bottom: 16px; }
.form-item label { display: block; margin-bottom: 6px; color: #555; font-size: 14px; }
.form-item .input-wrap input,
.form-item .input-wrap select,
.form-item .input-wrap textarea { width: 100%; max-width: 480px; padding: 8px 12px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 14px; outline: none; transition: border .2s; }
.form-item .input-wrap input:focus,
.form-item .input-wrap select:focus,
.form-item .input-wrap textarea:focus { border-color: #2d8cf0; }
.form-item .input-wrap textarea { resize: vertical; }
.form-item .submit-btn { padding: 10px 32px; background: #2d8cf0; color: #fff; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; }
.form-item .submit-btn:hover { background: #57a3f3; }
.form-item .submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.msg { margin-top: 12px; font-size: 14px; }

h2 { font-size: 22px; margin-bottom: 24px; color: #333; }

.order-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.order-table th { background: #fafafa; padding: 12px 16px; text-align: left; font-weight: 600; color: #555; font-size: 13px; border-bottom: 1px solid #e8e8e8; }
.order-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.order-table tr:hover td { background: #fafbff; }
.order-table .empty { text-align: center; padding: 40px; color: #999; }

.status-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.status-0 { background: #fff7e6; color: #fa8c16; }
.status-1 { background: #e6f7ff; color: #1890ff; }
.status-2 { background: #fff1f0; color: #f5222d; }
.status-3 { background: #fff7e6; color: #fa8c16; }
.status-4 { background: #f0f5ff; color: #2f54eb; }
.status-5 { background: #e6fffb; color: #13c2c2; }
.status-6 { background: #f6ffed; color: #52c41a; }
.status-7 { background: #fffbe6; color: #fadb14; }
.status-8 { background: #fff7e6; color: #fa8c16; }
.status-9 { background: #f6ffed; color: #52c41a; }
.status-10 { background: #fff1f0; color: #f5222d; }
.status-11 { background: #f5f5f5; color: #999; }

.pagination { margin-top: 20px; text-align: center; }
.pagination a { display: inline-block; padding: 6px 12px; margin: 0 2px; border: 1px solid #dcdfe6; border-radius: 4px; color: #333; font-size: 13px; }
.pagination a.cur { background: #2d8cf0; color: #fff; border-color: #2d8cf0; }
.pagination a:hover { border-color: #2d8cf0; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: 8px; padding: 24px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.stat-card .stat-num { font-size: 36px; font-weight: 700; color: #2d8cf0; }
.stat-card .stat-label { margin-top: 8px; color: #666; font-size: 14px; }
.stat-card.pending .stat-num { color: #fa8c16; }
.stat-card.active .stat-num { color: #52c41a; }
.stat-card.complete .stat-num { color: #13c2c2; }

.detail-section { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.detail-section h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.info-table { width: 100%; }
.info-table td { padding: 8px 12px; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.info-table td:first-child { color: #666; width: 120px; }

.detail-header { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.detail-header .order-no { font-size: 16px; font-weight: 600; }
.detail-header .order-status { padding: 4px 12px; border-radius: 4px; font-size: 13px; }
.detail-header .order-status.cur { background: #e6f7ff; color: #1890ff; }

.detail-actions { margin-top: 24px; display: flex; gap: 12px; }

.log-list li { padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: #555; }
.log-list .log-time { color: #999; }

.filter-bar { margin-bottom: 16px; }
.filter-bar form { display: flex; gap: 8px; align-items: center; }
.filter-bar select, .filter-bar input[type="text"] { padding: 6px 12px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 13px; outline: none; }
.filter-bar select:focus, .filter-bar input[type="text"]:focus { border-color: #2d8cf0; }
.filter-bar button { padding: 6px 16px; background: #2d8cf0; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; }
.filter-bar button:hover { background: #57a3f3; }

.tech-info-card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.tech-info-card h3 { font-size: 16px; margin-bottom: 12px; }
.tech-info-card p { margin-bottom: 6px; color: #555; font-size: 13px; }
.tech-info-card .btn { margin-top: 12px; }