/* 华诺生产管理系统 全局统一样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei",sans-serif;
}
body {
    background: #f5f7fa;
    font-size: 14px;
    color: #333;
}
/* 顶部导航 */
.top-nav {
    background: #1f2937;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.system-title {
    font-size: 18px;
    font-weight: bold;
}
.nav-btn a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    background: #3b82f6;
    border-radius: 4px;
    margin-left: 10px;
}
.nav-btn a:hover {
    background: #2563eb;
}
/* 主体容器 */
.main-container {
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px;
    margin: 0 auto;
}
/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px #eee;
    padding: 20px;
    margin-bottom: 20px;
}
.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 4px solid #3b82f6;
    padding-left: 10px;
}
/* 表单、表格通用 */
input,select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 220px;
    margin: 5px 0;
}
button {
    padding: 8px 18px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background: #2563eb;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
table th,table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}
table th {
    background: #f8f9fa;
}
/* 移动端适配 订单员/生产员 */
@media (max-width: 768px) {
    .top-nav {height: 50px;line-height: 50px;}
    .system-title {font-size: 16px;}
    .main-container {padding-top: 65px;}
    table th,table td {padding: 6px 2px;font-size: 12px;}
    input,select {width: 100%;}
}