#index {
    //color: #d3d6dd;
    width: 100%;
    height: 100%;
    overflow: hidden;

    &.pageisScale {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transform-origin: left top;
    }

    .bg {
        width: 100%;
        height: 100%;
        padding: 16px 16px 10px 16px;
        box-sizing: border-box;
        // 深蓝色背景
        // background-image: radial-gradient(closest-side,#264194, #12214c);
        //background-color: #0e2e87;
        background-size: cover;
        background-image: url('../../assets/bigScreen/img/bg.png');
        background-position: center center;
    }

    .host-body {
        height: 100%;

        .title_wrap {
            height: 60px;
            background-image: url('../../assets/bigScreen/img/top.png');
            background-size: cover;
            background-position: center center;
            position: relative;
            margin-bottom: 4px;

            .guang {
                position: absolute;
                bottom: -26px;
                background-image: url('../../assets/bigScreen/img/guang.png');
                background-position: 80px center;
                width: 100%;
                height: 56px;
            }

            .zuojuxing,
            .youjuxing {
                position: absolute;
                top: -2px;
                width: 140px;
                height: 6px;
                background-image: url('../../assets/bigScreen/img/headers/juxing1.png');
            }

            .zuojuxing {
                left: 11%;
            }

            .youjuxing {
                right: 11%;
                transform: rotate(180deg);
            }

            .timers {
                position: absolute;
                left: 0;
                top: 30px;
                font-size: 18px;
                display: flex;
                align-items: center;
                color: #fff;

                .blq-icon-shezhi02 {
                    cursor: pointer;
                }
            }
        }

        .title {
            position: relative;
            // width: 500px;
            text-align: center;
            background-size: cover;
            color: transparent;
            height: 60px;
            line-height: 46px;

            .title-text {
                font-size: 30px;
                font-weight: 900;
                letter-spacing: 6px;
                width: 100%;
                background: white;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
        }
    }
}

.index_home {
    width: 100vw;
    height: 100vh;
    background-image: url('../../assets/bigScreen/img/bg.png');
    //background-color: #03050C;
    .pagetab {
        position: absolute;
        top: -35px;
        display: flex;

        .item {
            width: 130px;
            height: 36px;
            color: #00fbf8;
            text-indent: 5px;
            line-height: 36px;
            font-size: 16px;
        }
    }
}

.setting {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    left: 0;

    .left_shu {
        color: #000;
        font-weight: 900;
        position: relative;
        text-indent: 10px;
        padding: 16px 0 10px 0;

        &::before {
            display: block;
            content: ' ';
            height: 16px;
            width: 4px;
            border-radius: 2px;
            background: #0072ff;
            position: absolute;
            left: 0px;
        }
    }

    .setting_dislog {
        background-color: rgba($color: #000000, $alpha: 0.5);
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
        right: 0;
        top: 0;
    }

    .setting_inner {
        box-sizing: border-box;
        background: #fff;
        width: 340px;
        height: 100%;
        position: absolute;
        right: 0px;
        top: 0;
        z-index: 1;
        color: #000000;
        box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);

        .setting_header {
            font-size: 20px;
            color: rgb(0, 0, 0);
            font-weight: 900;
            text-align: center;
            line-height: 40px;
        }

        .setting_body {
            padding: 0px 16px;
            box-sizing: border-box;
            position: relative;
        }

        .setting_item {
            font-size: 14px;
            line-height: 1.5;

            // display: flex;
            .setting_label {
                color: #555454;
            }

            .setting_label_tip {
                font-size: 12px;
                color: #838282;
            }
        }
    }

    .setting_inner {
        animation: rtl-drawer-out 0.3s;
    }
}

.settingShow {
    .setting_inner {
        animation: rtl-drawer-in 0.3s 1ms;
    }
}

.yh-setting-fade-enter-active {
    animation: yh-setting-fade-in 0.3s;
}

.yh-setting-fade-leave-active {
    animation: yh-setting-fade-out 0.3s;
}

@keyframes yh-setting-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes yh-setting-fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes rtl-drawer-in {
    0% {
        transform: translate(100%, 0);
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@keyframes rtl-drawer-out {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100%, 0);
    }
}

#app .index_ssjc {
    .card-ssjc {
        background-color: #153157;
        border-radius: 12px;
        box-sizing: border-box;
        padding: 20px 12px 24px 24px;

        .el-input__inner {
            background-color: #24426b;
            border: 0.5px solid #dcdfe680;
            color: #a8abb2;
            font-family: 'Source Han Sans CN';
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 22px;
        }

        .el-tree-node__content {
            background-color: #153157;
            border: none;
            color: #a8abb2;
            font-family: 'Source Han Sans CN';
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 22px;
        }
    }

    .top-ssjc {
        border-radius: 12px;
    }

    .bottom-bbgl {
        border-radius: 20px;
    }
}

#app .ssjc-table {
    .el-table__empty-block {
        // background: #153157;
        border: none;
    }

    &::before {
        height: 0;
    }

    &::after {
        height: 0;
    }

    th.el-table__cell.gutter {
        background-color: transparent;
    }

    tr {
        &:hover {
            td.el-table__cell {
                background-color: transparent;
            }
        }

        &.hover-row {
            td.el-table__cell {
                background-color: transparent !important;
            }
        }

        td.el-table__cell {
            border: 0;
            padding: 18px 0;
        }
    }

    .el-table__body-wrapper {
        &::-webkit-scrollbar {
            position: relative;
            left: 10px;
            width: 5px;
            border-radius: 2.5px;
            background-color: #456caa;
        }

        &::-webkit-scrollbar-track {
            background-color: #456caa;
            width: 5px;
            border-radius: 2.5px;
            background-color: #456caa;
        }

        &::-webkit-scrollbar-thumb {
            background-color: #285eb4;
            width: 5px;
            border-radius: 2.5px;
        }
    }
}

#app .index_ssjc .el-radio-button .el-radio-button__inner {
    background-color: #043053;
    border: none;
    color: white;
    font-size: 14px;
}

#app .index_ssjc .el-radio-button .is-checked {
    background-color: #ff0076b0; /* 激活时背景色 */
    color: #fff; /* 激活时文字颜色 */
}

#app .index_ssjc .el-radio-button:hover {
    background-color: #1e7e7a; /* 鼠标悬停时背景色 */
}

#app .index-gjzx {
    .card-form {
        justify-content: flex-start;

        .form-point {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background-color: #237fdd;
            margin-right: 28px;
        }

        .form-label {
            font-size: 14px;
            color: #fff;
            margin-right: 28px;
        }

        .form-input {
            height: 100%;
            margin-right: 30px;

            .el-input__inner {
                background-color: #153768;
                border: 0;
                outline: 0;
                border-radius: 4px;
            }
        }

        .form-select {
            height: 100%;
            margin-right: 30px;

            .el-input__inner {
                background-color: #153768 !important;
                border: 0 !important;
                border-radius: 4px !important;
                color: #c0c3ca !important;
            }

            /* 覆盖下拉列表的背景色和字体颜色 */
            .el-select-dropdown {
                background-color: #153768 !important;
            }

            /* 设置下拉列表选项的字体颜色 */
            .el-select-dropdown .el-select-dropdown__item {
                color: #ada9a9 !important;
            }

            /* 当选项被选中时的背景色 */
            .el-select-dropdown .el-select-dropdown__item.selected {
                background-color: #153768 !important;
            }

            /* 当选项被 hover 时的背景色 */
            .el-select-dropdown .el-select-dropdown__item:hover {
                background-color: #153768 !important;
            }
        }


        .form-radio-group {
            padding: 4px;
            background-color: #08254f;
            border-radius: 4px;
            display: flex;

            .form-radio {
                height: 24px;
                width: 48px;
                border-radius: 4px;
                font-size: 12px;
                color: #385886;

                &.active {
                    background-color: #113160;
                    color: #fff;
                }
            }
        }
    }

    .device-list {
        .device-option {
            width: calc((100% - 60px) / 4);
            height: 220px;
            border-radius: 12px;
            background-color: rgba(19, 50, 92, 0.56);
            margin: 0 20px 20px 0;
            display: inline-block;

            &:nth-child(4n) {
                margin-right: 0;
            }

            .option-top {
                height: 62px;
                box-sizing: border-box;
                padding: 0 20px;

                .device-name {
                    font-size: 16px;
                    color: #fff;
                }

                .device-icon {
                    width: 20px;
                    height: 20px;
                    margin-right: 6px;
                }

                .device-control {
                    width: 24px;
                    height: 24px;

                    .control-icon {
                        color: #fff;
                        font-size: 14px;
                        transform: rotateZ(90deg);
                    }
                }
            }

            .option-content {
                box-sizing: border-box;
                padding: 0 27px 0 23px;
                height: calc(100% - 62px);
                align-items: flex-start;

                .device-img {
                    width: 123px;
                    height: 123px;
                }

                .device-info {
                    width: 175px;

                    .info-row {
                        font-size: 14px;
                        line-height: 14px;
                        margin-bottom: 8px;
                        color: #fff;
                    }
                }
            }
        }
    }
}

.el-dialog.point-dialog-outer {
    background-color: transparent;

    .el-dialog__header {
        display: none;
    }

    .el-dialog__body {
        padding: 0;
    }

    .point-dialog {
        width: 80%;
        height: 70%;
        background: url('../../assets/bigScreen/img/dialog-bg.png') no-repeat 100% 100%/ 100% 100%;
        box-sizing: border-box;
        padding: 95px;
        position: fixed; /* 使用 fixed 定位 */
        top: 50%; /* 距离顶部 50% */
        left: 50%; /* 距离左侧 50% */
        transform: translate(-50%, -50%); /* 偏移自身 50% 以居中 */
        z-index: 1; /* 确保对话框在最上层 */

        .dialog-close {
            position: absolute;
            right: 20px;
            top: 37px;
            width: 50px;
            height: 50px;
        }

        .dialog-inner {
            height: 100%;
            overflow-y: auto;
            padding-right: 10px;

            &::-webkit-scrollbar {
                position: relative;
                left: 10px;
                width: 5px;
                border-radius: 2.5px;
                background-color: #456caa;
            }

            &::-webkit-scrollbar-thumb {
                background-color: #285eb4;
                width: 5px;
                border-radius: 2.5px;
            }
        }

        .el-table {
            &::before {
                height: 0;
            }

            &::after {
                height: 0;
            }

            tr {
                &:hover {
                    td.el-table__cell {
                        background-color: #091639;
                    }
                }

                td.el-table__cell {
                    border: 0;
                    padding: 18px 0;
                }
            }
        }
    }
}

#app .index_bbgl {
    .bbgl-form {
        .el-form {
            .el-form-item {
                .el-form-item__label {
                    color: #fff;
                }

                .el-form-item__content {
                    .el-select {
                        .el-input__inner {
                            background-color: #153768;
                            border: 0;
                            border-radius: 4px;
                            outline: 0;
                            color: #fff;
                        }
                    }

                    .el-date-editor {
                        background-color: #153768;
                        border-radius: 4px;

                        .el-range-input {
                            background-color: #153768;
                            border-radius: 4px;
                            color: #fff;
                        }

                        .el-range-separator {
                            color: #a8abb2;
                            display: flex;
                            align-items: center;
                        }
                    }
                }
            }
        }
    }
}

.el-select-dropdown.bbgl-select {
    background: linear-gradient(90deg, #174283 0%, #0e284f);
    border: 0;

    .el-select-dropdown__list {
        background: linear-gradient(90deg, #1742837d 0%, #0e284f);
    }

    .el-select-dropdown__item {
        background: linear-gradient(90deg, #1742837d 0%, #0e284f);
        color: #fff;
        padding-left: 20px;
    }

    .popper__arrow::after {
        border-bottom-color: #174283 !important;
    }
}


.close-button {
    /* 设置宽度和高度为30px，不包括边框 */
    width: 26px;
    height: 26px;
    /* 边框设置为浅蓝色，宽度增加到10px */
    border: 1px solid #2aa2fa;
    /* 背景色设置为浅蓝色偏暗 */
    background-color: #0b4068;
    /* 将正方形旋转45度形成菱形 */
    transform: rotate(45deg);
    /* 定位样式，根据需要调整 */
    position: absolute;
    right: 20px;
    top: 40px;
    /* 文本样式 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* 文本内容 */
    &::before {
        content: '×';
        color: #fff; /* 文本颜色为白色 */
        font-weight: bold; /* 加粗字体 */
        font-size: 16px; /* 字体大小 */
        /* 不需要旋转文本，因为元素本身已经旋转 */
        transform: rotate(-45deg); /* 旋转文本以纠正位置 */
    }

}
