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

.jzlj-car-base {
    display: flex;
    height: 600px;
    overflow-y: auto;
    padding: 6px 16px 16px 16px;
    gap: 16px;

    &-left {
        height: 700px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 35%;

        &-top {
            height: 50%;

            .label {
                color: var(--base-label-color);
            }

            .value {
                color: var(--info-color);
            }

            .qrCode {
                position: absolute;
                right: 16px;
                top: 16px;

                .ant-image-mask-info {
                    width: 18px !important;
                }
            }
        }

        &-bottom {
            height: 50%;

            .ssxx-top {
                display: flex;
                align-items: center;
                justify-content: space-around;
            }

            .ssxx-map {
                height: calc(100% - 74px);
                margin-top: 16px;

                .ol-map-container {
                    border-radius: 8px !important;
                }
                .ol-viewport {
                    border-radius: 8px !important;
                }
            }
        }
    }

    .num {
        font-size: 18px;
        color: #1677ff;
        font-weight: 500;

        .unit {
            font-size: 12px;
            font-weight: normal;
            margin-left: 4px;
        }
    }

    .name {
        font-size: 14px;
        color: var(--info-color);
    }

    &-right {
        height: 700px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 65%;

        &-top {
            height: 35%;

            .yxxx {
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: space-around;

                .yxxx-item {
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: space-around;
                }
            }
        }

        &-bottom {
            height: 75%;

            .yxfx-top {
                display: flex;
                align-items: center;
                justify-content: space-around;
                padding-bottom: 24px;

                .pjryl {
                    .flex-column;
                    width: 200px;
                    height: 58px;
                    background: linear-gradient(
                        90deg,
                        rgba(22, 119, 255, 0) 0%,
                        rgba(22, 119, 255, 0.2) 50%,
                        rgba(22, 119, 255, 0) 100%
                    );
                }

                .pjrcc {
                    .flex-column;
                    width: 200px;
                    height: 58px;
                    background: linear-gradient(
                        90deg,
                        rgba(32, 187, 112, 0) 0%,
                        rgba(32, 187, 112, 0.2) 50%,
                        rgba(32, 187, 112, 0) 100%
                    );
                }
            }
        }
    }
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
