.card-component {
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: auto;
    border-radius: 12px;
    overflow: hidden;
    line-height: 18px;

    .ant-spin-nested-loading,
    .ant-spin,
    .ant-spin-container {
        width: 100%;
        height: 100%;
    }

    .card-title {
        font-size: 18px;
        padding: 12px;
        position: relative;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .card-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(54deg,
                rgba(12, 80, 88, 0) 1.43%,
                #0C5058 7.04%,
                rgba(12, 80, 88, 0) 100%);
    }

    .card-detail {
        padding: 12px 16px;
        flex: 1;
        min-height: 0;
        overflow-y: auto;

        .card-detail-item {
            display: flex;
            align-items: center;

            .card-detail-item-title {
                white-space: nowrap;
                max-width: 60%;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
            }

            .card-detail-item-value {
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                max-height: 22px;
                color: #F7B500;
            }

            .card-detail-item-unit {
                margin-left: 4px;
            }
        }

        .refPage {
            white-space: nowrap;
            width: 40%;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
        }
    }
}

.card-component>.ant-spin-nested-loading>.ant-spin-container,
.card-component>.ant-spin>.ant-spin-container {
    display: flex;
    flex-direction: column;
}