// 住院药房
.hospital-pharmacies {
    .card-container {
        border: 1px solid #e8e8e8;

        .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
            background: #fff !important;
            color: rgba(77, 193, 130, 1) !important;
        }
    }

    .card-container .ant-tabs-bar {
        border-bottom: 0;
        margin: 0 0 0 0;
        background: linear-gradient(0deg, rgba(238, 238, 238, 0.8) 0%, rgba(238, 238, 238, 0.5) 50%, rgba(238, 238, 238, 0.1) 100%);
        ;
        height: 37px;
    }

    .card-container .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
        background: linear-gradient(0deg, rgba(238, 238, 238, 0.8) 0%, rgba(238, 238, 238, 0.5) 50%, rgba(238, 238, 238, 0.1) 100%);
        ;
        border: 0;
        border-radius: 0;
        color: rgba(0, 0, 0, 0.65);
        margin-right: 0;
        height: 37px;
    }

    .detail-table {
        .ant-table-body {
            height: 594px;
        }
    }

    .remove-td-default-bg {
        .ant-table-tbody>tr.ant-table-row-selected td {
            background: none;
        }
    }

    .inpatient-area {
        .ant-table-body {
            height: 1000px;
        }
    }

    .table-detail-style {
        width: 100%;
        border: 1px solid #e8e8e8;

        tr {
            height: 32px;
        }

        th {
            height: 36px;
            background: #fafafa;
        }

        th,
        td {
            text-align: center;
            border-right: 1px solid #e8e8e8;
            border-bottom: 1px solid #e8e8e8;
        }
    }

    // 中草药发药
    .diagonal {
        position: relative;
        margin: 80px auto 0;
        width: 150px;
        height: 150px;
        box-sizing: border-box;
    }

    .diagonal::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 50px;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(0, 0, 0, 0.65);
        transform-origin: bottom center;
        transform: rotateZ(-45deg) scale(1.414);
        animation: slash 5s infinite ease;
    }

    // card左侧绿色竖杠
    .card-title-left-icon {
        position: relative;
        padding-left: 10px;

        &>div:nth-child(1) {
            width: 3px;
            height: 15px;
            background: rgba(77, 193, 130, 1);
            position: absolute;
            left: 0;
            top: 4px;
        }
    }

    .leftColumns {
        thead {
            th {
                padding: 0 10px !important;
            }
        }
    }
}

.audit-refused-to {
    .ant-modal-body {
        padding: 12px 20px;
    }

    .disabled-none {
        cursor: pointer;

        &:hover {
            background-color: #e6f7ff;
        }
    }

    .ant-steps-item-title {
        padding-right: 0 !important;
    }

    .ant-steps-item {
        margin-right: -3px !important;
    }

    .ant-steps {
        display: block;
    }

    // 当前的状态颜色
    .ant-steps-item-process>.ant-steps-item-content>.ant-steps-item-title {
        color: #1890ff
    }

    .ant-steps-item-process>.ant-steps-item-content>.ant-steps-item-description {
        color: #1890ff
    }

    // 未选中的状体
    .ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon {
        color: #000;
        opacity: .7;
    }

    .ant-steps-item-finish>.ant-steps-item-content>.ant-steps-item-title {
        color: #000;
        opacity: .7;
    }

    .ant-steps-item-finish>.ant-steps-item-content>.ant-steps-item-description {
        color: #000;
        opacity: .7;
    }

    .ant-steps-item-finish>.ant-steps-item-content>.ant-steps-item-title::after {
        background: #e8e8e8;
    }
}

// 查询退药申请单
.application-for-refund {
    .ant-modal-body {
        padding: 24px !important;
    }
}

// 拒发药品查询
.inquiry-of-rejected-drugs {
    .ant-table-body {
        height: 1000px !important;
    }
}

// 发药明细
.drug-inquiry {
    .printing {
        float: right;

        span {
            margin-right: 15px;
            font-weight: 800;
            cursor: pointer;

            i {
                margin-right: 4px;
            }
        }

        span:hover {
            color: #40a9ff;
        }
    }

    .hp-card-left .ant-card-head-title {
        padding: 14px 0 !important;
    }
}