@import url('../fonts/fonts.css');
@import url('./global.css');

body {
    font-family: 'Roboto', sans-serif;
}

:root {
    /* colors */
    --primary: #0A2472;
    --secondary: #3f79ff;
    --tertiary: #00AFEF;
    --light-prim: #BBE1FA;
    --light-bg: #edf8ff;
    --light-bg-2: #f9f8f8;
    --white: #fff;
    --border: #ddd;
    --dark-gray: #3C4856;
    --light-gray: #A0ACBD;
    --txt-color: #191a1a;
    --dark: #000;
    --green: #268b59;
    --name: #da8300;
    --red: #e90000;
    --mark-ans: #6f4e8f;
}

button {
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.header {
    height: 92px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid;
    border-color: rgb(166 173 186);
}

.header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 45px;
}

.btns {
    padding: 10px 14px;
    font-size: 17px;
    color: var(--primary);
    border: 8px;
    text-transform: capitalize;
}

    .btns:hover {
        cursor: pointer;
        background-color: #a6adba1a;
        --tw-text-opacity: 1;
        color: hsl(#a6adba / var(--tw-text-opacity));
        outline-offset: 2px;
        border: none;
        border-radius: 7px;
    }

.logo a {
    color: var(--secondary);
    font-size: 24px;
}
/* .logo img{width: 32px;} */
.logo img {
    width: 250px;
}

.logo a .logotxt {
    color: var(--primary);
    font-size: 42px;
}

/*  */

.mainimg {
    text-align: center;
}

    .mainimg img {
        width: unset;
    }

.headtitlesec h1 {
    font-weight: 700;
    color: var(--white);
    font-size: 70px;
    line-height: 80px;
    margin-bottom: 20px;
}

.headtitlesec p {
    color: #fff;
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 51px;
    text-align: center;
}

.login_card {
    background: linear-gradient(126.6deg, rgba(255, 255, 255, 0.12) 28.69%, rgba(255, 255, 255, 0) 100%);
    border-radius: 15px;
    border: 1px solid #00afef;
    padding: 36px 40px;
}

    .login_card img {
        height: 45px;
        width: 45px;
    }

.login_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: center;
    padding: 27px 30px 30px;
    width: 100%;
    border-radius: 20px;
}

.login {
    cursor: pointer;
    background-color: #a6adba1a;
    --tw-text-opacity: 1;
    color: hsl(#a6adba / 1);
    outline-offset: 2px;
    border: none;
    border-radius: 7px;
}

.lr-divider {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
}

    .lr-divider .col {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        font-size: 9px;
        line-height: 11px;
        color: #fff;
    }

    .lr-divider .dashed {
        width: calc(50% - 8px);
        border: 1px dashed #fff;
    }

.loginportal {
    display: flex;
    flex-direction: row;
    padding: 70px 111px 70px 80px;
    background: linear-gradient(to right, var(--tertiary), var(--primary));
}

.btn-loginas {
    font-size: 22px;
    padding: 11px 16px;
    border: .808511px solid #d1d8eb;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 12px;
    display: inline-flex;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
    font-weight: 400;
    align-items: center;
    align-content: center;
    justify-content: center;
    background-color: #e2e5ef;
    color: #22252f;
}

.formcontrol-group {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #fafbff;
    border-radius: 6px;
    padding: 15px 12px;
    margin-bottom: 11px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    padding: 4px 12px;
    border-bottom: 2px solid #d1d8eb;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

    .formcontrol-group span {
        width: 18px;
        margin-right: 13px;
    }

img {
    width: 100%;
    max-width: 100%;
}

.formcontrol-group input {
    background: #fafbff;
    border: none;
    outline: none;
    width: calc(100% - 18px);
    font-size: 1rem;
    color: var(--txt-color);
}

.btn-tblue {
    background-color: #0a2472;
    color: #fff;
    font-weight: 700;
}

.btn-sm3 {
    border-radius: 6px;
    font-size: 14px;
    line-height: 16px;
    padding: 13px 50px;
    width: 100%;
    margin-block-start: 2rem;
}



/* instruction */
.instruction {
    padding-block-end: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.portal_title {
    text-align: center;
}

    .portal_title img {
        width: 170px;
        margin-block-start: 1rem;
    }

    .portal_title h1 {
        font-weight: 700;
        color: var(--primary);
        font-size: 35px;
        line-height: 67px;
        margin-bottom: 8px;
    }

    .portal_title p {
        font-size: 20px;
    }

.general_instruction h3 {
    font-weight: 700;
    color: var(--primary);
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 8px;
}

.under {
    text-decoration: underline;
}

.instruction_list_wrap > li {
    line-height: 32px;
    list-style: decimal;
}

.ans_format li {
    line-height: 50px;
}

.sprite {
    text-align: center;
    display: inline-block;
    margin-inline-end: 0.5rem;
    color: var(--white);
}

.not_visited {
    background: url('../images/sprite.png') no-repeat -159px -4px;
    width: 44px;
    height: 44px;
    color: var(--dark);
}

.not_answered {
    background: url('../images/sprite.png') no-repeat -57px -6px;
    width: 50px;
    height: 41px;
}

.ans {
    background: url('../images/sprite.png') no-repeat -4px -126px;
    width: 50px;
    height: 43px;
}

.not_answered_marked {
    background: url('../images/sprite.png') no-repeat -108px -1px;
    width: 49px;
    height: 49px;
}

.answered_marked {
    background: url('../images/sprite.png') no-repeat -65px -179px;
    width: 49px;
    height: 48px;
}

.accept p {
    display: inline;
}

.start_exam_wrap {
    display: flex;
    justify-content: space-between;
}

.start_exam_wrap {
    margin-top: 1rem;
}

    .start_exam_wrap button,
    .start_exam_wrap a {
        padding: 11px 23px;
        color: aliceblue;
        border-radius: 4px;
    }

.prev {
    background: var(--primary);
}

.start {
    background: var(--green);
}


/* instruction table */
.instruction_table table {
    border-collapse: collapse;
    margin: 50px auto;
}

/* Zebra striping */
tr:nth-of-type(odd) {
    background: #eee;
}

th {
    background: var(--primary);
    color: white;
    font-weight: bold;
}

td,
th {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 18px;
    text-align: center;
}


/* process */
.page_content {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.bothsec {
    border-bottom: 1px solid var(--border);
    min-height: 75vh;
}

.main_sec_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.head_tm {
    background-color: var(--primary);
    border-bottom: 1px solid #7691A2;
    color: #FFFFFF;
    height: 51px !important;
    padding-inline: 1rem;
}

    .head_tm h1 {
        font-size: 1.25rem;
    }

.fscreen {
    color: var(--white);
}

.profile {
    height: 51px !important;
    height: 51px !important;
    border-bottom: 1px solid var(--border);
}

.prof_wrp {
    margin: auto;
    width: fit-content;
    padding-block-start: 4px;
}

.prof_box svg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    fill: var(--primary);
}

.name {
    font-weight: 600;
    color: var(--secondary);
}

.bord {
    border: 1px solid var(--border);
    margin-block-end: 2px;
    padding-block: 2px;
    padding-inline-start: 1rem !important;
}

.time_lft {
    font-weight: 900;
}

.subjects {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.subject_name {
    background: var(--secondary);
    color: var(--white);
    padding: 2px 4px;
    border-radius: 2px;
}

.q-mrk-pos {
    color: var(--green);
    padding-inline-end: 5px;
    border-right: 1px solid var(--dark-gray);
    font-weight: 900;
}

.q-mrk-neg {
    color: var(--red);
    padding-inline-start: 5px;
    font-weight: 900;
}

.lfttime {
    text-align: center;
}

.running_time {
    border-bottom: 1px solid var(--border);
}

    .running_time p {
        margin-bottom: 0;
    }

.ques {
    margin-block-start: 1rem;
}

    .ques p {
        font-weight: 600;
    }

.mcq ul li {
    line-height: 32px;
}


.main_sec_end_wrap {
    display: flex;
    justify-content: space-between;
    padding-inline: 2rem;
}

.main_sec_end {
    margin-block-end: 1rem;
}

.response {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    font-size: 16px;
    padding: 7px 12px;
    margin: 0;
}


.rgtsec {
    border-left: 1px solid var(--border);
}

/* answer visited */
.diff_type_notation {
    padding: 5px 5px;
    border-bottom: 1px solid var(--border);
}

.sprite_running {
    text-align: center;
    display: inline-block;
    color: var(--white);
    font-size: 15px;
    padding-top: 3px;
    line-height: 20px;
    margin-right: 10px;
}

.boxnum {
    width: 50px;
}

.novisit {
    background: url('../images/sprite.png') no-repeat -108px -56px;
    width: 27px;
    height: 26px;
    color: var(--dark);
}

.notanswered {
    background: url('../images/sprite.png') no-repeat -42px -56px;
    width: 29px;
    height: 26px;
    color: var(--white);
}

.answered {
    background: url('../images/sprite.png') no-repeat -7px -55px;
    width: 29px;
    height: 26px;
}

.rev_mark {
    background: url('../images/sprite.png') no-repeat -75px -54px;
    width: 28px;
    height: 28px;
}

.ans_rev_mark {
    background: url('../images/sprite.png') no-repeat -9px -87px;
    width: 29px;
    height: 29px;
    color: var(--white);
}

.sub_title {
    background: var(--light-bg);
    text-align: center;
    padding: 2px 0;
}

    .sub_title p {
        color: var(--primary);
        margin-bottom: 0;
        line-height: 24px;
    }

.notf_txt {
    font-size: 16px;
}

.ques_num {
    background: var(--light-prim);
}

.numberList {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    overflow: scroll;
    max-height: 350px;
    min-height: 100%;
    margin-inline-end: 12px;
    padding-block: 1rem;
}

    .numberList li span {
        text-align: center;
        display: inline-block;
        font-size: 15px;
        padding-top: 9px;
        line-height: 20px;
        margin-right: 10px;
    }

    .numberList li .questno {
        background: url('../images/sprite.png') no-repeat -159px -4px;
        width: 44px;
        height: 43px;
    }


    /* onclick change */
    .numberList li .clicked {
        background: url('../images/sprite.png') no-repeat -57px -6px;
        width: 49px;
        height: 41px;
        color: var(--white);
    }

    .numberList::-webkit-scrollbar {
        width: 12px;
        height: 10px;
    }

.submitsec {
    border-top: 1px solid var(--border);
    padding-block-start: 1rem;
    padding-block-end: 2rem;
}

.submit {
    background-color: var(--green);
    color: var(--white);
    width: 85%;
    padding: 5px;
    font-size: 20px;
    border-radius: 4px;
}

.ans_ques {
    background: url('../images/sprite.png') no-repeat -4px -126px;
    width: 50px;
    height: 42px;
    color: var(--white);
}

.ans_marked_rev {
    background: url('../images/sprite.png') no-repeat -65px -179px;
    width: 49px;
    height: 48px;
    color: var(--white);
}

.marked_rev {
    background: url('../images/sprite.png') no-repeat -108px -1px;
    width: 49px;
    height: 49px;
    color: var(--white);
}

.hidden {
    display: none;
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    table {
        width: 100%;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    tr {
        border: 1px solid #ccc;
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td:before {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            content: attr(data-column);
            color: #000;
            font-weight: bold;
        }
}



/*modal css*/
/* The Modal (background) */
.modals {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modals__flx {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    animation-name: popup;
    animation-duration: 1s;
    animation-fill-mode: both;
    /* width: 61%; */
    margin: auto;
    border-radius: 10px;
    /* background: radial-gradient(black, transparent); */
}

@keyframes popup {
    0% {
        opacity: 0;
        -webkit-transform: scale(.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

/* Modal Content */
.modal-contents {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    width: 40%;
    border-radius: 10px;
}

.modal__top {
    padding: 12px 10px;
    color: white;
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    padding-inline: 5%;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.pop__title h3 {
    font-weight: 400;
    font-size: 1rem;
}

.pop__frm {
    padding: 20px 5%;
}

    .pop__frm button {
        padding: 11px 23px;
        color: var(--white);
        border-radius: 4px;
    }

    .pop__frm .subm {
        background-color: var(--green);
    }
/* The Close Button */
.closes {
    color: #303a45;
    border-radius: 50%;
    font-weight: 400;
    background-color: #fefefe;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 19px;
}

    .closes:hover,
    .closes:focus {
        background-color: #c7c7c7;
        text-decoration: none;
        cursor: pointer;
    }


/* todays */
.pop_t_wrap {
    border-bottom: 1px solid #c7c7c7;
    padding-block: 0.5rem;
    gap: 0.5rem;
}

.pop_table {
    /* padding: 20px; */
    border: 1px solid #303a45;
    margin: 1.5rem;
}

    .pop_table .table-scroll {
        overflow: hidden;
    }

@media(min-width:1200px) {
    .modal-contents {
        width: 599px;
    }

    .voucher-price {
        margin-top: 1rem;
    }

    .feature-cont {
        height: 312px;
    }
}

@media(max-width:1200px) {
    .modal-contents {
        width: 90%;
    }

    .feature-cont {
        height: auto,
    }
}

@media (min-width: 500px) and (max-width: 768px) {
    .hero {
        height: 250px !important;
    }

        .hero h1 {
            font-size: 22px;
            padding-block-start: 2rem;
        }
}

@media (min-width: 1400px) {
    .hero {
        height: 500px !important;
    }

        .hero h1 {
            font-size: 42px;
            padding-block-start: 2rem;
            width: unset;
        }
}
/*modal css*/

/* result Page */
.resName {
    color: var(--name);
}

.result_table table {
    border-collapse: collapse;
    margin: 24px auto 12px auto;
}

    .result_table table td,
    .result_table table th {
        padding: 12px 24px;
    }

.ques_info {
    margin-block: 2rem;
}

/* accordian */
.accordion-item h5 {
    font-size: 16px;
}

.accordion-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    color: var(--primary);
    padding: 15px;
    font-size: 18px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s ease;
}


.accordion-item .active {
    border-bottom: 1px solid var(--border);
}

.accordion-content {
    background-color: #FAFAFA;
    overflow: hidden;
    padding: 5px 15px;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.myactive {
    max-height: 100%;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.5;
}

.icon {
    transition: transform 0.3s ease;
    margin-inline-start: 2rem;
}

.active .icon {
    transform: rotate(45deg);
}

.show-my-pro {
    width: 100%;
    height: 100%;
    background: red;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    background: white;
}

.res_rad {
    margin-inline-end: 0.5rem;
}

/* tabs */
.content-section .accordion-container {
    width: 90%;
    margin: 0 auto;
}

.content {
    display: none;
    opacity: 0;
    /* border: 1px solid #ccc; */
    border-block: 1px solid var(--border);
    border-inline-end: 1px solid var(--border);
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-animation: display-none-transition 1s ease;
    animation: display-none-transition 1s ease;
    padding-block-start: 1rem;
    border-radius: 4px;
}

@keyframes display-none-transition {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes display-none-transition {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
    }

    100% {
        opacity: 1;
    }
}

.content-section .active_tab {
    display: block;
    opacity: 1;
    background: var(--light-bg-2);
}

.tabs li {
    width: 235px;
    padding: 34px 24px;
    font-weight: 200;
    font-size: 18px;
    line-height: 31px;
    text-align: center;
    outline: 0;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

    .tabs li:first-child {
        border-top: 1px solid var(--border);
    }

.tabs .active_tab {
    background-color: var(--light-bg-2);
    /* color: var(--primary); */
    border-left: 3px solid var(--primary);
    text-decoration: none;
    outline: 0;
    font-weight: 500;
    cursor: pointer;
}

.tab_wrapper {
    display: flex;
    height: 100%;
    max-height: 401px;
}

.accordion-content li {
    line-height: 32px;
}

.violet_col {
    color: var(--mark-ans);
}

.green_col {
    color: var(--green);
}

.brown_col {
    color: brown;
}

.red_col {
    color: var(--red);
}
.content-section{width:83%}
.button_tab {
    width: 17%;
}

.downloading_attempt {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: end;
}

.dwn_btn {
    padding: 4px;
    padding: 7px 12px;
    color: #fff;
    border-radius: 2px;
    font-size:12px;
}

    .dwn_btn svg {
        fill: #fff;
        height: 16px;
        width: 16px;
    }