@import '../../style/index.less';

.jzlj-car-subtitle {
    display: flex;
    align-items: center;

    .jzlj-car-type {
        display: inline-flex;
        align-items: center;
        padding: 0 8px;
        height: 24px;
        line-height: 24px;
        background: rgba(22, 119, 255, 0.05);
        border-radius: 4px;
        border: 1px solid #1677ff;
        font-size: 12px;
        color: #1677ff;
        font-weight: normal;
        margin-left: 8px;

        img {
            width: 16px;
            height: 16px;
            margin-right: 4px;
        }
    }

    .jzlj-car-status {
        display: inline-block;
        padding: 0 8px;
        height: 24px;
        line-height: 24px;
        background: rgba(82, 196, 26, 0.05);
        border-radius: 4px 4px 4px 4px;
        border: 1px solid #52c41a;
        font-weight: normal;
        font-size: 12px;
        color: #52c41a;
        margin-left: 8px;
    }
}

.jzlj-card {
    background-color: var(--bg-color2);
    border: 1px solid var(--title-border-color);
    border-radius: 8px;

    &-title {
        height: 56px;
        line-height: 56px;
        padding: 0 16px;
        border-bottom: 1px solid var(--title-border-color);
        position: relative;

        &-text {
            font-size: 16px;
            color: var(--title-color);
            font-weight: 500;
        }

        &-right {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
        }
    }

    &-content {
        padding: 16px;
        position: relative;
        height: calc(100% - 56px);
        overflow-y: auto;
    }
}

.vtx-ellipsis-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
