/***** General CSS *****/


html, body {
    width: 100%;
    height: 100%;
}
.loginWrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(../images/loginBg.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
body.meritList .loginWrapper {
    background-image: url(../images/pageBg-new.png);
} 
.loginWrapper::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(8.58deg, rgba(2, 155, 242, 0.61) 8.3%, rgba(255, 255, 255, 0.77) 91.32%);
}
body.meritList .loginWrapper::before {
    display:none
}
.loginInner {
    position: relative;
    padding: 30px;
    width: 100%;
    max-width: 620px;
}
.loginInner .logo {
    margin-bottom: 50px;
}
.loginInner .logo img {
    width: 300px;
}
.loginInner .heading {
    margin-bottom: 40px;
}
.loginInner .heading h1 {
    color: #024F7A;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 6px;
}
.loginInner .heading p {
    font-size: 17px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0;
}
.loginInner .heading p span {
    display: block;
}
body.meritList .hideOnMeritList {
    display: none;
}
.showOnMeritList {
    display: none;
}
body.meritList .showOnMeritList {
    display: block;
}
.loginBox {
    border-radius: 30px;
    box-shadow: 2px 4px 20px 0px #0000000D;
    background-color: #e8f1f5;
    width: 400px;
    margin: auto;
    padding: 30px;
}
/* body.meritList .loginBox {
    background-color: #bcddec;
} */
.loginBox label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #024F7A;
}
.loginBox input {
    height: 42px;
    font-size: 14px;
    border-radius: 6px;
}
.loginBox input.cnic-icon {
    background-image: url(../images/cnic.png);
    background-position: right 13px top 10px;
    background-repeat: no-repeat;
    background-size: 21px;
}
.loginBox input.captcha-icon {
    background-image: url(../images/captcha.png);
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 18px;
}
.loginBox button {
    background-color: #024F7A;
    font-size: 15px;
    border-radius: 6px;
    padding: 7px 22px;
    margin-top: 10px;
}
.loginBox button:hover, .loginBox button:focus {
    background-color: #024F7A;
    opacity: 0.9;
}

/***** Merit List CSS *****/

.meritListWrapper {
    background-image: url(../images/pageBg-new.png);
}
.meritListBox {
    position: relative;
    border-radius: 30px;
    box-shadow: 2px 4px 20px 0px #0000000D;
    background-color: #bcddec;
    width: 700px;
    margin: auto;
    padding: 30px;
}
.meritListBox .logo {
    margin-bottom: 40px;
}
.meritListBox .logo img {
    width: 280px;
}
.meritListBox .heading {
    margin-bottom: 30px;
}
.meritListBox .heading h1 {
    color: #024F7A;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 8px;
}
.meritListBox .heading p {
    font-size: 16px;
    font-weight: 400;
    color: #024F7A;
    margin-bottom: 0;
}
.meritListBox .heading p span {
    display: block;
    font-size: 15px;
    font-weight: 500;
}
.meritListBox .resultTable {
    width: 95%;
    margin: auto;
    box-shadow: 0px 1px 17px 0px #00000042;
}
.meritListBox .resultTable table {
    box-shadow: 0px 1px 17px 0px #00000042;
    margin-bottom: 0;
}
.meritListBox .resultTable table tr td {
    color: #024F7A;
    font-size: 14px;
    padding: 7px 15px;
    border: none;       
}
.meritListBox .resultTable table tr:nth-child(odd) td {
    background: #024F7A14;
}
.meritListBox .resultTable table tr:first-child td {
    background-color: #4F86A6;
    color: #ffffff;        
}
.meritListBox .resultTable table tr td:nth-child(1) {
    font-weight: 500;
}

/***** Responsive CSS *****/

@media(max-width:992px) {
    .meritListBox {
        width: 650px;
    }
    .meritListBox .logo {
        margin-bottom: 35px;
    }
    .meritListBox .logo img {
        width: 260px;
    }
    .meritListBox .heading h1 {
        font-size: 28px;
        margin-bottom: 7px;
    }
    .meritListBox .heading {
        margin-bottom: 28px;
    }
}
@media(max-width:768px) {
    .loginWrapper {
        height: 100%;
    }
    .loginInner .logo img {
        width: 280px;
    }
    .loginInner .heading h1 {
        font-size: 28px;
    }
    .loginInner .heading p {
        font-size: 16px;
    }
    .loginBox {
        width: 380px;
    }

    .meritListBox {
        width: 90%;
    }
    .meritListBox .logo {
        margin-bottom: 25px;
    }
    .meritListBox .logo img {
        width: 240px;
    }
    .meritListBox .heading h1 {
        font-size: 25px;
        margin-bottom: 8px;
    }
    .meritListBox .heading p {
        font-size: 15px;
    }
    .meritListBox .heading p span {
        font-size: 14px;
    }
    .meritListBox .resultTable {
        width: 100%;
    }
    /*.meritListBox .resultTable table {
        min-width: 500px;
    }*/




    
}

@media(max-width:575px) {

.loginBox {
        width: 98%;
    }

}


/* For Firefox */
.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #024F7A #bcddec; /* thumb and track color */
}

.table-responsive:hover {
    scrollbar-color: #4F86A6 #bcddec; /* darker color on hover */
}

/* Define scrollbar styles */

/* For Webkit browsers like Chrome and Safari */
.table-responsive::-webkit-scrollbar {
    width: 6px;
}
  
.table-responsive::-webkit-scrollbar-track {
    background: #bcddec; /* track color */
    border-radius: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #4F86A6; /* thumb color */
    border-radius: 8px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: #024F7A; /* darker color on hover */
}
 