@font-face {
    font-family: 'Noto Sans Devanagari';
    src: url('../fonts/NotoSansDevanagari-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans Devanagari';
    src: url('../fonts/NotoSansDevanagari-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

a#export {
    display: inline-table;
}

.width-100 {
    width: 100%;
}

.login-bg p {
    color: rgb(0 0 0 / 30%);
}

.drop-arrow {
    float: right;
}

a.student-name-link {
    color: #094e5d;
    text-decoration: none;
}

a.student-name-link:hover {
    text-decoration: underline;
}

.active .sub-menus {
    position: absolute;
    background: rgba(0, 0, 0, 0.22);
    width: calc(100% - 40px);
    box-shadow: 3px 10px 20px -6px rgb(0 0 0 / 25%);
    border-radius: 0 0 8px 8px;
}

.calender-sec {
    padding: 0px 5px;
    border-radius: 8px;
    background: #fff;
}

.datepicker table tr td,
.datepicker table tr th {
    text-align: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: none;
    padding: 7px;
    cursor: pointer;
}

.filter-btn {
    padding: 8px 30px;
    background-color: transparent;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    color: #094e5d;
    text-transform: capitalize;
    border: 2px solid #094e5d;
    align-items: baseline;
    transition: 300ms all;
}

.filter-btn:hover {
    background-color: #094e5d;
    color: #fff;
}

.input-daterange form {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.input-daterange .input-group {
    align-items: center !important;
    width: auto;
}

.input-daterange .sec-inp-group {
    margin: 0 15px;
}

.input-group-btn {
    margin-left: -35px;
}

.date-select input {
    width: 190px !important;
    background: #f5f5f5;
    color: #094e5d;
}

.range {
    background: rgb(9, 78, 93, 10%);
}

.sub-menus li a:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    transform: translatey(-50%);
}

.main-aside {
    width: 260px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    /* overflow: auto; */
    background: #094e5d;
    z-index: 9999999999;
}

.main-logo {
    display: none;
}

.menu-logo {
    padding: 15px;
    background: #fff;
    max-width: 160px;
    margin: 15px auto;
    border-radius: 5px;
}

.menu-logo a {
    display: block;
}

.menu-logo img {
    max-width: 130px;
    width: 100%;
}

.main-menus ul li a {
    display: block;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5 !important;
    text-transform: capitalize;
    transition: all 0.3s;
}

ul.log-our-sec li a {
    background: #094e5d;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    border: 2px solid #094e5d;
    line-height: 1 !important;
}

.sub-menus li a {
    padding: 10px 20px 10px 70px !important;
    position: relative;
    color: rgba(255, 255, 255, 0.72);
}

.main-menus ul li a:hover,
.main-menus ul li.active>a {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
}

.sub-menus li.active a {
    background: #ff370f !important;
}

.main-menus ul li i {
    width: 20px;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
}

.main-menus ul li i img {
    width: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.main-menus ul li a:hover i img,
.main-menus ul li.active>a i img {
    opacity: 1;
}

.main-wrapper {
    width: calc(100% - 260px);
    margin-left: 260px;
}

.page-color {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 70px);
    padding: 0;
}

.page-title {
    color: #000;
    text-transform: capitalize;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: 100%;
    padding: 10px 0;
}

.page-title h3 {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 22px;
    flex: 0 0 auto;
    order: 1;
    margin: 0;
}

.page-title__left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
}

.page-title__left h3 {
    order: 0;
}

.page-title__lead {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    flex: 0 0 auto;
    order: 1;
}

.page-header-bar {
    display: contents;
}

.page-title .global-student-search {
    order: 2;
    flex: 0 1 300px;
    width: 300px;
    max-width: 100%;
    min-width: 200px;
}

.page-header-tools {
    display: contents;
}

.page-title .user-drop-sec {
    order: 10;
    margin-left: auto;
    flex: 0 0 auto;
}

.page-title>.add-btn,
.page-title>.page-btn,
.page-title>.add-mark,
.page-title__lead>.add-btn {
    order: 3;
    flex: 0 0 auto;
}

.profile-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px 0;
    flex: 0 0 35%;
}

.hello-icon {
    margin-left: 10px;
}

.session-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.fees-container .page-table {
    max-width: 60%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 0 10px;
}

.session-container .page-table {
    flex: 0 0 60%;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.session-container .page-table thead {
    background: transparent;
}

.session-current-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #24a249;
    background: rgb(36 162 73 / 10%);
    border-radius: 4px;
    vertical-align: middle;
}

.active .drop-arrow path,
.main-menus ul li a:hover .drop-arrow path {
    stroke: #fff;
}

#student-table tr {
    border-bottom: 1px solid #f3f3f3;
}

#student-table tbody tr:last-child {
    border: none;
}

.user-drop-sec {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
}

.user-drop-sec i {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-drop-sec>ul>li {
    position: relative;
}

.user-drop-sec>ul>li>a {
    background: #ffffff;
    border: 1px solid #c5d0d8;
    border-radius: 10px;
    padding: 10px 18px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: #1a2b3c;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.user-drop-sec>ul>li>a:hover {
    border-color: #094e5d;
    background: #f7fbfc;
    box-shadow: 0 2px 10px rgba(9, 78, 93, 0.12);
}

.user-drop-sec>ul>li.active>a {
    border-color: #094e5d;
    background: #f0f7f8;
    box-shadow: 0 2px 12px rgba(9, 78, 93, 0.18);
}

.user-drop-sec>ul>li>a>span:not(.drop-arrow) {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: #1a2b3c;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-drop-sec>ul>li>ul {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1.5px solid #d0d8e0;
    padding: 8px;
    z-index: 1100;
}

.user-drop-sec>ul>li>ul::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1.5px solid #d0d8e0;
    border-top: 1.5px solid #d0d8e0;
    transform: rotate(45deg);
}

.user-drop-sec>ul>li.active>ul {
    display: block;
}

.user-drop-sec>ul>li>ul li a {
    background: #f8fafb;
    padding: 12px 14px;
    min-height: 46px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.user-drop-sec>ul>li>ul li a:hover {
    background: #eef6f7;
    color: #094e5d;
    border-color: #c5e0e5;
}

.page-title .user-drop-sec span {
    font-weight: 600;
    font-size: 14px;
}

.user-drop-sec .drop-arrow {
    margin-left: 12px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.user-drop-sec>ul>li.active .drop-arrow {
    transform: rotate(180deg);
}

.user-drop-sec>ul>li.active .drop-arrow path {
    stroke: #094e5d;
}

.btn-box {
    padding: 0px;
}

.add-btn,
.delete-data-btn {
    padding: 8px 30px;
    background-color: #094e5d;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    text-transform: capitalize;
    border: 2px solid #094e5d;
    display: flex;
    justify-content: center;
    align-items: baseline;
    transition: 300ms all;
    min-width: 150px;
}

.delete-data-btn {
    background: #FF0000;
    border: 2px solid #FF0000;
}

.delete-data-btn:hover {
    background: transparent;
    color: #FF0000;
}

.recent-head .add-btn svg {
    margin-left: 8px;
}

.add-btn:hover {
    background-color: #FFFFFF;
    color: #094e5d;
}

.add-btn:hover svg path {
    fill: #094e5d;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0 15px;
    border-radius: 0;
    overflow: visible;
    position: relative;
    z-index: 100;
}

.global-student-search {
    position: relative;
    overflow: visible;
    z-index: 1200;
}

.global-student-search__input {
    width: 100%;
    height: 40px;
    padding: 8px 14px 8px 40px;
    border: 1px solid rgba(9, 78, 93, 0.15);
    border-radius: 8px;
    font-size: 14px;
    color: #1a2b3c;
    background: #f8fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23094e5d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.global-student-search__input:focus {
    border-color: #094e5d;
    box-shadow: 0 0 0 3px rgba(9, 78, 93, 0.1);
    background-color: #fff;
}

.global-student-search.is-loading::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid rgba(9, 78, 93, 0.15);
    border-top-color: #094e5d;
    border-radius: 50%;
    animation: global-student-search-spin 0.8s linear infinite;
    pointer-events: none;
    z-index: 3;
}

.global-student-search .hindi-input-wrap {
    width: 100%;
}

.global-student-search .hindi-input-inner {
    width: 100%;
}

@keyframes global-student-search-spin {
    to {
        transform: rotate(360deg);
    }
}

.global-student-search__input::placeholder {
    color: #94a3b8;
    text-transform: none;
}

.global-student-search__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1500;
    margin: 0;
    padding: 6px;
    list-style: none;
    max-height: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(9, 78, 93, 0.12);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(9, 78, 93, 0.14);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-transform: none !important;
    box-sizing: border-box;
}

.global-student-search__dropdown[hidden] {
    display: none !important;
}

.global-student-search__option {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.global-student-search__option+.global-student-search__option {
    margin-top: 2px;
}

.global-student-search__option:hover,
.global-student-search__option.is-active {
    background: rgba(9, 78, 93, 0.07);
    box-shadow: inset 0 0 0 1px rgba(9, 78, 93, 0.12);
}

.global-student-search__option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 2px;
    line-height: 1.25;
}

.global-student-search__option-name {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    font-size: 14px;
    color: #1a2b3c;
    line-height: 1.25;
    word-break: break-word;
}

.global-student-search__option-class {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: #094e5d;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(9, 78, 93, 0.08);
    white-space: nowrap;
    line-height: 1.2;
}

.global-student-search__option-father {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    word-break: break-word;
}

.global-student-search__empty {
    padding: 14px 12px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    text-transform: none !important;
    pointer-events: none;
}

.global-student-search__option-name.is-hindi {
    font-family: 'Noto Sans Devanagari', 'Mangal', sans-serif;
    color: #094e5d;
}

.global-student-search__dropdown::-webkit-scrollbar {
    width: 6px;
}

.global-student-search__dropdown::-webkit-scrollbar-thumb {
    background: rgb(9, 78, 93, 85%);
    border-radius: 4px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #FFFFFF;
}

table.dataTable thead th,
table.dataTable tbody td {
    border-bottom: none;
    text-transform: capitalize;
}

table.dataTable thead th,
th {
    color: #000000;
    padding: 10px;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 600;
}

.tabel-res td,
.tabel-res th {
    border: none;
    padding: 10px !important;
    vertical-align: middle;
    font-size: 14px;
}

.tabel-res thead {
    border-radius: 8px;
    background: #f5f5f5;
}

table.dataTable thead .th-max-width {
    min-width: 300px;
    width: 450px !important;
    max-width: 450px !important;
}

.dataTables_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.dataTables_wrapper .dataTables_length {
    float: none;
    order: 1;
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_filter {
    float: none;
    order: 2;
    margin-left: auto;
    margin-bottom: 15px;
    text-align: right;
}

.dataTables_wrapper table.dataTable,
.dataTables_wrapper .dataTables_scroll {
    order: 3;
    width: 100% !important;
}

.dataTables_wrapper .dataTables_info {
    order: 4;
    clear: none !important;
    float: none;
    flex: 1 1 auto;
    padding: 14px 0;
    margin: 0;
    color: #000;
}

.dataTables_wrapper .dataTables_paginate {
    order: 5;
    clear: none !important;
    float: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 0;
    margin: 0;
    text-align: right;
}

.dataTables_wrapper .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #000;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter label input {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid #094e5d38;
    font-size: 14px;
    height: 44px;
    background: #f5f5f5;
    color: #000;
    transition: 300ms all;
    outline: none;
    box-sizing: border-box;
}

.dataTables_wrapper .dataTables_length select {
    width: auto;
    min-width: 72px;
    padding-right: 28px;
    cursor: pointer;
    appearance: auto;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter label input:focus {
    background-color: rgb(9 78 93 / 10%);
    color: #094e5d;
    border-color: #094e5d;
}

.dataTables_wrapper .dataTables_filter label {
    position: relative;
    padding-bottom: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.dataTables_wrapper .dataTables_filter label input {
    width: 250px;
    padding-right: 40px;
}

.dataTables_wrapper .dataTables_filter label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url(../image/search.svg);
    background-size: cover;
    pointer-events: none;
}

.paginate_button.next,
.paginate_button.previous {
    font-size: 0px !important;
    background-color: #094e5d;
    width: 35px;
    height: 35px;
    position: relative;
    margin: 0 5px;
    border-radius: 5px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled {
    background-color: #f5f5f5 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    background-image: url("../image/arrow-back-2.svg") !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled {
    background-image: url("../image/arrow-back.svg") !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    background-image: url("../image/arrow-next.svg") !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled {
    background-image: url("../image/arrow-next-2.svg") !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover {
    background-image: url("../image/arrow-back.svg") !important;
    border: 1px solid rgb(9 78 93);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled:hover {
    background-image: url("../image/arrow-back.svg") !important;
    border-color: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    background-image: url("../image/arrow-next-2.svg") !important;
    border: 1px solid rgb(9 78 93);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled:hover {
    background-image: url("../image/arrow-next-2.svg") !important;
    border-color: transparent !important;
}

.dataTables_wrapper .dataTables_paginate span a {
    border: 1px solid #E2E2E2 !important;
    margin: 0 5px;
    font-weight: 500;
    color: #094e5d !important;
    border-radius: 5px !important;
}

.dataTables_wrapper .dataTables_paginate span .paginate_button.current,
.dataTables_wrapper .dataTables_paginate span .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover {
    background: transparent !important;
    border-color: #094e5d !important;
    color: #094e5d !important;
    border-radius: 5px !important;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: transparent !important;
    max-height: 381px !important;
}

.edit-btn,
.delete-btn,
.view-btn,
.tool a,
.student-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    outline: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    line-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #eef1f3 !important;
}

.edit-btn img,
.delete-btn img,
.view-btn img,
.tool a img,
.student-action-btn img {
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
    filter: none;
    opacity: 1;
}

.edit-btn:hover,
.delete-btn:hover,
.view-btn:hover,
.tool a:hover,
.student-action-btn:hover {
    background: #e2e6ea !important;
    opacity: 1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transform: none;
}

.last-input-margin {
    margin-bottom: 10px;
}


/* Profile page css start */


.tabel-res form input {
    height: auto;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group>label:not(.error):not(.field-error),
.modal .form-group>label:not(.error):not(.field-error),
.profile-settings-card .form-group>label:not(.error):not(.field-error),
form>.form-group>label:not(.error):not(.field-error) {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #000;
}

.form-group .field-error,
.form-group label.error,
label.error,
.field-error,
.invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 500;
    color: #ff370f;
    line-height: 1.4;
}

.form-group .invalid-feedback strong {
    font-weight: 500;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid,
form input.is-invalid,
form select.is-invalid,
form textarea.is-invalid,
.modal input.is-invalid,
.modal select.is-invalid,
.modal textarea.is-invalid {
    border-color: #ff370f !important;
    background-color: rgb(255 55 15 / 5%) !important;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="image"]):not(.login-btn):not(.add-btn):not(.delete-data-btn):not(.filter-btn),
.form-group select,
.form-group textarea,
.profile-settings-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not(.login-btn):not(.add-btn):not(.delete-data-btn):not(.filter-btn),
.profile-settings-card select,
.profile-settings-card textarea,
form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="image"]):not(.login-btn):not(.add-btn):not(.delete-data-btn):not(.filter-btn),
form select,
form textarea,
.modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not(.login-btn):not(.add-btn):not(.delete-data-btn),
.modal select,
.modal textarea,
.form-control:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]) {
    width: 100%;
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid #094e5d38;
    font-size: 14px;
    height: 44px;
    background: #f5f5f5;
    color: #000;
    transition: 300ms all;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

.form-group textarea,
form textarea,
.modal textarea,
textarea.form-control {
    min-height: 100px;
    height: auto;
    resize: vertical;
}

.form-group select,
form select,
.modal select,
select.form-control {
    cursor: pointer;
    appearance: auto;
    padding-right: 28px;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):focus,
.form-group select:focus,
.form-group textarea:focus,
.profile-settings-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):focus,
.profile-settings-card select:focus,
.profile-settings-card textarea:focus,
form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):focus,
form select:focus,
form textarea:focus,
.modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):focus,
.modal select:focus,
.modal textarea:focus,
.form-control:focus {
    background-color: rgb(9 78 93 / 10%);
    color: #094e5d;
    border-color: #094e5d;
    box-shadow: none;
}


/* Profile page css end */

a.settings-tab-btn {
    text-decoration: none;
    display: inline-block;
}

.role-mgmt-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.role-mgmt-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.role-mgmt-toolbar-actions {
    margin-left: auto;
}

.role-mgmt-toolbar-actions .page-btn {
    margin-left: 0;
}

.role-mgmt-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(9, 78, 93, 0.18);
    background: #fff;
    color: #094e5d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.role-mgmt-tab-btn:hover {
    color: #094e5d;
    background: rgba(9, 78, 93, 0.06);
    text-decoration: none;
}

.role-mgmt-tab-btn.active {
    background: #094e5d;
    color: #fff;
    border-color: #094e5d;
}

.role-mgmt-tab-btn:focus-visible {
    outline: 2px solid rgba(9, 78, 93, 0.35);
    outline-offset: 2px;
}

.role-permissions-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    margin-top: 0;
}

.role-permissions-sidebar__head,
.role-permissions-main__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.role-permissions-sidebar__head {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(9, 78, 93, 0.1);
}

.role-permissions-sidebar__title,
.role-permissions-main__head h4 {
    margin: 0;
    color: #094e5d;
}

.role-permissions-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.role-permissions-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 12px;
    border: none;
    border-radius: 7px;
    background: #094e5d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(9, 78, 93, 0.22);
    transition: background-color .15s ease, box-shadow .15s ease;
}

.role-permissions-add-btn:hover {
    background: #073d49;
    color: #fff;
    box-shadow: 0 2px 6px rgba(9, 78, 93, 0.28);
}

.role-permissions-add-btn:focus-visible {
    outline: 2px solid rgba(9, 78, 93, 0.35);
    outline-offset: 2px;
}

.role-permissions-add-btn__icon {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.role-permissions-role-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.role-permissions-role-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #094e5d;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.role-permissions-role-item a:hover {
    background: #f4f8fa;
    border-color: rgba(9, 78, 93, 0.12);
}

.role-permissions-role-item.is-active a {
    background: #e6f2f5;
    border-color: rgba(9, 78, 93, 0.28);
    box-shadow: inset 3px 0 0 #094e5d;
    font-weight: 600;
}

.role-permissions-role-item__badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(9, 78, 93, 0.08);
}

.role-permissions-main__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.role-permissions-module {
    border: 1px solid rgba(9, 78, 93, 0.12);
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
}

.role-permissions-module__summary {
    cursor: pointer;
    padding: 12px 14px;
    list-style: none;
}

.role-permissions-module__summary::-webkit-details-marker {
    display: none;
}

.role-permissions-module:not([open]) .role-permissions-module__body {
    display: none;
}

.role-permissions-module__body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 14px;
    padding: 0 14px 14px;
}

.role-permissions-check,
.role-permissions-access-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin: 0;
    cursor: pointer;
    user-select: none;
    min-height: 24px;
}

.role-permissions-check input[type="checkbox"],
.role-permissions-access-toggle input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    border: 2px solid #b8cdd6;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    position: relative;
    vertical-align: middle;
}

.role-permissions-check input[type="checkbox"]:checked,
.role-permissions-access-toggle input[type="checkbox"]:checked {
    background-color: #094e5d;
    border-color: #094e5d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.25 8.25 6.5 11.5 12.75 4.75' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
}

.role-permissions-check input[type="checkbox"]:checked::after,
.role-permissions-access-toggle input[type="checkbox"]:checked::after {
    content: none;
}

.role-permissions-check input[type="checkbox"]:focus-visible,
.role-permissions-access-toggle input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(9, 78, 93, 0.35);
    outline-offset: 2px;
}

.role-permissions-check input[type="checkbox"]:disabled,
.role-permissions-access-toggle input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: .45;
    background: #eef3f6;
}

.role-permissions-access-toggle {
    font-weight: 600;
    color: #094e5d;
}

.role-permissions-admin-note {
    padding: 16px;
    border-radius: 10px;
    background: #f4f8fa;
    color: #094e5d;
}

.role-permissions-delete-form {
    margin: 0;
}

@media (max-width: 991px) {
    .role-permissions-layout {
        grid-template-columns: 1fr;
    }
}

.profile-settings-page .page-inr {
    padding: 20px;
}

.settings-tabs-bar {
    background: #f4f8fa;
    margin-bottom: 0;
}

.settings-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    border-bottom: 1px solid rgba(9, 78, 93, 0.12);
}

.settings-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #5b7a86;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.settings-tab-btn:hover {
    color: #094e5d;
    background: rgba(255, 255, 255, 0.65);
}

.settings-tab-btn.active {
    color: #094e5d;
    background: #fff;
    border-bottom-color: #094e5d;
}

.settings-tab-btn:focus-visible {
    outline: 2px solid rgba(9, 78, 93, 0.35);
    outline-offset: -2px;
}

.settings-tab-pane {
    display: none;
}

.settings-tab-pane.active {
    display: block;
    padding-top: 20px;
}

.profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.profile-settings-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
}

.profile-settings-head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.profile-settings-head h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #094e5d;
}

.profile-settings-head p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.profile-settings-card .form-group {
    margin-bottom: 16px;
}

.profile-settings-card .form-group input.is-invalid,
.profile-settings-card .form-group select.is-invalid,
.profile-settings-card .form-group textarea.is-invalid {
    border-color: #ff370f !important;
    background-color: rgb(255 55 15 / 5%) !important;
}

.profile-settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 8px;
}

.profile-settings-actions .add-btn {
    min-width: 170px;
}

.profile-settings-card--full {
    grid-column: 1 / -1;
}

.profile-settings-subtitle {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #234;
}

.academic-config-checklist {
    display: grid;
    gap: 10px;
}

.academic-config-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 500;
    color: #334;
    cursor: pointer;
    user-select: none;
}

.academic-config-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    border: 2px solid #b8cdd6;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    position: relative;
    vertical-align: middle;
}

.academic-config-check input[type="checkbox"]:checked {
    background-color: #094e5d;
    border-color: #094e5d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.25 8.25 6.5 11.5 12.75 4.75' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
}

.academic-config-check input[type="checkbox"]:checked::after {
    content: none;
}

.academic-config-check input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(9, 78, 93, 0.35);
    outline-offset: 2px;
}

.academic-config-check input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: .45;
    background: #eef3f6;
}

.academic-config-add-row {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8edf2;
}

.academic-config-add-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #234;
}

.academic-config-add-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.academic-config-add-inline input {
    flex: 1 1 auto;
}

.academic-config-add-inline .add-btn {
    min-width: 90px;
    white-space: nowrap;
}

.academic-board-matrix {
    display: grid;
    gap: 14px;
}

.academic-board-block {
    border: 1px solid #d4e4ec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.academic-board-block:not(.is-disabled) {
    border-color: rgba(9, 78, 93, 0.28);
    box-shadow: 0 2px 10px rgba(9, 78, 93, 0.06);
}

.academic-board-block.is-disabled {
    opacity: .78;
    background: #f7fafb;
}

.academic-board-block__header {
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f7f9 0%, #fff 100%);
    border-bottom: 1px solid #e8f0f4;
}

.academic-board-block.is-disabled .academic-board-block__header {
    background: #f3f6f8;
    border-bottom-color: transparent;
}

.academic-board-block__title {
    margin: 0;
    font-weight: 700;
    color: #094e5d;
    font-size: 15px;
}

.academic-board-block__title.role-permissions-check {
    gap: 10px;
}

.academic-board-block__name small {
    font-weight: 500;
    color: #6b8a94;
}

.academic-board-block__mediums {
    padding: 14px 16px 16px;
    background: #fafcfd;
}

.academic-board-block.is-disabled .academic-board-block__mediums {
    background: #f5f8fa;
}

.academic-board-block__mediums-label {
    display: block;
    margin-bottom: 10px;
    padding-left: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #6b8a94;
}

.academic-board-block__mediums-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 4px;
}

.academic-board-block__mediums .student-form-field-config__list {
    padding-left: 0;
}

.student-form-field-config__item.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.academic-board-block.is-disabled .student-form-field-config__item:not(.is-disabled) {
    opacity: .55;
}

.academic-board-medium-check {
    padding: 9px 14px;
    border: 1px solid #dce8f0;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.academic-board-medium-check:hover:not(.is-disabled) {
    border-color: rgba(9, 78, 93, 0.35);
}

.academic-board-medium-check:has(input:checked) {
    border-color: #094e5d;
    background: #f0f8fa;
    box-shadow: 0 0 0 1px rgba(9, 78, 93, 0.08);
}

.academic-board-medium-check.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.academic-board-block.is-disabled .academic-board-medium-check:not(.is-disabled) {
    opacity: .55;
}

.class-mgmt-tabs {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 18px;
    padding: 4px;
    background: #f0f6f8;
    border-radius: 12px;
    border: 1px solid rgba(9, 78, 93, 0.12);
}

.class-mgmt-tab {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5b7a86;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}

.class-mgmt-tab:hover {
    color: #094e5d;
}

.class-mgmt-tab.is-active {
    background: #094e5d;
    color: #fff;
}

.class-mgmt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.class-mgmt-toolbar__left,
.class-mgmt-toolbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.class-mgmt-toolbar__right {
    margin-left: auto;
}

.class-mgmt-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 8px 24px;
    border-radius: 8px;
    border: 2px solid #094e5d;
    background: #fff;
    color: #094e5d;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none !important;
    text-transform: capitalize;
    transition: 300ms all;
}

.class-mgmt-outline-btn:hover {
    background: #094e5d;
    color: #fff;
}

.staff-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.staff-page-toolbar .staff-page-toolbar__btn {
    min-width: auto;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.staff-page-toolbar .staff-page-toolbar__add {
    min-width: auto;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.class-mgmt-filters {
    margin-bottom: 18px;
}

.class-mgmt-filters .student-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.class-mapping-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 8px;
}

.class-mapping-pane {
    min-height: 200px;
    border: 1px solid rgba(9, 78, 93, 0.15);
    border-radius: 12px;
    background: #f8fbfd;
    overflow: hidden;
}

.class-mapping-pane--selected {
    border-color: rgba(9, 78, 93, 0.35);
}

.class-mapping-pane--selected .class-mapping-pane__head {
    background: #094e5d;
    color: #fff;
}

.class-mapping-pane--unselected .class-mapping-pane__head {
    background: #e8f1f4;
    color: #094e5d;
}

.class-mapping-pane__head {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid rgba(9, 78, 93, 0.12);
}

.class-mapping-list {
    list-style: none;
    margin: 0;
    padding: 12px 14px 14px;
    max-height: 420px;
    overflow-y: auto;
}

.class-mapping-list.academic-board-block__mediums-list {
    padding: 12px 14px 14px;
}

.class-mapping-item {
    list-style: none;
    margin: 0;
    font-weight: 500;
    color: #334;
    cursor: pointer;
    user-select: none;
}

.class-mapping-pane--selected .class-mapping-item {
    border-color: #094e5d;
    background: #f0f8fa;
    box-shadow: 0 0 0 1px rgba(9, 78, 93, 0.08);
}

.class-mapping-empty {
    margin: 0;
    padding: 16px;
    text-align: center;
    color: #7a96a1;
    font-size: 14px;
}

.class-mapping-empty.is-hidden {
    display: none;
}

.class-mapping-grid {
    padding: 8px 0 16px;
}

.subject-medium-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    background: #f4f8fa;
    color: #094e5d;
    border: 1px solid rgba(9, 78, 93, 0.18);
}

.subject-medium-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.subject-medium-chip--both {
    background: #e6f2f5;
    color: #094e5d;
    border: 1px solid rgba(9, 78, 93, 0.25);
}

.subject-medium-chip:not(.subject-medium-chip--both) {
    background: #f4f8fa;
    color: #094e5d;
    border: 1px solid rgba(9, 78, 93, 0.18);
}

.subject-page-head {
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.subject-page-toolbar {
    margin-bottom: 0;
}

.subject-page-head .class-mgmt-filters {
    margin-top: 14px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .class-mapping-dual {
        grid-template-columns: 1fr;
    }

    .class-mgmt-toolbar__right {
        width: 100%;
        justify-content: flex-end;
    }
}

.branding-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.branding-upload-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #094e5d;
}

.branding-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px dashed #cfd8dc;
    border-radius: 8px;
    background: #f8fbfd;
}

.branding-preview img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.branding-preview--watermark img {
    max-height: 80px;
    opacity: 0.85;
}

.branding-preview--logo img {
    max-height: 70px;
}

.branding-upload-item input[type="file"] {
    width: 100%;
    font-size: 13px;
}

@media (max-width: 991px) {
    .profile-settings-grid {
        grid-template-columns: 1fr;
    }

    .branding-upload-grid {
        grid-template-columns: 1fr;
    }
}

.btn-arrow-show,
.btn-arrow-hide {
    width: 7px;
    vertical-align: initial;
}

.add-btn:hover .btn-arrow-show,
.btn-arrow-hide {
    display: none;
}

.add-btn:hover .btn-arrow-hide {
    display: inherit;
}


/* Login page css start */

.login-box {
    width: 100%;
    max-width: 550px;
    margin: auto;
    padding: 0 15px;
}

.logo-box {
    width: 200px;
    margin: 0 auto 50px auto;
    position: relative;
    z-index: 9;
}

.copyright-box {
    position: relative;
    z-index: 9;
    color: rgb(255 255 255 / 60%);
}

.copyright-box p a {
    color: rgb(255 255 255 / 60%);
}

.copyright-box p a:hover {
    color: #fff;
}

.login-bg {
    max-width: 500px;
    min-width: 460px;
    width: 100%;
    position: relative;
    z-index: 9;
}

.login-card {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgb(10 37 64 / 10%);
    padding: 42px 36px 30px;
}

.login-heading {
    font-size: 40px;
    line-height: 45px;
    text-align: center;
    margin-bottom: 10px;
}

.login-btn {
    width: 100%;
    background: #094e5d;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: capitalize;
    transition: all 0.3s;
    margin-top: 20px;
    margin-bottom: 15px;
    height: 52px;
    border: 0;
    border-radius: 8px;
}

.login-btn:hover {
    opacity: 0.9;
    opacity: 1;
    background: #0b6072;
    transform: translateY(-1px);
}

.text-center p a {
    color: #000000;
    display: contents;
    font-weight: 500;
    transition: all 0.3s;
}

.text-center p a:hover {
    color: #094e5d;
}

.dataTables_scrollBody tr:first-child td {
    border-top: 0;
}

.dataTables_scrollBody thead {
    display: none;
}

.modal-backdrop {
    background-color: rgb(0 0 0 / 50%) !important;
}


/* Login page css end */

.page-inr {
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    margin: 15px 25px 20px;
}

.tabel-head {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 0 10px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.tabel-head h4 {
    font-weight: 500;
    font-size: 18px;
}

.tabel-head-right .page-btn {
    margin-left: 20px;
}

.tabel-head .form-group p {
    margin: 0;
}

.btn-data {
    display: inline-block;
    padding: 5px 10px;
}

.tabel-head-right {
    display: flex;
    align-items: center;
}

.tabel-head .form-group {
    margin-bottom: 0;
}

.student-list-filters {
    flex: 1 1 auto;
    min-width: 0;
}

.student-filter-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(9, 78, 93, 0.12);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.student-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.student-filter-item label {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.student-list-filters .student-filter-select,
.student-list-filters select.student-filter-select {
    display: block;
    width: 180px;
    max-width: 100%;
    min-width: 150px;
    height: 40px;
    margin: 0;
    padding: 8px 36px 8px 12px;
    border: 1px solid rgba(9, 78, 93, 0.22);
    border-radius: 10px;
    background-color: #f8fafc;
    color: #094e5d;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.student-list-filters .student-filter-select:hover,
.student-list-filters select.student-filter-select:hover {
    background-color: #fff;
    border-color: rgba(9, 78, 93, 0.45);
}

.student-list-filters .student-filter-select:focus,
.student-list-filters select.student-filter-select:focus {
    background-color: #fff;
    border-color: #094e5d;
    box-shadow: 0 0 0 3px rgba(9, 78, 93, 0.12);
}

@media (max-width: 575px) {
    .student-filter-bar {
        display: flex;
        width: 100%;
    }

    .student-filter-item {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .student-list-filters .student-filter-select,
    .student-list-filters select.student-filter-select {
        width: 100%;
    }
}

.add-student-form .add-btn {
    max-width: 200px;
}

img.student-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}

img.student-img.student-img--placeholder {
    object-fit: contain;
    object-position: center;
    padding: 4px;
    background: #f4f8fa;
}

.student-table-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.student-table-info {
    flex: 1;
    min-width: 0;
}

.student-table-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.student-table-name-row .student-name-link {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    word-break: normal;
    color: #094e5d;
    text-decoration: none;
}

.student-table-name-row .student-name-link:hover {
    text-decoration: underline;
}

.student-bus-badge {
    display: inline-block;
    background: #094e5d;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hostel-standalone-badge {
    display: inline-block;
    margin-left: 6px;
    background: #8a6d3b;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: middle;
}

.hostel-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.hostel-standalone-hint {
    margin: 0 0 16px;
    padding: 10px 12px;
    background: #fff8e8;
    border: 1px solid #f0dfae;
    border-radius: 8px;
    font-size: 13px;
    color: #6b5a2e;
}

.student-hostel-badge {
    display: inline-block;
    background: #6b4c9a;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.app-datatable tr.student-row--promoted input.dt-checkboxes,
.app-datatable tr.student-row--promoted input.dt-checkboxes--promoted {
    accent-color: #d97706;
    cursor: help;
}

.app-datatable tr.student-row--promoted input.dt-checkboxes:disabled {
    opacity: 1;
}

.app-datatable thead th.dt-checkboxes-select-all input.dt-checkboxes:disabled {
    accent-color: #d97706;
    cursor: not-allowed;
    opacity: 0.85;
}

.student-table-avatar {
    display: inline-flex;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    vertical-align: middle;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #094e5d;
    background: #f4f8fa;
    box-shadow: 0 2px 6px rgba(9, 78, 93, 0.08);
    align-items: center;
    justify-content: center;
}

.student-table-avatar--empty {
    border-color: #d8e2e6;
    background: #f4f8fa;
}

.student-table-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.student-table-avatar img.avatar-placeholder-icon {
    object-fit: contain;
    padding: 8px;
    opacity: 0.45;
}

.student-table-name-wrap {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 54px);
    max-width: calc(100% - 54px);
    overflow: hidden;
    box-sizing: border-box;
}

.app-datatable .busstudenttable td.col-name,
.app-datatable .busstudenttable th.col-name {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    white-space: normal;
    vertical-align: middle;
    padding: 12px 10px;
}

.app-datatable table.busstudenttable {
    table-layout: fixed !important;
    width: 100% !important;
    margin: 0 !important;
}

.app-datatable .busstudenttable th.col-select,
.app-datatable .busstudenttable td.col-select {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    padding: 10px 8px;
    box-sizing: border-box;
}

.app-datatable .busstudenttable th.col-scholar,
.app-datatable .busstudenttable td.col-scholar {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    white-space: nowrap;
}

.app-datatable .busstudenttable th.col-class,
.app-datatable .busstudenttable td.col-class {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    white-space: nowrap;
}

.app-datatable .busstudenttable th.col-address,
.app-datatable .busstudenttable td.col-address {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    white-space: normal;
    word-break: break-word;
}

.app-datatable .busstudenttable th.col-fees,
.app-datatable .busstudenttable td.col-fees {
    width: 78px;
    min-width: 78px;
    max-width: 78px;
    white-space: nowrap;
    padding: 10px 6px;
}

.app-datatable .busstudenttable th:nth-child(9),
.app-datatable .busstudenttable td:nth-child(9),
.app-datatable .busstudenttable th:nth-child(10),
.app-datatable .busstudenttable td:nth-child(10) {
    width: 108px;
    min-width: 108px;
    max-width: 108px;
}

.app-datatable .busstudenttable th.col-actions,
.app-datatable .busstudenttable td.col-actions {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: unset;
}

.app-datatable .busstudenttable td.col-actions ul,
.app-datatable .busstudenttable td.col-actions .tool {
    overflow: visible;
}

.app-datatable .busstudenttable .deposit-box,
.app-datatable .busstudenttable .remain-box {
    min-width: 68px;
    display: inline-block;
    white-space: nowrap;
    padding: 4px 8px;
    font-size: 13px;
}

@media print {

    .student-table-avatar,
    .student-table-avatar img {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .app-datatable .studenttable td.col-name .student-table-avatar,
    .app-datatable .busstudenttable td.col-name .student-table-avatar {
        width: 34px;
        height: 34px;
    }

    .app-datatable .studenttable td.col-actions,
    .app-datatable .studenttable th.col-actions,
    .app-datatable .busstudenttable td.col-actions,
    .app-datatable .busstudenttable th.col-actions,
    .app-datatable .studenttable td.col-select,
    .app-datatable .studenttable th.col-select,
    .app-datatable .busstudenttable td.col-select,
    .app-datatable .busstudenttable th.col-select {
        display: none !important;
    }
}

.deposit-box {
    background: rgb(0 136 9 / 10%);
    padding: 5px 12px;
    border: 1px solid #008809;
    border-radius: 8px;
    color: #008809;
}

.remain-box {
    background: rgb(255, 187, 0, 10%);
    padding: 5px 12px;
    border: 1px solid #FFBB00;
    border-radius: 8px;
    color: #FFBB00;
}

#fees-table th {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.tabel-res th,
.tabel-res td {
    min-width: 110px;
    max-width: 110px;
}

.tabel-res td {
    color: #000;
}

.tabel-res .width-30 {
    min-width: 30px;
    max-width: 30px;
}

.tabel-res .width-50 {
    min-width: 50px;
    max-width: 50px;
}

.checkbox-table .width-30 {
    width: 30px !important;
}

.tabel-res .width-160 {
    min-width: 160px;
    max-width: 160px;
}

.table.tabel-res tbody {
    max-height: 400px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 0;
}

.fees-container tr {
    border-bottom: 1px solid #f3f3f3;
}

.fees-container tbody tr:last-child {
    border-bottom: none;
}

#student-table a.active {
    background: #28a745;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
}

.check-from-group input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.check-from-group label {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding-left: 28px;
    min-height: 20px;
    line-height: 1.4;
}

.check-from-group label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #094e5d;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-shadow: none;
    -webkit-appearance: none;
}

.check-from-group input:checked+label:after {
    content: '';
    display: block;
    position: absolute;
    left: 7px;
    top: 50%;
    width: 5px;
    height: 9px;
    border: solid #094e5d;
    border-width: 0 2px 2px 0;
    transform: translateY(-58%) rotate(45deg);
}


/* login css */

.login-page-inr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100vh;
    align-items: center;
    background: #fff;
}

.login-left {
    flex: 0 0 30%;
    text-align: center;
    height: 100%;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-image: url(../../assets/image/login-left-image.jpg);
    background-position: center;
}

.login-left:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(317deg, rgb(9 78 93 / 93%) 40%, rgb(255 55 15 / 40%));
}

.login-right {
    flex: 0 0 70%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #fff;
    justify-content: center;
    position: relative;
}

.c_session img {
    width: 30px;
    object-fit: contain;
    margin-right: 10px;
}

.c_session {
    font-size: 28px;
    font-weight: 500;
    color: #094e5d;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.login-head p {
    padding: 0px 20px;
    color: rgb(25 40 56 / 65%);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    max-width: 390px;
    max-width: 430px;
    margin: auto;
}

.login-head {
    padding-bottom: 30px;
}

.user-name,
.pass-word {
    position: relative;
}

.user-name input,
.pass-word input {
    padding-right: 55px;
    background: #f5f5f5;
    background: #f0f7ff;
    border: 1px solid #dce8f5;
    border-radius: 10px;
    height: 52px;
    transition: all 0.25s ease-in-out;
}

.text-center p a {
    color: #1b3f51;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
}

.text-center p a:hover {
    color: #094e5d;
    text-decoration: underline;
}

.user-name:after {
    content: "";
    position: absolute;
    top: 12px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(../image/username.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.pass-word:not(.password-field)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(../image/password.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.sidebar-wrapper .side-menu {
    overflow: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: calc(100vh - 230px);
}

.sidebar-wrapper {
    position: relative;
    z-index: 999999;
    background: #094e5d;
}

.main-menus {
    background: #094e5d;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar-footer {
    margin-top: auto;
    padding: 16px 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.sidebar-footer p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
    text-transform: none;
}

.sidebar-footer p a {
    color: rgba(255, 255, 255, 0.68);
}

.sidebar-footer p a:hover {
    color: #fff;
}

.sidebar-footer__heart {
    color: #ff6b6b;
}

.dashboard-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    margin-top: 0;
    padding: 15px;
}

.dash-wrap-left {
    flex: 0 0 100%;
    width: 100%;
}

.dash-wrap-right {
    flex: 0 0 30%;
    width: 30%;
    margin: 0;
}


.dash-box-wraper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 0;
    width: 100%;
}

.dash-box {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    padding: 30px 20px;
    position: relative;
    text-align: center;
}

.dash-box-summary .dash-summary-list {
    position: relative;
    z-index: 1;
    text-align: left;
    margin-top: 10px;
}

.dash-box-summary .dash-summary-list p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin: 6px 0;
    gap: 10px;
}

.dash-box-summary .dash-summary-list p span {
    opacity: 0.85;
}

.dash-box-summary .dash-summary-list b {
    font-size: 15px;
    white-space: nowrap;
}

.dash-box-first {
    background: #094e5d;
    color: #fff;
}

.dash-box-second {
    background: #ff370f61;
}

.dash-box-third {
    background: #A2D39D;
}

.dash-box p {
    font-size: 18px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0;
}

.dash-box h2 {
    position: relative;
    z-index: 1;
    font-size: 34px;
}

/* .dash-wrap-left-inr {
    margin-right: 15px;
} */

.recent-head {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
}

.app-datatable,
.dashboard-fees-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 8px;
}

.page-inr .app-datatable {
    margin-top: 0;
    border-radius: 0;
    background: transparent;
}

.page-inr .app-datatable .dataTables_wrapper {
    padding: 0;
}

.dashboard-fees-table {
    margin-top: 15px;
}

.app-datatable .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: transparent;
}

.app-datatable .custom-table th,
.app-datatable .custom-table td {
    padding: 10px 12px;
    font-size: 14px;
}

.app-datatable .dataTables_wrapper,
.dashboard-fees-table .dataTables_wrapper {
    width: 100%;
    padding: 0 4px 8px;
}

.app-datatable table.dataTable {
    width: 100% !important;
    table-layout: auto;
    margin: 0 !important;
    border-collapse: collapse;
}

.dashboard-fees-table #fees-table,
.dashboard-fees-table table.dataTable {
    width: 100% !important;
    table-layout: fixed;
    margin: 0 !important;
    border-collapse: collapse;
}

.app-datatable .dataTables_scrollHeadInner table.dataTable,
.app-datatable .dataTables_scrollBody table.dataTable {
    table-layout: auto !important;
}

.app-datatable table.studenttable {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

.app-datatable table.studenttable th.col-hidden,
.app-datatable table.studenttable td.col-hidden,
.app-datatable table.hostelstudenttable th.col-hidden,
.app-datatable table.hostelstudenttable td.col-hidden {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden;
}

.app-datatable.is-datatable-loading {
    position: relative;
    min-height: 360px;
    background: #fff;
    border-radius: 8px;
}

.app-datatable.is-datatable-loading>table,
.app-datatable.is-datatable-loading .dataTables_wrapper {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
    position: absolute;
    inset: 0;
    height: 1px;
    overflow: hidden;
}

.app-datatable.is-datatable-loading .datatable-loading-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: absolute;
    inset: 0;
    padding: 24px 16px;
    z-index: 2;
}

.datatable-loading-panel {
    display: none;
}

.datatable-loading-panel__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #094e5d;
    font-size: 14px;
    font-weight: 600;
}

.datatable-loading-panel__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #d7e6ea;
    border-top-color: #094e5d;
    border-radius: 50%;
    animation: datatable-spin 0.8s linear infinite;
    flex-shrink: 0;
}

.datatable-loading-panel__skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 720px;
}

.datatable-loading-panel__row {
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(90deg, #eef2f4 0%, #f8fafb 50%, #eef2f4 100%);
    background-size: 200% 100%;
    animation: datatable-shimmer 1.3s ease-in-out infinite;
}

.datatable-loading-panel__row:nth-child(2) {
    animation-delay: 0.12s;
}

.datatable-loading-panel__row:nth-child(3) {
    animation-delay: 0.24s;
}

.datatable-loading-panel__row:nth-child(4) {
    animation-delay: 0.36s;
}

.datatable-loading-panel__row:nth-child(5) {
    animation-delay: 0.48s;
}

@keyframes datatable-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes datatable-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.app-datatable .studenttable th.col-type,
.app-datatable .studenttable td.col-type,
.app-datatable .studenttable th.col-house,
.app-datatable .studenttable td.col-house,
.app-datatable .studenttable th.col-photo-no,
.app-datatable .studenttable td.col-photo-no,
.app-datatable .studenttable th.col-cid,
.app-datatable .studenttable td.col-cid,
.app-datatable .studenttable th.col-fid,
.app-datatable .studenttable td.col-fid,
.app-datatable .studenttable th.col-roll,
.app-datatable .studenttable td.col-roll,
.app-datatable .studenttable th.col-pen,
.app-datatable .studenttable td.col-pen,
.app-datatable .studenttable th.col-apaar,
.app-datatable .studenttable td.col-apaar,
.app-datatable .studenttable th.col-category,
.app-datatable .studenttable td.col-category,
.app-datatable .studenttable th.col-caste,
.app-datatable .studenttable td.col-caste,
.app-datatable .studenttable th.col-profile-id,
.app-datatable .studenttable td.col-profile-id,
.app-datatable .studenttable th.col-profile-pass,
.app-datatable .studenttable td.col-profile-pass {
    white-space: nowrap;
    font-size: 13px;
}

.app-datatable table.studenttable col.col-select {
    width: 46px;
}

.app-datatable table.studenttable col.col-name {
    width: 260px;
}

.app-datatable table.studenttable col.col-hidden {
    width: 0 !important;
}

.app-datatable table.studenttable col.col-class {
    width: 80px;
}

.app-datatable table.studenttable col.col-id,
.app-datatable table.studenttable col.col-scholar {
    width: 95px;
}

.app-datatable table.studenttable col.col-address {
    width: 130px;
}

.app-datatable table.studenttable col.col-aadhar,
.app-datatable table.studenttable col.col-mobile {
    width: 115px;
}

.app-datatable table.studenttable col.col-actions {
    width: 150px;
}

.app-datatable #dvData {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.app-datatable .dataTables_scrollHeadInner {
    width: 100% !important;
}

.app-datatable table.dataTable thead th,
.app-datatable table.dataTable tbody td,
.dashboard-fees-table #fees-table thead th,
.dashboard-fees-table #fees-table tbody td {
    vertical-align: middle;
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f5;
}

.app-datatable table.dataTable thead th,
.dashboard-fees-table #fees-table thead th {
    font-weight: 600;
    background: #f8fafb !important;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    border: none;
    border-bottom: 1px solid #edf1f5 !important;
    text-transform: none;
    color: #000;
}

.app-datatable .assignrole-table thead th {
    padding: 12px;
    font-size: 14px;
    line-height: 1.3;
}

.app-datatable .assignrole-table thead th.col-index {
    text-align: center;
}

.app-datatable table.dataTable tbody td,
.dashboard-fees-table #fees-table tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #000;
}

.app-datatable .tabel-res thead {
    background: transparent;
}

.app-datatable .tabel-res th,
.app-datatable .tabel-res td {
    min-width: auto !important;
    max-width: none !important;
    border: none;
}

.app-datatable table.dataTable thead th.dt-checkboxes-select-all,
.app-datatable table.dataTable tbody td.dt-checkboxes-cell,
.app-datatable .studenttable th.col-select,
.app-datatable .studenttable td.col-select,
.app-datatable .hostelstudenttable th.col-select,
.app-datatable .hostelstudenttable td.col-select {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    padding: 10px 8px;
    text-align: center;
    box-sizing: border-box;
}

.app-datatable .dt-checkboxes,
.app-datatable input[type=checkbox].dt-checkboxes,
.app-datatable thead th.dt-checkboxes-select-all input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0;
    accent-color: #094e5d;
    cursor: pointer;
    vertical-align: middle;
}

.app-datatable table.dataTable tbody tr:hover td {
    background: #fafcfd;
}

.app-datatable .table.tabel-res tbody {
    max-height: none;
}

.app-datatable .studenttable th.col-name,
.app-datatable .studenttable td.col-name {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    word-break: break-word;
    padding: 12px 10px;
}

.app-datatable .studenttable td.col-name .user-dtls {
    display: flex;
    flex-direction: column;
    gap: 3px;
    white-space: normal;
}

.app-datatable .studenttable td.col-name .user-dtls span {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.35;
    color: #5a6a72;
    margin-right: 0;
}

.app-datatable .studenttable td.col-name .user-dtls span img {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    flex-shrink: 0;
    opacity: 0.85;
}

.app-datatable .studenttable th.col-class,
.app-datatable .studenttable td.col-class {
    width: 80px;
    min-width: 70px;
    text-align: center;
}

.app-datatable .studenttable th.col-scholar,
.app-datatable .studenttable td.col-scholar {
    width: 95px;
    min-width: 85px;
    text-align: center;
    white-space: nowrap;
}

.app-datatable .studenttable th.col-roll,
.app-datatable .studenttable td.col-roll {
    width: 75px;
    min-width: 70px;
    text-align: center;
    white-space: nowrap;
}

.app-datatable .studenttable th.col-mobile,
.app-datatable .studenttable td.col-mobile {
    width: 110px;
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
}

.app-datatable .studenttable th.col-address,
.app-datatable .studenttable td.col-address {
    width: 160px;
    min-width: 140px;
    max-width: 200px;
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.35;
    font-size: 13px;
}

.app-datatable .studenttable th.col-aadhar,
.app-datatable .studenttable td.col-aadhar {
    min-width: 110px;
}

.app-datatable .studenttable th.col-actions,
.app-datatable .studenttable td.col-actions {
    width: 200px;
    min-width: 200px;
    max-width: 220px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: unset;
    padding-left: 8px;
    padding-right: 8px;
}

.app-datatable .assignrole-table th.col-actions,
.app-datatable .assignrole-table td.col-actions {
    min-width: 140px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: unset;
}

.app-datatable .studenttable .student-table-actions {
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.student-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    outline: none;
    text-decoration: none;
}

.app-datatable .studenttable .tool a.student-action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
}

.tool-info .tooltips {
    background: #094e5d;
}

.tool-info .tooltips:after {
    background: #094e5d;
}

.app-datatable .studenttable td.col-actions .tool {
    padding: 0 1px;
}

.app-datatable .studenttable tbody tr:first-child td.col-actions .tooltips {
    bottom: auto;
    top: calc(100% + 8px);
}

.app-datatable .studenttable tbody tr:first-child td.col-actions .tooltips:after {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: -4px;
}

.app-datatable .assignrole-table th.col-index,
.app-datatable .assignrole-table td.col-index {
    width: 70px;
    min-width: 70px;
    text-align: center;
}

.app-datatable .assignrole-table th.col-name,
.app-datatable .assignrole-table td.col-name {
    min-width: 200px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.app-datatable .assignrole-table td.col-actions ul,
.app-datatable .assignrole-table td.col-actions .tool {
    overflow: visible;
}

.app-datatable .app-list-table th.col-index,
.app-datatable .app-list-table td.col-index,
.app-datatable .feesstructure-table th.col-index,
.app-datatable .feesstructure-table td.col-index,
.app-datatable .busfees-table th.col-index,
.app-datatable .busfees-table td.col-index {
    width: 70px;
    min-width: 70px;
    text-align: center;
}

.app-datatable .app-list-table th.col-name,
.app-datatable .app-list-table td.col-name,
.app-datatable .feesstructure-table th.col-name,
.app-datatable .feesstructure-table td.col-name,
.app-datatable .busfees-table th.col-name,
.app-datatable .busfees-table td.col-name {
    min-width: 200px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.app-datatable .app-list-table th.col-fees,
.app-datatable .app-list-table td.col-fees,
.app-datatable .feesstructure-table th.col-fees,
.app-datatable .feesstructure-table td.col-fees,
.app-datatable .busfees-table th.col-fees,
.app-datatable .busfees-table td.col-fees {
    min-width: 100px;
    text-align: center;
}

.app-datatable .app-list-table th.col-actions,
.app-datatable .app-list-table td.col-actions,
.app-datatable .feesstructure-table th.col-actions,
.app-datatable .feesstructure-table td.col-actions,
.app-datatable .busfees-table th.col-actions,
.app-datatable .busfees-table td.col-actions {
    min-width: 120px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: unset;
}

.app-datatable .app-list-table td.col-actions ul,
.app-datatable .app-list-table td.col-actions .tool,
.app-datatable .feesstructure-table td.col-actions ul,
.app-datatable .feesstructure-table td.col-actions .tool,
.app-datatable .busfees-table td.col-actions ul,
.app-datatable .busfees-table td.col-actions .tool {
    overflow: visible;
}

.app-datatable table.busfees-table {
    table-layout: fixed !important;
    width: 100% !important;
}

.app-datatable .busfees-table th.col-distance,
.app-datatable .busfees-table td.col-distance {
    width: 110px;
    min-width: 110px;
    text-align: center;
}

.app-datatable .busfees-table td.col-actions .tooltips {
    z-index: 1200;
}

.app-datatable .busfees-table tbody tr:first-child td.col-actions .tooltips {
    bottom: auto;
    top: calc(100% + 8px);
}

.app-datatable .busfees-table tbody tr:first-child td.col-actions .tooltips:after {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: -4px;
}

.app-datatable .busfees-table td.col-fees.text-muted {
    color: #999;
    font-style: italic;
}

.app-datatable .studenttable td.col-actions ul,
.app-datatable .studenttable td.col-actions .tool {
    overflow: visible;
}

.app-datatable .dataTables_scrollHead table.dataTable thead th {
    background: #f8fafb;
}

.dashboard-fees-table #fees-table .col-index {
    width: 5%;
    text-align: center;
}

.dashboard-fees-table #fees-table .col-name {
    width: 20%;
}

.dashboard-fees-table #fees-table .col-class {
    width: 10%;
    text-align: center;
}

.dashboard-fees-table #fees-table .col-date {
    width: 11%;
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
}

.dashboard-fees-table #fees-table .col-fees {
    width: 14%;
    min-width: 115px;
    text-align: center;
}

.dashboard-fees-table .deposit-box,
.dashboard-fees-table .remain-box {
    min-width: 68px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.fee-left h6,
.fee-right h6 {
    line-height: 40px;
    margin: 0;
}

.recent-fees-sec {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.recent-fees-sec .date-select {
    width: 100%;
    margin-bottom: 10px;
}

.fees-tables td {
    font-size: 14px;
}

.custom-table th {
    padding: 10px 10px;
}

.custom-table td {
    padding: 5px 10px;
    font-size: 14px;
}

.user-dtls span {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.user-dtls span:first-child {
    margin-right: 10px;
}

.user-dtls span img {
    margin-right: 5px;
    max-width: 15px;
}

.mob-show {
    display: none;
}

.tool {
    position: relative;
    padding: 0 2px;
    overflow: visible;
}

.tooltips {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    background: #24a249;
    color: #fff;
    padding: 4px 10px;
    z-index: 1100;
    font-size: 11px;
    line-height: 1.3;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    transform: translateX(-50%);
}

.tool-preview .tooltips,
.tool-view .tooltips {
    background: #f9c800;
    color: #1a2b3c;
}

.tool-result .tooltips,
.tool-edit .tooltips {
    background: #24a249;
}

.tool-slc .tooltips {
    background: #094e5d;
}

.tool-delete .tooltips {
    background: #ff0000;
}

.tool:hover .tooltips,
.tool.tooltip-active .tooltips {
    opacity: 1;
    visibility: visible;
}

.table-actions {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

a,
button:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"],
.add-btn,
.filter-btn,
.login-btn,
.view-btn,
.edit-btn,
.delete-btn,
select,
label.picture-grp {
    cursor: pointer;
}

button:disabled,
input:disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    cursor: default;
}

table.dataTable tbody td.col-actions,
table.dataTable tbody td.action-cell {
    overflow: visible !important;
    text-overflow: unset;
    white-space: nowrap;
}

table.dataTable tbody td.col-actions .table-actions,
table.dataTable tbody td.col-actions .tool,
.page-table tbody td .table-actions,
.page-table tbody td .tool {
    overflow: visible;
}

.app-datatable table.dataTable tbody td.col-actions,
.app-datatable table.dataTable tbody td.action-cell,
.page-table table tbody td.col-actions {
    overflow: visible !important;
    text-overflow: unset;
}

.page-table table tbody td.col-actions .table-actions,
.page-table table tbody td.col-actions .tool {
    overflow: visible;
}

.tooltips:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: #24a249;
    transform: rotate(45deg);
    margin-top: -4px;
}

.tool-preview .tooltips:after,
.tool-view .tooltips:after {
    background: #f9c800;
}

.tool-result .tooltips:after,
.tool-edit .tooltips:after {
    background: #24a249;
}

.tool-slc .tooltips:after {
    background: #094e5d;
}

.tool-delete .tooltips:after {
    background: #ff0000;
}

.tabel-head-right .export-form {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.tabel-head-right .tool-import-export,
.tabel-head .export-form .tool-import-export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.tabel-head-right .tool-import-export .btn-data,
.tabel-head .export-form .tool-import-export .btn-data,
.tabel-head-right .tool-import-export a#export,
.tabel-head .export-form .tool-import-export a#export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    padding: 0;
    line-height: 0;
    box-sizing: border-box;
}

.tabel-head-right .tool-import-export .btn-data img,
.tabel-head .export-form .tool-import-export .btn-data img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.tabel-head-right .tool-import-export:hover .tooltips,
.tabel-head .export-form .tool-import-export:hover .tooltips {
    opacity: 1;
    visibility: visible;
}

.tabel-head-right .tool-import-export .tooltips,
.tabel-head .export-form .tool-import-export .tooltips {
    background: #094e5d;
    bottom: calc(100% + 6px);
    z-index: 1200;
}

.tabel-head-right .tool-import-export .tooltips:after,
.tabel-head .export-form .tool-import-export .tooltips:after {
    background: #094e5d;
}


/*Right*/

.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 100%;
    max-width: 560px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal {
    z-index: 9999;
}

.modal.right .modal-content {
    height: 100%;
}

.student-modal-content .modal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: none;
    padding: 12px 20px 0;
    flex-wrap: nowrap;
    gap: 10px;
}

.student-modal-content .modal-header .modal-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-align: left;
}

.student-modal-content .modal-header ul,
.student-modal-content .modal-header .student-modal-tabs {
    display: flex;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #e2e8ec;
    gap: 2px;
}

.student-modal-content .modal-header .student-modal-tabs > li {
    margin: 0;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease;
}

.student-modal-content .modal-header .student-modal-tabs > li.active {
    border-bottom-color: #094e5d;
}

.student-modal-content .modal-header .student-modal-tabs > li > a {
    display: block;
    padding: 14px 18px 11px;
    margin: 0;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    color: rgba(9, 78, 93, 0.48);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.student-modal-content .modal-header .student-modal-tabs > li.active > a {
    color: #094e5d;
    font-weight: 600;
}

.student-modal-content .modal-header .student-modal-tabs > li > a:hover,
.student-modal-content .modal-header .student-modal-tabs > li > a:focus {
    color: #094e5d;
    background: transparent !important;
    border: none !important;
    text-decoration: none;
}

.student-modal-content .modal-header a {
    color: rgba(9, 78, 93, 0.48);
    padding: 14px 18px 11px;
    border: none;
    font-weight: 500;
}

.student-modal-content .modal-header .active a {
    color: #094e5d;
    border: none;
}

.modal.right.fade .modal-dialog.student-form-modal-dialog {
    max-width: 920px;
    width: min(92vw, 920px);
    right: -940px;
}

.modal.right.fade.in .modal-dialog.student-form-modal-dialog {
    right: 0;
}

.student-form-modal-body {
    padding-bottom: 12px;
}

.student-form-sections {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.student-form-section {
    background: #f8fafb;
    border: 1px solid #e8edf0;
    border-radius: 10px;
    padding: 16px 18px 6px;
}

.student-form-section--photo {
    background: #fff;
}

.student-form-section__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #094e5d;
    font-size: 14px;
    font-weight: 600;
    color: #094e5d;
    letter-spacing: 0.02em;
}

.student-form-section .form-group label:not(.theme-radio) {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #5a6a72;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.student-form-section .form-group {
    margin-bottom: 14px;
}

.student-form-section .form-group input,
.student-form-section .form-group select {
    width: 100%;
}

.student-form-section__hint {
    margin: 0 0 12px;
    font-size: 12px;
    color: #6b7c85;
    line-height: 1.45;
    display: block;
}

.student-accommodation-section .student-form-section__hint {
    margin: -4px 0 14px;
}

.student-accommodation-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin: 0 0 14px;
}

.theme-radio-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin: 0 0 12px;
}

.theme-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.theme-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.theme-radio__mark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid #094e5d;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.theme-radio__mark::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: transparent;
    transition: background 0.15s ease;
}

.theme-radio input[type="radio"]:checked + .theme-radio__mark {
    border-color: #094e5d;
    background: #f0f7f8;
}

.theme-radio input[type="radio"]:checked + .theme-radio__mark::after {
    background: #094e5d;
}

.theme-radio input[type="radio"]:focus-visible + .theme-radio__mark {
    outline: 2px solid #094e5d;
    outline-offset: 2px;
}

.theme-radio:hover .theme-radio__mark {
    border-color: #0d6578;
    box-shadow: 0 0 0 3px rgba(9, 78, 93, 0.08);
}

.theme-radio__label {
    font-size: 14px;
    font-weight: 500;
    color: #2d3a40;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: normal;
}

.student-promote-bulk-note {
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #eef6f8;
    border: 1px solid #c5dde3;
    border-radius: 8px;
}

.student-promote-bulk-note p {
    margin: 0;
    font-size: 13px;
    color: #094e5d;
    line-height: 1.45;
}

.student-accommodation-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #2d3a40;
    cursor: pointer;
}

.student-accommodation-option input {
    margin: 0;
}

.student-promote-accommodation {
    margin-bottom: 14px;
}

.student-form-submit {
    text-align: center;
    padding: 20px 0 8px;
    border-top: 1px solid #e8edf0;
    margin-top: 8px;
}

.student-form-submit .add-btn {
    min-width: 180px;
}

.staff-readonly-amount {
    background-color: #f5f7f8;
    cursor: not-allowed;
}

#staffClassMappingModal .student-form-submit {
    border-top: none;
    margin-top: 0;
    padding-top: 10px;
}

#staffClassMappingModal .mapping-row {
    margin-bottom: 4px;
}

#staffClassMappingModal .mapping-row-hidden {
    display: none;
}

#staffClassMappingModal .staff-mapping-add-row-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 5px 12px;
    border: 1px dashed #7a9aa3;
    border-radius: 6px;
    background: #fff;
    color: #094e5d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#staffClassMappingModal .staff-mapping-add-row-btn:hover,
#staffClassMappingModal .staff-mapping-add-row-btn:focus {
    background: #f3f8f9;
    border-color: #094e5d;
    color: #094e5d;
    outline: none;
}

#staffClassMappingModal .mapping-row-remove-wrap {
    margin-bottom: 14px;
}

#staffClassMappingModal .mapping-row-remove-label {
    display: block;
    visibility: hidden;
    height: 18px;
    margin-bottom: 6px;
}

#staffClassMappingModal .mapping-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid #e4b4b4;
    border-radius: 6px;
    background: #fff5f5;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

#staffClassMappingModal .mapping-remove-btn img {
    display: block;
    width: 16px;
    height: 16px;
}

#staffClassMappingModal .mapping-remove-btn:hover,
#staffClassMappingModal .mapping-remove-btn:focus {
    background: #fde8e8;
    border-color: #d9534f;
    outline: none;
}

.staff-report-multiselect {
    position: relative;
    width: 180px;
    max-width: 100%;
}

.staff-report-multiselect__toggle {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 8px 36px 8px 12px;
    border: 1px solid rgba(9, 78, 93, 0.22);
    border-radius: 10px;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23094e5d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: #094e5d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.staff-report-multiselect__toggle:hover {
    background-color: #fff;
    border-color: rgba(9, 78, 93, 0.45);
}

.staff-report-multiselect.is-open .staff-report-multiselect__toggle,
.staff-report-multiselect__toggle:focus {
    background-color: #fff;
    border-color: #094e5d;
    box-shadow: 0 0 0 3px rgba(9, 78, 93, 0.12);
    outline: none;
}

.staff-report-multiselect__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    width: 100%;
    min-width: 240px;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(9, 78, 93, 0.16);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.staff-report-multiselect.is-open .staff-report-multiselect__menu {
    display: block;
}

.staff-report-multiselect__group {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #edf2f7;
}

.staff-report-multiselect__group:first-of-type {
    margin-top: 2px;
    padding-top: 0;
    border-top: 0;
}

.staff-report-multiselect__group-title {
    margin: 0 0 4px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.staff-report-multiselect__option {
    margin: 0 0 2px;
    padding: 7px 8px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.staff-report-multiselect__option:hover {
    background: #f8fafc;
}

.staff-report-multiselect__option--category span {
    font-weight: 600;
    color: #094e5d;
}

.staff-report-multiselect__option span {
    font-size: 13px;
    color: #334155;
}

#staff-report-filter-form.student-filter-bar {
    align-items: flex-end;
}

.staff-report-filter-submit {
    min-width: auto;
    flex: 0 0 auto;
}

.staff-report-filter-submit-label {
    visibility: hidden;
}

.staff-report-designation-inputs {
    display: none;
}

.staff-report-go-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    min-width: 72px;
    height: 40px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #094e5d;
    border-radius: 10px;
    background: #094e5d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.staff-report-go-btn:hover,
.staff-report-go-btn:focus {
    background: #fff;
    color: #094e5d;
    outline: none;
}

.fees-list-filters .staff-report-multiselect__toggle {
    width: 180px;
}

.fees-page-head .tabel-head-right {
    align-self: flex-end;
}

.fee-session-context {
    margin: 0 0 12px;
    font-size: 13px;
    color: #667;
}

.staff-pay-month-note {
    margin: 6px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 12px;
    font-weight: 600;
}

#myaddModal .student-modal-content .modal-body,
#mystudentModal .student-modal-content .modal-body.after-design,
#myaddStaffModal .student-modal-content .modal-body.after-design,
#mystaffModal .student-modal-content .modal-body.after-design,
#staffSalaryPayModal .student-modal-content .modal-body.after-design,
#staffSalarySettingModal .student-modal-content .modal-body.after-design,
#staffClassMappingModal .student-modal-content .modal-body.after-design,
#hostelFeesModal .student-modal-content .modal-body.after-design,
#hostelEditModal .student-modal-content .modal-body.after-design,
#feeDepositModal .student-modal-content .modal-body.after-design,
#feeEditModal .student-modal-content .modal-body.after-design,
#busFeeModal .student-modal-content .modal-body.after-design,
#busDepositModal .student-modal-content .modal-body.after-design,
#busFeeEditModal .student-modal-content .modal-body.after-design,
#incomeAddModal .student-modal-content .modal-body.after-design,
#incomeEditModal .student-modal-content .modal-body.after-design,
#expenseAddModal .student-modal-content .modal-body.after-design,
#expenseEditModal .student-modal-content .modal-body.after-design {
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    padding: 18px 22px 24px;
}

.student-modal-content .modal-body {
    padding: 10px 15px;
}

.student-modal-content .modal-header .student-modal-tabs > li:first-child {
    margin-right: 0;
}

.modal-header li:first-child {
    margin-right: 25px;
}

.modal-backdrop {
    background-color: rgb(0 0 0 / 30%) !important;
}

.modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf1f5;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.modal .modal-header .modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    flex: 1 1 auto;
}

.modal .modal-header .close {
    position: relative;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    margin: 0 0 0 12px;
    border: 1px solid #094e5d38;
    border-radius: 8px;
    background: #f5f5f5 url(../image/close-icon.svg) no-repeat center / 16px 16px;
    opacity: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    line-height: 0;
    color: transparent !important;
    text-shadow: none;
    transition: 300ms all;
    flex-shrink: 0;
}

.modal .modal-header .close span,
.modal .modal-header .close svg {
    display: none !important;
}

.modal .modal-header .close::before,
.modal .modal-header .close::after {
    content: none;
}

.modal .modal-header .close:hover,
.modal .modal-header .close:focus {
    background: rgb(9 78 93 / 10%) url(../image/close-icon.svg) no-repeat center / 16px 16px;
    border-color: #094e5d;
    outline: none;
}

.tab-content {
    position: relative;
    z-index: 1;
}

.picture-grp {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px dashed #094e5d;
    background: #fff;
}

.profile-photo-file-input {
    position: fixed !important;
    left: -10000px !important;
    top: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Kill legacy full-area invisible file input overlay */
.picture-grp input[type="file"],
.profile-photo-upload input[type="file"] {
    position: fixed !important;
    left: -10000px !important;
    top: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.profile-photo-upload__box {
    position: relative;
    z-index: 1;
}

.profile-photo-actions,
.profile-photo-upload .profile-photo-btn {
    position: relative;
    z-index: 3;
}

.profile-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.profile-photo-upload .profile-photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 148px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border: 2px solid #094e5d;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(9, 78, 93, 0.08);
    text-transform: none;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.profile-photo-upload .profile-photo-btn__icon {
    flex-shrink: 0;
}

.profile-photo-upload .profile-photo-btn--upload {
    background: #fff;
    color: #094e5d;
}

.profile-photo-upload .profile-photo-btn--upload:hover,
.profile-photo-upload .profile-photo-btn--upload:focus {
    background: #094e5d;
    color: #fff;
    outline: none;
}

.profile-photo-upload .profile-photo-btn--webcam {
    background: #094e5d;
    color: #fff;
}

.profile-photo-upload .profile-photo-btn--webcam:hover,
.profile-photo-upload .profile-photo-btn--webcam:focus {
    background: #073a46;
    border-color: #073a46;
    color: #fff;
    outline: none;
}

.profile-photo-upload .profile-photo-btn--webcam[hidden] {
    display: none !important;
}

.profile-photo-upload .profile-photo-btn--capture {
    background: #094e5d;
    color: #fff;
    min-width: 120px;
}

.profile-photo-upload .profile-photo-btn--capture:hover,
.profile-photo-upload .profile-photo-btn--capture:focus {
    background: #073a46;
    border-color: #073a46;
    color: #fff;
    outline: none;
}

.profile-photo-upload .profile-photo-btn--cancel {
    background: #fff;
    color: #5a6a72;
    border-color: #c5d0d5;
    min-width: 100px;
}

.profile-photo-upload .profile-photo-btn--cancel:hover,
.profile-photo-upload .profile-photo-btn--cancel:focus {
    background: #f4f8fa;
    border-color: #94a3ad;
    color: #094e5d;
    outline: none;
}

.profile-photo-webcam {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e8edf0;
}

.profile-photo-webcam__video {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    background: #000;
    display: block;
    margin: 0 auto 10px;
}

.profile-photo-webcam__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.profile-photo-webcam__error {
    margin: 8px 0 0;
    font-size: 12px;
    color: #c0392b;
}

.pic-label {
    color: #094e5d;
    margin: 0;
}

.profile-photo-preview {
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #094e5d;
    background: #f4f8fa;
    box-shadow: 0 4px 12px rgba(9, 78, 93, 0.12);
}

.profile-photo-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profile-photo-preview__img.is-placeholder {
    object-fit: contain;
    padding: 14px;
    background: #f4f8fa;
}

.profile-photo-hint {
    display: block;
    font-size: 11px;
    color: #889;
    margin-top: 6px;
}

.add-btn.align-center {
    margin: auto;
    width: auto;
}

.birth-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.birth-date input[type="text"],
.input-daterange input[type="text"],
input.app-date-input,
.date-select input[type="text"] {
    cursor: pointer;
}

.birth-date .input-group-btn,
.input-daterange .input-group-btn {
    cursor: pointer;
}

.birth-date .input-group-btn img,
.input-daterange .input-group-btn img {
    cursor: pointer;
    pointer-events: none;
}

.birth-date .field-error,
.birth-date label.error {
    flex: 0 0 100%;
    order: 10;
}

.form-group.birth-date>label:not(.error):not(.field-error) {
    flex: 0 0 100%;
    width: 100%;
}

.detail-head {
    background: #F4F2FC;
    border: 1px dashed #094e5d;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    margin-top: 20px;
}

.detail-head-inr {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.head-left {
    display: inline-flex;
    flex-wrap: wrap;
}

.student-name {
    margin-left: 10px;
}

.stuedent-img {
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 6px 14px 0px rgb(0 0 0 / 8%);
}

.stuedent-img img {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
}

.stu-id,
.scholar-no {
    position: absolute;
    top: -15px;
    left: 20px;
    padding: 5px 15px;
    border-radius: 8px;
}

.stu-id {
    background: #094e5d;
}

.scholar-no {
    background: #ff9d89;
    right: 20px;
    left: initial;
}

.scholar-no p,
.stu-id p {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
}

.stu-id p {
    color: #fff;
}

.head-right span img {
    margin-right: 10px;
    vertical-align: text-bottom;
}

.head-right span {
    font-size: 14px;
}

.student-name h5 {
    font-size: 16px;
    color: #094e5d;
    font-weight: 500;
    padding-bottom: 5px;
}

.fee-sec {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0 10px;
}

.total-fee {
    background: rgb(0 136 9 / 10%);
    padding: 5px 20px;
    border-radius: 8px;
    color: #008809;
}

.due-fee {
    background: rgb(255, 0, 0, 10%);
    padding: 5px 20px;
    border-radius: 8px;
    color: #FF0000;
}

.fee-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgb(0 0 0 / 10%);
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    padding: 10px 0;
}

.fee-list-table table {
    width: 100%;
}

.fee-list-table {
    display: block;
    overflow: auto;
}

.fee-list-table td,
.fee-list-table th {
    padding: 5px;
}

.fee-list-table td {
    border-bottom: 1px dashed rgb(0 0 0 / 10%);
}

.fee-list-table tr:last-child() td {
    border-bottom: none;
}

.deposit-form .msg .auto-close-alert,
.deposit-form .message .auto-close-alert {
    margin-bottom: 15px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.deposit-form {
    padding: 15px 0;
    border-top: 1px solid rgb(0 0 0 / 10%);
}

.modal-danger .modal-dialog,
.modal .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.student-form-modal-dialog) {
    max-width: 500px;
    width: calc(100% - 30px) !important;
    margin: 1.75rem auto;
}

.modal-danger .modal-content,
.modal .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.student-form-modal-dialog) .modal-content,
.modal .modal-dialog.modal-dialog-centered.modal-lg .modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgb(0 0 0 / 12%);
    overflow: hidden;
}

.modal-danger .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf1f5;
    padding: 16px 20px;
    flex-wrap: nowrap;
    gap: 10px;
}

.modal-danger .modal-header .modal-title {
    text-align: left;
    width: auto;
    flex: 1 1 auto;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.modal:not(.modal-danger) .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.student-form-modal-dialog) .modal-body,
.modal .modal-dialog.modal-dialog-centered.modal-lg .modal-body {
    padding: 24px 20px;
    text-align: left;
}

.modal-danger .modal-body {
    padding: 24px 20px;
    text-align: center;
}

.modal-danger .modal-footer,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-footer {
    border: 0;
    padding: 0 20px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modal .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.student-form-modal-dialog) .modal-body .text-center,
.modal .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.student-form-modal-dialog) .modal-body .btn-box,
.modal .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.student-form-modal-dialog) .modal-body .modal-compact-actions,
.modal .modal-dialog.modal-dialog-centered.modal-lg .modal-body .text-center,
.modal .modal-dialog.modal-dialog-centered.modal-lg .modal-body .btn-box,
.modal .modal-dialog.modal-dialog-centered.modal-lg .modal-body .modal-compact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 0;
    text-align: center;
}

.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .text-center .add-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .text-center .login-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .text-center .delete-data-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .btn-box .add-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .btn-box .login-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .btn-box .delete-data-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .modal-compact-actions .add-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .modal-compact-actions .login-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .modal-compact-actions .delete-data-btn {
    display: inline-flex;
    width: auto;
    min-width: 150px;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: center;
}

.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .text-center .margin-top-15,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .btn-box .margin-top-15,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-body .modal-compact-actions .margin-top-15 {
    margin-top: 0;
}

.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-footer .add-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-footer .delete-data-btn,
.modal .modal-dialog.modal-dialog-centered:not(.student-form-modal-dialog) .modal-footer .login-btn {
    display: inline-flex;
    min-width: 150px;
    margin: 0;
    justify-content: center;
}

.min-height {
    min-height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.dt-checkboxes {
    width: 16px;
    height: 16px;
    accent-color: #094e5d;
}

table.dataTable thead th.dt-checkboxes-select-all input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: #094e5d;
    cursor: pointer;
    vertical-align: middle;
}

#promoteModal .modal-body,
#myEfeesModal .modal-body,
#myEsubModal .modal-body,
#myAssignModal .modal-body,
#myAssignEModal .modal-body,
#mySessionModal .modal-body,
#busPromoteModal .modal-body,
#busEnrollModal .modal-body,
#busEditVillageModal .modal-body,
#busVillageFeesModal .modal-body,
#addClassModal .modal-body,
#editClassModal .modal-body {
    padding: 24px 20px;
}

.modal .login-btn {
    width: auto;
    min-width: 150px;
    height: auto;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-top: 15px;
    margin-bottom: 0;
    border: 2px solid #094e5d;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.modal .login-btn:hover {
    background-color: #fff;
    color: #094e5d;
    transform: none;
}

.print-btn {
    padding-top: 30px;
    max-width: 200px;
}

.print-btn .add-btn {
    justify-content: center;
    border: 2px solid #094e5d;
    height: 45px;
}

a.studentresult {
    display: none;
}

.modal-danger .modal-body p {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .open .main-menus {
        z-index: 999999;
    }
}

#bulk-export-slot .dt-buttons {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
}

#bulk-export-slot .buttons-csv {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #094e5d !important;
    border: 2px solid #094e5d !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: 300ms all;
}

#bulk-export-slot .buttons-csv:hover {
    background: #fff !important;
    color: #094e5d !important;
}

.bulk-results {
    --bulk-head-row1: 44px;
}

.bulk-results .dataTables_wrapper,
.bulk-results .bulk-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.bulk-results .bulk-table {
    table-layout: fixed;
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.bulk-results col.bulk-col-sn {
    width: 60px;
}

.bulk-results col.bulk-col-name {
    width: 150px;
}

.bulk-results col.bulk-col-text {
    width: 145px;
}

.bulk-results col.bulk-col-class {
    width: 90px;
}

.bulk-results col.bulk-col-aadhar {
    width: 95px;
}

.bulk-results col.bulk-col-date {
    width: 105px;
}

.bulk-results col.bulk-col-scholar {
    width: 105px;
}

.bulk-results col.bulk-col-enroll {
    width: 115px;
}

.bulk-results col.bulk-col-samarga {
    width: 110px;
}

.bulk-results col.bulk-col-mark {
    width: 88px;
}

.bulk-results col.bulk-col-total {
    width: 72px;
}

.bulk-results col.bulk-col-grade {
    width: 75px;
}

.bulk-results col.bulk-col-grand {
    width: 105px;
}

.bulk-results col.bulk-col-attendance {
    width: 80px;
}

.bulk-results col.bulk-col-query {
    width: 100px;
}

.bulk-results .tabel-res th,
.bulk-results .tabel-res td {
    min-width: unset !important;
    max-width: none !important;
}

/* .bulk-results .bulk-table {
    border: 1px solid #d0d0d0;
} */

.bulk-results .bulk-table thead th,
.bulk-results .bulk-table tbody td {
    border-right: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #ececec !important;
    box-sizing: border-box;
    padding: 10px 12px !important;
    white-space: nowrap !important;
    text-transform: none !important;
}

.bulk-results .bulk-table thead th {
    background: #f5f5f5;
    color: #000;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.bulk-results .bulk-table thead tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 4;
}

.bulk-results .bulk-table thead tr:first-child th[rowspan="2"] {
    text-align: left;
    z-index: 5;
}

.bulk-results .bulk-table thead tr.bulk-subject-head th {
    position: sticky;
    top: var(--bulk-head-row1);
    z-index: 3;
    text-transform: uppercase !important;
    font-size: 12px;
    letter-spacing: 0.02em;
    border-top: 2px solid #d0d0d0 !important;
    background: #ececec;
}

.bulk-results .bulk-table thead th.bulk-exam-head {
    background: #e4eaec;
    color: #094e5d;
}

.bulk-results .bulk-table thead th.bulk-group-start,
.bulk-results .bulk-table tbody td.bulk-group-start {
    border-left: 2px solid #094e5d !important;
}

.bulk-results .bulk-table thead th.bulk-group-end,
.bulk-results .bulk-table tbody td.bulk-group-end {
    border-right: 2px solid #c8d4d7 !important;
}

.bulk-results .bulk-table tbody td {
    text-align: left;
    vertical-align: middle;
    overflow: visible;
    text-overflow: clip;
    background: #fff;
}

.bulk-results .bulk-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.bulk-results .bulk-table tbody td:nth-child(n+11) {
    text-align: center;
}

.bulk-results .dataTables_wrapper {
    width: 100%;
}

.tabel-head-right #bulk-export-slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.bulk-results .bulk-table-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex: 0 0 100%;
    order: 1;
    gap: 10px;
    margin-bottom: 15px;
}

.bulk-results .bulk-table-controls .dataTables_length {
    order: 1;
    margin: 0;
    float: none;
}

.bulk-results .bulk-table-controls .dataTables_filter {
    order: 2;
    margin: 0 0 0 auto;
    float: none;
    text-align: right;
}

.bulk-results .dataTables_wrapper table.dataTable {
    order: 2;
    flex: 0 0 100%;
}

.bulk-results .dataTables_wrapper .dataTables_info {
    order: 3;
}

.bulk-results .dataTables_wrapper .dataTables_paginate {
    order: 4;
}

.hostel-summary-wraper {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.hostel-summary-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hostel-summary-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.hostel-summary-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    white-space: nowrap;
}

.hostel-summary-total {
    border-color: #ffbb00;
}

.hostel-summary-total h2 {
    color: #ff8c00;
}

.hostel-summary-collection {
    border-color: #24a249;
}

.hostel-summary-collection h2 {
    color: #24a249;
}

.hostel-summary-remaining {
    border-color: #ff370f;
}

.hostel-summary-remaining h2 {
    color: #ff370f;
}

.hostel-filter-head {
    margin-bottom: 20px;
}

.hostel-filter-head .hostel-filter-clear {
    margin-left: 15px;
}

.hostel-promote-wrap {
    margin-top: 15px;
}

.bus-installment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.bus-installment-card {
    background: #fff;
    border: 1px solid #dce8f5;
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
}

.bus-installment-card p {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.bus-installment-card h6 {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.bus-installment-card h6.is-paid {
    color: #008809;
}

.bus-installment-card h6.is-pending {
    color: #ff0000;
}

.bus-installment-card h6.is-partial {
    color: #ff8c00;
}

.bus-installment-card h6.is-na {
    color: #888;
}

#busFeeModal .head-right .address {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

#busFeeModal .head-right .address img {
    margin-right: 8px;
    width: 14px;
    height: 14px;
}

#busDepositModal .modal-body.after-design {
    padding: 24px 20px;
}

#busDepositModal .deposit-form {
    padding: 0;
    border-top: none;
}

#busDepositModal .deposit-form .bus-msg {
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

#busFeeEditModal .deposit-form .bus-edit-msg {
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

#busDepositModal .form-group.birth-date input {
    flex: 1 1 auto;
    min-width: 0;
}

#busFeeModal .fee-list-head .add-btn {
    min-width: auto;
    padding: 8px 18px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .bus-installment-grid {
        grid-template-columns: 1fr;
    }

}

/* School fees structure — installment form blocks */
.fees-page-head {
    margin-bottom: 16px;
    align-items: flex-end;
}

.fees-list-filters .student-filter-select,
.fees-list-filters select.student-filter-select {
    display: block;
    width: 180px;
    max-width: 100%;
    min-width: 150px;
    height: 40px;
    margin: 0;
    padding: 8px 36px 8px 12px;
    border: 1px solid rgba(9, 78, 93, 0.22);
    border-radius: 10px;
    background-color: #f8fafc;
    color: #094e5d;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.fees-list-filters .student-filter-select:hover,
.fees-list-filters select.student-filter-select:hover {
    background-color: #fff;
    border-color: rgba(9, 78, 93, 0.45);
}

.fees-list-filters .student-filter-select:focus,
.fees-list-filters select.student-filter-select:focus {
    background-color: #fff;
    border-color: #094e5d;
    box-shadow: 0 0 0 3px rgba(9, 78, 93, 0.12);
}

.fees-board-label {
    font-size: 14px;
    font-weight: 600;
    color: #5b7a86;
    margin-left: 8px;
}

.fees-medium-block {
    background: #f8fbfd;
    border: 1px solid #dce8f5;
    border-radius: 8px;
    padding: 14px 16px 4px;
    margin-bottom: 14px;
}

.fees-medium-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #094e5d;
}

.fees-row--unset {
    background: #fafcfd;
}

.fees-not-set {
    color: #9aabb3;
    font-style: italic;
    text-align: center;
}

.school-fees-table .add-btn.addFeesForClass {
    padding: 6px 14px;
    font-size: 13px;
    white-space: nowrap;
    max-width:150px;
}

.school-fees-table thead th.col-fees-group {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-bottom: 2px solid transparent;
}

.school-fees-table thead th.col-fees-group--hindi {
    background: linear-gradient(180deg, #fdebd0 0%, #f8d9a8 100%);
    color: #7a4510;
    border-bottom-color: #e8a04a;
}

.school-fees-table thead th.col-fees-group--english {
    background: linear-gradient(180deg, #d9eef5 0%, #bfe3ef 100%);
    color: #094e5d;
    border-bottom-color: #094e5d;
}

.school-fees-table thead th.col-fees--hindi {
    background: #fef4e6;
    color: #8a4b12;
    font-weight: 600;
}

.school-fees-table thead th.col-fees--english {
    background: #eaf6fa;
    color: #094e5d;
    font-weight: 600;
}

.school-fees-table tbody td.col-fees--hindi {
    background: #fffaf3;
    color: #4a3420;
}

.school-fees-table tbody tr:nth-of-type(even) td.col-fees--hindi {
    background: #fff3e4;
}

.school-fees-table tbody td.col-fees--english {
    background: #f7fcfe;
    color: #1f4d57;
}

.school-fees-table tbody tr:nth-of-type(even) td.col-fees--english {
    background: #edf7fb;
}

.school-fees-table thead th.col-fees-group.fees-medium-group-start.col-fees-group--hindi {
    border-left: 3px solid #e8a04a;
}

.school-fees-table th.fees-medium-start,
.school-fees-table td.fees-medium-start {
    border-left: 3px solid rgba(9, 78, 93, 0.18);
}

.school-fees-table td.fees-medium-start.col-fees--hindi,
.school-fees-table thead tr:last-child th.fees-medium-start.col-fees--hindi {
    border-left-color: #e8a04a;
}

.school-fees-table th.col-fees-group--english,
.school-fees-table td.fees-medium-start.col-fees--english,
.school-fees-table thead tr:last-child th.fees-medium-start.col-fees--english {
    border-left-color: #094e5d;
}

.school-fees-table th.fees-medium-end,
.school-fees-table td.fees-medium-end {
    border-right: 2px solid rgba(9, 78, 93, 0.1);
}

.school-fees-table th.col-fees-total.col-fees--hindi,
.school-fees-table td.col-fees-total.col-fees--hindi {
    background: #fde8cc !important;
    color: #7a4510;
    font-weight: 700;
}

.school-fees-table th.col-fees-total.col-fees--english,
.school-fees-table td.col-fees-total.col-fees--english {
    background: #d4edf5 !important;
    color: #094e5d;
    font-weight: 700;
}

.school-fees-table tbody tr.fees-row--unset td.fees-not-set {
    background: #f5f8fa;
}

.school-fees-table th.col-fees-total,
.school-fees-table td.col-fees-total {
    text-align: center;
}

/* School fee detail popup — fee overview panel */
.school-fee-overview {
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
    border: 1px solid #dce8f5;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0 14px;
    box-shadow: 0 4px 18px rgba(9, 78, 93, 0.06);
}

.school-fee-overview--compact {
    margin: 0 0 10px;
    padding: 10px;
    box-shadow: none;
    border: 1px solid #e8edf0;
    background: #f8fbfd;
}

.school-fee-overview__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf0;
}

.school-fee-overview__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a8f96;
    margin-bottom: 2px;
}

.school-fee-overview__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #094e5d;
}

.school-fee-medium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: #094e5d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.school-fee-medium-badge img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.school-fee-overview__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.school-fee-overview--compact .school-fee-overview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.school-fee-overview--compact .school-fee-stat {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 6px;
    min-height: 0;
    gap: 6px;
}

.school-fee-overview--compact .school-fee-stat__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.school-fee-overview--compact .school-fee-stat__icon svg {
    width: 16px;
    height: 16px;
}

.school-fee-overview--compact .school-fee-stat__label {
    font-size: 10px;
    letter-spacing: 0.03em;
}

.school-fee-overview--compact .school-fee-stat__value {
    font-size: 14px;
    line-height: 1.15;
    word-break: break-word;
}

.school-fee-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e8edf0;
    border-radius: 10px;
    padding: 12px 10px;
    min-height: 64px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.school-fee-stat:hover {
    box-shadow: 0 4px 12px rgba(9, 78, 93, 0.08);
    border-color: #c5d9e0;
}

.school-fee-stat__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.school-fee-stat--total .school-fee-stat__icon {
    background: rgba(9, 78, 93, 0.1);
    color: #094e5d;
}

.school-fee-stat--paid .school-fee-stat__icon {
    background: rgba(0, 136, 9, 0.1);
    color: #008809;
}

.school-fee-stat--remaining .school-fee-stat__icon {
    background: rgba(255, 140, 0, 0.12);
    color: #ff8c00;
}

.school-fee-stat--dues .school-fee-stat__icon {
    background: rgba(255, 55, 15, 0.1);
    color: #ff370f;
}

.school-fee-stat__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.school-fee-stat__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8899a4;
    line-height: 1.2;
}

.school-fee-stat__value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.school-fee-stat--total .school-fee-stat__value {
    color: #094e5d;
}

.school-fee-stat--paid .school-fee-stat__value {
    color: #008809;
}

.school-fee-stat--remaining .school-fee-stat__value {
    color: #ff8c00;
}

.school-fee-stat--dues .school-fee-stat__value {
    color: #ff370f;
}

.school-fee-stat--old-paid .school-fee-stat__icon {
    background: rgba(0, 136, 9, 0.1);
    color: #008809;
}

.school-fee-stat--old-paid .school-fee-stat__value {
    color: #008809;
}

.school-fee-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #dce8f5;
}

.school-fee-progress__track {
    flex: 1;
    height: 8px;
    background: #e8edf0;
    border-radius: 99px;
    overflow: hidden;
}

.school-fee-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #094e5d 0%, #24a249 100%);
    border-radius: 99px;
    transition: width 0.4s ease;
    min-width: 0;
}

.school-fee-progress__pct {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #094e5d;
    min-width: 58px;
    text-align: right;
}

.school-fee-status-text {
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.school-fee-status-text.is-pending {
    background: rgba(255, 55, 15, 0.07);
    color: #c0392b;
}

.school-fee-status-text.is-partial {
    background: rgba(255, 140, 0, 0.1);
    color: #b36b00;
}

.school-fee-status-text.is-paid {
    background: rgba(0, 136, 9, 0.08);
    color: #008809;
}

.fee-deposit-body {
    padding-bottom: 16px !important;
}

.fee-deposit-body .deposit-form--compact {
    padding: 10px 0 0;
    margin: 0;
    border-top: 1px solid #e8edf0;
}

.fee-deposit-body .deposit-form--compact .form-group {
    margin-bottom: 12px;
}

.deposit-form .form-group>label,
.fee-deposit-body .form-group>label,
.student-modal-content .form-group>label:not(.theme-radio),
.modal-body .labeled-form .form-group>label:not(.theme-radio) {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #556;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.deposit-form .form-group.birth-date>label,
.fee-deposit-body .form-group.birth-date>label,
.student-modal-content .form-group.birth-date>label {
    margin-bottom: 6px;
}

.fee-deposit-actions {
    text-align: center;
    margin-top: 4px;
    padding-bottom: 0;
}

.fee-deposit-actions .add-btn,
.fee-deposit-actions input.add-btn {
    display: inline-flex;
    width: auto;
    min-width: 140px;
    margin: 0;
}

.fee-deposit-actions .login-btn {
    min-width: 140px;
    margin: 0;
}

#mystudentModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#mystudentModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-stat,
#hostelFeesModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-stat {
    min-height: 58px;
    padding: 10px;
}

#mystudentModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-stat__value,
#hostelFeesModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-stat__value {
    font-size: 15px;
}

#busFeeModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-overview__grid,
.school-fee-overview--three-cols:not(.school-fee-overview--compact) .school-fee-overview__grid,
#hostelFeesModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-overview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.school-fee-overview--four-cols:not(.school-fee-overview--compact) .school-fee-overview__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#mystudentModal .school-fee-overview--four-cols:not(.school-fee-overview--compact) .school-fee-overview__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.school-fee-overview--four-cols.school-fee-overview--compact .school-fee-overview__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.school-fee-overview--five-cols:not(.school-fee-overview--compact) .school-fee-overview__grid,
.school-fee-overview--five-cols.school-fee-overview--compact .school-fee-overview__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.student-profile-page .school-fee-overview--five-cols .school-fee-stat__label {
    font-size: 9px;
    letter-spacing: 0.02em;
}

.school-fee-overview--bare {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 20px;
    box-shadow: none;
}

.student-profile-page .school-fee-overview--bare {
    margin-bottom: 20px;
}

#busFeeModal .school-fee-overview:not(.school-fee-overview--compact) .school-fee-stat,
#mystudentModal .school-fee-overview--three-cols:not(.school-fee-overview--compact) .school-fee-stat,
#mystudentModal .school-fee-overview--four-cols:not(.school-fee-overview--compact) .school-fee-stat {
    min-height: 58px;
    padding: 10px;
}

#busDepositModal .school-fee-overview--compact,
#feeDepositModal .school-fee-overview--compact {
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .school-fee-overview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .school-fee-overview__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .school-fee-overview__grid,
    .school-fee-overview--compact .school-fee-overview__grid {
        grid-template-columns: 1fr;
    }
}

/* Profile summary boxes — enrollment, class assignment */
.profile-summary-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.profile-summary-boxes--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-summary-box {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    background: #fff;
}

.profile-summary-box__label {
    display: block;
    font-size: 12px;
    color: #778;
    margin-bottom: 8px;
}

.profile-summary-box__value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #094e5d;
    line-height: 1.15;
}

.profile-summary-box--accent .profile-summary-box__value {
    color: #24a249;
}

.profile-summary-box--warn .profile-summary-box__value {
    color: #ff8c00;
}

.profile-summary-box--compact .profile-summary-box__value {
    font-size: 18px;
}

@media (max-width: 767px) {
    .profile-summary-boxes--cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Student profile tabs — shared datatable */
.student-profile-page .page-header .page-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.student-profile-page .page-title__lead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    flex: 1 1 auto;
    order: 1;
    min-width: 0;
}

.student-profile-page .page-title__lead h3 {
    order: 1;
    margin: 0;
}

.student-profile-page .page-title__lead .global-student-search {
    order: 2;
}

.student-profile-page .page-title__lead .add-btn {
    order: 3;
}

.student-profile-page .banner-chip--session {
    background: rgba(9, 78, 93, 0.14);
    border-color: rgba(9, 78, 93, 0.25);
}

.student-profile-page .profile-table-wrap {
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.student-profile-page .profile-table-wrap .dataTables_wrapper {
    width: 100%;
}

.student-profile-page .profile-datatable {
    table-layout: fixed;
    width: 100% !important;
    margin: 0 !important;
}

.student-profile-page .profile-datatable thead th {
    background: #f8fafb !important;
    font-weight: 600;
    color: #000;
    border-bottom: 1px solid #edf1f5 !important;
    vertical-align: middle;
    padding: 10px 12px;
}

.student-profile-page .profile-datatable tbody td {
    vertical-align: middle;
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f5;
    font-size: 14px;
    color: #000;
}

.student-profile-page .profile-datatable tbody tr:hover td {
    background: #fafcfd;
}

.student-profile-page .profile-datatable th.col-index,
.student-profile-page .profile-datatable td.col-index {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    text-align: center;
}

.student-profile-page .profile-datatable th.col-scholar,
.student-profile-page .profile-datatable td.col-scholar {
    width: 110px;
    min-width: 110px;
}

.student-profile-page .profile-datatable th.col-class,
.student-profile-page .profile-datatable td.col-class {
    width: 100px;
}

.student-profile-page .profile-datatable th.col-medium,
.student-profile-page .profile-datatable td.col-medium {
    width: 100px;
}

.student-profile-page .profile-datatable th.col-date,
.student-profile-page .profile-datatable td.col-date {
    width: 120px;
}

.student-profile-page .profile-datatable th.col-fees,
.student-profile-page .profile-datatable td.col-fees {
    width: 110px;
    text-align: center;
}

.student-profile-page .profile-datatable th.col-name,
.student-profile-page .profile-datatable td.col-name {
    min-width: 160px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.student-profile-page #tab-enrollment .profile-datatable th.col-name,
.student-profile-page #tab-enrollment .profile-datatable td.col-name {
    width: auto;
    min-width: 180px;
}

.student-profile-page .profile-datatable .deposit-box {
    min-width: 68px;
    display: inline-block;
    text-align: center;
}

.student-profile-page .bus-session-card .profile-table-wrap {
    margin-top: 8px;
}

.app-datatable table.hostelstudenttable {
    table-layout: fixed !important;
    width: 100% !important;
    margin: 0 !important;
}

.app-datatable .hostelstudenttable th.col-select,
.app-datatable .hostelstudenttable td.col-select {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
}

.app-datatable .hostelstudenttable th.col-scholar,
.app-datatable .hostelstudenttable td.col-scholar {
    width: 90px;
}

.app-datatable .hostelstudenttable th.col-name,
.app-datatable .hostelstudenttable td.col-name {
    width: 220px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.app-datatable .hostelstudenttable th.col-class,
.app-datatable .hostelstudenttable td.col-class {
    width: 72px;
}

.app-datatable .hostelstudenttable th.col-address,
.app-datatable .hostelstudenttable td.col-address {
    width: 130px;
}

.app-datatable .hostelstudenttable th.col-mobile,
.app-datatable .hostelstudenttable td.col-mobile {
    width: 120px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.app-datatable .hostelstudenttable th.col-fees,
.app-datatable .hostelstudenttable td.col-fees {
    width: 100px;
    text-align: center;
}

.app-datatable .hostelstudenttable th.col-actions,
.app-datatable .hostelstudenttable td.col-actions {
    min-width: 120px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: unset;
}

.app-datatable .hostelstudenttable td.col-actions ul,
.app-datatable .hostelstudenttable td.col-actions .tool {
    overflow: visible;
}

.app-datatable .hostelstudenttable .deposit-box,
.app-datatable .hostelstudenttable .remain-box {
    min-width: 68px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.app-datatable .dataTables_scrollBody table.dataTable tbody tr:first-child td.col-actions .tooltips,
.app-datatable table.dataTable tbody td.col-actions .tooltips {
    z-index: 1100;
}

@media (max-width: 991px) {
    .hostel-summary-wraper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hostel-filter-head .input-daterange form {
        gap: 10px;
    }

    .hostel-filter-head .input-daterange .sec-inp-group,
    .hostel-filter-head .hostel-filter-clear {
        margin: 0;
    }
}

.bulk-results.page-table {
    width: 100%;
}

/* Global toast notifications (top-right, auto-dismiss) */
.app-toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, calc(100vw - 40px));
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 40px 16px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    position: relative;
    overflow: hidden;
    animation: appToastIn 0.35s ease;
}

.app-toast--success {
    border-left: 4px solid #10b981;
}

.app-toast--success .app-toast__icon {
    background: #ecfdf5;
    color: #059669;
}

.app-toast--success .app-toast__progress {
    background: #10b981;
}

.app-toast--danger {
    border-left: 4px solid #ef4444;
}

.app-toast--danger .app-toast__icon {
    background: #fef2f2;
    color: #dc2626;
}

.app-toast--danger .app-toast__progress {
    background: #ef4444;
}

.app-toast--warning {
    border-left: 4px solid #f59e0b;
}

.app-toast--warning .app-toast__icon {
    background: #fffbeb;
    color: #d97706;
}

.app-toast--warning .app-toast__progress {
    background: #f59e0b;
}

.app-toast--info {
    border-left: 4px solid #3b82f6;
}

.app-toast--info .app-toast__icon {
    background: #eff6ff;
    color: #2563eb;
}

.app-toast--info .app-toast__progress {
    background: #3b82f6;
}

.app-toast__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
}

.app-toast__body {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    padding-top: 4px;
    word-break: break-word;
}

.app-toast__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    padding: 4px;
    cursor: pointer;
}

.app-toast__close:hover {
    color: #0f172a;
}

.app-toast__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform-origin: left center;
    animation-name: appToastProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    opacity: 0.55;
}

.app-toast.is-leaving {
    animation: appToastOut 0.28s ease forwards;
}

@keyframes appToastIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes appToastOut {
    to {
        opacity: 0;
        transform: translateX(24px);
    }
}

@keyframes appToastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (max-width: 575px) {
    .app-toast-stack {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

/*
 | Responsive fixes:
 | - Page head layout (tabel-head / tabel-head-right)
 | - DataTables length + search + entries dropdown
 | - Import/export button group in table head
 */
@media (max-width: 767px) {
    .tabel-head {
        display: flex !important;
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 8px;
    }

    .tabel-head-right {
        /* width: 100%; */
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .tabel-head-right .page-btn,
    .tabel-head-right .page-btn a,
    .tabel-head-right .export-form {
        margin-left: 0 !important;
    }

    .tabel-head-right .export-form {
        display: flex !important;
        flex-wrap: wrap;
        gap: 10px;
        /* width: 100%; */
        justify-content: flex-start;
    }

    /* .tabel-head .form-group {
        width: 100%;
    } */

    .tabel-head .form-group p {
        width: 100%;
        margin: 0;
    }

    .tabel-head select,
    .tabel-head input {
        width: 100%;
        max-width: 320px;
    }

    .dataTables_wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        float: none !important;
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter label {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
    }

    .dataTables_wrapper .dataTables_filter label input {
        width: 100% !important;
        max-width: none !important;
    }

    .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_length label select {
        width: auto;
    }

    .dataTables_wrapper .dataTables_paginate {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 424px) {
    .dataTables_wrapper .dataTables_filter label input {
        height: 42px;
    }
}

.student-form-field-config__group {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edf2;
}

.student-form-field-config__group:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.student-form-field-config__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #094e5d;
}

.student-form-field-config__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
    align-items: center;
}

.student-form-field-config__item {
    min-width: 0;
    margin: 0;
    width: 100%;
}

.student-form-field-config__item span {
    line-height: 1.35;
}

.profile-settings-card .student-form-field-config {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .student-form-field-config__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .student-form-field-config__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    .student-form-field-config__list {
        grid-template-columns: 1fr;
    }
}

/* Cashbook module */
.cashbook-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.cashbook-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.cashbook-toolbar-actions {
    margin-left: auto;
}

.cashbook-toolbar-actions .page-btn {
    margin-left: 12px;
}

.cashbook-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(9, 78, 93, 0.18);
    background: #fff;
    color: #094e5d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cashbook-tab-btn.active {
    background: #094e5d;
    color: #fff;
    border-color: #094e5d;
}

.cashbook-session-context {
    font-size: 13px;
    color: #667;
    margin: 0 0 12px;
}

.cashbook-summary-wraper {
    margin-top: 0;
}

.cashbook-filter-row {
    margin-bottom: 14px;
}

.cashbook-filter-form {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.cashbook-filter-daterange {
    width: 100%;
}

.cashbook-filter-daterange .input-group {
    align-items: center !important;
    width: auto;
    margin-bottom: 0;
}

.cashbook-filter-daterange .sec-inp-group {
    margin: 0;
}

.cashbook-filter-row .date-select input.input-sm,
.cashbook-filter-mode-select {
    width: 190px !important;
    min-height: 38px;
    background: #f5f5f5;
    color: #094e5d;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
}

.cashbook-filter-mode-select {
    padding-right: 12px;
    cursor: pointer;
}

.cashbook-filter-row .filter-btn {
    min-height: 38px;
    padding: 8px 24px;
    margin: 0;
}

.cashbook-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.cashbook-attachment-section {
    margin-bottom: 0;
}

.cashbook-upload-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e8edf0;
}

.cashbook-upload-tile {
    position: relative;
    width: 52px;
}

.cashbook-upload-tile__thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #094e5d;
    display: block;
    background: #f4f8fa;
}

.cashbook-upload-tile__thumb.is-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #094e5d;
}

.cashbook-upload-tile__remove {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cashbook-thumb-stack {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.cashbook-thumb-link--pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #094e5d;
    text-decoration: none;
}

.cashbook-thumb-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: #094e5d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.cashbook-detail-attachment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cashbook-detail-attachment-item {
    max-width: 180px;
}

.cashbook-detail-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    background: #fff;
}

.cashbook-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cashbook-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.cashbook-detail-table th,
.cashbook-detail-table td {
    border: 1px solid #edf1f5;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.cashbook-detail-table th {
    width: 180px;
    background: #f8fafb;
    color: #5b7a86;
    font-weight: 600;
}

.cashbook-detail-image {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.cashbook-table td,
.cashbook-table th {
    vertical-align: middle;
}

/* Student export page */
.student-export-page {
    --se-primary: #094e5d;
    --se-border: #e8edf0;
    --se-soft: #f4f8fa;
}

.student-export-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--se-border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.student-export-intro__text h4 {
    margin: 0 0 6px;
    color: var(--se-primary);
    font-size: 16px;
    font-weight: 700;
}

.student-export-intro__text p {
    margin: 0;
    color: #556;
    font-size: 13px;
    line-height: 1.55;
    max-width: 720px;
}

.student-export-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid var(--se-primary);
    color: var(--se-primary);
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.student-export-back-btn:hover {
    background: #eef4f6;
    color: var(--se-primary);
    text-decoration: none;
}

.student-export-back-btn img {
    width: 14px;
    height: 14px;
}

.student-export-panel {
    background: #fff;
    border: 1px solid var(--se-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    min-height: 520px;
}

.student-export-page .xp-body {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 480px;
}

.student-export-page .xp-sidebar {
    width: 240px;
    flex-shrink: 0;
    border-right: 1px solid var(--se-border);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--se-soft);
}

.student-export-page .xp-sec-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6a72;
    margin-bottom: 6px;
}

.student-export-page .xp-class-multiselect.staff-report-multiselect {
    width: 100%;
}

.student-export-page .xp-class-multiselect .staff-report-multiselect__toggle {
    width: 100%;
    height: 36px;
    font-size: 13px;
    border-radius: 8px;
}

.student-export-page .xp-class-multiselect .staff-report-multiselect__menu {
    width: 100%;
    min-width: 0;
    max-height: 220px;
}

.student-export-page .xp-class-empty {
    color: #9ca3af;
    font-size: 12px;
    margin: 4px 0 0;
    padding: 0 4px;
}

.student-export-page .xp-select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: #1a1a2e;
    outline: none;
    background: #fff;
}

.student-export-page .xp-select:focus {
    border-color: var(--se-primary);
}

.student-export-page .xp-choice-pills {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.student-export-page .xp-choice-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1.5px solid var(--se-border);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    text-align: left;
    margin: 0;
    user-select: none;
}

.student-export-page .xp-choice-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #94a3b8;
}

.student-export-page .xp-choice-pill input {
    display: none;
}

.student-export-page .xp-choice-pill.active {
    border-color: var(--se-primary);
    background: #eef6f8;
    color: var(--se-primary);
}

.student-export-page .xp-choice-pill.active svg {
    color: var(--se-primary);
}

.student-export-page .xp-choice-pill.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.student-export-page .xp-per-class-note {
    font-size: 11px;
    color: #9ca3af;
    margin: 6px 0 0;
    line-height: 1.4;
}

.student-export-page .xp-count {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef6f8;
    border: 1px solid #c5dde3;
    border-radius: 10px;
    padding: 10px 12px;
}

.student-export-page .xp-count .cn {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--se-primary);
    line-height: 1;
}

.student-export-page .xp-count .ct {
    font-size: 11px;
    color: #5a6a72;
    font-weight: 600;
}

.student-export-page .xp-count.loading .cn {
    opacity: 0.35;
}

.student-export-page .xp-dual {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.student-export-page .xp-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
    min-height: 0;
}

.student-export-page .xp-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.student-export-page .xp-box + .xp-box {
    border-left: 1px solid var(--se-border);
}

.student-export-page .xp-box-head {
    padding: 10px 14px;
    border-bottom: 1px solid var(--se-border);
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafcfd;
    flex-shrink: 0;
}

.student-export-page .xp-box-head h6 {
    font-size: 11px;
    font-weight: 700;
    color: #5a6a72;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    flex: 1;
}

.student-export-page .xp-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e8edf0;
    color: #374151;
}

.student-export-page .xp-box-btn {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid;
    cursor: pointer;
    background: #fff;
}

.student-export-page .xp-box-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 12px;
    scrollbar-gutter: stable;
}

.student-export-page .xp-avail-group {
    margin-bottom: 10px;
}

.student-export-page .xp-avail-grp-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 4px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.student-export-page .xp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.student-export-page .xp-avail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s;
}

.student-export-page .xp-avail-item:hover {
    background: #eef6f8;
    color: var(--se-primary);
}

.student-export-page .xp-avail-item:hover .xp-arrow {
    opacity: 1;
}

.student-export-page .xp-arrow {
    opacity: 0;
    margin-left: auto;
    color: var(--se-primary);
}

.student-export-page .xp-sel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: grab;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 3px;
    border: 1px solid transparent;
}

.student-export-page .xp-sel-item:hover {
    background: #f8fafb;
    border-color: var(--se-border);
}

.student-export-page .xp-sel-item.drag-over {
    border-color: var(--se-primary) !important;
    background: #eef6f8;
}

.student-export-page .xp-sel-item.dragging {
    opacity: 0.35;
}

.student-export-page .xp-sel-drag {
    color: #c4c9d4;
    cursor: grab;
}

.student-export-page .xp-sel-num {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    min-width: 16px;
    text-align: right;
}

.student-export-page .xp-sel-remove {
    margin-left: auto;
    color: #c4c9d4;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.student-export-page .xp-sel-remove:hover {
    color: #ef4444;
}

.student-export-page .xp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    min-height: 140px;
}

.student-export-page .xp-empty svg {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    flex-shrink: 0;
    color: #c4cdd6;
    stroke: currentColor;
}

.student-export-page .xp-empty span {
    max-width: 220px;
}

.student-export-page .xp-infobar {
    padding: 12px 16px;
    border-top: 1px solid var(--se-border);
    background: var(--se-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.student-export-reset-btn {
    padding: 8px 22px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

.student-export-reset-btn:hover {
    border-color: var(--se-primary);
    color: var(--se-primary);
}

.student-export-download-btn {
    min-width: auto;
    padding: 8px 22px;
    font-size: 13px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.student-export-page .add-btn:disabled,
.student-export-page .add-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 991px) {
    .student-export-page .xp-body {
        flex-direction: column;
    }

    .student-export-page .xp-sidebar {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--se-border);
    }

    .student-export-page .xp-boxes {
        grid-template-columns: 1fr;
    }

    .student-export-page .xp-box + .xp-box {
        border-left: 0;
        border-top: 1px solid var(--se-border);
    }
}

/* WhatsApp templates page */
.wa-templates-page {
    --wa-primary: #094e5d;
    --wa-border: #e8edf0;
}

.wa-templates-page .settings-tabs-bar {
    margin-bottom: 0;
}

.wa-templates-intro {
    margin: 20px 0 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--wa-border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.wa-templates-intro__text h4 {
    margin: 0 0 6px;
    color: var(--wa-primary);
    font-size: 16px;
    font-weight: 700;
}

.wa-templates-intro__text p {
    margin: 0;
    color: #556;
    font-size: 13px;
    line-height: 1.55;
    max-width: 760px;
}

.wa-vars-box {
    background: #f4f8fa;
    border: 1px solid rgba(9, 78, 93, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.wa-vars-box h6 {
    font-size: 12px;
    font-weight: 700;
    color: var(--wa-primary);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wa-vars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wa-var-chip {
    background: #fff;
    border: 1px solid rgba(9, 78, 93, 0.16);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: var(--wa-primary);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.wa-var-chip small {
    opacity: 0.72;
}

.wa-var-chip:hover {
    background: rgba(9, 78, 93, 0.06);
    border-color: rgba(9, 78, 93, 0.28);
}

.wa-templates-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.wa-templates-toolbar__actions {
    margin-left: auto;
}

.wa-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wa-cat-pill,
.wa-picker-cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(9, 78, 93, 0.18);
    background: #fff;
    color: var(--wa-primary, #094e5d);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wa-cat-pill:hover,
.wa-picker-cat:hover {
    background: rgba(9, 78, 93, 0.06);
}

.wa-cat-pill.active,
.wa-picker-cat.active {
    background: #094e5d;
    color: #fff;
    border-color: #094e5d;
    box-shadow: none;
}

.wa-cat-pill[data-cat="all"],
.wa-cat-pill[data-cat="fee"],
.wa-cat-pill[data-cat="installment"],
.wa-cat-pill[data-cat="alert"],
.wa-cat-pill[data-cat="info"],
.wa-picker-cat[data-cat="all"],
.wa-picker-cat[data-cat="fee"],
.wa-picker-cat[data-cat="installment"],
.wa-picker-cat[data-cat="alert"],
.wa-picker-cat[data-cat="info"] {
    background: #fff;
    color: #094e5d;
    border-color: rgba(9, 78, 93, 0.18);
}

.wa-cat-pill[data-cat].active,
.wa-picker-cat[data-cat].active {
    background: #094e5d;
    color: #fff;
    border-color: #094e5d;
}

.wa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.wa-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--wa-border);
    overflow: hidden;
    transition: box-shadow 0.15s ease;
    text-align: left;
}

.wa-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.wa-card-head {
    padding: 12px 16px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-card-cat,
.wa-picker-item__cat {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    background: #f4f8fa;
    color: #5b7a86;
    border: 1px solid rgba(9, 78, 93, 0.1);
}

.wa-card-cat-fee,
.wa-card-cat-installment,
.wa-card-cat-alert,
.wa-card-cat-info,
.wa-picker-item__cat--fee,
.wa-picker-item__cat--installment,
.wa-picker-item__cat--alert,
.wa-picker-item__cat--info {
    background: #f4f8fa;
    color: #5b7a86;
    border-color: rgba(9, 78, 93, 0.1);
}

.wa-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.wa-card-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.wa-card-status.is-active {
    background: rgba(9, 78, 93, 0.08);
    color: #094e5d;
}

.wa-card-status.is-inactive {
    background: #f3f4f6;
    color: #9ca3af;
}

.wa-card-body {
    padding: 0 16px 12px;
}

.wa-card-preview,
.wa-card-preview-hi {
    font-size: 12px;
    color: #374151;
    border-radius: 8px;
    padding: 10px 12px;
    white-space: pre-wrap;
    max-height: 120px;
    overflow: hidden;
    line-height: 1.55;
}

.wa-card-preview {
    background: #f9fafb;
    border: 1px solid var(--wa-border);
}

.wa-card-preview-hi {
    background: #f9fafb;
    border: 1px solid var(--wa-border);
    margin-top: 6px;
    max-height: 80px;
}

.wa-card-footer {
    padding: 8px 16px 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.wa-templates-page .wa-card-action-btn,
.wa-picker-modal .wa-card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wa-picker-modal .wa-picker-edit-btn {
    border: 1px solid rgba(9, 78, 93, 0.25);
    background: #fff;
    color: #094e5d;
}

.wa-templates-page .wa-card-edit-btn {
    border: 1px solid rgba(9, 78, 93, 0.25);
    background: #fff;
    color: #094e5d;
}

.wa-templates-page .wa-card-edit-btn:hover,
.wa-picker-modal .wa-picker-edit-btn:hover {
    background: #094e5d;
    color: #fff;
    border-color: #094e5d;
}

.wa-templates-page .wa-card-delete-btn {
    border: 1px solid rgba(9, 78, 93, 0.14);
    background: #fff;
    color: #6b7280;
}

.wa-templates-page .wa-card-delete-btn:hover {
    border-color: #d1d5db;
    color: #8b5a5a;
    background: #fafafa;
}

.wa-picker-modal .wa-picker-edit-btn.is-editing {
    background: #f4f8fa;
    border-color: rgba(9, 78, 93, 0.2);
    color: #094e5d;
}

.wa-add-card {
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    width: 100%;
}

.wa-add-card:hover {
    border-color: var(--wa-primary);
    background: #f4f8fa;
}

.wa-add-inner {
    text-align: center;
    color: #6b7280;
}

.wa-add-inner svg {
    width: 32px;
    height: 32px;
    margin: 0 auto 6px;
    display: block;
    color: #9ca3af;
}

.wa-add-inner span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.wa-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.wa-modal-bg.open {
    display: flex;
}

.wa-modal {
    background: #fff;
    border-radius: 12px;
    width: min(680px, 100%);
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.wa-modal-head {
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--wa-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.wa-modal-head h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wa-primary);
    margin: 0;
}

.wa-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.wa-modal-close:hover {
    color: #374151;
}

.wa-modal-body {
    padding: 20px 22px;
}

.wa-modal-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    margin-top: 14px;
}

.wa-modal-body label:first-of-type,
.wa-modal-body .wa-content-label {
    margin-top: 0;
}

.wa-modal-body input,
.wa-modal-body select,
.wa-modal-body textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #1a1a2e;
    outline: none;
}

.wa-modal-body input:focus,
.wa-modal-body select:focus,
.wa-modal-body textarea:focus {
    border-color: var(--wa-primary);
}

.wa-modal-body textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.wa-modal-body .wa-sort-input {
    width: 120px;
}

.wa-lang-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
}

.wa-lang-tab {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #6b7280;
}

.wa-lang-tab:first-child {
    border-radius: 8px 0 0 8px;
}

.wa-lang-tab:last-child {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.wa-lang-tab.active {
    background: var(--wa-primary);
    color: #fff;
    border-color: var(--wa-primary);
}

.wa-ta-pane {
    display: none;
}

.wa-ta-pane.active {
    display: block;
}

.wa-toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.wa-toggle-row label {
    margin: 0;
}

.wa-toggle-row input[type="checkbox"] {
    width: auto;
}

.wa-modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid var(--wa-border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.wa-btn-cancel {
    padding: 8px 20px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wa-btn-save {
    padding: 8px 24px;
    background: var(--wa-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wa-btn-save:hover {
    background: #073d49;
}

.wa-copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #094e5d;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.wa-copy-toast.is-visible {
    opacity: 1;
}

@media (max-width: 767px) {
    .wa-templates-toolbar__actions {
        width: 100%;
    }

    .wa-templates-toolbar__actions .page-btn {
        width: 100%;
    }

    .wa-templates-toolbar__actions .add-btn {
        width: 100%;
        text-align: center;
    }
}

/* Student profile — WhatsApp template picker modal */
.wa-picker-modal {
    --wa-picker-primary: #094e5d;
    --wa-picker-border: #e8edf0;
}

.wa-picker-modal__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1060;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.wa-picker-modal__backdrop.open {
    display: flex;
}

.wa-picker-modal__dialog {
    width: min(640px, 100%);
    max-height: 90vh;
}

.wa-picker-modal__content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.wa-picker-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wa-picker-border);
    background: #fff;
    flex-shrink: 0;
}

.wa-picker-modal__head h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--wa-picker-primary);
}

.wa-picker-modal__head svg {
    width: 22px;
    height: 22px;
    color: #25d366;
    flex-shrink: 0;
}

.wa-picker-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
}

.wa-picker-modal__close:hover {
    color: #374151;
}

.wa-picker-alert {
    margin: 12px 20px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.wa-picker-alert--danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.wa-picker-alert--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.wa-picker-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--wa-picker-border);
    flex-shrink: 0;
}

.wa-picker-cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wa-picker-list {
    flex: 1;
    overflow-y: auto;
    padding: 14px 20px;
}

.wa-picker-item {
    position: relative;
    border: 1px solid var(--wa-picker-border);
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.wa-picker-item:hover {
    border-color: rgba(9, 78, 93, 0.35);
    box-shadow: 0 2px 10px rgba(9, 78, 93, 0.08);
}

.wa-picker-list:has(.wa-picker-item.is-selected) .wa-picker-item:not(.is-selected) {
    opacity: 0.8;
}

.wa-picker-list:has(.wa-picker-item.is-selected) .wa-picker-item:not(.is-selected):hover {
    opacity: 0.9;
}

.wa-picker-item.is-selected {
    border: 2px solid var(--wa-picker-primary);
    opacity: 1 !important;
    z-index: 1;
}

.wa-picker-item.is-selected::after {
    content: 'Selected';
    position: absolute;
    top: 10px;
    right: 12px;
    background: var(--wa-picker-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(9, 78, 93, 0.25);
}

.wa-picker-item__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 6px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.wa-picker-item.is-selected .wa-picker-item__head {
    padding: 12px 14px 10px;
    padding-right: 88px;
}

.wa-picker-item__cat {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.wa-picker-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
    min-width: 0;
}

.wa-picker-item.is-selected .wa-picker-item__name {
    color: var(--wa-picker-primary);
    font-weight: 700;
    font-size: 15px;
}

.wa-picker-lang {
    display: flex;
    gap: 0;
    margin: 0 14px 8px;
}

.wa-picker-lang-btn {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #6b7280;
}

.wa-picker-lang-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.wa-picker-lang-btn:last-child {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.wa-picker-lang-btn.active {
    background: var(--wa-picker-primary);
    color: #fff;
    border-color: var(--wa-picker-primary);
}

.wa-picker-preview {
    background: #f9fafb;
    border: 1px solid var(--wa-picker-border);
    border-radius: 8px;
    margin: 0 14px 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: #374151;
    white-space: pre-wrap;
    line-height: 1.6;
    max-height: 140px;
    overflow-y: auto;
}


.wa-picker-preview--hi {
    background: #f9fafb;
    border-color: var(--wa-picker-border);
}

.wa-picker-edit {
    display: none;
    margin: 0 14px 12px;
}

.wa-picker-edit textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: #1a1a2e;
    font-family: inherit;
    outline: none;
}

.wa-picker-edit textarea:focus {
    border-color: var(--wa-picker-primary);
}

.wa-picker-item__actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 14px 12px;
}

.wa-picker-empty {
    text-align: center;
    color: #9ca3af;
    padding: 40px 0;
    font-size: 14px;
}

.wa-picker-empty a {
    color: var(--wa-picker-primary);
    font-weight: 600;
}

.wa-picker-modal__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--wa-picker-border);
    flex-shrink: 0;
    background: #fff;
}

.wa-picker-btn-cancel {
    padding: 8px 20px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wa-picker-btn-send {
    min-width: 150px;
}

.wa-picker-btn-send:disabled,
.wa-picker-btn-send[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 575px) {
    .wa-picker-modal__foot {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .wa-picker-btn-send,
    .wa-picker-btn-cancel {
        width: 100%;
        text-align: center;
    }
}

.student-action-btn--result-issued,
.student-action-btn--slc-issued {
    background: #d1fae5 !important;
    box-shadow: inset 0 0 0 1px #6ee7b7;
}

.student-action-btn--result-issued img,
.student-action-btn--slc-issued img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(72%) saturate(559%) hue-rotate(118deg) brightness(92%) contrast(88%);
}

.document-issue-modal .modal-body h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a2b3c;
    line-height: 1.5;
}

.document-issue-modal .document-issue-modal__confirm-block {
    margin-top: 16px;
    text-align: left;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
}

.document-issue-modal .document-issue-modal__check-wrap {
    margin-bottom: 10px;
}

.document-issue-modal .document-issue-modal__check-wrap label {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b3c;
    line-height: 1.45;
    padding-left: 28px;
}

.document-issue-modal__hint,
.document-issue-modal .document-issue-modal__save-required p {
    margin: 0;
    font-size: 13px;
    color: #667;
    line-height: 1.45;
}

.document-issue-modal__reissue {
    margin: 14px auto 0;
    padding: 10px 12px;
    background: #eef6f8;
    border: 1px solid #c5e4ea;
    border-radius: 6px;
    font-size: 13px;
    color: #094e5d;
    text-align: left;
    max-width: 430px;
}

.document-issue-modal .modal-footer .add-btn {
    min-width: 130px;
    margin: 0 6px;
    justify-content: center;
}

.document-issue-modal__cancel-btn {
    min-width: 130px;
    margin: 0 6px;
    padding: 8px 30px;
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-transform: capitalize;
    cursor: pointer;
    transition: 300ms all;
}

.document-issue-modal__cancel-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #d1d5db;
}

.certificates-tab__status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.certificates-tab__status-grid--single {
    grid-template-columns: 1fr;
    max-width: 420px;
}

.student-profile-page .certificates-action-head {
    flex-wrap: wrap;
    gap: 12px;
}

.student-profile-page .certificates-action-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.student-profile-page .certificates-action-btns .add-btn {
    margin: 0;
    white-space: nowrap;
}

.student-profile-page #tab-certificates .profile-table-wrap {
    margin-bottom: 0;
}

.add-btn--disabled,
.add-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
}

.doc-save-notice {
    max-width: 720px;
    margin: 0 auto 12px;
    text-align: center;
}

.doc-save-notice--profile .alert {
    margin-bottom: 10px;
}

.doc-save-notice--profile .alert:last-child {
    margin-bottom: 0;
}

.certificates-tab__status-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.certificates-tab__status-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.certificates-tab__status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.certificates-tab__status-badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.certificates-tab__status-badge--success {
    background: #d1fae5;
    color: #065f46;
}

.certificates-tab__status-badge--info {
    background: #e0f2fe;
    color: #075985;
}

.certificates-tab__status-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.certificates-tab__status-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #094e5d !important;
    text-decoration: none !important;
}

.certificates-tab__status-link:hover {
    text-decoration: underline !important;
}

/* Action button inline loader (app-button-loader.js) */
@keyframes btn-loader-spin-center {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.btn-loader-host {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.btn-loader-host--full {
    display: block;
    width: 100%;
}

.add-btn.btn-is-loading,
.delete-data-btn.btn-is-loading,
.login-btn.btn-is-loading,
.filter-btn.btn-is-loading,
button[type="submit"].btn-is-loading,
input[type="submit"].btn-is-loading,
input[type="button"].btn-is-loading {
    position: relative;
    pointer-events: none;
    cursor: wait;
    opacity: 0.92;
    transition: none !important;
}

.add-btn.btn-is-loading:hover,
.delete-data-btn.btn-is-loading:hover,
.login-btn.btn-is-loading:hover,
.filter-btn.btn-is-loading:hover {
    transform: none;
}

.add-btn.btn-is-loading:hover {
    background-color: #094e5d;
    color: #FFFFFF;
}

.delete-data-btn.btn-is-loading:hover {
    background: #FF0000;
    color: #FFFFFF;
}

.btn-loader-spinner {
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    box-sizing: border-box;
}

.btn-loader-spinner--overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    z-index: 2;
    transform: translate(-50%, -50%);
    animation: btn-loader-spin-center 0.8s linear infinite;
}

.btn-loader-hidden {
    visibility: hidden !important;
}

.add-btn.btn-is-loading,
.delete-data-btn.btn-is-loading,
.login-btn.btn-is-loading,
.filter-btn.btn-is-loading,
button.add-btn.btn-is-loading,
button.delete-data-btn.btn-is-loading,
button.login-btn.btn-is-loading,
button.filter-btn.btn-is-loading,
button[type="submit"].btn-is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

input.add-btn.btn-is-loading,
input.delete-data-btn.btn-is-loading,
input.login-btn.btn-is-loading,
input.filter-btn.btn-is-loading,
input[type="submit"].btn-is-loading {
    color: transparent !important;
    background-image: none !important;
}

/* Compact modal promote form */
#promoteModal .student-promote-accommodation {
    margin-top: 8px;
    margin-bottom: 0;
}

#promoteModal .student-form-section.student-promote-accommodation {
    background: #f8fafb;
    border: 1px solid #e8edf0;
    border-radius: 8px;
    padding: 14px 16px 10px;
}

#promoteModal .theme-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin-bottom: 8px;
}

#promoteModal .theme-radio {
    position: relative;
}

#promoteModal .theme-radio__mark {
    display: inline-block;
    vertical-align: middle;
}

#promoteModal .form-group > label:not(.theme-radio):not(.error):not(.field-error) {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2d3a40;
    text-transform: none;
    letter-spacing: normal;
}