.pagemain {
    margin: 33px 45px;
    .pagemain {
        margin: 0;
    }
}

.pagehead {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-end;
    .pageback {
        color: #786eab;
        margin-right: 10px;
    }
    .pagelable {
        margin: 0;
        color: #d8789e;
        font-size: 22px;
        span {
            color: #958cdd;
        }
    }
    .timeleft {
        display: flex;
        align-items: center;
        .lable {
            font-style: normal;
            font-weight: 300;
            font-size: 13px;
            line-height: 16px;
            margin: 0 15px 0 0;
            color: #fff;
        }
        .timer {
            display: flex;
            background: #fff;
            border: 1px solid #000000;
            box-sizing: border-box;
            box-shadow: 20px 40px 60px rgba(0, 2, 19, 0.15);
            border-radius: 5px;
            align-items: center;
            padding: 5px 10px;
            span {
                color: #DF166A;
                margin-right: 10px;
                font-size: 15px;
            }
            p {
                font-size: 14px;
                line-height: 18px;
                color: #000000;
                margin: 0;
            }
        }
    }
}

.main-div {
    position: relative;
}

.material-icons pageback {
    cursor: pointer;
}

.close-right {
    float: right;
    cursor: pointer;
}

.pagesection {
    display: flex;
    height: 75vh;
    .optionsec {
        display: flex;
        justify-content: flex-end;
        .calculator {
            color: #000000;
            font-size: 14px;
            line-height: 18px;
            opacity: 1;
            position: relative;
            display: flex;
            align-items: center;
            margin-left: 80px;
            cursor: pointer;
            z-index: 99;
            .material-icons {
                color: #DF166A;
            }
            .lable {
                margin-left: 5px;
                font-weight: 300;
            }
            .achron {
                position: absolute;
            }
            .calc {
                position: absolute;
                top: 50px;
                right: -10px;
                background: #fff;
                border-radius: 5px;
                padding: 5px;
                width: 230px;
                z-index: 99;
            }
            .acroicon {
                svg {
                    width: 24px;
                    height: 22px;
                    display: block;
                }
            }
            .calcicon {
                svg {
                    width: 18px;
                    height: 22px;
                    display: block;
                }
            }
        }
    }
    .acronyms {
        position: absolute;
        top: 50px;
        right: -85px;
        background: #242e59;
        border-radius: 5px;
        padding: 5px;
        width: 230px;
        z-index: 99;
    }
    .dashboard-left {
        border: 1px solid #15193f;
        border-radius: 10px;
        width: 30%;
        overflow: hidden;
        margin-right: 15px;
        p.title {
            color: #968bda;
            font-size: 17px;
            margin: 0;
            padding: 15px 25px;
            border-bottom: 1px solid #15193f;
            background: rgba(0, 0, 0, 0.5);
        }
        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            overflow: auto;
            max-height: calc(100vh - 210px);
            scrollbar-width: thin;
            // scrollbar-color: #645c95db #00041a;
            &::-webkit-scrollbar {
                width: 3px;
                border-radius: 50px;
            }
            /* Track */
            &:-webkit-scrollbar-track {
                background: transparent;
            }
            /* Handle */
            &::-webkit-scrollbar-thumb {
                background: #282644;
            }
            li {
                padding: 15px 55px 15px 40px;
                border-bottom: 1px solid #15193f;
                position: relative;
                color: #514b77;
                background: rgba(0, 0, 0, 0.5);
                &:last-child {
                    border-bottom: 0;
                }
                span {
                    &.index {
                        position: absolute;
                        left: 25px;
                        top: 15px;
                    }
                    &.check {
                        position: absolute;
                        right: 25px;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        height: 17px;
                        width: 17px;
                        border-radius: 50%;
                        background: #171c3c;
                        font-size: 14px;
                        align-items: center;
                        line-height: 128%;
                        text-align: center;
                        &.red {
                            background: #aa54e6;
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
    .dashboard-right {
        border: 1px solid #000000;
        border-radius: 10px;
        width: 100%;
        background: #fff;
        overflow: hidden;
        position: relative;
        .main-name {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #000000;
            align-items: center;
            padding: 19px 40px;
            .box-que {
                p {
                    margin: 0;
                    font-size: 18px;
                    color: #000000;
                    font-weight: 600;
                    span {
                        color: #DF166A;
                    }
                }
            }
        }
        .question-sec {
            padding: 33px 45px;
            overflow-y: scroll;
            height: calc(100% - 215px);
            scrollbar-width: thin;
            // scrollbar-color: #645c95db #0d102f;
            .pracque {
                font-weight: 300;
                font-size: 16px;
                line-height: 26px;
                color: #000000;
                margin-bottom: 20px;
                font-family: "Mulish";
            }
            .option {
                .ans {
                    font-size: 16px;
                    color: #000000;
                    margin-bottom: 10px;
                    position: relative;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    input {
                        margin-right: 10px;
                        position: absolute;
                        left: 0;
                        opacity: 0;
                        top: 0;
                        right: 0;
                        width: 100%;
                        height: 100%;
                        bottom: 0;
                        &:checked + .radioicon {
                            color: #fff;
                            background: linear-gradient(270deg, #DF166A 0%, #DF166A 100%);
                        }
                    }
                    .radioicon {
                        height: 23px;
                        min-width: 23px;
                        border-radius: 100%;
                        background: #b4b5b9;
                        color: #fff;
                        font-size: 14px;
                        align-items: center;
                        line-height: 1.5;
                        text-align: center;
                        margin-right: 10px;
                        display: flex;
                        justify-content: center;
                    }
                }
            }
        }
        .questionaction {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            border-top: 1px solid #000000;
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #fafafa;
            flex-direction: row;
            .pageresult {
                display: flex;
                align-items: center;
                .actionslider {
                    padding-right: 15px;
                    border-right: 1px solid rgba(255, 255, 255, 0.1);
                    margin-right: 15px;
                    p {
                        margin: 0 0 10px 0;
                        &.num-que {
                            color: #DF166A;
                            font-size: 21px;
                            font-weight: 900;
                            span {
                                color: #b4b5b9;
                            }
                        }
                    }
                    .progress {
                        background: #b4b5b9;
                        height: 10px;
                        border-radius: 30px;
                        width: 150px;
                        display: flex;
                        .filler {
                            height: 10px;
                            border-radius: 30px;
                            background: linear-gradient(10deg, #DF166A 0%, #DF166A 100%);
                        }
                        .incorrect {
                            height: 10px;
                            // border-radius: 30px;
                            background: linear-gradient(10deg, #DF166A 0%, #DF166A 100%);
                        }
                    }
                }
                .reviewbtn {
                    color: #b0a4f5;
                    font-weight: 300;
                    font-size: 15px;
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                    span {
                        svg {
                            width: 20px;
                            height: 20px;
                        }
                    }
                    span {
                        color: #DF166A;
                        margin-right: 5px;
                        svg {
                            width: 20px;
                            height: 20px;
                            fill: #DF166A;
                        }
                    }
                    .unfill-flag {
                        svg {
                            fill: #b0a4f5;
                        }
                    }
                }
            }
            .actionbutton {
                display: flex;
                justify-content: flex-end;
                .btn {
                    padding: 7px;
                    min-width: 90px;
                    border: 1px solid #000000;
                    background: #f0f0f0;
                    color: #000000;
                    text-decoration: none;
                    text-align: center;
                    font-size: 14px;
                    margin-left: 10px;
                    transition: 0.3s;
                    cursor: pointer;
                    &:hover {
                        background: #DF166A;
                        border-color: #DF166A;
                        color: #fff;
                    }
                    &.red {
                        background: #f0f0f0;
                        border-color: #000000;
                        color: #000000;
                        &:hover {
                            background: #DF166A;
                            border-color: #DF166A;
                            color: #fff;
                        }
                        &:disabled {
                            cursor: not-allowed;
                        }
                    }
                    &.outline {
                        border: 1px solid #DF166A;
                        color: #fff;
                    }
                }
            }
        }
    }
}

@media (max-width: 1024px) {
    .pagesection {
        .dashboard-right {
            .questionaction {
                .pageresult {
                    width: 100%;
                    .actionslider {
                        p {
                            margin: 5px 5px;
                        }
                    }
                    .reviewbtn {
                        width: 60%;
                    }
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .empty {
        width: 100%;
        text-align: center;
    }
    .pagehead {
        justify-content: center;
        .pagelable {
            margin: 15px 0;
        }
    }
    .pagesection {
        height: 90vh;
        .optionsec {
            justify-content: center;
            .calculator-brd {
                border-right: 1px solid #1e2352;
            }
            .calculator {
                margin: 0 10px;
                .calc {
                    top: 35px;
                    right: -17px;
                }
            }
        }
        .dashboard-right {
            .question-sec {
                padding: 25px;
                overflow-y: scroll;
                .pracque {
                    font-size: 14px;
                    font-weight: 600;
                }
            }
            .questionaction {
                flex-direction: column;
                margin-bottom: 90px;
                box-sizing: border-box;
                .btn.outline {
                    border: 1px solid #f06a4f;
                    color: #f06a4f;
                    position: absolute;
                    top: 60px;
                    box-sizing: border-box;
                }
                .pageresult {
                    position: absolute;
                    top: 110px;
                    left: 10px;
                    .reviewbtn {
                        width: 100%;
                        direction: rtl;
                        justify-content: center;
                    }
                    .actionslider {
                        padding-right: 10px;
                        margin-right: 0px;
                        .progress {
                            width: 130px;
                        }
                    }
                }
                .actionbutton {
                    .btn {
                        width: 90%;
                        margin-top: 10px !important;
                        &.red {
                            width: 95%;
                        }
                    }
                    a {
                        margin: 0 !important;
                    }
                }
            }
        }
    }
}

.cutome-modal {
    z-index: 1000;
    padding-top: 125px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    .cutome-modal-content {
        margin: auto;
        position: relative;
        padding: 20px;
        outline: 0;
        width: 470px;
        height: 540px;
        overflow: auto;
        border-radius: 7px 0;
        .modal-header {
            background-color: #3d3762db;
            padding: 15px;
            display: flex;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            justify-content: space-between;
            span {
                background: #808080;
                padding: 0 7px;
                border-radius: 20px;
                color: #fff;
                z-index: 1111;
                cursor: pointer;
            }
            p {
                margin: 0;
                font-weight: 600;
                letter-spacing: 1px;
            }
        }
        .modal-body {
            padding: 15px;
            height: 250px;
            overflow-y: scroll;
            background-color: #3d3762db;
            scrollbar-width: thin;
            // scrollbar-color: #645c95db #00041a;
            &::-webkit-scrollbar {
                width: 3px;
                border-radius: 10px;
                cursor: pointer;
            }
            &::-webkit-scrollbar-track {
                background: #ddd;
            }
            &::-webkit-scrollbar-thumb {
                background: #eee;
                border-radius: 10px;
            }
            &::-webkit-scrollbar-thumb:hover {
                background: #ddd;
                border-radius: 10px;
                cursor: pointer;
            }
            .titles {
                display: flex;
                span {
                    width: 15%;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
                p {
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    width: 85%;
                }
            }
        }
    }
}

.wrong {
    background: #e76672 !important;
    position: relative;
    &::before {
        content: "x";
        position: absolute;
        width: 14px;
        height: 14px;
        right: 3px;
        top: 0px;
        color: #fff;
        font-weight: 100;
    }
}

.active {
    background: #c95def !important;
    position: relative;
    &::before {
        content: "✔";
        position: absolute;
        width: 14px;
        height: 14px;
        right: 4px;
        top: 1px;
        color: #fff;
        font-weight: 100;
    }
}

.answer {
    vertical-align: middle;
    font-size: 16px;
    font-family: "Mulish";
}

.empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9489d7;
}

.summary-popup {
    padding-top: 20px;
    .cutome-modal-content {
        width: 82%;
        background: #0c1130;
        padding: 0;
        box-sizing: border-box;
        border-radius: 10px;
        height: calc(100% - 40px);
        border: 1px solid #131942;
        .sum-header {
            padding: 20px 30px;
            border-bottom: 1px solid #131942;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .sum-title {
                margin: 0;
                color: #9489d7;
                span {
                    color: #d7779b;
                }
            }
            .test-checkbox {
                display: flex;
                align-items: center;
                .show-que {
                    .container {
                        display: block;
                        position: relative;
                        padding-left: 24px;
                        margin-left: 40px;
                        cursor: pointer;
                        font-size: 14px;
                        color: #8f86cd;
                        -webkit-user-select: none;
                        -moz-user-select: none;
                        -ms-user-select: none;
                        user-select: none;
                        font-weight: 600;
                        letter-spacing: 0.5px;
                    }
                    .container input {
                        position: absolute;
                        opacity: 0;
                        cursor: pointer;
                        height: 0;
                        width: 0;
                    }
                    .checkmark {
                        position: absolute;
                        top: 2px;
                        left: 0;
                        height: 15px;
                        width: 15px;
                        background-color: transparent;
                        border: 1px solid #8f86cd;
                        border-radius: 4px;
                    }
                    .container input:checked ~ .checkmark {
                        border-color: transparent;
                        background: #ac34ff;
                    }
                    .checkmark:after {
                        content: "";
                        position: absolute;
                        display: none;
                    }
                    .container input:checked ~ .checkmark:after {
                        display: block;
                    }
                    .container .checkmark:after {
                        left: 5px;
                        top: 0;
                        width: 4px;
                        height: 9px;
                        border: solid white;
                        border-width: 0 2px 2px 0;
                        -webkit-transform: rotate(45deg);
                        -ms-transform: rotate(45deg);
                        transform: rotate(45deg);
                    }
                }
            }
        }
        .sum-body {
            padding: 20px 30px;
            .main-sumdiv {
                max-height: calc(100vh - 230px);
                overflow: auto;
                .sum-row {
                    display: flex;
                    align-items: center;
                    padding: 15px 20px;
                    flex-wrap: wrap;
                    .question-row {
                        width: 25%;
                        display: flex;
                        align-items: center;
                        margin: 0 0 0 0;
                        padding-right: 20px;
                        box-sizing: border-box;
                        justify-content: space-between;
                        padding: 10px;
                        .flag-que {
                            display: flex;
                            align-items: center;
                            cursor: pointer;
                            span {
                                img {
                                    width: 22px;
                                    vertical-align: middle;
                                    margin-right: 8px;
                                }
                            }
                        }
                        span {
                            color: #b5b7c0;
                            font-weight: 600;
                            font-size: 13px;
                            svg {
                                width: 20px;
                                margin-right: 8px;
                                vertical-align: middle;
                            }
                        }
                        .inactivesvg {
                            display: none;
                        }
                        .incomplete-que {
                            font-size: 12px;
                            position: relative;
                            color: #dc6e43;
                            background: #dc6e4366;
                            padding: 2px 5px;
                            border-radius: 3px;
                            margin-left: 10px;
                            &::after {
                                position: absolute;
                                content: "";
                                left: -8px;
                                top: 4px;
                                height: 0;
                                width: 0;
                                border-top: 7px solid transparent;
                                border-right: 10px solid #dc6e4366;
                                border-bottom: 7px solid transparent;
                            }
                        }
                    }
                }
            }
        }
        .sum-footer {
            padding: 20px 30px;
            border-top: 1px solid #131942;
            position: absolute;
            width: 100%;
            box-sizing: border-box;
            bottom: 0;
            text-align: end;
            background: #181d3f;
            button {
                background: linear-gradient(90deg, rgba(238, 77, 126, 1) 0%, rgba(238, 130, 81, 1) 100%);
                border: none;
                color: #fff;
                font-size: 14px;
                padding: 13px 10px;
                min-width: 130px;
                border-radius: 50px;
                letter-spacing: 0.5px;
                margin-left: 10px;
                cursor: pointer;
            }
        }
    }
}

.endcutome-modal {
    z-index: 2000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    .endexam-contain {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 25%;
        background: #fafafa;
        border-radius: 10px;
        border: 1px solid #000000;
        max-width: 450px;
        min-width: 290px;
        h2 {
            color: #000000;
            text-align: center;
            padding-top: 10px;
        }
        .p-15 {
            padding: 15px;
            max-height: 200px;
            overflow: auto;
        }
        .titles {
            display: flex;
            color: #000000;
            span {
                font-weight: bold;
                margin-right: 15px;
                min-width: 60px;
            }
        }
        .end-body {
            padding: 30px;
            span {
                color: #9489d7;
                font-size: 17px;
            }
        }
        .end-footer {
            padding: 15px;
            text-align: center;
            button {
                // background: linear-gradient(90deg, rgba(238, 77, 126, 1) 0%, rgba(238, 130, 81, 1) 100%);
                background: #DF166A;
                border: none;
                color: #fff;
                font-size: 14px;
                padding: 10px;
                min-width: 130px;
                // border-radius: 50px;
                letter-spacing: 0.5px;
                margin-left: 10px;
                cursor: pointer;
            }
        }
    }
}

.main-sumdiv {
    background: #131839;
    padding: 10px 0;
    border-radius: 5px;
    box-sizing: border-box;
    .sum-row {
        background: #181d3f;
        &:nth-child(2n) {
            background: #131839;
        }
    }
}
@media screen and (max-width: 768px) {
    .pagemain {
        margin: 33px 15px;
        .pagemain {
            margin: auto;
        }
    }
    .pagehead {
        .timeleft {
            justify-content: space-between;
        }
    }
    .dashboard-right {
        .main-name {
            padding: 19px 10px !important;
            flex-direction: column;
            align-items: flex-start !important;
        }
        .question-sec {
            padding: 25px 10px !important;
            height: calc(100% - 300px) !important;
        }
    }
    .pagesection {
        .optionsec {
            justify-content: space-between;
            width: 100%;
            margin: 15px 0 0;
            .calculator {
                .lable {
                    color: #e56f9f;
                    font-weight: 600;
                }
                .material-icons {
                    color: #e56f9f;
                    font-size: 27px;
                }
            }
        }
    }
    .endcutome-modal {
        .endexam-contain {
            width: 90%;
        }
    }
    .questionaction {
        .pageresult {
            .actionslider {
                display: block;
                width: 46%;
            }
        }
    }
    .summary-popup {
        .cutome-modal-content {
            width: 90%;
            .sum-body {
                padding: 20px 10px;
                .main-sumdiv {
                    .sum-row {
                        .question-row {
                            width: 33.33%;
                            padding: 10px 10px;
                        }
                    }
                }
            }
            .sum-header {
                flex-direction: column;
                padding: 20px 15px;
                align-items: flex-start;
                width: 100%;
                box-sizing: border-box;
                .test-checkbox {
                    flex-direction: column;
                    align-items: flex-start;
                    width: 100%;
                    .show-que {
                        .container {
                            margin-left: 0;
                        }
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 600px) {
    .pagemain {
        margin: 24px 20px;
    }
    .summary-popup {
        .cutome-modal-content {
            .sum-body {
                .main-sumdiv {
                    .sum-row {
                        .question-row {
                            width: 50%;
                            padding: 10px 10px;
                        }
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 500px) {
    .summary-popup {
        .cutome-modal-content {
            .sum-body {
                padding: 0;
                .main-sumdiv {
                    .sum-row {
                        background: none;
                        padding: 15px 6px;
                        .question-row {
                            width: 100%;
                            padding: 10px 10px;
                            margin: 5px;
                            background: #181d3f;
                            border-radius: 5px;
                            .incomplete-que {
                                background: #dc6e4300;
                                &::after {
                                    border-right: 10px solid #dc6e4300;
                                }
                            }
                        }
                        .incomplete-bg {
                            background: #db6d4352;
                            border: 1px solid #dc6e43;
                        }
                    }
                }
            }
            .sum-footer {
                padding: 20px 0px;
                text-align: center;
                button {
                    min-width: 40%;
                    justify-content: space-between;
                }
            }
        }
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .pagemain {
        margin: 24px 45px;
    }
    .summary-popup {
        .cutome-modal-content {
            .sum-body {
                .main-sumdiv {
                    .sum-row {
                        .question-row {
                            .incomplete-que {
                                font-size: 10px;
                            }
                        }
                    }
                }
            }
        }
    }
}
@media screen and (min-width: 768px) and (max-width: 992px) {
    .summary-popup {
        .cutome-modal-content {
            .sum-body {
                .main-sumdiv {
                    .sum-row {
                        .question-row {
                            width: 33.33%;
                            padding: 10px 10px;
                            span {
                                font-size: 11px;
                            }
                        }
                    }
                }
            }
        }
    }
}
