.work-item {
    margin-bottom: 12px;
    &.last-enter {
        .work-line .line-box::after {
            height: calc(100% - 26px);
        }
    }
    position: relative;
    &.has-bottom-btn {
        margin-bottom: 52px;

        .enter-btn {
            width: calc(100% - 22px);
            position: absolute;
            left: 22px;
            bottom: -52px;
            height: 40px;
            line-height: 40px;
            .btn {
                width: 100%;
                height: 40px;
                line-height: 40px;
            }
        }
    }
    &.dark {
        .work-info {
            background: #fff;
            border-color: rgba(218, 218, 218, 0.57);
            .card-item-title {
                color: #C3C3C3;
                .dotted {
                    background: #C3C3C3;
                }
            }
            .service-name {
                color: #888888;
            }
            .item-table ::v-deep {
                border-color: rgba(218, 218, 218, 0.57);
                border-bottom: 0;
                .el-table .el-table__header th.el-table__cell {
                    background: #F9F9F9 !important;
                }
                .el-table tr {
                    background: #fff;
                }
                .el-table thead {
                    color: #CCCCCC;
                }
                .el-table td.el-table__cell {
                    border-color: #DADADA;
                }
                &.has-sub-title .el-table__header .el-table__cell:first-child {
                    border-color: rgba(218, 218, 218, 0.57);
                }
                &.has-sub-title .el-table,
                &.has-sub-title .el-table__header,
                &.has-sub-title .el-table td.el-table__cell,
                &.has-sub-title .el-table__row .el-table__cell:first-child {
                    border-color: rgba(218, 218, 218, 0.57);
                }
                &.has-sub-title .el-table__row .el-table__cell:first-child {
                    border-color: rgba(218, 218, 218, 0.57);
                    background: #FAFAFA;
                }
                &.has-sub-title {
                    // border: none;
                    border: 1px solid rgba(218, 218, 218, 0.57);
                    .el-table, .el-table__header {
                        border-bottom: 0;
                    }
                }
                &.has-sub-title .remark-text {
                    border-color: rgba(218, 218, 218, 0.57);
                }
                &.no-wrap-table {
                    border: none;
                }
            }
            .prescription-box .prescription-item .sub-name {
                color: rgba(102, 102, 102);
            }
            .step-3-info .step-info-item .info-serve-r {
                color: rgba(102, 102, 102, 0.4);
                background: rgba(102, 102, 102, 0.05);
            }
            .prescription-box {
                .desc {
                    color: rgba(0, 0, 0, 0.3);
                    background: #FAFAFA;
                    span {
                        color: #BBBBBB;
                    }
                }
            }
        }
        .prescription-result {
            border: none;
            .result-index {
                background: #DDDDDD;
            }
            .result-title .title-item .name {
                color: #CCCCCC;
            }
            .result-title .title-item .value {
                color: #AAAAAA;
            }
        }
        .work-line {
            .line-box::after {
                background: #C3C3C3;
            }
            .line-dotted {
                background: #DDDDDD;
                .dotted-inset {
                    background: #C3C3C3;
                }
            }
        }
    }

    .card-item-title {
        display: inline-flex;
        align-items: center;
        color: rgba(0, 0, 0, 0.8);
        font-size: 16px;
        .dotted {
            display: block;
            width: 3px;
            height: 10px;
            border-radius: 20px;
            background: #2199f8;
            margin-right: 10px;
        }
        .real-text {
            padding-left: 4px;
            font-size: 12px;
            color: #2199F8;
        }
    }
    .work-info {
        position: relative;
        color: #fff;
        .step-box {
            position: absolute;
            right: 10px;
            top: 30px;
        }
        .todo-img {
            position: absolute;
            top: -1px;
            right: -1px;
            width: 46px;
        }
        .done-img {
            position: absolute;
            top: -1px;
            right: -1px;
            width: 30px;
        }
        .work-info-conetnt {
            padding-top: 6px;
        }
        .info-item {
            display: flex;
            align-items: center;
            font-size: 15px;
            margin-bottom: 12px;
            .info-name {
                color: #727272;
                flex: none;
            }
            .info-value {
                display: flex;
                align-items: center;
                &.primary-color {
                    color: #2199f8;
                }
                .select-value {
                    padding-left: 4px;
                }
                ::v-deep {
                    .el-select__wrapper {
                        box-shadow: 0 0 0 1px #2199F8 inset;
                        background: none;
                        height: 24px;
                        min-height: 24px;
                        padding: 4px 8px;
                        .el-select__placeholder {
                            color: #2199F8;
                        }
                        .el-select__caret {
                            color: #2199F8;
                        }
                    }
                    .date-info {
                        height: 24px;
                        .el-input__wrapper {
                            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
                            background: none;
                            .el-input__prefix {
                                color: #fff;
                            }
                            .el-input__inner {
                                color: #fff;
                            }
                        }
                    }
                }
            }
        }
        .info-item + .info-item {
            &.time-picker {
                margin-top: 6px;
            }
        }

        .prescription-box {
            position: relative;
            padding-right: 10px;
            font-size: 16px;
            .desc {
                margin-top: 12px;
                border-radius: 4px;
                color: #727272;
                padding: 10px;
                background: rgba(255, 212, 137, 0.06);
                span {
                    color: #2199f8;
                }
            }
            .service-wrap {
                padding: 12px 0;
                .service-item {
                    margin-top: 8px;
                    display: flex;
                    align-items: center;
                    border: 1px solid #474747;
                    padding: 0 12px;
                    height: 48px;
                    color: #fff;
                    font-size: 14px;
                    border-radius: 8px;
                    .service-img {
                        width: 32px;
                        margin-right: 8px;
                        border-radius: 50%;
                    }
                    .service-c {
                        flex: 1;
                        text-align: center;
                        color: rgba(255, 255, 255, 0.6);
                    }
                }
                .service-bottom {
                    padding-top: 12px;
                    .service-btn {
                        padding-top: 12px;
                        width: 100%;
                        .btn {
                            background: #FFD489;
                            color: #050505;
                            width: 100%;
                            height: 44px;
                            font-size: 16px;
                        }
                    }
                }
            }
            .bottom-map {
                width: 100%;
                height: 150px;
                border-radius: 8px;
            }
            .prescription-item {
                padding-top: 12px;
                .prescription-chart {
                    margin-top: 6px;
                    border: 1px solid rgba(196, 196, 196, 0.8);
                    border-radius: 5px;
                    padding: 4px 0 8px 0;
                    position: relative;
                    z-index: 1;
                    ::v-deep {
                        .card-chart {
                            width: calc(100vw - 60px - 40px);
                            height: 160px;
                        }
                    }
                }
                .sub-name {
                    font-size: 15px;
                    margin-bottom: 5px;
                    span{
                        color: #727272;
                    }
                }
                .edit-select {
                    ::v-deep {
                        .el-select__wrapper {
                            box-shadow: 0 0 0 1px #2199F8 inset;
                            background: #f1f9ff;
                        }
                    }
                }
                .recipe-item {
                    .recipe-form {
                        padding-top: 8px;
                    }
                    .form-box {
                        border: 1px solid #444444;
                        border-radius: 4px;
                        padding: 20px 10px;
                        width: 100%;
                        position: relative;
                        .form-index {
                            position: absolute;
                            left: 0;
                            top: 0;
                            padding: 0 6px;
                            background: #FFD489;
                            border-radius: 4px 0 4px 0;
                            height: 18px;
                            line-height: 18px;
                            font-size: 12px;
                            color: #000;
                        }
                        .box-item {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            color: #727272;
                            .r-text {
                                color: #fff;
                                width: 140px;
                                text-align: center;
                            }
                        }
                        .input-box {
                            padding: 8px 0 12px 0;

                            ::v-deep {
                                .el-input__wrapper {
                                    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
                                    background: none;
                                }
                                .el-input__inner {
                                    color: #fff;
                                }
                            }
                        }
                        .text-center {
                            ::v-deep {
                                .el-input__inner {
                                    text-align: center;
                                }
                            }
                        }
                        .action-btn {
                            .btn {
                                flex: 1;
                                width: calc(50% - 6px);
                            }
                            .delete-btn {
                                color: #FF943D;
                                background: rgba(255, 148, 61, 0.1);
                                border: 1px solid #FF943D;
                            }
                        }
                        .btn-group {
                            padding-top: 12px;
                            ::v-deep {
                                .el-button--primary {
                                    color: #FFD489;
                                    background: rgba(255, 212, 137, 0.05);
                                    border: 1px solid #FFD489;
                                }
                            }
                        }
                        .sub-item {
                            padding-left: 10px;
                            .has-sub {
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                .main-name {
                                    line-height: 20px;
                                }
                                .sub-name {
                                    font-size: 10px;
                                    color: rgba(129, 129, 129, 0.5);
                                    line-height: 14px;
                                }
                            }
                            .colunm-sub {
                                display: flex;
                                align-items: center;
                                .sub-name {
                                    font-size: 10px;
                                    color: rgba(129, 129, 129, 0.5);
                                }
                            }
                            .r-text {
                                width: 132px;
                                text-align: center;
                                font-size: 14px;
                                color: #fff;
                            }
                            .price {
                                ::v-deep {
                                    .el-input__wrapper {
                                        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
                                        background: none;
                                    }
                                    .el-input__inner {
                                        color: #fff;
                                    }
                                    .el-input-group__append {
                                        background: none;
                                        color: rgba(255, 255, 255, 0.6);
                                    }
                                }
                            }
                        }
                        .form-title {
                            color: #008EFF;
                            font-size: 14px;
                            padding-top: 6px;
                        }
                        .box-item + .box-item {
                            margin-top: 8px;
                        }
                        ::v-deep {
                            .el-select__wrapper {
                                box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
                                background: none;
                                .el-select__placeholder {
                                    color: #fff;
                                    text-align: center;
                                }
                            }
                        }
                    }
                    .form-box + .form-box {
                        margin-top: 8px;
                    }

                }
                .one-btn {
                    width: 100%;
                }
            }
        }

        .step-3-info {
            padding-top: 12px;
            .step-info-item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                .info-serve-l {
                    flex: 1;
                    display: flex;
                    align-items: center;
                    color: rgba(0, 0, 0, 0.4);
                    .type-name {
                        flex: none;
                    }
                    .img-list {
                        display: flex;
                        .img-item {
                            position: relative;
                            .serve-img {
                                width: 32px;
                                height: 32px;
                                object-fit: cover;
                                border-radius: 50%;
                            }
                            .checked-icon {
                                position: absolute;
                                bottom: 0;
                                right: 0;
                                width: 14px;
                            }
                        }
                        .img-item + .img-item {
                            margin-left: 10px;
                        }
                    }
                }
                .info-serve-r {
                    flex: none;
                    color: #2199f8;
                    font-size: 12px;
                    border-radius: 20px;
                    padding: 4px 12px;
                    background: rgba(33, 153, 248, 0.12);
                }
            }
            .step-info-item + .step-info-item {
                padding-top: 12px;
            }
        }

        .item-table {
            margin-top: 8px;
            // border: 1px solid #444444;
            // border-top: 0;
            // border-bottom: 0;
            border-radius: 4px;
            color: #333333;
            ::v-deep {
                .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
                    background: transparent;
                }
                .el-table {
                    border: 1px solid #444444;
                    border-radius: 4px 4px 0 0 ;
                    background: transparent;
                    // border-bottom: 0;
                    --el-table-border: #444444;
                }
            }

            &.has-wrap-table {
                ::v-deep {
                    .el-table__row {
                        .el-table__cell:first-child {
                            background: #E0F2FF;
                            border-right: 1px solid #444444;
                        }

                    }
                    .el-table__header {
                        .el-table__cell:first-child{
                                border-right: 1px solid #444444;
                            }
                    }
                }
            }

            &.has-sub-title {
                border: none;
                ::v-deep {
                    .el-table__cell {
                        text-align: center;
                    }
                    .el-table__row {
                        // .el-table__cell:first-child {
                        //     background: #E0F2FF;
                        //     border-right: 1px solid #444444;
                        // }

                    }
                    .el-table__header {
                        border-bottom: 1px solid #444444;
                        // .el-table__cell:first-child{
                        //         border-right: 1px solid #444444;
                        //     }
                    }
                }
                .remark-text {
                    border: 1px solid #444444;
                    color: rgba(0, 0, 0, 0.3);
                    height: 36px;
                    line-height: 36px;
                    padding: 0 6px;
                    border-radius: 0 0 4px 4px;
                    border-top: 0;
                }
            }

            &.no-wrap-table {
                border: none;
            }
            .table-l-title {
                height: 100%;
            }
            ::v-deep {
                .el-table {
                    color: #CECECE;
                }
                .el-table__inner-wrapper:before {
                    background: transparent;
                }
                .el-table th.el-table__cell {
                    padding: 4px 3px;
                }
                .el-table thead {
                    color: #727272;
                    font-weight: normal !important;
                }
                .el-table .el-table__header th.el-table__cell {
                    background: rgba(255, 255, 255, 0.04) !important;
                }
                .el-table tr {
                    background: transparent;
                }
                .el-table--default .el-table__cell {
                    // padding: 4px 0;
                }
                .el-table--default .cell {
                    padding: 0px 2px;
                    font-size: 14px;
                    font-weight: normal;
                }
                .el-table__header, .el-table__body {
                    width: auto !important;
                }
                .el-table__header .cell {
                    line-height: 18px;
                }
                .el-table td.el-table__cell {
                    border-color: #444444;
                }
            }
        }
    }
}
