/*----------------------------------------*/
/*  1. Theme Default
/*----------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-size: 0.875rem;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #0F172B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    margin-bottom: 0;
}

strong {
    font-weight: 600;
}

.emphasis {
    background: #FFFFFF;
}

.academic .table tbody tr:last-child,
.academic .table tbody tr:last-child td {
    border-width: 0;
    background: transparent;
}

.academic .table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 0.375rem !important;
}

.academic .table tbody tr:last-child td:last-child {
    border-radius: 0 0 0.375rem 0 !important;
}

.table .th-rounded tr th:first-child {
    border-radius: 0.375rem 0 0 0 !important;
}

.table .th-rounded tr th:last-child {
    border-radius: 0 0.375rem 0 0 !important;
}

#select2-filterResults-container {
    color: #515B73 !important;
}

#select2-filterResults-results {
    max-height: max-content;
    overflow-y: auto;
}

.form-sort {
    width: max-content;
    height: max-content;
}

.account-page {
    background: url('../images/pattern.png') center center / contain repeat;
    backdrop-filter: brightness(0.06);
    min-height: 100vh;
}

.modal .modal-footer .btn-secondary:focus {
    color: #FFFFFF !important;
}

.bg-card {
    background: url('../images/shape-05.png') center center / contain repeat-x;
}

.border-bottom-4 {
    border-bottom-width: 4px;
}

.border-soft-primary {
    border-color: rgba(61, 94, 225, 0.3)
}

.border-soft-success {
    border-color: rgba(26, 190, 23, 0.3);
}

.border-soft-skyblue {
    border-color: rgba(5, 194, 251, 0.3);
}

.border-soft-dark {
    border-color: rgba(15, 23, 43, 0.2);
}

.user-menu .dropdown-menu {
    border: 1px solid #EBEDF5;
}

.bg-dark-transparent {
    background-color: #F1F5f9 !important;
    color: #0F172B !important;
}

.auth-logo img {
    width: 4.25rem;
}

.connect-app img {
    width: 2.75rem;
}

.dark-logo img,
.header .header-left .logo img {
    width: auto;
    height: 2.25rem;
    margin-top: 0.25rem;
}

.header .header-left {
    border-bottom: 0.0625rem solid #EBEDF5;
}

.header .searchinputs .search-addon button {
    width: 2.25rem;
}

.login-or::before,
.login-or::after {
    border-top: 0.0625rem solid #E6E9F5;
}

.rounded-xs {
    border-radius: 0.125rem;
}

.rounded-sm {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.5rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-circle {
    border-radius: 9999px;
}

.card .card-title {
    font-size: 1rem;
    font-weight: 500;
}

.modal .modal-title {
    font-size: 1.125rem;
}

.avatar {
    height: 2.5rem;
    width: 2.5rem;
}

.btn-primary,
.btn-secondary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-light,
.btn-white,
.btn-dark {
    height: 2.75rem;
    padding: 0.75rem 1.25rem;
}

.form-control {
    min-height: 2.75rem;
    line-height: normal;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: #F8FAFC;
    box-shadow: none !important;
}

.form-control-sm {
    font-size: 0.875rem;
    padding: 0.5rem 0.8rem;
    min-height: auto;
    border-radius: 0.25rem;
    background-color: #FFFFFF;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    background-color: #FFFFFF;
    border: 1px solid #EBEDF5;
}

.form-switch .form-check-input {
    width: 1.75rem;
    height: 1rem;
}

.form-control[type=file] {
    padding: 0.75rem 1rem;
}

.form-control:disabled,
.form-control[readonly] {
    color: inherit;
    background-color: #F8FAFC;
}

.form-control::placeholder {
    color: #90A1B9;
}

.form-control.verify {
    font-size: 1.5rem;
    max-height: 3rem;
    max-width: 3rem;
    margin-bottom: 3rem;
    background-color: #F8FAFC;
}

.form-control.has-verify {
    max-width: 100%;
    margin-bottom: 0;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    padding: 0.75rem;
    background: var(--bs-input-bg);
    border-color: #1ABE17;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    padding: 0.75rem;
    background: var(--bs-input-bg);
    border-color: #E82646;
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
    background: var(--bs-input-bg);
}

.form-check-input:checked {
    background-color: #3D5EE1;
    border-color: #3D5EE1;
}

.form-check-input.is-valid:focus,
.was-validated .form-check-input:valid:focus {
    box-shadow: 0 0 0 .25rem rgba(61, 94, 225, 0.25);
}

.student-list .checked {
    background-color: #3D5EE1 !important;
    border-color: #3D5EE1 !important;
}

.student-list .unchecked {
    background-color: #FFFFFF !important;
    border-color: #E82646 !important;
}

.select-xl .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 1rem;
    line-height: 2.75rem;
    border-radius: 0.5rem;
}

.select-xl .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.select-xl .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.select-xl .select2-container .select2-selection--single {
    height: 2.75rem;
    border-radius: 0.5rem;
    background-color: #F8FAFC;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 20rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #EBEDF5;
    border-radius: 0.25rem;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #90A1B9;
}

.select2-container--default .select2-results__option--selected {
    background-color: #F1F5F9;
}

.select2-container .select2-dropdown {
    max-height: 50vh;
    overflow: auto;
}

.select-xl .select2-dropdown {
    border-radius: 0.5rem;
}

.select-xl .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.75rem;
    right: 0.625rem;
}

.select2-container--default .select2-results__option--disabled {
    color: #90A1B9;
}

.needs-select.valid .select2-selection--single {
    border-color: #1ABE17 !important;
    background-color: #FFFFFF;
}

.needs-select.invalid .select2-selection--single {
    border-color: #E82646 !important;
    background-color: #FFFFFF;
}

.bs-wizard-tab-content {
    padding-top: 24px;
    min-height: 256px;
}

.bs-wizard .step-title {
    margin-left: 8px;
}

.bs-wizard .bs-wizard-nav .nav-link {
    position: relative;
    font-size: 1rem;
}

.bs-wizard .nav-link.active {
    color: #495057;
    background-color: transparent;
}

.bs-wizard .bs-wizard-nav .step-icon {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    line-height: normal;
    font-size: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #EBEDF5;
    color: #3B5CE1;
    border-radius: 9999px;
    z-index: 10;
}

.bs-wizard .bs-wizard-nav .step-icon .step-fill {
    display: none;
}

.bs-wizard .bs-wizard-nav .nav-link.active .step-icon,
.bs-wizard .bs-wizard-nav .nav-link.completed .step-icon {
    background-color: #3B5CE1;
    color: #FFFFFF;
    border-color: #3B5CE1;
}

.bs-wizard .bs-wizard-nav .nav-link::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 70%;
    width: 64%;
    height: 1.5px;
    background-color: #EBEDF5;
    transform: translateY(-50%);
    z-index: 1;
}

.bs-wizard .nav-link.completed::after {
    background-color: #3B5CE1;
}

.bs-wizard .nav-item:last-child .nav-link::after {
    display: none;
}

.bs-wizard .bs-wizard-pager-link {
    display: flex;
    justify-content: space-between;
    padding: 24px 0 0;
    margin: 0;
    list-style: none;
}

.bs-wizard .bs-wizard-pager-link li {
    display: inline-block;
}

.bs-wizard-nav .nav-link.locked {
    cursor: not-allowed;
}

.bs-wizard .nav-tabs .nav-link:focus,
.bs-wizard .nav-tabs .nav-link:hover {
    isolation: auto !important;
}

.toggle-password {
    font-size: 1.125rem;
}

.input-addon {
    position: absolute;
    height: 100%;
    left: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.notice-widget:before {
    inset-inline-start: 1.25rem;
}

.dropdown .dropdown-toggle:after {
    content: "\ea5f";
    font-family: "tabler-icons";
}

.modal-dialog .approve-icon,
.modal-dialog .delete-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    margin: 0 auto 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    font-size: 2rem;
}

.modal-dialog .approve-icon {
    background: #E8F9E8;
    color: #1ABE17;
}

.modal-dialog .delete-icon {
    background: #FDE9ED;
    color: #E82646;
}

.modal .modal-content {
    border-radius: 0.5rem;
}

.medium .modal-dialog {
    max-width: 27rem;
}

#toast-container .toast {
    padding: 1rem;
    border: 0 !important;
    border-radius: 0.25rem;
    box-shadow: none !important;
    background-image: none !important;
    backdrop-filter: blur(20px);
    opacity: 0.85;
}

.toast-success {
    background-color: #1ABE17;
}

.toast-error {
    background-color: #E82646;
}

.toast-info {
    background-color: #0F65CD;
}

.toast-warning {
    background-color: #EAB300;
}

.comment {
    display: none;
}

.comment-text {
    max-width: 95%;
}

.table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
    right: 0.625rem !important;
    content: "\ea62" !important;
    font-family: "tabler-icons";
}

.table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
    right: 0.625rem !important;
    content: "\ea5f" !important;
    font-family: "tabler-icons";
}

.tabledata {
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.dataTables_wrapper .table-responsive {
    min-height: 208px;
}

.processing .dataTables_wrapper .dataTables_length,
.processing .dataTables_wrapper .dataTables_filter {
    display: none !important;
}

.processing .dataTables_paginate {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.dataTables_length label .form-select {
    border-radius: 0.25rem;
    line-height: 1.375rem;
    padding-right: 1.125rem;
}

.modal .modal-dialog-aside {
    height: 100vh;
    margin: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal.aside-right .modal-dialog,
.modal.aside-left .modal-dialog {
    transform: none;
    transition: none;
}

.modal.aside-right .table tbody tr:last-child,
.modal.aside-right .table tbody tr:last-child td {
    border-width: 0;
}

.modal.show .modal-dialog-aside {
    opacity: 1;
}

.modal .modal-dialog-aside .modal-content {
    height: 100%;
}

.modal .modal-dialog-aside .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal .modal-dialog-aside .modal-body .table-responsive {
    overflow: hidden;
}

/*----------------------------------------*/
/*  2. Dark Theme
/*----------------------------------------*/
html[data-theme=dark] hr {
    border-color: #1A1A1A;
}

html[data-theme=dark] .dropdown hr {
    border-color: #3D3D3D;
}

html .darkmode .card,
html[data-theme=dark] .card {
    box-shadow: none !important;
}

html[data-theme=dark] .text-muted {
    color: #757575 !important;
}

html[data-theme=dark] .text-gray {
    color: #757575 !important;
}

html[data-theme=dark] .bg-dark {
    background-color: #000000 !important;
    border: 1px solid #1A1A1A !important;
}

html[data-theme=dark] .header .dropdown-menu {
    box-shadow: 0px 4px 72px 0px rgba(208, 208, 208, 0.2);
}

html .darkmode .dropdown-item:not(.active):hover,
html .darkmode .dropdown-item:not(.active):focus,
html .darkmode .dropdown-item:not(.active):active,
html .darkmode .dropdown-item.active,
html[data-theme=dark] .dropdown-item:not(.active):hover,
html[data-theme=dark] .dropdown-item:not(.active):focus,
html[data-theme=dark] .dropdown-item:not(.active):active,
html[data-theme=dark] .dropdown-item.active {
    background: #1A1A1A;
}

html[data-theme=dark] .bg-light-transparent,
html[data-theme=dark] .bg-dark-transparent,
html[data-theme=dark] .bg-primary-transparent,
html[data-theme=dark] .bg-secondary-transparent,
html[data-theme=dark] .bg-success-transparent,
html[data-theme=dark] .bg-info-transparent,
html[data-theme=dark] .bg-warning-transparent,
html[data-theme=dark] .bg-danger-transparent,
html[data-theme=dark] .bg-skyblue-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}

html .darkmode .bg-success-transparent h6,
html .darkmode .bg-primary-transparent h6,
html[data-theme=dark] .bg-success-transparent h6,
html[data-theme=dark] .bg-primary-transparent h6 {
    color: #EFEFF2 !important;
}

html[data-theme=dark] .sidebar .sidebar-menu>ul>li ul>li.active a i {
    background: #262626;
    color: #3D5EE1;
}

html[data-theme=dark] .sidebar .sidebar-menu>ul li .submenu>a.active i {
    background: #262626;
    color: #3b5ce1;
}

html[data-theme=dark] .breadcrumb .breadcrumb-item a {
    color: #A3A3A3;
}

html .darkmode .breadcrumb .breadcrumb-item.active,
html[data-theme=dark] .breadcrumb .breadcrumb-item.active {
    color: #757575;
}

html .darkmode .form-check-input,
html[data-theme=dark] .form-check-input {
    background-color: #3D3D3D;
}

html .darkmode .header .searchinputs input::placeholder, 
html[data-theme="dark"] .header .searchinputs input::placeholder {
    color: #757575;
}

html[data-theme=dark] .form-control::placeholder {
    color: #757575;
}

html[data-theme=dark] .form-control::-webkit-file-upload-button {
    color: #A3A3A3;
    background-color: #0D0D0D;
}

html[data-theme=dark] .form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
    background-color: #0D0D0D;
}

html .darkmode .header .searchinputs .search-addon button,
html[data-theme=dark] .header .searchinputs .search-addon button {
    color: #A3A3A3;
}

html[data-theme=dark] .dataTables_length label,
html[data-theme=dark] .dataTables_length label .form-select,
html[data-theme=dark] #select2-filterResults-container {
    color: #A3A3A3 !important;
}

html .darkmode .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme=dark] .select2-container--default .select2-selection--single .select2-selection__rendered {
    background: transparent;
}

html[data-theme=dark] .select2-container--classic .select2-selection--single,
html[data-theme=dark] .select2-container--default .select2-selection--single,
html[data-theme=dark] .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme=dark] .select2-container--default .select2-selection--single .select2-selection__arrow,
html[data-theme=dark] .select2-container--default .select2-selection--multiple,
html[data-theme=dark] .select2-container--classic .select2-selection--single .select2-selection__arrow,
html[data-theme=dark] .select2-container--classic .select2-selection--single .select2-selection__rendered,
html[data-theme=dark] .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #757575;
}

html[data-theme=dark] span.select2-container.select2-container--default.select2-container--open {
    box-shadow: none;
}

html[data-theme=dark] .select2-container--default .select2-results__option--selected {
    background-color: #1A1A1A;
}

html[data-theme=dark] .select2-search--dropdown {
    background-color: #0D0D0D;
}

html[data-theme=dark] .select2-container--default .select2-search--dropdown .select2-search__field {
    color: #A3A3A3;
    background-color: #0D0D0D;
    border: 1px solid #1A1A1A;
}

html .darkmode .dataTables_paginate .pagination li a,
html[data-theme=dark] .dataTables_paginate .pagination li a {
    color: #A3A3A3;
}

html[data-theme=dark] .modal .modal-content {
    color: #A3A3A3;
    box-shadow: 0px 4px 72px 0px rgba(208, 208, 208, 0.1);
}

html[data-theme=dark] .modal-content .modal-header .custom-btn-close {
    background-color: #757575;
}

html[data-theme=dark] .bs-wizard .bs-wizard-nav .step-icon {
    background-color: #0D0D0D;
    border: 1px solid #1A1A1A;
}

html[data-theme=dark] .bs-wizard .bs-wizard-nav .nav-link.active .step-icon span,
html[data-theme=dark] .bs-wizard .bs-wizard-nav .nav-link.completed .step-icon span {
    color: #FFFFFF;
}

html[data-theme=dark] .bg-wizard,
html[data-theme=dark] .bs-wizard .bs-wizard-nav .nav-link::after {
    background-color: #1A1A1A !important;
}

html[data-theme=dark] .bs-wizard .nav-link.completed::after {
    background-color: #3B5CE1;
}

html[data-theme=dark] .list-group a.active,
html[data-theme=dark] .list-group a:hover {
    background: #262626;
}

body[data-layout-mode="dark"] .bs-wizard .nav-link::after {
    background-color: #3B403D
}

/*----------------------------------------*/
/*  3. Responsive Default
/*----------------------------------------*/
@media (min-width: 1200px) {
    .auth-content {
        max-width: 29rem;
        min-height: 26.5rem;
    }
}

@media (min-width: 768px) {
    .modal.aside-right .modal-dialog-aside {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .modal.aside-left .modal-dialog-aside {
        margin-right: auto;
        margin-left: 0.5rem;
    }
}

@media (max-width: 768px) {
    .bs-wizard .nav-link::after {
        content: none;
    }
}

@media (max-width: 576px) {
    .bs-wizard .bs-wizard-nav .nav-link::after {
        top: 50%;
        left: 50%;
        width: 100%;
    }

    .bs-wizard .bs-wizard-nav .step-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .bs-wizard .nav-link {
        padding: 0.5rem;
    }
}

@media (max-width: 414px) {
    .border-start {
        border: none !important;
    }

    .comment-edit {
        width: 85% !important;
    }

    .comment-text {
        max-width: 90%;
    }

    .notice-widget .badge {
        display: none;
    }
}