body {
    background-color: #f4f6f9;
    margin: 0;
    padding: 15px;
}
.layui-card {
    margin-bottom: 15px;
}
.page-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #16b777;
    padding-left: 10px;
}
/* 调整搜索表单的样式 */
.toolbar-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.search-form {
    display: flex;
    align-items: center;
}
.search-form .layui-input-wrap {
    width: 300px;
}
/* 主题色按钮覆盖 */
.layui-btn-theme {
    background-color: #16b777 !important;
    color: #fff !important;
}
.layui-btn-theme:hover {
    opacity: 0.8;
}
/* 表格操作按钮间距 */
.layui-table-cell .layui-btn {
    margin-bottom: 0;
}
/* 自定义徽章颜色 */
.layui-badge.theme-badge {
    background-color: #ff5722;
    margin-left: 5px;
}
/* 标题链接样式 */
.title-link {
    color: #16b777;
    text-decoration: none;
}
.title-link:hover {
    text-decoration: underline;
}

/* 复杂字段内的文字排版 (用于双选会等) */
.cell-info-line {
    line-height: 20px;
    font-size: 13px;
}
.cell-info-label {
    color: #999;
}

/* -------------------
 * 表单页面专用样式 (add/edit)
 * ------------------- */
.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}
/* 上传列表样式 */
.upload-list {
    margin-top: 10px;
    max-width: 500px;
}
.upload-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background-color: #fafafa;
    border: 1px solid #e6e6e6;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s;
}
.upload-item:hover {
    background-color: #f0f0f0;
}
.upload-item .file-name {
    color: #333;
    display: flex;
    align-items: center;
}
.upload-item .file-name i {
    color: #999;
    margin-right: 5px;
    font-size: 18px;
}
.upload-item .del-btn {
    color: #ff5722;
    cursor: pointer;
    font-size: 14px;
}
.upload-item .del-btn:hover {
    opacity: 0.8;
}
/* 表格样式微调 */
.layui-table th {
    font-weight: bold;
}
.info-text {
    line-height: 38px;
    font-weight: bold;
    color: #333;
}
.member-input {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #e6e6e6;
    padding: 0 5px;
    box-sizing: border-box;
}
.layui-form-pane .layui-form-label {
    width: 140px;
    font-weight: bold;
}
.layui-form-pane .layui-input-block {
    margin-left: 140px;
    padding-left: 15px;
    min-height: 38px;
}
.info-table {
    width: 100%;
    background-color: #fff;
    color: #666;
}
.info-table td {
    padding: 12px 15px;
    border: 1px solid #e6e6e6;
    line-height: 24px;
}
.info-table .td-label {
    background-color: #fbfbfb;
    font-weight: bold;
    color: #333;
    width: 140px;
    text-align: right;
    padding-right: 20px;
}
.inner-table {
    margin: 10px !important;
    width: calc(100% - 20px) !important;
}
.inner-table th, .inner-table td {
    border: 1px solid #e6e6e6;
}
.inner-table th {
    font-weight: bold;
    background-color: #f8f8f8;
}
.content-box {
    padding: 15px;
    border: 1px solid #e6e6e6;
    background-color: #fafafa;
    border-radius: 2px;
    min-height: 100px;
}
.info-text {
    line-height: 38px;
    font-weight: bold;
    color: #333;
}
.member-input {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #e6e6e6;
    padding: 0 5px;
    box-sizing: border-box;
}

/* -------------------
 * 详情页面专用样式 (show)
 * ------------------- */
.layui-form-pane .layui-form-label {
    width: 140px;
    font-weight: bold;
}
.layui-form-pane .layui-input-block {
    margin-left: 140px;
    padding-left: 15px;
    min-height: 38px;
}
.info-table {
    width: 100%;
    background-color: #fff;
    color: #666;
}
.info-table td {
    padding: 12px 15px;
    border: 1px solid #e6e6e6;
    line-height: 24px;
}
.info-table .td-label {
    background-color: #fbfbfb;
    font-weight: bold;
    color: #333;
    width: 140px;
    text-align: right;
    padding-right: 20px;
}
.inner-table {
    margin: 10px !important;
    width: calc(100% - 20px) !important;
}
.inner-table th, .inner-table td {
    border: 1px solid #e6e6e6;
}
.inner-table th {
    font-weight: bold;
    background-color: #f8f8f8;
}
.content-box {
    padding: 15px;
    border: 1px solid #e6e6e6;
    background-color: #fafafa;
    border-radius: 2px;
    min-height: 100px;
}
