//按钮分割线
.functionItem {
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

@keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate {
    display: inline-block;
    animation: rotateAnimation 3s linear infinite;
}

.exportLine {
    position: relative;
    top: -7px;
    display: block;
    width: 106%;
    height: 1px;
    background: rgba(196, 196, 196, 1);
    border-right: 1px solid rgba(196, 196, 196, 1);
}

.cockpitTable {
    width: 100%;
    height: 440px;
    padding: 0;

    :global {
        .ant-pagination {
            .ant-pagination-item {
                background-color: #092847;
            }

            .ant-select:not(.ant-select-customize-input) .ant-select-selector {
                background: #092847;
                border: 1px solid #31587f;
                border-radius: 2px;
                color: #98aabb;
            }

            .ant-select-arrow {
                color: #7199c1;
            }

            .ant-select-dropdown {
            }
        }

        .ant-empty-description {
            color: hsl(0, 0%, 93%);
        }

        .ant-table {
            color: #fff;
            font-weight: bold;
            font-size: 14px;
            font-family: PingFang SC;
            background: transparent;
        }

        .vtx-datagrid .ant-table-thead > tr > th {
            background-color: rgba(48, 141, 233, 0.26);
            border-left: 1px solid #308de9;

            &:last-child {
                border: none;
            }
        }

        .vtx-datagrid .ant-table-tbody > tr.ant-table-placeholder > td.ant-table-cell {
            background: transparent;
        }

        .ant-table-tbody > tr.ant-table-row:hover > td,
        .ant-table-tbody > tr > td.ant-table-cell-row-hover {
            color: #63b4ff;
            background: transparent;
        }

        .vtx-datagrid-fit .ant-table-container {
            height: 100%;
        }

        .vtx-datagrid-fit .ant-table-container table > thead > tr th:first-child {
            border-left: none;
        }

        .vtx-datagrid-fit .ant-table-tbody > tr > td:first-child {
            border-left: none;
        }

        .ant-table table {
            border-collapse: collapse;
        }

        .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table,
        .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {
            border-top: none;
        }

        .ant-table-thead > tr > th {
            position: relative;
            color: #ffffff;
            font-weight: bold;
            font-family: PingFang SC;
            font-size: 16px;
            text-align: left;
            background: transparent;
            border-bottom: none;
            transition: background 0.3s ease;
        }

        .ant-table-tbody > tr {
            &.ant-table-row-level-0 {
                td {
                    background-color: rgba(48, 141, 233, 0.14) !important;
                    font-size: 14px;
                    font-family: PingFang SC;
                    font-weight: bold;
                    color: #ffffff;
                    line-height: 18px;

                    .ant-table-row-expand-icon {
                        background-color: transparent;
                    }
                }
                &:nth-child(odd) {
                    background: rgba(48, 141, 233, 0.16) !important;
                }
            }

            &.ant-table-row-level-1 {
                td {
                    background-color: rgba(22, 61, 100, 0.14) !important;
                    font-size: 14px;
                    font-family: PingFang SC;
                    font-weight: bold;
                    color: #bbcfe3;
                }
            }
        }

        .ant-table-tbody > tr > td {
            border-bottom: none;
            height: 58px;
        }

        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-content
            > table
            > thead
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-header
            > table
            > thead
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-body
            > table
            > thead
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-summary
            > table
            > thead
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-content
            > table
            > tbody
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-header
            > table
            > tbody
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-body
            > table
            > tbody
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-summary
            > table
            > tbody
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-content
            > table
            > tfoot
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-header
            > table
            > tfoot
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-body
            > table
            > tfoot
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-summary
            > table
            > tfoot
            > tr
            > th,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-content
            > table
            > tfoot
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-header
            > table
            > tfoot
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-body
            > table
            > tfoot
            > tr
            > td,
        .ant-table.ant-table-bordered
            > .ant-table-container
            > .ant-table-summary
            > table
            > tfoot
            > tr
            > td {
            border-right: none;
        }

        .vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) {
            background: transparent;
        }

        .ant-table-body {
            &::-webkit-scrollbar-thumb {
                background-color: #154474;
            }
        }

        .ant-pagination {
            color: #fff;

            .ant-pagination-item {
                a {
                    color: #eee;
                }
            }

            .ant-pagination-item-link {
                color: #fff;
            }

            .ant-pagination-options-quick-jumper {
                input {
                    background-color: transparent;
                    color: #eee;
                }
            }
        }
    }
}

:global {
    .ant-dropdown {
        z-index: 9999;
    }
}
