.clearfix {
    clear: both;
    content: "";
    display: table;
}

.live-ques {
    max-width: 85%;
    margin: 30px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    .live-ques-top {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        padding: 15px 0;
        justify-content: center;
        h2 {
            font-style: normal;
            font-weight: normal;
            font-size: 30px;
            line-height: 38px;
            color: #D7779B;
            margin: 0;
        }
    }
}

.userr {
    width: 85%;
    margin: 20px auto 0;
    .user-pro {
        background: #161d4ab0;
        max-width: 200px;
        border-radius: 100px;
        padding: 5px;
        display: flex;
        float: right;
        cursor: pointer;
        img {
            object-fit: cover;
            width: 40px;
            margin: 0 10px 0 0;
        }
        span {
            color: #fff;
            width: 65%;
            padding: 10px 0;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        span.material-icons {
            font-size: 17px;
            width: auto;
            padding: 11px 5px;
        }
    }
}

.live-ques-bottom {
    padding: 50px 100px;
    .question-option {
        button {
            display: block;
            width: 80%;
            border: 1px solid #D7779B;
            padding: 25px 10px;
            border-radius: 5px;
            background: none;
            margin: 10px auto;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            outline: none;
            &:hover {
                background: rgba(223, 116, 174, 0.6);
                box-shadow: 0px 0px 30px rgb(208 98 158 / 60%);
                border: 1px solid #DF74AE;
            }
            &:disabled {
                cursor: not-allowed;
            }
        }
        .active {
            background: rgba(223, 116, 174, 0.6);
            box-shadow: 0px 0px 30px rgb(208 98 158 / 60%);
            border: 1px solid #DF74AE;
            transform: scale(1.05);
        }
        .right {
            background: linear-gradient(0deg, rgba(166, 76, 215, 0.1), rgba(166, 76, 215, 0.1)), rgba(55, 63, 149, 0.5);
            box-shadow: 0px 0px 30px rgba(156, 66, 255, 0.6);
            border: 1px solid #9C42FF;
        }
        .wrong {
            background: rgb(220 110 67 / 68%);
            box-shadow: 0px 0px 30px rgba(220, 110, 67, 0.6);
            border: 1px solid #DC6E43;
        }
    }
    .que-result {
        margin-top: 30px;
        .crt,
        .wrg {
            display: flex;
            align-items: center;
            justify-content: center;
            span {
                width: 30px;
                height: 30px;
                color: #fff;
                border-radius: 30px;
                font-size: 18px;
                display: flex;
                margin-right: 5px;
                align-items: center;
                justify-content: center;
                &:last-child {
                    width: auto;
                }
            }
        }
        .crt {
            span {
                color: #B25CFF;
                &:first-child {
                    background: linear-gradient(270deg, #8900D7 0%, #B25CFF 100%);
                    color: #fff;
                }
            }
        }
        .wrg {
            span {
                color: #DC6E43;
                &:first-child {
                    background: linear-gradient(270deg, #E44A44 0%, #FF8D68 100%);
                    color: #fff;
                }
            }
        }
    }
}

.list-box {
    display: flex;
    padding: 10px;
    border: 1px solid #21275F;
    border-radius: 5px;
    background: rgba(27, 31, 72, 0.5);
    margin-bottom: 10px;
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    span {
        width: 25%;
        padding: 10px 5px;
        color: #D7779B;
        border-right: 1px solid #21275F;
        text-align: center;
        &:last-child {
            border-right: 0;
        }
    }
}

.starttest {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    p {
        color: #fff;
        border: 0;
        cursor: pointer;
        transition: 1s;
        outline: 0;
        min-width: 100px;
        margin: 0 5px;
        font-size: 20px;
        letter-spacing: 0.5px;
        font-weight: 500;
    }
}

@media(max-width:550px) {
    .list-box {
        display: block;
        span {
            width: 100%;
            display: block;
            border-bottom: 1px solid #21275F;
            &:last-child {
                border: 0;
            }
        }
    }
}

@media(max-width:767px) {
    .live-ques {
        .live-ques-top {
            .live-ques-logo {
                width: 41%;
                text-align: left;
            }
            .live-ques-per {
                width: 61%;
                h2 {
                    margin: 15px 0;
                    text-align: left;
                }
            }
        }
        .live-ques-bottom {
            padding: 10px 0;
            .que {
                h2 {
                    font-size: 14px;
                    line-height: 1.4;
                }
            }
            .question-option {
                ul {
                    li {
                        p {
                            font-size: 14px;
                            line-height: 1.4;
                        }
                    }
                }
            }
        }
    }
}