* {
    box-sizing: border-box;
    flex-shrink: 0;
}

body {
    font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
    background-color: #f5f6f8;
    margin: 0;
    padding: 0;
}

header {
    background: white;
    border-bottom: 1px solid #D8D8D8;
}

header .wrap {
    width: 1050px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    line-height: 80px;
}

header .logo {
    font-size: 24px;
    line-height: 28px;
    color:#333;
}

header .logo span {
    display: block;
    font-size: 18px;
    color:#666;
}

header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

header nav a.cur {
    color: #FF2300 !important;
}

.location {
    width: 1050px;
    color: #999;
    font-size: 14px;
    line-height: 40px;
    margin: 0 auto;
}

.container {
    display: flex;
    width: 1050px;
    margin: 0 auto;
    align-items: flex-start
}

.sidebar {
    width: 200px;
    background: white;
    border: 1px solid #D8D8D8;
}

.sidebar a {
    display: block;
    line-height: 64px;
    color: rgba(0, 0, 0, 1);
    font-size: 18px;
    text-align: center;
    border-left: 6px solid #FFF;
}

.sidebar a.cur {
    background-color: rgba(255, 134, 115, 0.4);
    border-left: 6px solid rgba(255, 35, 0, 1);
}

.sidebar a:hover {
    background-color: rgba(255, 134, 115, 0.1);
    border-left: 6px solid rgba(255, 134, 115, 0.1);
}

.sidebar .logout {
    display: block;
    width: 155px;
    height: 45px;
    background: #FF2300;
    border-radius: 45px 45px 45px 45px;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    margin: 50px auto 30px;
}

.layui-form-item .layui-input:focus, .layui-form-item .layui-textarea:focus {
    border-color: #f90 !important;
}

.layui-form-item .layui-form-label {
    width: 110px;
}

form .form-btn {
    background-color: #f90;
    width: 100%;
    border-radius: 3px;
}

.main {
    flex: 1;
    padding-left: 20px;
    min-height: 600px;
}

.section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.box {
    background: white;
    padding: 15px 20px;
    border: 1px solid #D8D8D8;
    flex: 1;
}

.box h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.btn {
    background-color: #fa5f5f;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
}

.box .info a {
    color: #999;
    text-decoration: underline;
    margin-left: 10px;
}

.box .info .time {
    float: right;
}


.box.money {
    width: 230px;
    flex: none;
}


.box.money div {
    line-height: 30px;
}


.box.money a {
    color: #999;
    text-decoration: underline;
}

.box.money .action {
    float: right;
}

.box.money .btn {
    width: 70px;
    height: 30px;
    background: #FF2300;
    border-radius: 45px 45px 45px 45px;
    border: 1px solid #FF2300;
    text-align: center;
}

.box h4 .more {
    float: right;
    font-size: 14px;
    color: #333;
    font-weight: normal;
}

table.list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table.list th {
    font-weight: bold;
    font-size: 14px;
}

table.list th,
table.list td {
    padding: 5px 10px;
    text-align: left;
}

table.list .pagination {
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    margin: 20px 0;
}

table.list .pagination a {
    margin: 0 15px;
}

table.list .pagination a.disabled {
    opacity: 0.5;
    cursor: default;
}

.task-status-wait {
    color: #F56C6C;
}

.task-status-run {
    color: #FF9000;
}

.task-status-close {
}

.footer {
    margin: 30px auto 0;
    background: #1f1f24;
    box-sizing: border-box;
    padding: 30px 0 20px;
    font-size: 13px;
}

.footer .container {
    display: block;
}

.footer .link {
    border-bottom: 1px solid #36363a;
    padding-bottom: 30px;
    text-align: center
}

.footer .link a {
    color: #fff;
    margin-right: 28px
}

.footer .link a:last-child {
    margin-right: 0
}

.footer .link a:last-child em {
    display: none
}

.footer .link a em {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: #fff;
    vertical-align: -2.5px;
    margin-left: 28px
}

.footer .text {
    color: rgba(255, 255, 255, .5);
    margin-bottom: 8px;
    text-align: center
}

.footer .text a {
    color: inherit
}

.footer .p1 {
    text-align: center;
    margin-top: 28px
}

.footer .p1 span {
    font-size: 16px;
    color: rgba(255, 255, 255, .8)
}

.footer .p1 em {
    color: rgba(193, 193, 193, .8)
}

.footer .p2 {
    text-align: center;
    margin: 18px 0
}

.footer .p2 .icon-link {
    vertical-align: -2px;
    margin-right: 6px
}

.footer .p2 > * {
    display: inline-block;
    color: rgba(255, 255, 255, .8)
}

.footer .p2 > * a {
    color: inherit;
    margin-right: 10px
}

.footer .p2 > * a em {
    margin-left: 10px
}

.footer .p2 > a {
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    margin-left: 30px
}

.close-btn {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

/** 任务详情 **/
.task-detail-wrap .back-link {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.task-detail-wrap .title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.task-detail-wrap .meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}

.task-detail-wrap .meta span.status {
    color: #3ab94b;
}

.task-detail-wrap .section-title {
    font-weight: bold;
    margin: 20px 0 10px;
    font-size: 16px;
}

.task-detail-wrap .section-content {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}

.task-detail-wrap .post-images {
    margin: 10px 0 0;
}

.task-detail-wrap .post-images img {
    background: #ccc;
    max-width: 140px;
    border:1px solid #eee;
    margin: 0 20px 20px 0;
    cursor: pointer;
}

.task-detail-wrap .comment {
    border-top: 1px solid #D8D8D8;
    padding-bottom: 20px;
    padding-top: 20px;
    position: relative;
}

.task-detail-wrap .comment .user {
    color: #f90;
    font-size: 14px;
}

.task-detail-wrap .comment .time {
    color: #999;
    font-size: 12px;
    margin: 5px 0;
}

.task-detail-wrap .comment .text {
    font-size: 14px;
    margin: 10px 0;
    color: #333;
}

.task-detail-wrap .comment .image {
    width: 140px;
    height: 90px;
    background: #ccc;
    margin: 10px 0;
}

.task-detail-wrap .status-pass, .task-detail-wrap .status-refuse {
    width: 60px;
    height: 60px;
    background-size: 100% 100%;
    position: absolute;
    right: 0;
    top: 20px;
}

.task-detail-wrap .status-pass {
    background-image: url("../img/pass.png");
}

.task-detail-wrap .status-refuse {
    background-image: url("../img/refuse.png");
}

.task-detail-wrap .reply-section {
    margin-top: 20px;
}

.task-detail-wrap .reply-section textarea {
    width: 100%;
    height: 100px;
    resize: none;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
}

.task-detail-wrap .reply-section .actions {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-detail-wrap .reply-section .upload-btn {
    padding: 6px 12px;
    font-size: 14px;
    background: #f7f7f7;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 3px;
}

.task-detail-wrap .reply-section .submit-btn {
    background: #3d7eff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.task-detail-wrap .image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}
.task-detail-wrap .preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.task-detail-wrap .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.task-detail-wrap .preview-item .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}