html {
    scroll-behavior: smooth;
}

body {
    min-height: 100% !important;
    height: 100% !important;
}

/* .modal.fade .modal-dialog.modal-dialog-zoom {
    -webkit-transform: translate(0, 0)scale(.5) !important;
    transform: translate(0, 0)scale(.5) !important;
}

.modal.show .modal-dialog.modal-dialog-zoom {
    -webkit-transform: translate(0, 0)scale(1) !important;
    transform: translate(0, 0)scale(1) !important;
} */

/* .noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} */

.not-found-msg {
    height: 95px;
    padding-top: 15px;
    margin-bottom: 0px !important;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border-radius: 0.35rem;
    cursor: pointer;
}

.pagination .page-item .page-link {
    background-color: #f7f7f7;
    color: rgb(0, 0, 0);
    font-weight: 700;
}

.pagination .page-item.active .page-link {
    border-color: #4e4174;
    background-color: #4e4174;
    color: White;
    font-weight: 500;
}

tbody tr td .fa-edit {
    color: #e9b530;
    cursor: pointer;
}

tbody tr td .fa-trash {
    color: red;
    cursor: pointer;
}

.card-header {
    font-size: 18px;
    height: 55px;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    padding-top: 15px !important;
}

.toggle-password-eye {
    float: right;
    top: -25px;
    right: 10px;
    position: relative;
    cursor: pointer;
    color: #858796;
}

.container-fluid h3 {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #6a6a6a;
}

input[type="date"]::before,
input[type="time"]::before {
    color: #858796;
    content: attr(placeholder);
}

input[type="date"],
input[type="time"] {
    color: rgba(255, 255, 255, 0)
}

input[type="date"]:focus,
input[type="date"]:valid,
input[type="time"]:focus,
input[type="time"]:valid {
    color: #4d4f5a;
}

input[type="date"]:in-range::-webkit-datetime-edit-year-field,
input[type="date"]:in-range::-webkit-datetime-edit-month-field,
input[type="date"]:in-range::-webkit-datetime-edit-day-field,
input[type="date"]:in-range::-webkit-datetime-edit-text,
input[type="time"]:in-range::-webkit-datetime-edit-hour-field,
input[type="time"]:in-range::-webkit-datetime-edit-minute-field,
input[type="time"]:in-range::-webkit-datetime-edit-second-field,
input[type="time"]:in-range::-webkit-datetime-edit-ampm-field,
input[type="time"]:in-range::-webkit-datetime-edit-text {
    display: none;
}

/* ---------------- Neltech admin system ---------------- */

:root {
    --neltech-ink: #172638;
    --neltech-navy: #101d2d;
    --neltech-blue: #087bd7;
    --neltech-cyan: #20a4b8;
    --neltech-paper: #f3f6fa;
    --neltech-line: #dce4ec;
    --neltech-muted: #647487;
}

html,
body {
    min-height: 100%;
}

body {
    height: auto !important;
    min-height: 100vh !important;
    background: var(--neltech-paper);
    color: var(--neltech-ink);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

#wrapper {
    min-height: 100vh;
    align-items: stretch;
}

.sidebar {
    width: 14.5rem;
    flex: 0 0 14.5rem;
    background: var(--neltech-navy) !important;
    background-image: none !important;
}

.sidebar.toggled {
    width: 6.5rem;
    flex: 0 0 6.5rem;
}

.sidebar .sidebar-brand {
    min-height: 82px;
    justify-content: flex-start !important;
    gap: 11px;
    padding: 16px 18px;
    color: #fff;
    text-decoration: none;
}

.sidebar-brand-mark {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-brand-copy {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.sidebar-brand-copy small {
    display: block;
    margin-top: 5px;
    color: #a9bdd2;
    font-size: 8px;
    font-weight: 600;
}

.sidebar.toggled .sidebar-brand {
    justify-content: center !important;
    padding-inline: 8px;
}

.sidebar.toggled .sidebar-brand-copy,
.sidebar.toggled .sidebar-heading {
    display: none;
}

.sidebar .sidebar-divider {
    margin: 0 16px 12px;
    border-color: rgb(255 255 255 / 12%);
}

.sidebar .sidebar-heading {
    padding: 13px 20px 6px;
    color: #8297ad;
    font-size: 9px;
    font-weight: 700;
}

.sidebar .nav-item .nav-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: #c2d0dd;
    font-size: 12px;
    font-weight: 500;
}

.sidebar .nav-item .nav-link i {
    width: 18px;
    color: #8da8c1;
    text-align: center;
}

.sidebar .nav-item.active > .nav-link,
.sidebar .nav-item .nav-link:hover {
    background: rgb(8 123 215 / 17%);
    color: #fff;
}

.sidebar .nav-item.active > .nav-link i,
.sidebar .nav-item .nav-link:hover i {
    color: #67baff;
}

.sidebar .collapse-inner {
    margin: 0 12px 8px 44px;
    border-radius: 3px !important;
    background: #1b2b3e !important;
}

.sidebar .collapse-item {
    color: #c2d0dd !important;
    font-size: 11px;
}

.sidebar .collapse-item:hover {
    background: #243b55 !important;
    color: #fff !important;
}

#content-wrapper {
    min-width: 0;
    background: var(--neltech-paper);
}

.topbar {
    min-height: 74px;
    height: auto;
    padding: 10px 25px;
    border-bottom: 1px solid var(--neltech-line);
    box-shadow: none !important;
}

.admin-topbar-title {
    min-width: 0;
}

.admin-topbar-kicker,
.admin-page-eyebrow {
    display: block;
    margin: 0 0 4px;
    color: var(--neltech-blue);
    font-size: 9px;
    font-weight: 700;
}

.admin-topbar-title h1 {
    margin: 0;
    color: var(--neltech-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.topbar .img-profile {
    width: 37px;
    height: 37px;
    object-fit: cover;
}

.container-fluid {
    padding: 22px 26px;
}

.container-fluid > h3 {
    margin: 2px 0 18px;
    color: var(--neltech-ink);
    font-size: 22px;
    font-weight: 600;
}

.container-fluid h3 {
    color: var(--neltech-ink);
}

.admin-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 5px 0 24px;
}

.admin-page-heading h3 {
    margin: 0 0 5px;
    color: var(--neltech-ink);
    font-size: 24px;
    font-weight: 600;
}

.admin-page-heading p:last-child {
    margin: 0;
    color: var(--neltech-muted);
    font-size: 12px;
}

.admin-page-heading .btn {
    flex: 0 0 auto;
}

.btn-primary,
#adm_login_btn,
#std_login_btn,
#std_register_btn,
#reg_btn {
    border-color: var(--neltech-blue) !important;
    background-color: var(--neltech-blue) !important;
}

.btn-primary:hover,
#adm_login_btn:hover,
#std_login_btn:hover,
#std_register_btn:hover,
#reg_btn:hover {
    border-color: #0669b7 !important;
    background-color: #0669b7 !important;
}

.btn,
.form-control,
.custom-select {
    border-radius: 3px;
}

.form-control,
.custom-select {
    border-color: #cbd6e1;
    color: var(--neltech-ink);
    font-size: 13px;
}

.form-control:focus,
.custom-select:focus {
    border-color: #52a9eb;
    box-shadow: 0 0 0 3px rgb(8 123 215 / 12%);
}

.box-container,
.table-box,
.qs-box,
#profile-box {
    border: 1px solid var(--neltech-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 18px rgb(22 39 63 / 5%) !important;
}

.box-container {
    height: auto;
    padding-bottom: 20px;
}

.card-header {
    display: flex;
    min-height: 50px;
    height: auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--neltech-line);
    border-radius: 3px 3px 0 0 !important;
    background: #fff;
    color: var(--neltech-ink);
    font-size: 13px;
    font-weight: 600;
}

.table-box .table-responsive,
.studentDataTable,
.classTableData,
.courseDataTable,
.examDataTable {
    min-width: 0;
}

.table-responsive {
    border-radius: 0 0 3px 3px;
}

.table {
    margin-bottom: 0;
    color: var(--neltech-ink);
    font-size: 12px;
}

.table thead th {
    padding: 12px 10px;
    border-top: 0;
    border-bottom: 1px solid var(--neltech-line);
    background: #f7f9fc;
    color: #5b6d80;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.table tbody td {
    padding: 11px 10px;
    border-top: 1px solid #edf1f5;
    color: #35475a;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: #f7fbff;
}

.pagination {
    justify-content: center;
    margin: 14px 12px;
    box-shadow: none;
}

.pagination .page-item .page-link {
    border-color: var(--neltech-line);
    background: #fff;
    color: var(--neltech-ink);
}

.pagination .page-item.active .page-link {
    border-color: var(--neltech-blue);
    background: var(--neltech-blue);
    color: #fff;
}

.modal-content {
    overflow: hidden;
    border: 1px solid var(--neltech-line);
    border-radius: 4px;
    box-shadow: 0 18px 55px rgb(17 35 57 / 20%);
}

.modal-header {
    align-items: center;
    padding: 13px 18px !important;
    border-bottom: 1px solid var(--neltech-line);
    background: #f7f9fc;
}

.modal-title {
    margin: 0;
    color: var(--neltech-ink);
    font-size: 17px;
    font-weight: 600;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.dashboard-metrics > .col {
    width: auto;
    max-width: none;
    padding: 0;
}

.dashboard-metrics .card {
    min-height: 116px;
    border: 1px solid var(--neltech-line) !important;
    border-top: 3px solid var(--neltech-blue) !important;
    border-radius: 4px;
    box-shadow: 0 5px 18px rgb(22 39 63 / 5%) !important;
}

.dashboard-metrics > .col:nth-child(2) .card {
    border-top-color: var(--neltech-cyan) !important;
}

.dashboard-metrics > .col:nth-child(3) .card {
    border-top-color: #4d8d64 !important;
}

.dashboard-metrics > .col:nth-child(4) .card {
    border-top-color: #d18d27 !important;
}

.dashboard-metrics > .col:nth-child(5) .card {
    border-top-color: #75849a !important;
}

.dashboard-metrics .card-body {
    display: flex;
    align-items: center;
    padding: 17px;
}

.dashboard-metrics .text-xs {
    color: #647487 !important;
    font-size: 9px;
    font-weight: 700;
}

.dashboard-metrics .h5 {
    color: var(--neltech-ink) !important;
    font-size: 24px;
}

.dashboard-metrics .fa-2x {
    color: #93a7bb !important;
    font-size: 23px;
}

.dashboard-workflows {
    padding: 18px;
    border: 1px solid var(--neltech-line);
    border-radius: 4px;
    background: #fff;
}

.dashboard-workflows h4 {
    margin: 0 0 14px;
    color: var(--neltech-ink);
    font-size: 16px;
    font-weight: 600;
}

.dashboard-workflow-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--neltech-line);
}

.dashboard-workflow-links a {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-right: 1px solid var(--neltech-line);
    color: var(--neltech-ink);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-workflow-links a:last-child {
    border-right: 0;
}

.dashboard-workflow-links a > i:first-child {
    color: var(--neltech-blue);
}

.dashboard-workflow-links a > i:last-child {
    margin-left: auto;
    color: #91a1b2;
    font-size: 10px;
}

.dashboard-workflow-links a:hover {
    background: #f7fbff;
    color: var(--neltech-blue);
}

.admin-register-page {
    background: var(--neltech-paper);
}

.admin-register-bar {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px max(22px, calc((100vw - 1120px) / 2));
    border-bottom: 1px solid var(--neltech-line);
    background: #fff;
}

.admin-register-bar > a:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--neltech-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.admin-register-bar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-register-bar small {
    display: block;
    margin-top: 4px;
    color: var(--neltech-muted);
    font-size: 8px;
}

.admin-register-back {
    color: var(--neltech-blue);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.admin-register-main {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 28px 24px 48px;
}

.admin-register-intro {
    margin-bottom: 18px;
}

.admin-register-intro h1 {
    margin: 0 0 6px;
    color: var(--neltech-ink);
    font-size: 24px;
    font-weight: 600;
}

.admin-register-intro > p:last-child,
.admin-register-form-heading p {
    margin: 0;
    color: var(--neltech-muted);
    font-size: 12px;
}

.admin-register-page .container-log {
    width: 100%;
    margin: 0;
}

.admin-register-page .log-form-container {
    margin: 0 !important;
    padding: 22px;
    border: 1px solid var(--neltech-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 18px rgb(22 39 63 / 5%);
}

.admin-register-form-heading {
    margin-bottom: 18px;
}

.admin-register-form-heading h2 {
    margin: 0 0 5px;
    color: var(--neltech-ink);
    font-size: 17px;
    font-weight: 600;
}

.admin-register-page #reg_form {
    max-width: 560px;
    margin: 0 auto;
}

.admin-register-page #reg_form > div[style*="padding-top"] {
    padding-top: 0 !important;
}

.admin-register-page .profile-pic-reg {
    position: relative;
    left: auto;
    transform: none;
    margin: 0 auto 18px;
}

.admin-register-page .profile-pic-reg img {
    width: 112px;
    height: 112px;
    border-width: 4px;
    object-fit: cover;
}

.admin-register-page .log-img {
    width: min(100%, 340px);
    height: auto;
}

#profile-box {
    display: flex;
    width: min(100%, 900px);
    min-height: 430px;
    height: auto;
    padding: 20px;
}

#profile-box .profile-pic,
#profile-box .profile-info {
    height: auto;
    float: none;
}

#profile-box .profile-pic {
    width: 34%;
}

#profile-box .profile-info {
    width: 66%;
}

#profile-box .profile-pic-div {
    top: 0;
    left: auto;
    margin: 40px auto 18px;
    transform: none;
}

@media (max-width: 1100px) {
    .dashboard-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-workflow-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-workflow-links a:nth-child(3) {
        border-right: 0;
    }
}

@media (max-width: 767.98px) {
    .sidebar {
        width: 6.5rem;
        flex: 0 0 6.5rem;
    }

    .sidebar .sidebar-brand {
        justify-content: center !important;
        padding-inline: 8px;
    }

    .sidebar .sidebar-brand-copy,
    .sidebar .sidebar-heading {
        display: none;
    }

    .sidebar .nav-item .nav-link {
        flex-direction: column;
        gap: 4px;
        padding: 10px 4px;
        font-size: 9px;
        text-align: center;
    }

    .sidebar .nav-item .nav-link i {
        width: auto;
        font-size: 15px;
    }

    .sidebar .collapse-inner {
        margin: 0 5px 8px;
    }

    .topbar {
        min-height: 64px;
        padding: 8px 14px;
    }

    .admin-topbar-kicker {
        font-size: 7px;
    }

    .admin-topbar-title h1 {
        font-size: 15px;
    }

    .container-fluid {
        padding: 18px 14px;
    }

    .admin-register-main {
        padding: 20px 14px 32px;
    }

    .admin-register-page .log-form-container {
        padding: 16px;
    }

    .admin-register-page .log-img {
        display: none;
    }

    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .dashboard-workflow-links {
        grid-template-columns: 1fr;
    }

    .dashboard-workflow-links a,
    .dashboard-workflow-links a:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid var(--neltech-line);
    }

    .dashboard-workflow-links a:last-child {
        border-bottom: 0;
    }

    #profile-box {
        display: block;
        padding: 14px;
    }

    #profile-box .profile-pic,
    #profile-box .profile-info {
        width: 100%;
        padding: 10px 0;
    }

    #profile-box .profile-pic {
        border-right: 0;
        border-bottom: 1px solid var(--neltech-line);
    }
}

@media (max-width: 420px) {
    .sidebar {
        width: 4.5rem;
        flex-basis: 4.5rem;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-metrics .card {
        min-height: 90px;
    }

    .card-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ------------------ navbar ------------------ */

#content-wrapper #content h2 {
    color: rgba(71, 71, 71, 0.884);
    font-size: 26px;
    cursor: default;
}

/* ----------------- logout ----------------- */

#logout_id {
    cursor: pointer;
}

/* --------------- Modal ----------------- */

.modal-header {
    padding: 0px !important;
    padding-left: 18px !important;
    padding-bottom: 5px !important;
    background-color: #f8f9fc;
}

.modal-header .close {
    font-size: 20px !important;
    margin-top: 20px;
    margin-right: 20px;
}

.modal-title {
    margin-top: 18px;
    margin-bottom: 8px;
}

.modal-content {
    border-radius: 10px;
}

.modal-body {
    padding: 12px;
    padding-left: 18px;
    padding-right: 18px;
}

.modal-footer {
    padding-right: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.swal-modal {
    will-change: unset;
}

.modal_submit {
    height: 35px;
}

.modal_cancel {
    height: 35px;
}

/* --------------- classes.php --------------- */

.modal#class_edit_modal .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal#class_edit_modal .modal-body .form-group {
    margin-bottom: 20px;
}

.modal#class_edit_modal .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

.modal#class_edit_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#class_edit_modal .modal-title {
    margin-top: 12px;
}

.modal#class_edit_modal .modal-dialog {
    max-width: 560px;
}

#addclassModal #add_class_modal_form .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

#addclassModal #add_class_modal_form .modal-body .form-group {
    margin-top: 15px;
    margin-bottom: 25px;
}

#addclassModal #add_class_modal_form .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

#addclassModal #add_class_modal_form .modal-header {
    padding-bottom: 0px !important;
}

#addclassModal #add_class_modal_form .modal-title {
    margin-top: 12px;
}

#addclassModal #add_class_modal_form .modal-dialog {
    max-width: 560px;
}

/* ------------- add_exam ------------ */

#add_exam {
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.calender {
    position: absolute;
    top: 10px;
    right: 20px;
}

/* ------------- add_student ------------- */

#add_student {
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.col-sm-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.col-sm-9 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.box-container {
    border-radius: 10px;
    height: 540px;
    background-color: white;
    color: black;
    /* padding-bottom: 20px; */
    margin-bottom: 20px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

/* --------- manage_exam --------- */

.table-box {
    border-radius: 10px;
    height: auto;
    background-color: white;
    color: black !important;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

tbody {
    color: #55585c;
}

/* ----------- manage_course.php ---------- */

#assigncourseModal #course_assign_modal_form .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

#assigncourseModal #course_assign_modal_form .modal-body .form-group {
    margin-top: 15px;
    margin-bottom: 25px;
}

#assigncourseModal #course_assign_modal_form .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

#assigncourseModal #course_assign_modal_form .modal-header {
    padding-bottom: 0px !important;
}

#addclassMassigncourseModalodal #course_assign_modal_form .modal-title {
    margin-top: 12px;
}

#assigncourseModal #course_assign_modal_form .modal-dialog {
    max-width: 560px;
}

/* ------------ manage_student ------------ */

/* .modal#exam_edit_modal .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal#exam_edit_modal .modal-body .form-group {
    margin-bottom: 10px;
}

.modal#exam_edit_modal .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

.modal#exam_edit_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#exam_edit_modal .modal-title {
    margin-top: 12px;
}

.modal#exam_edit_modal .modal-dialog {
    max-width: 560px;
} */

/* ------------ manage_student ------------ */

.modal#std_edit_modal .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal#std_edit_modal .modal-body .form-group {
    margin-bottom: 10px;
}

.modal#std_edit_modal .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

.modal#std_edit_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#std_edit_modal .modal-title {
    margin-top: 12px;
}

.modal#std_edit_modal .modal-dialog {
    max-width: 560px;
}

/* ------------- course -------------- */

.plus-button {
    width: 30px;
    float: right;
}

.modal#course_edit_modal .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal#course_edit_modal .modal-body .form-group {
    margin-bottom: 12px;
}

.modal#course_edit_modal .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

.modal#course_edit_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#course_edit_modal .modal-title {
    margin-top: 12px;
}

.modal#course_edit_modal .modal-dialog {
    max-width: 560px;
}

#addcourseModal #add_course_modal_form .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

#addcourseModal #add_course_modal_form .modal-body .form-group {
    margin-top: 15px;
    margin-bottom: 25px;
}

#addcourseModal #add_course_modal_form .modal-body .form-group label {
    font-size: 15px;
    color: black;
}

#addcourseModal #add_course_modal_form .modal-header {
    padding-bottom: 0px !important;
}

#addcourseModal #add_course_modal_form .modal-title {
    margin-top: 12px;
}

#addcourseModal #add_course_modal_form .modal-dialog {
    max-width: 560px;
}

/* ------------------- Profile Info ------------------- */

#userDropdown {
    padding: 0px !important;
    padding-right: 8px !important;
}

.profile-pic {
    float: left;
    height: 470px;
    width: 32.8%;
    margin: 0;
    text-align: center;
    border-right: 1px solid #e3e6f0;
}

.profile-info {
    height: 470px;
    width: 67.2%;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
}

#profile-position {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

#profile-box {
    height: 470px;
    width: 65%;
    padding-left: 10px;
    padding-right: 10px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.profile-pic-div {
    height: 150px;
    width: 150px;
    position: relative;
    top: 230px;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
}

#pfpphoto {
    height: 150px;
}

#pfpfile {
    display: none;
}

#pfpuploadBtn {
    height: 45px;
    width: 100%;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(248, 246, 241);
    line-height: 30px;
    font-family: sans-serif;
    font-size: 11px;
    cursor: pointer;
    display: none;
}

/* ------------ Login Form ------------ */

.container-log {
    margin-top: 5rem;
    margin-left: 100px;
    margin-right: 90px;
}

.log-img {
    height: 300px;
}

.login-pill {
    /* width: 38%; */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.log-form-container {
    margin-top: 50px;
    margin-bottom: 40px;
    margin-left: 40px !important;
    margin-right: 80px !important;
}

.log-form-container .form-check-input,
.log-form-container .form-check-label {
    cursor: pointer;
}

#adm_login_btn,
#std_login_btn {
    background-color: #1266f1;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 18px;
}

#std_login_form,
#adm_login_form {
    color: black;
}

.forgot_pass {
    color: black;
    text-decoration: none;
}

.forgot_pass:hover,
.forgot_pass:focus {
    color: rgb(94, 94, 94);
    text-decoration: none;
}

.link-danger {
    color: #f93154;
}

/* ------------ Student Registration Form ------------ */

.reg_header h3 {
    font-weight: 700;
    color: #212529;
}

.reg_header p {
    color: #6c757d;
    font-size: 0.95rem;
}

#std_register_btn {
    background-color: #1266f1;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 18px;
}

#std_register_form {
    color: black;
}

/* The registration form is taller than the login form, so give the
   illustration room to sit alongside it without overlapping. */
#std_register_form .col,
.std_login .col .log-form-container {
    min-width: 0;
}

@media screen and (max-width: 900px) {
    .std_login .col .log-img {
        height: 180px;
    }
}

.link-danger:focus,
.link-danger:hover {
    color: #fa5a76;
    text-decoration: none;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

/* ------------------ Registration Form ------------------- */

#reg_form {
    color: black;
}

#reg_btn {
    background-color: #1266f1;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 18px;
}

.profile-pic-reg {
    height: 120px;
    width: 120px;
    position: absolute;
    left: 48%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.profile-pic-reg img {
    height: 130px;
    width: 130px;
    border-radius: 50%;
    border: 8px solid #dcdcdc;
}

.profile-pic-reg .round {
    position: absolute;
    background-color: #00b4ff;
    bottom: -8px;
    right: -10px;
    width: 32px;
    height: 32px;
    line-height: 33px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
}

#file {
    position: absolute;
    transform: scale(2);
    opacity: 0;
}

#file::-webkit-file-upload-button {
    cursor: pointer;
}

/* -------------------- add_question.php -------------------- */

.text-black {
    color: black !important;
}

#exam_info_card .card-body {
    padding-top: 0px;
    padding-bottom: 10px;
}

#exam_info_card .card-body .form-group {
    margin-bottom: 0px;
}

#exam_info_card .card-body .form-group label {
    font-size: 15px;
}

#exam_info_card .form-group .form-control[readonly] {
    background-color: #f8f9fc;
}

#exam_info_card .form-control:focus {
    box-shadow: 0 0 0 0;
}

.modal#add_qs_modal .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal#add_qs_modal .modal-body .form-group {
    margin-bottom: 12px;
}

.modal#add_qs_modal .modal-body .form-group label {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

.modal#add_qs_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#add_qs_modal .modal-title {
    margin-top: 12px;
}

.modal#add_qs_modal .modal-dialog {
    max-width: 560px;
}

.modal#edit_qs_modal .modal-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal#edit_qs_modal .modal-body .form-group {
    margin-bottom: 12px;
}

.modal#edit_qs_modal .modal-body .form-group label {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

.modal#edit_qs_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#edit_qs_modal .modal-title {
    margin-top: 12px;
}

.modal#edit_qs_modal .modal-dialog {
    max-width: 560px;
}

.qs-box-header {
    position: relative;
    color: black;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.over-the-shadow {
    position: relative;
    float: none;
    height: 50px;
    background-color: white;
}

.over-the-shadow .row {
    margin-left: 10px;
    width: 91%;
    position: relative;
    top: 30%;
}

.over-the-shadow .not-found-msg {
    margin: 0px;
    padding-top: 28px;
    padding-bottom: 15px;
}

.qs-not-found {
    height: 80px;
}

.qs-box {
    padding-bottom: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: white;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
    height: auto;
    max-height: 700px;
    padding-left: 20px;
    padding-right: 13px;
    max-height: 583px;
    overflow-y: scroll;
    color: rgba(0, 0, 0, 0);
    transition: color 0.3s;
}

.qs-box th {
    color: black;
}

.qs-box:hover {
    color: rgba(0, 0, 0, 0.4);
    overflow-y: scroll;
}

.qs-box::-webkit-scrollbar {
    width: 7px;
}

.qs-box::-webkit-scrollbar-thumb {
    background-clip: content-box;
    border: 1px solid #fff;
    border-radius: 10rem;
    box-shadow: inset 0 0 0 10px;
}

.qs-box::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

.qs-box::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* ---------------- Admin List ---------------- */

.admin_data #adm_profile_div {
    height: 55px;
    width: 55px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    margin: auto;
}

.admin_data img {
    width: 55px;
}

.pt-2_1 {
    padding-top: 20px !important;
}

.pb-2_1 {
    padding-bottom: 20px !important;
}

.butn {
    padding: 6px 8px 6px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.35rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.butn:focus,
a.butn:hover {
    text-decoration: none;
}

.butn-success {
    color: #fff;
    background-color: #00b74a;
    border: 1px solid #00b74a;
}

.butn-success:hover {
    color: #fff;
    background-color: #16a14e;
}

.modal#generate_token_modal .modal-body {
    height: 145px;
    text-align: center;
}

.modal#generate_token_modal .modal-body #tokenHideDiv {
    margin-top: 45px;
    font-size: 18px;
    color: #111;
}

.modal#generate_token_modal .modal-header {
    padding-bottom: 0px !important;
}

.modal#generate_token_modal .modal-title {
    margin-top: 12px;
}

.modal#generate_token_modal .modal-dialog {
    max-width: 560px;
}

#tokenShowDiv p {
    color: #d60000;
    padding: 15px;
    font-size: 15.5px;
    font-weight: 600;
}

#tokenShowDiv .label {
    padding: 0px 10px 15px;
    font-size: 16px;
    color: #111;
}

#tokenShowDiv #copy_text {
    position: relative;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: auto;
    height: 40px;
    width: 185px;
}

#tokenShowDiv input.text {
    width: 115px;
    font-size: 16px;
    color: #555;
    border: none;
    outline: none;
}

#tokenShowDiv #copy_text button {
    height: 28px;
    width: 30px;
    background-color: #5784f5;
    color: #fff;
    font-size: 12px;
    border: none;
    outline: none;
    border-radius: 10px;
    cursor: pointer;
}

#tokenShowDiv #copy_text button:active {
    background: #4d7ae9;
}

#tokenShowDiv #copy_text button:before {
    content: "Copied";
    position: absolute;
    top: 5px;
    right: -45px;
    background: #5c81dc;
    padding: 5px 5px;
    border-radius: 20px;
    font-size: 12px;
    display: none;
}

#tokenShowDiv #copy_text button:after {
    content: "";
    position: absolute;
    top: 14px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #5c81dc;
    transform: rotate(45deg);
    display: none;
    border-top-right-radius: 20px;
}

#tokenShowDiv #copy_text.active button:before,
#tokenShowDiv #copy_text.active button:after {
    display: block;
}
