*{
    margin: 0;
    padding: 0;
}
body{
    font-family: PingFangSC-Regular !important;
}
html{
    width: 100%;
    height: 100%;
}
.icon {
    width: 1em; height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
 }
button{
    margin: 0 !important;
    color: #fff !important;
    background-color: #006EFF !important
}
div{
    display: flex;
    align-items: center;
}
.row-div{
    flex-direction: row;
}
.col-div{
    flex-direction: column;
}
#root{
    width: 100%;
    height: 100%;
    background-color: rgb(250, 250, 250);
    position: absolute;
    display: block;
}
#login-root{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#login-card{
    width: 450rem;
    height: 500rem;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    background-color: white;
}
.login-card{
    width: 360rem;
    height: 450rem;
    background-color: white;
    margin: 0 auto;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}
.popover{
    min-width: 300rem;
    max-width: 1000rem;
    border: 0;
    white-space: nowrap;
    /* overflow: hidden; */
}
.popover-body{
    flex-direction: column;
    padding: 0;
}
.popover-body>div{
    width: 100%;
    height: 35rem;
    justify-content: center;
    cursor: default;
}
.popover-body>div:hover{
    background-color: #F7F7F7;
}

.icon-gray{
    color: #bfbfbf;
}
.icon-normal{
    color: #515151;
}
.icon-blue{
    color: #006EFF;
}
.device-testing-btn{
    color: #515151;
    cursor: pointer;
    margin-top: -14rem;
    opacity: 0.8;
}
.device-connect-list{
    width: 310rem;
    height: 70rem;
    position: absolute;
    bottom: 50rem;
    background-color: #fff;
    border-radius: 5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    justify-content: space-around;
    padding: 0 10rem;
}
.device-connect-list::before{
    content: '';
    width: 0;
    height: 0;
    border: 8rem transparent solid; 
    border-top-color: rgba(0, 0, 0, 0.2);
    opacity: 0.6;
    position: absolute;
    bottom: -16rem;
    left: 50%;
    transform: translateX(-50%);
}
.device-connect-list::after{
    content: '';
    width: 0;
    height: 0;
    border: 7rem transparent solid; 
    border-top-color: #fff;
    position: absolute;
    bottom: -14rem;
    left: 50%;
    transform: translateX(-50%);
}
.connect{
    width: 28rem;
    height: 64rem;
    font-size: 28rem;
    text-align: center;
    position: relative;
    opacity: 0.8;
}
.device-icon{
    width: 20rem;
    height: 20rem;
    margin-right: 3rem;
    display: block;
    text-align: center;
    font-size: 20rem;
    line-height: 20rem;
}
#device-testing-root {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-self: center;
    background: rgba(0, 0, 0, 0.1);
}
.device-testing-card{
    width: 640rem;
    height: 480rem;
    background: #F7F7F7;
    border-radius: 10rem;
    position: relative;
    display: block;
    z-index: 999;
}
.device-testing-prepare,.device-testing,.device-testing-report{
    display: block;
}
.testing-title{
    font-size: 34rem;
    justify-content: center;
    margin-top: 55rem;
    color: #201e1ee5;
}
.testing-prepare-info{
    font-size: 16rem;
    justify-content: center;
    margin-top: 25rem;
    color: #585656e5;
}
.device-testing-close-btn{
    width: 25rem;
    height: 25rem;
    position: absolute;
    top: 8rem;
    right: 8rem;
    cursor: pointer;
    font-size: 20rem;
}
.device-display{
    margin-top: 40rem;
    justify-content: center;
}
.device{
    width: 46rem;
    height: 46rem;
    position: relative;
    justify-content: center;
    font-size: 38rem;
}
.device:not(:first-child){
    margin-left: 60rem;
}
.device:not(:first-child).safari{
    margin-left: 100rem;
}
.device::before{
    content: '';
    width: 28rem;
    height: 28rem;
    position: absolute;
    bottom: -34rem;
    left: 50%;
    transform: translateX(-50%);
}
.connect-success::before{
    background: url('../img/success.png') no-repeat;
    background-size: 100% 100%;
}
.connect-fail::before{
    background: url('../img/fail.png') no-repeat;
    background-size: 100% 100%;
}
@keyframes device-loading {
    0%{
        width: 0%;
        border-radius: 6rem 0 0 6rem;
    }
    50%{
        width: 50%;
        border-radius: 6rem 0 0 6rem;
    }
    100%{
        width: 100%;
        border-radius: 6rem;
    }
}
.loading-background{
    width: 350rem;
    height: 3rem;
    border-radius: 6rem;
    margin: 20rem auto 0;
    background: #bfbfbf;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.device-loading{
    height: 3rem;
    background-color: #808080;
    animation: device-loading 2s;
    animation-fill-mode: both;
}
.connect-info{
    margin-top: 60rem;
    display: flex;
    height: 48rem;
    justify-content: center;
}
.connect-attention-container{
    position: relative;
    margin-left: 3rem;
}
.connect-attention-icon{
    font-size: 20rem;
    color: red;
}
.connect-attention-info{
    padding: 8rem 12rem;
    min-width: 120rem;
    min-height: 50rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10rem;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 100%;
    transform: translate(20rem, -10rem);
    display: block;
    white-space: nowrap;
    font-size: 12rem;
}
.connect-attention-info::after{
    content: '';
    width: 0;
    height: 0;
    border: 10rem transparent solid;
    border-top-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 100%;
    top: 100%;
    transform: translateX(-40rem);
}
.testing-btn-display{
    justify-content: center;
    margin-top: 30rem;
}
.test-btn{
    width: 200rem;
    height: 44rem;
    background: #006EFF;
    border-radius: 5rem;
    text-align: center;
    color: #fff;
    justify-content: center;
    cursor: pointer;
}
.start-gray{
    background: #dddddd;
    color: #fff;
    cursor: not-allowed;
}
.device-testing-title{
    justify-content: center;
    width: 100%;
    margin-top: 40rem;
}
.testing{
    width: 26rem;
    height: 26rem;
    position: relative;
    justify-content: center;
    text-align: center;
    font-size: 24rem;
    line-height: 24rem;
}
.testing:not(:first-child){
    margin-left: 90rem;
}
.testing:not(:first-child)::before {
    content: '';
    width: 70rem;
    height: 2rem;
    position: absolute;
    top: 50%;
    left: -80rem;
    background: #bfbfbf;
}
.testing:not(:first-child).safari{
    margin-left: 150rem;
}
.testing:not(:first-child).safari::before{
    width: 130rem;
    left: -140rem;
}
.testing.complete {
    cursor: pointer;
}
.testing.complete:not(:first-child)::before {
    background: #006EFF;
}
.testing-body{
    width: 100%;
    display: block;
}
.device-list{
    margin-left: 140rem;
    margin-top: 30rem;
}
.device-select{
    width: 260rem;
    height: 30rem;
    margin-left: 20rem;
    padding: 0 10rem;
    border-radius: 4rem;
}
.camera-video{
    width: 300rem;
    height: 180rem;
    display: block;
    margin: 30rem auto 0;
}
.testing-info-container{
    display: block;
    position: absolute;
    bottom: 50rem;
    margin-top: 24rem;
    left: 50%;
    transform: translateX(-50%);
}
.testing-info{
    width: 100%;
    text-align: center;
    display: block;
}
.button-list{
    margin-top: 20rem;
    width: 300rem;
    justify-content: space-around;
}
.fail-button{
    border: 1rem solid #006EFF;
    border-radius: 8rem;
    color: #006EFF;
    padding: 6rem 14rem;
    cursor: pointer;
}
.success-button{
    border: 1rem solid #006EFF;
    border-radius: 8rem;
    background: #006EFF;
    color: #fff;
    padding: 6rem 14rem;
    cursor: pointer;
}
.audio-control{
    width: 320rem;
    display: block;
    margin: 40rem auto 0;
}
.audio-control-info{
    margin: 0rem auto 20rem 6rem;
    color: #5f5f5f;
}
.mic-testing-container{
    display: block;
    margin-top: 30rem;
}
.mic-testing-info{
    margin-left: 140rem;
    color: #bbbbbb;
    font-size: 14rem;
}
.mic-bar-container{
    justify-content: center;
    margin-top: 10rem;
}
.mic-bar{
    width: 10rem;
    height: 30rem;
    border: 1rem solid #cccccc;
    border-radius: 1rem;
}
.mic-bar:not(:first-child){
    margin-left: 3rem;
}
.mic-bar.active{
    background: #006EFF;
}
.testing-index-list{
    margin-top: 40rem;
    display: block;
}
.testing-index-group{
    width: 55%;
    display: flex;
    justify-content: space-between;
    margin-top: 14rem;
    margin: 10rem auto 0;
}
@keyframes loading-circle{
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.network-loading::before{
    content: '';
    width: 16rem;
    height: 16rem;
    background: url('../img/loading.png');
    background-size: 100% 100%;
    animation: loading-circle 2s linear infinite;
}
.testing-footer{
    margin-top: 70rem;
    justify-content: center;
}
.device-report-list{
    display: block;
    margin-top: 40rem;
}
.device-report{
    width: 60%;
    margin: 20rem auto 0;
    justify-content: space-between;
}
.report-icon{
    width: 24rem;
    height: 24rem;
    margin-right: 20rem;
    justify-content: center;
    font-size: 22rem;
    line-height: 22rem;
    color: #515151;
}
.device-name{
    width: 280rem;
    height: 24rem;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.device-report-footer{
    margin-top: 50rem;
    justify-content: center;
}
.device-report-btn{
    width: 160rem;
    height: 40rem;
    border: 1rem solid;
    border-radius: 6rem;
    justify-content: center;
    cursor: pointer;
}
.testing-agin{
    border-color: #006EFF;
    color: #006EFF;
}
.testing-finish{
    background: #006EFF;
    color: #fff;
    margin-left: 60rem;
}