:root {
    --primary: #072940;
    --primary2: #1FA4A8;
    --accent2: #072940;
    --accent: #176E79;
    --accent3: #1FA4A8;
    --accent4: #28B65D;
    --accent5: #A228FB;
    --bg: #f6f8fb;
    --border-radius10: 10px;
    --border-radius: 12px;
    --shadow: 0 2px 8px rgba(30, 53, 92, 0.07);
    --shadow2: 0 2px 5px rgba(30, 53, 92, 0.2);
    --box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    --tab-active: #eaf2fb;
    --tab-border: #E2E8F0;
    --tab-hover: #eaf2fb;
    --tab-text: #222533;
    --tab-icon: #1e7ca7;
    --section-title: #222533;
    --section-icon: #1e7ca7;
    --label: #5a6c7d;
    --value: #313131;
    --divider: #eaf2fb;
    --sidebar-bg: #fff;
    --sidebar-border: #eaf2fb;
    --text-color: #fff;
    --text-grey: rgba(255, 255, 255, 0.5);
    --white: #fff;
    --grey: #ECECF0;
    --grey2: #f8fafc;
    --grey3: #F5F5F5;
    --grey4: #e5e7eb;
    --grey5: #e2e8f0;
    --light-gray: #e9ecef;
    --primary-green: #1FA4A8;
    --primary-green-light: rgba(31, 164, 168, 0.1);
    --primary-lightgreen: #e5f0f0;
    --icon-color: #93A4BB;
    --border: #d1d5db;
    --col-label-red: #D12953;
    --col-label-yellow: #F9AD16;
    --col-label-green: #147F4A;
    --present: #d1f5e4;
    --absent: #ffd6d6;
    --late: #e3e8ff;
    --halfday: #ffe9c7;
    --holiday: #F3E8FF;
    --excuse: #e3f6ff;
    --sickleave: #DCC7B7;
    --present-text: #2ca67a;
    --absent-text: #e74c3c;
    --late-text: #4b6cff;
    --holiday-text: #AD46FF;
    --halfday-text: #ff9800;
    --excuse-text: #00bcd4;
    --sickleave-text: #6F4E37;
    --card-bg: #fff;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --label-green: #b0dd38;
    --icon-size: 1.2em;
    --transition: all 0.3s ease;
    --bg-gradient: linear-gradient(90deg, var(--primary) 0%, var(--accent2) 30%, var(--accent) 100%);
    --bg-gradient2: linear-gradient(120deg, var(--accent3) 0%, var(--primary-green) 100%);
    --bg-gradient3: linear-gradient(140deg, var(--primary) 0%, var(--accent2) 30%, var(--accent) 100%);
    --vz-secondary: 193, 205, 224;
    --vz-success: 13, 166, 132;
    --vz-info: 65, 203, 216;
    --vz-warning: 244, 161, 77;
    --vz-danger: 225, 100, 73;
    --vz-light: 244, 246, 249;
    --vz-dark: 23, 41, 53;
    --vz-primary-bg: rgba(111, 106, 248, 0.1);
    --vz-secondary-bg: rgba(193, 205, 224, 0.1);
    --vz-success-bg: rgba(13, 166, 132, 0.1);
    --vz-info-bg: rgba(65, 203, 216, 0.1);
    --vz-warning-bg: rgba(244, 161, 77, 0.1);
    --vz-danger-bg: rgba(225, 100, 73, 0.1);
    --empty-color: #bdc3c7;
    --bn-primary: #1FA4A8;
    --bn-default: #3b82f6;
    --bn-info: #4F96D7;
    --bn-edit: #d0a137;
    --bn-download: #3b82f6;
    --bn-danger: #D6454A;
    --bn-print: #f59e0b;
    --bn-pkr: #45A17F;
    --bn-text: #ffffff;
    --bn-radius: 6px;
    --bn-padding-y: 8px;
    --bn-padding-x: 14px;
    --bn-font-size: 14px;
    --bn-transition: 0.25s ease;
}

html,
body {
    font-size: 14px;
    font-family: Roboto, sans-serif !important;
    letter-spacing: 0.2px;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    position: relative;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    scroll-behavior: smooth;
    transition: transform 0.3s;
}

::-webkit-scrollbar-track {
    background: rgb(241, 245, 249);
    border-radius: 6px;
    scroll-behavior: smooth;
}

::-webkit-scrollbar-thumb {
    background: rgb(203, 213, 225);
    border-radius: 6px;
    transition: background 0.2s;
    scroll-behavior: smooth;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(148, 163, 184);
    scroll-behavior: smooth;
}

.row {
    margin-right: -5px !important;
    margin-left: -5px !important;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 5px !important;
    padding-left: 5px !important;
}

i {
    line-height: 0;
}

.fi-rr-file-exclamation {
    font-size: 20px;
    font-weight: 700;
    color: var(--label);
}

.loader {
    display: contents !important;
}

.pt10 {
    margin-top: 10px !important;
}

.pt15 {
    padding-top: 15px !important;
}

.pt20 {
    padding-top: 20px !important;
}

.pt25 {
    padding-top: 25px !important;
}

.pt30 {
    padding-top: 30px !important;
}

.p5 {
    padding: 5px !important;
}

.p10 {
    padding: 10px !important;
}

.p15 {
    padding: 15px !important;
}

.p20 {
    padding: 20px !important;
}

.m1 {
    margin: 1px;
}

.m0 {
    margin: 0px !important;
}

.mb2 {
    margin-bottom: 2px !important;
}

.m20 {
    margin: 20px !important;
}

.mt5 {
    margin-top: 5px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mi-h {
    min-width: 130px !important;
    text-align: right !important;
}

.mr5 {
    margin-right: 5px !important;
}

.mr10 {
    margin-right: 10px !important;
}

.mb15 {
    margin-bottom: 15px !important;
}

.ml-1 {
    margin-left: 1px !important;
}

.mr40 {
    margin-right: 40px !important;
}

table td:last-child a.btn.btn-m2 {
    margin: 0px 2px !important;
}

hr {
    border-top: 1px solid var(--border);
}

.relative-top-5 {
    top: -5px;
    position: relative;
}

.text-danger {
    color: var(--bn-danger);
    font-size: 13px;
    line-height: 1;
    display: block;
    align-items: center;
    margin-top: 2px;
    font-weight: 500;
    position: relative;
}

.text-success {
    color: rgb(25, 135, 84);
    font-size: 13px;
    line-height: 1.4;
    margin-top: 10px;
    display: block;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.radius18 {
    border-radius: 18px !important;
    box-shadow: var(--shadow2) !important;
}

td .fa-check-square-o {
    top: 1px;
    font-size: 20px;
    font-weight: 400;
    color: var(--primary-green);
}

td .fa-exclamation-circle {
    top: 1px;
    font-size: 20px;
    font-weight: 400;
    color: var(--label);
}

.scrollbox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgb(203, 213, 225) rgb(241, 245, 249);
    padding-right: 10px;
}

.scrollbox-calendar .fc-view-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 650px;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgb(203, 213, 225) rgb(241, 245, 249);
    padding-right: 10px;
}

.scrollbox-notic {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 100px;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgb(203, 213, 225) rgb(241, 245, 249);
    padding-right: 0;
}

.border-radius-8 {
    border-radius: 8px !important;
}

.border-radius-10 {
    border-radius: 10px !important;
}

.border-radius-15 {
    border-radius: 15px !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--white);
    padding: var(--bn-padding-y) var(--bn-padding-x);
    font-size: var(--bn-font-size);
    font-weight: 500;
    border-radius: var(--bn-radius);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    user-select: none;
    transition: var(--bn-transition);
    text-decoration: none !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
    text-decoration: none !important;
}

.btn:focus-visible {
    outline: none !important;
    text-decoration: none !important;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none !important;
    text-decoration: none !important;
}

.deleteSelected .fa-trash {
    top: -1px;
    position: relative;
}

.btnlabel-add {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: normal;
    padding: 6px 15px !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 6px 20px;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.3);
}

.btn-cancel {
    background: var(--grey4);
    color: var(--label);
}

.btn-cancel:hover,
.btn-cancel:focus,
.btn-cancel:active {
    color: var(--label);
    background: color-mix(in srgb, var(--grey4), #000 30%);
}

.btn .fi-rr-arrow-small-left {
    font-size: 20px;
    line-height: 0.8;
}

.rt-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rt-button {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--label);
    border-radius: 8px !important;
}

.rt-button:focus {
    outline: none;
    outline-offset: 2px;
}

.rt-button:hover {
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-pkr {
    color: var(--white);
    line-height: 1;
    background: var(--bn-pkr) !important;
}

.btn-pkr:hover,
.btn-pkr:focus,
.btn-pkr:active {
    background: color-mix(in srgb, var(--bn-pkr), #000 30%) !important;
    color: var(--white) !important;
}

.btn-primary {
    background: var(--bn-primary);
    border-color: var(--bn-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: color-mix(in srgb, var(--bn-primary), #000 30%);
    color: var(--white) !important;
}

.btn-default {
    background: var(--bn-primary);
    border-color: var(--bn-primary);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background: color-mix(in srgb, var(--bn-primary), #000 30%);
    color: var(--white) !important;
}

.btn-default2 {
    background: var(--accent2);
    border-color: var(--accent2);
}

.btn-default2:hover,
.btn-default2:focus,
.btn-default2:active {
    background: color-mix(in srgb, var(--accent2), #000 30%);
    color: var(--white) !important;
}

.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open>.dropdown-toggle.btn-default.focus,
.open>.dropdown-toggle.btn-default:focus,
.open>.dropdown-toggle.btn-default:hover {
    outline: none;
    box-shadow: none;
    background: color-mix(in srgb, var(--primary-green), #000 30%);
    color: var(--white) !important;
}

.btn-default.active,
.btn-default:active,
.open>.dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default.disabled.active,
.btn-default.disabled.focus,
.btn-default.disabled:active,
.btn-default.disabled:focus,
.btn-default.disabled:hover,
.btn-default[disabled],
.btn-default[disabled].active,
.btn-default[disabled].focus,
.btn-default[disabled]:active,
.btn-default[disabled]:focus,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-default.active,
fieldset[disabled] .btn-default.focus,
fieldset[disabled] .btn-default:active,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default:hover {
    background-color: var(--grey4);
    border-color: var(--grey4);
}

.btn-default .badge {
    color: var(--white);
    background-color: rgb(51, 51, 51);
}

.btn-default .fi-br-plus {
    font-size: 15px;
}

.btn-danger {
    border-color: var(--bn-danger);
    background-color: var(--bn-danger) !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background: color-mix(in srgb, var(--bn-danger), #000 30%);
    color: var(--white) !important;
}

.btn-info {
    background: var(--bn-info);
    border-color: var(--bn-info);
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background: color-mix(in srgb, var(--bn-info), #000 30%);
    color: var(--white) !important;
}

.btn-print {
    background: var(--bn-print);
    border-color: var(--bn-print);
}

.btn-print:hover,
.btn-print:focus,
.btn-print:active {
    background: color-mix(in srgb, var(--bn-print), #000 30%);
    color: var(--white) !important;
}

.btn-edit {
    background: var(--bn-edit);
    border-color: var(--bn-edit);
}

.btn-edit:hover,
.btn-edit:focus,
.btn-edit:active {
    background: color-mix(in srgb, var(--bn-edit), #000 30%);
    color: var(--white) !important;
}

.btn-download {
    background: var(--bn-download);
    border-color: var(--bn-download);
}

.btn-download:hover,
.btn-download:focus,
.btn-download:active {
    background: color-mix(in srgb, var(--bn-download), #000 30%);
    color: var(--white) !important;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open>.dropdown-toggle.btn-primary.focus,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
    color: var(--white);
    background-color: var(--label);
    border-color: rgb(82, 82, 82);
    outline: 0px;
}

.btn-success {
    background: var(--present-text);
    border-color: var(--present-text) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: color-mix(in srgb, var(--bn-download), #000 30%);
    color: var(--white) !important;
}

.btn-link {
    align-items: center;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 600;
    background: var(--grey);
    border-radius: 8px;
    transition: 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    text-decoration: none;
    position: relative;
    color: var(--primary);
    justify-content: flex-start;
    cursor: pointer;
    display: flex !important;
}

.btn-link::before {
    content: "\f41c";
    font-size: 18px;
    font-weight: 400;
    margin-right: 5px;
    transition: transform 0.15s;
    font-family: "uicons-solid-rounded" !important;
}

.btn-link.view_data::before {
    content: "\f41c";
    font-size: 18px;
    font-family: "uicons-solid-rounded" !important;
}

.btn-link.fileicon::before {
    content: "\f675";
    font-size: 18px;
    font-weight: 400;
    margin-right: 5px;
    transition: transform 0.15s;
    font-family: uicons-regular-rounded !important;
}

.btn-link.url::before {
    content: "\f8bd";
    font-size: 16px;
    font-weight: 400;
    margin-right: 3px;
    transition: transform 0.15s;
    font-family: uicons-bold-rounded !important;
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    background: var(--bn-primary);
    color: var(--white) !important;
}

.btn-noneicon::before {
    display: none;
}

.btn-link .fi-br-link-alt {
    top: 2px;
    right: 2px;
    position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    background: var(--bn-danger);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--white);
    padding: 0px 6px;
    font-size: var(--bn-font-size);
    font-weight: 500;
    border-radius: 5px;
    border-width: medium;
    border-style: none;
    border-image: initial;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    transition: var(--bn-transition);
    line-height: normal;
    z-index: 1;
    position: relative;
    border-color: var(--bn-danger) !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover,
.select2-container--default .select2-selection--single .select2-selection__clear:focus,
.select2-container--default .select2-selection--single .select2-selection__clear:active {
    background: color-mix(in srgb, var(--bn-danger), #000 30%);
    color: var(--white) !important;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.multiselect.btn-default {
    background: var(--bn-primary);
    border-color: var(--bn-primary);
}

.multiselect.btn-default:hover {
    background: color-mix(in srgb, var(--bn-primary), #000 30%);
    color: var(--white) !important;
}

.form-label {
    color: rgb(45, 55, 72);
    display: block;
    margin-bottom: 0.375rem;
    transition: color 0.2s;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-group:focus-within .form-label {
    color: var(--primary-green);
}

.required {
    color: rgb(220, 38, 38);
    margin-left: 0.25rem;
}

.form-oneline {
    gap: 15px;
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 8px 10px;
    background: var(--grey2);
    border: 2px solid rgb(226, 232, 240);
    border-radius: 8px;
    color: rgb(26, 32, 44);
    transition: 0.2s;
    outline: none;
    font-size: 14px;
    font-weight: 400;
    min-height: 40px;
}

.form-control.note {
    min-width: 250px;
}

.form-select {
    width: 100%;
    font-size: 14px;
    transition: border-color 0.3s;
    height: 35px;
    background-size: 20px 17px;
}

.form-select option {
    padding: 12px 14px;
    font-size: 15px;
    background-color: var(--grey2);
}

.form-select option:hover {
    background: rgb(207, 214, 255) !important;
}

.form-select option:checked {
    background-color: var(--primary-green);
    color: var(--white);
}

.form-select option:disabled {
    background-color: var(--grey3);
}

.form-group textarea {
    height: 100px;
    line-height: 1.5;
}

.form-control::placeholder,
.form-textarea::placeholder {
    color: rgb(148, 163, 184);
    font-weight: 400;
}

.form-control:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: rgb(203, 213, 225);
    background: var(--white);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: rgba(37, 99, 235, 0.1) 0px 0px 0px 4px;
}

.form-control:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background: rgb(241, 245, 249);
    color: rgb(148, 163, 184);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-select {
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    appearance: none;
}

.form-group .form-select {
    padding-right: 40px;
}

.form-group:has(.form-select)::after {
    content: "\f153";
    position: absolute;
    right: 12px;
    top: 32px;
    transition: border-top-color 0.2s;
    font-size: 20px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

.form-group .miplus::after {
    content: "\f153";
    position: absolute;
    right: 10px;
    top: 7px;
    transition: border-top-color 0.2s;
    font-size: 20px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

.form-group .miplus select {
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    appearance: none;
}

.custom-select-icon::after {
    content: "\f153";
    position: absolute;
    right: 14px;
    bottom: 19px;
    transform: translateY(50%);
    font-family: "uicons-regular-rounded" !important;
    font-size: 18px;
    pointer-events: none;
    color: var(--label) !important
}

.custom-select-iconhide::after {
    display: none !important
}

.custom-select-iconhide>label {
    display: flex;
    /* min-height:40px; */
    margin-bottom: 8px;
    align-items: flex-end;
}


.field-arrowcenter .form-group:has(.form-select)::after {
    top: 40% !important;
}

.td-fieldarrow {
    position: relative;
}

.td-fieldarrow:has(.form-select)::after {
    content: "\f153";
    position: absolute;
    right: 12px;
    top: 7px;
    transition: border-top-color 0.2s;
    font-size: 20px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

/* .nolabel-arrow .form-group:has(.form-select)::after {
    right: 35px;
    top: 18%;
}

.no-arrow .form-group:has(.form-select)::after {
    right: 35px;
} */

.form-group:has(.form-select):hover {
    color: var(--primary-green);
    cursor: pointer;
}

.form-group:has(.form-select:focus)::after {
    color: var(--primary-green);
    border-top-color: var(--primary-green);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group .form-control.date {
    padding-right: 40px;
}

.form-group:has(.form-control.date)::after {
    content: "\f339";
    position: absolute;
    right: 12px;
    top: 32px;
    transition: border-top-color 0.2s;
    font-size: 18px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

.form-group.no-labelicon:has(.form-control.date)::after {
    content: "\f339";
    position: absolute;
    right: 14px;
    top: 8px;
    transition: border-top-color 0.2s;
    font-size: 18px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

.form-group:has(.form-control.date):hover {
    color: var(--primary-green);
    cursor: pointer;
}

.form-group:has(.form-control.date:focus)::after {
    color: var(--primary-green);
    border-top-color: var(--primary-green);
}

.form-group .form-control.date2 {
    padding-right: 40px;
}

.form-group:has(.form-control.date2)::after {
    content: "\f339";
    position: absolute;
    right: 15px;
    top: 8px;
    transition: border-top-color 0.2s;
    font-size: 18px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

.form-group:has(.form-control.date):hover {
    color: var(--primary-green);
    cursor: pointer;
}

.form-group:has(.form-control.date:focus)::after {
    color: var(--primary-green);
    border-top-color: var(--primary-green);
}

.form-group .form-control.date2 {
    padding-right: 40px;
}

.form-group:has(.form-control.date2)::after {
    content: "\f339";
    position: absolute;
    right: 12px;
    top: 32px;
    transition: border-top-color 0.2s;
    font-size: 18px;
    pointer-events: none;
    color: var(--label);
    font-family: "uicons-regular-rounded" !important;
}

.form-group:has(.form-control.date2):hover {
    color: var(--primary-green);
    cursor: pointer;
}

.form-group:has(.form-control.date2:focus)::after {
    color: var(--primary-green);
    border-top-color: var(--primary-green);
}

.form-group span.btn-close {
    position: relative;
    right: 10px;
    top: 36px;
    transition: border-top-color 0.2s;
    font-size: 17px;
    color: var(--white);
    background: var(--bn-danger) !important;
    z-index: 101;
    cursor: pointer;
    padding: 2px;
    border-radius: 5px !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    width: 100%;
    padding: 8px 10px;
    background: var(--input-bg);
    color: rgb(26, 32, 44);
    transition: 0.2s;
    outline: none;
    font-size: 14px;
    font-weight: 400;
    min-height: 38px;
    box-sizing: border-box;
    border: 2px solid rgb(226, 232, 240) !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0px;
    margin: 0px;
    line-height: 22px;
    color: rgb(26, 32, 44);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 30px;
    position: absolute;
    right: 0px;
    top: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-width: 6px 5px 0px;
    border-style: solid;
    border-color: rgb(100, 116, 139) transparent transparent;
}

.select2-container--open .select2-selection--single {
    background: var(--white);
    border-color: rgb(59, 130, 246);
}

.ms-options-wrap button {
    width: 100%;
    color: rgb(26, 32, 44);
    transition: 0.2s;
    outline: none;
    min-height: 40px;
    padding: 8px 15px !important;
    background: var(--grey2) !important;
    border: 2px solid rgb(226, 232, 240) !important;
    border-radius: 8px !important;
    margin: 0px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.form-control::placeholder,
.form-textarea::placeholder {
    color: rgb(148, 163, 184);
    font-weight: 400;
}

.form-control:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: rgb(203, 213, 225);
    background: var(--white);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: rgba(37, 99, 235, 0.1) 0px 0px 0px 4px;
}

.form-control:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background: rgb(241, 245, 249);
    color: rgb(148, 163, 184);
    cursor: not-allowed;
    opacity: 0.6;
}

table.dataTable.table-mt {
    margin-top: 5px !important;
}

.navbar-static-top .form-control.search-form {
    width: 600px;
}

/* Input ko flexible grow/shrink allow karo */
.search-form .form-control {
    flex: 1 1 auto;
    min-width: 0;
    /* 👈 important: overflow fix */
}

.dataTables_length select {
    background: var(--white);
    padding: 4px 10px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    margin: 0px !important;
}

.dataTables_length select:focus {
    outline: none;
    outline-offset: 2px;
}

.container-main {
    max-width: 100%;
    background: var(--bg);
}

.inner-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    max-width: 100%;
    margin: 0px;
    padding: 20px;
}

.profile-topbar {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent2) 30%, var(--accent) 100%);
    color: var(--white);
    border-radius: 0px;
    padding: 15px 30px 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.profile-usersec {
    display: flex;
    flex: 1;
}

.widget-user-image p {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0px;
    color: var(--accent2);
    letter-spacing: 0.5px;
    text-align: center;
}

.profile-user-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    margin-right: 24px;
    background: rgb(234, 242, 251);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.profile-tophead-actions {
    display: flex;
    gap: 10px;
}

.btn-tophead {
    background: var(--white);
    color: var(--primary);
}

.profile-main-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 0%;
}

.profile-head-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1 1 0%;
    width: 100%;
}

.profile-main-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.profile-head-inner {
    display: flex;
    flex-direction: row;
    gap: 25px;
    flex: 1 1 0%;
    justify-content: space-between;
    align-items: center;
}

.profile-head-inner h1 {
    font-size: 22px;
    font-weight: 500;
    margin: 0px;
    letter-spacing: 0.5px;
}

.profile-request-id {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.profile-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.profile-badges .dash::before {
    content: "/";
    font-size: 18px;
    color: var(--label);
    font-weight: 500;
}

.badges-aqua {
    font-size: 18px;
    color: var(--label-green);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.profile-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-weight: 400;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 12px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-flow: wrap;
    align-content: flex-end;
    gap: 5px;
}

.profile-badge2 {
    color: var(--white);
    font-weight: 400;
    border-radius: 8px;
    padding: 0px 5px;
    font-size: 16px;
    display: flex;
    flex-flow: wrap;
    align-content: flex-end;
    gap: 7px;
}

.profile-badge i,
.profile-badge2 i {
    display: flex;
    padding: 0px;
    margin: 0px;
    align-items: center;
}

.profile-badge2 .fi-rr-calendar-day {
    top: -1px;
    position: relative;
}

.profile-meta {
    display: grid;
    /* grid-template-columns: repeat(4, auto); */
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
    gap: 15px 30px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(234, 242, 251);
    flex-wrap: wrap;
}

.propayroll {
    gap: 55px;
    align-items: center;
}

.propayroll .btn {
    height: min-content;
}

.profile-meta-inner {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-right: 50px;
    margin-top: 5px;
}

.profile-meta-box {
    display: flex;
    gap: 5px;
    flex-direction: column;
    color: var(--text-grey);
    align-items: flex-start;
}

.profile-meta-box .text-aqua {
    font-size: 16px;
    color: var(--text-color) !important;
}

.profile-barcode-area {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    min-width: 110px;
    margin-left: 20px;
    flex-direction: column;
}

.gap10 {
    gap: 10px;
    align-items: flex-start;
}

.gap20 {
    gap: 20px !important;
    align-items: flex-start;
}

.gap30 {
    gap: 30px !important;
    align-items: flex-start;
}

.profile-barcode-area h4 {
    text-transform: uppercase;
    display: flex;
    padding: 0px;
    margin: 0px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.profile-barcode-area .attendancetable {
    gap: 15px;
    /* min-width: auto; */
    background: var(--white);
    margin-top: 0px !important;
}

.profile-barcode {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 0px;
    min-width: 110px;
    justify-content: space-between;
}

.profile-barcode-box {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
}

.profile-barcode-box:last-child {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    flex-direction: column;
}

.profile-barcode-area span {
    font-size: 14px;
    font-weight: 400;
}

.profile-barcode-area img {
    background: var(--white);
    border-radius: 8px;
    padding: 4px;
    height: 40px;
    width: auto;
}

.profile-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    place-content: center flex-start;
    gap: 8px;
    align-items: center;
}

.profile-actions .left {
    display: inline-flex;
    gap: 8px;
}

.profile-actions .btn-actions {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-weight: 400;
    border-radius: 8px;
    padding: 2px 10px;
    font-size: 18px;
    display: flex;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    flex-flow: wrap;
    gap: 5px;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

.profile-actions i {
    font-size: 18px;
    line-height: 0;
}

.profile-siblings-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 20px;
    margin-left: 25px;
    min-width: 260px;
    position: relative;
    border-left: solid 1px var(--text-grey);
}

.siblings-box {
    padding: 5px 0px;
    text-align: center;
    color: var(--white);
    min-width: 230px;
    max-width: 250px;
    position: relative;
    margin: 0px;
}

.siblings-header {
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    padding-left: 0px;
    display: flex;
    flex-direction: row;
    place-content: center space-between;
    align-items: center;
}

.siblings-header h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0px;
    padding: 0px;
}

.siblings-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    width: 100%;
    position: relative;
    min-height: 70px;
}

.sibling-card {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: 100%;
    transition: transform 0.3s;
    min-height: 70px;
    flex-direction: column;
}

.sibling-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    background: rgb(234, 242, 251);
}

.sibling-card .fw-bold {
    font-weight: 600;
    color: var(--white);
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    letter-spacing: 0.5px;
}

.sibling-card .fw-bold a {
    color: var(--white);
}

.sibling-card .label2 {
    font-size: 12px;
    color: var(--text-grey);
}

.siblings-arrow {
    background: transparent;
    color: var(--white);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 22px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    box-shadow: rgba(30, 53, 92, 0.09) 0px 1px 4px;
    transition: background 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    align-items: center;
}

.siblings-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.siblings-arrow.left {
    left: 0px;
}

.siblings-arrow.right {
    right: 0px;
}

.siblings-index {
    font-size: 12px;
    color: var(--text-grey);
    font-weight: 400;
    letter-spacing: 0px;
}

.tab-mb-20 {
    margin: 0px 0px 20px !important;
}

.inner-tabs {
    display: flex;
    align-items: center;
    background: var(--grey);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px;
    padding: 5px;
    border: 1px solid var(--tab-border);
    overflow-x: auto;
    gap: 5px;
}

.inner-tab {
    display: flex;
    gap: 5px;
    padding: 8px 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    outline: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
    letter-spacing: 0.2px;
    border-radius: var(--border-radius10);
    border: 1px solid transparent;
    align-items: center;
    line-height: 1.2;
    white-space: nowrap;
}

.inner-tab i {
    font-size: 16px;
    font-weight: 400;
}

.inner-tab:last-child {
    border-right-width: medium;
    border-right-style: none;
    border-right-color: currentcolor;
}

.inner-tab.active,
.inner-tab:hover {
    background: var(--primary-lightgreen);
    color: var(--primary-green);
    border: solid 1px var(--primary-green);
}

.inner-tab .bi {
    font-size: 1.2rem;
    color: var(--tab-icon);
}

.nav-inner-tab {
    display: flex;
    align-items: center;
    background: var(--grey);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 0px;
    padding: 5px;
    border: 1px solid var(--tab-border);
    gap: 5px;
    list-style: none;
}

.nav-inner-tab li {
    margin: 0px;
    padding: 0px;
}

.nav-inner-tab li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    outline: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
    letter-spacing: 0.2px;
    border-radius: var(--border-radius10);
    border: 1px solid transparent;
    line-height: 1.2;
    text-decoration: none;
}

.nav-inner-tab li a i,
.nav-inner-tab li a .bi {
    font-size: 16px;
    font-weight: 400;
    color: var(--tab-icon);
}

.nav-inner-tab li:last-child a {
    border-right-width: medium;
    border-right-style: none;
    border-right-color: currentcolor;
}

.nav-inner-tab>li:hover>a,
.nav-inner-tab>li.active>a {
    background: var(--primary-lightgreen);
    color: var(--primary-green);
    border: solid 1px var(--primary-green);
}

.main-content-area {
    width: 100%;
    padding: 0px 20px 40px;
}

.main-content-area2 {
    width: 100%;
    padding: 20px 20px 40px;
}

.main-left {
    flex: 1.7 1 0%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-right {
    flex: 1 1 0%;
    min-width: 340px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-right-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--section-title);
    margin: 20px;
    gap: 8px;
    letter-spacing: 0px;
    line-height: normal;
}

.main-right-title .icon {
    background: rgba(16, 177, 185, 0.1);
    color: var(--accent3);
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 0;
}

.main-right-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 0px;
    border: 1px solid var(--border);
    margin-bottom: 0px;
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    height: 100%;
}

.section-title {
    font-weight: 600;
    color: var(--section-title);
    margin-bottom: 18px;
    font-size: 1.18rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.label {
    font-size: 0.98rem;
    color: var(--label);
    margin-bottom: 2px;
    text-align: left;
}

.value {
    font-weight: 500;
    font-size: 16px;
    color: var(--value);
    margin-bottom: 8px;
}

.misc-icon {
    font-size: 1.2rem;
    color: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
}

.form-upload {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}

.form-upload input[type="file"] {
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgb(246, 248, 251);
    font-size: 1rem;
}

.form-upload .btn {
    background: var(--accent);
    color: var(--white);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-upload .btn:hover {
    background: var(--primary);
}

.form-upload .error {
    color: rgb(211, 47, 47);
    font-size: 0.98rem;
    margin-top: 2px;
}

.inner-container {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    max-width: 100%;
    margin: 0px;
    padding: 20px;
}

.inner-container-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px 10px;
    margin-bottom: 15px;
    border-bottom: solid 1px var(--border);
}

.inner-container-header .inner-container-title {
    padding: 0px;
    margin: 0px;
}

.inner-container-header .pull-right {
    font-size: 16px;
    font-weight: 500;
    padding: 0px;
}

.profile-container {
    display: flex;
    gap: 20px;
}

.personal-container {
    padding: 20px;
}

.personal-container .table-subject-list {
    display: flex;
}

.personal-container .table-subject-item {
    font-weight: 600;
    padding: 5px 10px;
}

.personal-container .table-subject-item .subject-badge {
    font-weight: 500;
    padding: 5px 15px;
}

.personal-info-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--section-title);
    margin-bottom: 18px;
    gap: 8px;
    letter-spacing: 0px;
}

.personal-info-title .icon {
    background: rgba(16, 177, 185, 0.1);
    color: var(--accent3);
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 0;
}

.personal-info-title .adrs2 {
    background: rgba(40, 182, 93, 0.1);
    color: rgb(40, 182, 93);
}

.personal-info-title .adrs3 {
    background: rgba(162, 40, 251, 0.1);
    color: rgb(162, 40, 251);
}

.personal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px;
    margin-bottom: 18px;
}

.personal-info-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    margin-bottom: 18px;
}

.personal-info-grid > .personal-info-field.full-widthgrid {
    grid-column: span 3;
}

.personal-info-field {
    border-radius: 8px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 15px 20px;
    display: flex;
    position: relative;
    background: var(--grey2);
    flex-direction: column;
    min-height: 56px;
}

.personal-info-field.full-width {
    grid-area: 3 / 2 / auto / span 2;
}

.personal-info-label {
    font-size: 14px;
    color: var(--label);
    font-weight: 500;
}

.personal-info-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    color: var(--accent2);
}

.personal-info-box.personal-info-desicon {
    display: flex;
    align-items: flex-start;
}

.personal-info-box.personal-info-desicon .personal-info-icon {
    top: 5px;
    position: relative;
}

.personal-info-box.personal-info-dest {
    display: block !important;
}

.personal-info-box.textarea-icon {
    display: flex;
    align-items: flex-start;
}

.personal-info-box.textarea-icon .personal-info-icon {
    margin-top: 4px;

}

.personal-info-input {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 16px;
    color: var(--value);
    font-weight: 400;
    padding: 2px 0px;
    border-radius: 8px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0px;
    margin-top: 0px;
    background: transparent;
    line-height: 1;
}

textarea.personal-info-input {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 16px;
    color: var(--value);
    font-weight: 400;
    padding: 0;
    border-radius: 8px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    font-family: inherit;
    line-height: 1.4;
    resize: none;
    overflow: auto;
    min-height: 0;
}

textarea.personal-info-input::-webkit-scrollbar {
    width: 6px;
}

textarea.personal-info-input {
    resize: vertical;
}

.personal-info-icon {
    display: flex;
    color: var(--icon-color);
    font-size: 16px;
    pointer-events: none;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

.personal-info-category {
    background: var(--white);
    border-radius: 12px;
    font-size: 0.93rem;
    color: var(--primary);
    font-weight: 600;
    padding: 2px 12px;
    display: inline-block;
    margin-left: 2px;
    margin-top: 2px;
    border: 1px solid rgb(234, 242, 251);
}

.personal-info-address-title {
    display: flex;
    align-items: center;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    gap: 8px;
    margin-top: 18px;
}

.personal-info-address-title .icon {
    background: rgb(234, 242, 251);
    color: rgb(30, 124, 167);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.personal-info-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.personal-info-address-field {
    background: rgb(246, 248, 251);
    border-radius: 8px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 0px;
    display: flex;
    flex-direction: column;
    min-height: 44px;
    position: relative;
}

.personal-info-address-label {
    font-size: 0.98rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2px;
    margin-top: 10px;
    margin-left: 12px;
}

.personal-info-address-input {
    background: rgb(246, 248, 251);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 1.05rem;
    color: rgb(34, 34, 34);
    font-weight: 500;
    padding: 10px 12px 10px 38px;
    border-radius: 8px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0px;
    margin-top: 0px;
}

.personal-info-address-icon {
    position: absolute;
    left: 12px;
    top: 34px;
    color: rgb(30, 124, 167);
    font-size: 1.1rem;
    pointer-events: none;
}

.personal-guardian-box {
    margin-bottom: 0px;
    background: rgb(250, 250, 251);
    width: 100%;
    /* max-width: 420px; */
    overflow: hidden;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}

.personal-guardian-title {
    background: var(--grey5);
    color: rgb(17, 24, 39);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 6px 10px;
}

.personal-guardian-content {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px;
    gap: 15px;
    flex-direction: column;
}

.personal-guardian-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.personal-guardian-img {
    flex-shrink: 0;
}

.personal-guardian-img .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(241, 245, 249);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: rgb(107, 114, 128);
    border: 1px solid var(--border);
}

.personal-guardian-details {
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.2px;
    align-items: stretch;
}

.personal-guardian-name {
    font-weight: 600;
    font-size: 16px;
    color: rgb(17, 24, 39);
}

.personal-guardian-list {
    display: flex;
    font-size: 16px;
    color: var(--value);
    gap: 0px;
    align-items: center;
    margin-bottom: 0px;
    border-bottom: solid 1px var(--border);
    padding-bottom: 10px;
}

.personal-guardian-list-box {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent2);
}

.personal-guardian-list i {
    font-size: 18px;
    color: var(--label);
    display: flex;
    margin-right: 12px;
}

.personal-guardian-listbox {
    display: flex;
    font-size: 16px;
    color: var(--value);
    align-items: center;
    gap: 10px;
}

.personal-guardian-list .label {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent2);
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: flex-start;
}

.personal-guardian-list .value {
    color: var(--value);
    margin: 0px;
    padding: 0px;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 400;
}

.miscellaneous-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.miscellaneous-field {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border: 1px solid rgb(229, 234, 242);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: 0.2s;
}

.miscellaneous-field.full-width {
    grid-column: span 4;
}

.miscellaneous-field:hover {
    border-color: rgb(203, 213, 225);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 6px;
}

.miscellaneous-icon {
    font-size: 22px;
    color: var(--icon-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.miscellaneous-box {
    display: flex;
    line-height: 1;
    flex: 1 1 0%;
    gap: 3px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

.miscellaneous-box .label {
    font-size: 14px;
    font-weight: 500;
    color: var(--value);
    padding: 0px;
    text-align: left;
}

.miscellaneous-box .value {
    font-size: 15px;
    font-weight: 400;
    color: var(--label);
    word-break: break-word;
    margin: 0px;
    line-height: 1.2;
}

.miscellaneous-box .value.na {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgb(230, 248, 235);
    color: rgb(28, 156, 76);
    font-size: 13px;
    font-weight: 600;
}

.icon-90deg {
    transform: rotate(-90deg) scaleX(-1);
}

.icon-90deg1 {
    transform: rotate(90deg) scaleX(1);
}

.siblings-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.siblings-slider {
    display: flex;
    will-change: transform;
}

.sibling-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgb(238, 238, 238);
}

.fw-bold {
    font-weight: 700;
}

.label2 {
    color: rgb(102, 102, 102);
    font-size: 0.9rem;
}

.siblings-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.p-0 {
    padding: 0px !important;
}

/* .tableUploadDoc {
    width: 100%;
    min-width: auto;
} */

.table-container {
    border-radius: 12px;
    margin: 0px;
    padding: 0px 0px 20px;
    background: var(--white);
}

.table-container-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.table-container-header .box-title {
    padding: 0px;
    margin: 0px;
}

.table-container-header .pull-right {
    font-size: 16px;
    font-weight: 500;
    padding: 0px;
}

.table-responsive {
    width: 100%;
    margin-bottom: 0px;
    overflow: visible !important;
    border: none;
}

.table-responsive .dataTableold {
    width: 100%;
    max-height: calc(-200px + 91vh);
    overflow: auto;
    padding: 0px;
    box-sizing: border-box;
    border: 1px solid var(--grey5);
    border-radius: 8px;
    display: block;
    margin-top: 5px !important;
}

/* .table-wrapper {
    width: 100%;
    max-height: calc(-200px + 99vh);
    overflow: auto;
    padding: 0px;
    box-sizing: border-box;
    border: 1px solid var(--grey5);
    border-radius: 8px;
    display: block;
} */

.table-wrapper {
    width: 100%;
    max-height: calc(-200px + 99vh);
    overflow: auto;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    border: 1px solid var(--grey5);
    border-radius: 8px;
    display: block;
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 900px;
    margin: 0 !important;
    padding: 0 !important;
    border-spacing: 0;
    border: none;
}

/* Yeh important hai - remove extra spacing from all table elements */
.table-wrapper table>* {
    margin: 0 !important;
    padding: 0 !important;
}

/* Specifically target the anchor tags inside cells */
/* .table-wrapper table td a {
    display: contents;
    padding: 0;
    margin: 0;
} */

/* Remove any default table spacing */
.table-wrapper table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.table-wrapper table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    margin: 0;
    overflow: clip;
}

.table-responsive>.table-scrollnew {
    width: 100%;
    max-height: calc(-200px + 100vh);
    overflow: auto;
    padding: 0px;
    box-sizing: border-box;
    border: 1px solid var(--grey5);
    border-radius: 8px;
}

.dataTables_wrapper>div:nth-child(4000) {
    width: 100%;
    max-height: calc(-200px + 91vh);
    overflow: auto;
    padding: 0px;
    box-sizing: border-box;
    border: 1px solid var(--grey5);
    border-radius: 8px;
    margin-top: 5px !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 900px;
    overflow: auto;
    border-radius: 8px;
    outline: none;
    max-height: 520px;
    margin: 0px !important;
    /* min-width: max-content !important; */
}

/* .modal-body table {
    min-width: max-content !important;
} */

table td,
table th {
    word-break: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
}

.fixgradetable th:nth-child(1),
.fixgradetable td:nth-child(1) {
    white-space: nowrap !important;
}


.fixgradetable-in th,
.fixgradetable-in td {
    min-width: 150px !important;
    white-space: normal !important;
}

/* table.table-striped th:last-child, table.table-striped td:last-child {
    right: 0px;
    z-index: 99;
    background: var(--white);
    position: sticky !important;
    display: table-cell;
    min-width: min-content !important;
} */

table thead {
    position: sticky;
    top: 0px;
    z-index: 2;
}

table.table-striped thead {
    position: sticky;
    top: 0px;
    z-index: 101;
}

table.table-striped thead,
table.table-striped tbody {
    width: 100%;
    table-layout: fixed;
    top: -2px;
}

table td:last-child {
    white-space: nowrap;
}

table td:last-child button,
table td:last-child .btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    outline: none !important;
    margin: 0px !important;
}

table td:last-child a.btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    outline: none !important;
    margin: 0px !important;
}

thead {
    background: var(--grey5) !important;
}

thead tr th {
    border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
    border-bottom: 2px solid rgb(221, 221, 221);
    position: relative;
    white-space: nowrap;
    background: var(--grey5) !important;
}

thead th::after {
    padding-left: 10px !important;
}

tbody .child-row td {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}

tbody .child-row td:first-child {
    width: 420px;
    border-left: 1px solid rgb(221, 221, 221);
}

.stndfees tbody .child-row td:first-child {
    width: auto;
}

tbody .child-row td:last-child {
    border-right: 1px solid rgb(221, 221, 221);
}

th,
td {
    border: 1px solid var(--grey5);
    padding: 5px 8px !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    word-break: break-word;
    overflow-wrap: break-word;
    /* width: auto; */
    /* max-width: 220px; */
}

td.description-data {
    border: 1px solid var(--grey5);
    max-width: 140px;
    padding: 5px 8px !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: normal !important;
    line-height: 1.6 !important;
}

#headerTableModal td {
    white-space: normal !important;
}

.inner-table {
    min-width: auto !important;
}

table .inner-table th:last-child,
table .inner-table td:last-child {
    position: relative;
    display: grid;
}

table tfoot td {
    position: sticky;
    bottom: 0px;
    z-index: 15;
    font-size: 15px;
    font-weight: bold;
    background: var(--grey5);
    border-top: 2px solid rgb(221, 221, 221);
}

tbody .grand-total td:nth-child(1),
.grand-total td:nth-child(2),
.grand-total td:nth-child(4),
.grand-total td:nth-child(5),
.grand-total td:nth-child(6),
.grand-total td:nth-child(7) {
    text-align: right !important;
}

.feesTable th:nth-child(4),
.feesTable th:nth-child(5),
.feesTable th:nth-child(8),
.feesTable th:nth-child(9),
.feesTable th:nth-child(10),
.feesTable th:nth-child(11) {
    text-align: right;
}

.feesTable tbody tr:nth-child(4),
.feesTable td:nth-child(5),
.feesTable td:nth-child(8),
.feesTable td:nth-child(9),
.feesTable td:nth-child(10),
.feesTable td:nth-child(11) {
    text-align: right !important;
}

.table-behaviour thead th {
    text-align: left;
}

.table-behaviour .staff-info .staff-id {
    font-size: 14px;
    color: var(--primary2);
    font-weight: 600;
}

.child-row td,
.child-row2 td,
.grand-total td {
    white-space: nowrap;
}

.align-start {
    text-align: center !important;
}

.dataTables_wrapper .dt-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dataTables_wrapper .dt-button {
    color: var(--label);
    background: var(--grey5);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 8px !important;
}

.dataTables_wrapper .dt-button:focus {
    outline: none;
    outline-offset: 2px;
}

.dataTables_wrapper .dt-button:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white) !important;
}

.dataTables_wrapper tbody td:last-child {
    vertical-align: middle;
}

.dataTables_wrapper tbody td:last-child a {}

.dataTables_wrapper tbody td:last-child a.btn-space {
    margin-right: 4px !important;
}

table.table tbody tr td.text-danger.text-center {
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px !important;
    border: none !important;
    text-align: center !important;
    vertical-align: middle;
    display: table-cell;
    background: rgba(214, 69, 74, 0.05);
}

button.dt-button:hover:not(.disabled),
div.dt-button:hover:not(.disabled),
a.dt-button:hover:not(.disabled) {
    transition: transform 0.25s ease-in-out;
    cursor: pointer;
    background: var(--primary-green) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.financial-table-topbar .buttons-pdf {
    display: none;
}

.join-btn .label {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    padding: 4px 10px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 5px;
    margin: 0px;
    color: rgb(255, 255, 255) !important;
    background: rgb(101, 170, 22) !important;
    border: 1px solid rgb(101, 170, 22) !important;
}

a.label .label-success {
    color: rgb(255, 255, 255) !important;
    border: 1px solid rgb(101, 170, 22) !important;
}

.join-btn .label:focus,
.join-btn .label:hover {
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    background: rgb(86, 146, 19) !important;
}

.flexible-col {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    text-align: center;
    white-space: nowrap;
}

.flexible-col2 {
    min-width: 220px;
    width: auto;
    white-space: normal;
}

.report-table td.flexible-col:nth-of-type(2),
.report-table td.flexible-col:nth-of-type(4),
.report-table th.flexible-col:nth-of-type(2),
.report-table th.flexible-col:nth-of-type(4) {
    background-color: var(--grey3);
}

.grand-total td {
    border-left-width: medium;
    border-left-style: none;
    border-left-color: currentcolor;
    border-right-width: medium;
    border-right-style: none;
    border-right-color: currentcolor;
}

.table.student-list th:nth-child(2),
.table.student-list td:nth-child(2) {
    white-space: normal !important;
}

.table.student-list th {
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    word-wrap: normal !important;
}

.table.student-list td .label-success {
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    word-wrap: normal !important;
    line-height:1.2;
}

.table.student-list td:nth-child(2) {
    width: 10% !important;
    white-space: normal !important;
}

.table.student-list td:nth-child(2) a,
.table.student-list td:nth-child(2) .email {
    white-space: nowrap !important;
}

.table.student-list td > .label {
    font-size: 13px;
    font-weight: 400;
    padding: 5px 5px;
    display: block;
}

.table.dataTable thead th.text-right,
.table.dataTable tbody td.text-right {
    text-align: right !important;
}

.table.dataTable tfoot td.text-right {
    text-align: right !important;
}

.status {
    display: flex;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    line-height: normal;
}

.status.paid {
    color: var(--col-label-green);
    border: 1px solid rgba(20, 127, 74, 0.4);
}

.status.unpaid {
    color: var(--col-label-red);
    border: 1px solid rgba(209, 41, 83, 0.4);
}

.status.partial {
    background: transparent;
    color: rgb(170, 91, 0);
    border: 1px solid rgba(170, 91, 0, 0.4);
}

.tdcls a b {
    margin-top:0 !important;
    font-weight: 700;
    font-size: 14px;
}

.tdcls a {
    margin-top:0 !important;
    font-weight: 700;
    font-size: 14px;
}

.amount {
    text-align: right !important;
}

.amount span {
    font-size: 12px;
    color: red;
}

.paid-col {
    background: rgba(20, 127, 74, 0.1);
    border-bottom: 2px solid var(--col-label-green);
}

.partial-col .partial-box {
    background: rgba(249, 173, 22, 0.1);
    border-bottom: 2px solid var(--col-label-yellow);
}

.unpaid-col .unpaid-box {
    background: transparent;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.balance {
    font-weight: 700;
    text-align: right;
}

.action-btncover {
    text-align: center !important;
}

.bg-clm {
    background: var(--grey3);
}

.rounded-arrow {
    position: relative;
    vertical-align: sub;
}

.rounded-arrow::before {
    content: "↳";
    position: absolute;
    right: 15px;
    color: rgb(102, 102, 102);
    font-size: 18px;
    top: 0px;
    font-family: "uicons-regular-rounded" !important;
}

.rounded-arrow i.fi-br-arrow-turn-left-up {
    position: absolute;
    right: 15px;
    color: rgb(102, 102, 102);
    font-size: 18px;
}

.group-separator td {
    height: 12px;
    background: transparent;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.grand-total {
    font-weight: 600;
    background: var(--grey);
    border-top: 2px solid rgb(153, 153, 153);
    border-bottom: 2px solid rgb(153, 153, 153);
}

.grand-total .amount {
    text-align: left;
}

.grand-total .amount span {
    color: red;
    font-weight: 600;
}

.exam-report {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card {
    padding: 20px;
}

.report-card h3 {
    margin: 0px 0px 15px;
    font-size: 22px;
    font-weight: bold;
    color: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.report-card h3 .exam-icon {
    font-size: 17px;
    color: var(--white);
    background: var(--primary2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 8px;
    border-radius: 8px;
}

.report-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.summary-box {
    flex: 1 1 0%;
    min-width: 120px;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border-left: 2px solid rgb(238, 238, 238);
    border-right: 2px solid rgb(238, 238, 238);
    box-shadow: var(--shadow2);
}

.summary-box span {
    display: block;
    font-size: 18px;
}

.summary-box label {
    color: var(--label);
    font-weight: 400;
    font-size: 14px;
}

.summary-box.blue {
    border-color: rgb(0, 159, 239);
    color: rgb(0, 159, 239);
}

.summary-box.purple {
    border-color: rgb(168, 85, 247);
    color: rgb(168, 85, 247);
}

.summary-box.pink {
    border-color: rgb(236, 72, 153);
    color: rgb(236, 72, 153);
}

.summary-box.orange {
    border-color: rgb(249, 115, 22);
    color: rgb(249, 115, 22);
}

.summary-box.gray {
    border-color: rgb(107, 114, 128);
    color: rgb(107, 114, 128);
}

.summary-box.green {
    border-color: rgb(34, 197, 94);
    color: rgb(34, 197, 94);
}

.summary-box.dark {
    border-color: rgb(107, 114, 128);
    color: rgb(107, 114, 128);
}

td.pass {
    color: rgb(34, 197, 94);
    font-weight: bold;
}

td.fail {
    color: rgb(239, 68, 68);
    font-weight: bold;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 10px !important;
}

div.dataTables_wrapper div.dataTables_paginate {
    padding-top: 10px;
}

.smd-card-body .dataTables_wrapper div.dataTables_info {
    padding-left: 0px;
    padding-top: 10px;
}

.smd-card-body .dataTables_wrapper div.dataTables_paginate {
    padding-right: 0px;
    padding-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border: 0px solid rgb(221, 221, 221);
    background-color: var(--primary-green);
    color: rgb(119, 119, 119) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    border: 0px solid rgb(221, 221, 221);
    background: var(--grey3);
    box-shadow: none;
    border-radius: 8px;
    cursor: not-allowed;
    color: rgb(102, 102, 102) !important;
}

.attendance-header {
    display: flex;
    flex-wrap: wrap;
    margin: 0px 0px 10px;
    padding: 0px 0px 10px;
    position: relative;
    z-index: 99;
}

.attendance-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.attendance-box {
    flex: 1 1 140px;
    min-width: 140px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow var(--transition);
    justify-content: space-between;
    position: relative;
}

.attendance-box:hover {}

.attendance-box-icon {
    font-size: 50px;
    opacity: 0.1;
    position: absolute;
    right: 10px;
}

.attendance-box-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.attendance-box-title {
    font-size: 18px;
    font-weight: 500;
}

.attendance-box-value {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
}

.attendance-box.present {
    color: var(--present-text);
    background: linear-gradient(140deg, rgb(235, 253, 244) 0%, rgb(220, 252, 231) 100%);
    border: 1px solid rgb(164, 244, 207);
}

.attendance-box.absent {
    color: var(--absent-text);
    background: linear-gradient(140deg, rgb(254, 239, 239) 0%, rgb(255, 228, 230) 100%);
    border: 1px solid rgb(255, 201, 201);
}

.attendance-box.late {
    color: var(--late-text);
    background: linear-gradient(140deg, rgb(238, 245, 255) 0%, rgb(224, 232, 255) 100%);
    border: 1px solid rgb(190, 219, 255);
}

.attendance-box.halfday {
    color: var(--halfday-text);
    background: linear-gradient(140deg, rgb(255, 247, 235) 0%, rgb(254, 243, 200) 100%);
    border: 1px solid rgb(255, 214, 167);
}

.attendance-box.excuse {
    color: var(--excuse-text);
    background: linear-gradient(140deg, rgb(214, 248, 255) 0%, rgb(187, 243, 255) 100%);
    border: 1px solid rgb(106, 209, 231);
}

.attendance-box.holiday {
    color: var(--holiday-text);
    background: linear-gradient(140deg, rgb(247, 239, 255) 0%, rgb(243, 232, 255) 100%);
    border: 1px solid rgb(218, 192, 243);
}

.attendance-box.sickleave {
    color: var(--sickleave-text);
    background: linear-gradient(140deg, rgb(236, 254, 255) 0%, rgb(207, 250, 254) 100%);
    border: 1px solid rgb(165, 243, 252);
}

.attendance-box.sick_leave {
    color: var(--sickleave-text);
    background: linear-gradient(140deg, rgb(236, 254, 255) 0%, rgb(207, 250, 254) 100%);
    border: 1px solid rgb(165, 243, 252);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1px;
    padding: 0px;
}

.legend-item .text {
    margin: 0px;
    padding: 0px;
    background: transparent !important;
}

.legend-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.legend-dot .text {
    display: none;
}

.legend-item.present .legend-dot {
    background: var(--present);
    color: var(--present-text);
}

.legend-item.absent .legend-dot {
    background: var(--absent);
    color: var(--absent-text);
}

.legend-item.late .legend-dot {
    background: var(--late);
    color: var(--late-text);
}

.legend-item.holiday .legend-dot {
    background: var(--holiday);
    color: var(--holiday-text);
}

.legend-item.halfday .legend-dot {
    background: var(--halfday);
    color: var(--halfday-text);
    padding: 0px;
}

.legend-item.excuse .legend-dot {
    background: var(--excuse);
    color: var(--excuse-text);
}

.legend-item.half_day .legend-dot {
    background: var(--halfday);
    color: var(--halfday-text);
    padding: 0px;
}

.legend-item.sickleave .legend-dot {
    background: var(--sickleave);
    color: var(--sickleave-text);
}

.legend-item.present .text {
    background: var(--present);
    color: var(--present-text);
}

.legend-item.absent .text {
    background: var(--absent);
    color: var(--absent-text);
}

.legend-item.late .text {
    background: var(--late);
    color: var(--late-text);
}

.legend-item.holiday .text {
    background: var(--holiday);
    color: var(--holiday-text);
}

.legend-item.halfday .text {
    background: var(--halfday);
    color: var(--halfday-text);
    padding: 0px;
}

.legend-item.half_day .text {
    background: var(--halfday);
    color: var(--halfday-text);
    padding: 0px;
}

.legend-item.excuse .text {
    background: var(--excuse);
    color: var(--excuse-text);
}

.legend-item.sickleave .text {
    background: var(--sickleave);
    color: var(--sickleave-text);
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.action-btn:focus {
    outline: none;
    outline-offset: 2px;
}

.action-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

main {
    padding: 0px;
    overflow-x: auto;
}

.attendance-table-container {
    background: var(--card-bg);
    border-radius: 0px;
    box-shadow: var(--card-shadow);
    padding: 0px;
    overflow: unset;
}

.cell-dot {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.cell-dot.present {
    background: var(--present);
    color: var(--present-text);
}

.cell-dot.absent {
    background: var(--absent);
    color: var(--absent-text);
}

.cell-dot.late {
    background: var(--late);
    color: var(--late-text);
}

.cell-dot.holiday {
    background: var(--holiday);
    color: var(--holiday-text);
}

.cell-dot.halfday {
    background: var(--halfday);
    color: var(--halfday-text);
}

.cell-dot.excuse {
    background: var(--excuse);
    color: var(--excuse-text);
}

.cell-dot.na {
    background: rgb(247, 248, 250);
    color: rgb(170, 170, 170);
}

.cell-dot.sick_leave {
    background: var(--sickleave);
    color: var(--sickleave-text);
}

.attendance th,
.attendance td {
    text-align: center;
}

.attendance thead,
th {
    text-align: center;
}

.attendance thead td {
    text-align: center;
    border-top: 1px solid rgb(221, 221, 221) !important;
}

.attendance-table-container .dataTables_wrapper .dt-button {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 8px !important;
}

.attendance-table-container .dataTables_wrapper .dt-button:focus {
    outline: none;
    outline-offset: 2px;
}

.attendance-table-container .dataTables_wrapper .dt-button:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.attendance-table-container .dataTables_wrapper tbody td:last-child {
    vertical-align: middle;
}

.attendance-table-container .dataTables_wrapper tbody td:last-child a {
    background: transparent;
}

.attendance-table-container table thead th {
    min-width: 100px;
    width: 100px !important;
    text-align: center !important;
}

.attendance-table-container table tbody td {
    min-width: 100px;
    width: 100px !important;
    text-align: center !important;
}

.upload-section {
    margin-bottom: 32px;
}

.upload-box {
    border: 2px dashed rgb(79, 185, 189);
    border-radius: 12px;
    background: var(--white);
    text-align: center;
    padding: 30px 10px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-icon {
    margin-bottom: 12px;
}

.upload-icon i {
    font-size: 40px;
    font-weight: bold;
    color: var(--accent3);
    line-height: 1;
}

.upload-box h2 {
    margin: 0px 0px 8px;
    font-size: 22px;
    font-weight: 600;
}

.upload-box p {
    margin: 0px 0px 18px;
    color: var(--tab-text);
    font-size: 14px;
}

.browse-btn {
    display: flex;
    background: var(--primary-green);
    color: var(--white);
    font-weight: 400;
    border-radius: 10px;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 22px;
    transition: background 0.2s;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    box-shadow: rgba(25, 179, 177, 0.07) 0px 2px 8px 0px;
    line-height: 1.1;
    gap: 10px;
}

.browse-btn:hover {
    color: var(--text-color);
    background: rgb(21, 155, 153);
}

.browse-btn i {
    line-height: 1;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0px;
}

.document-row .document-card:only-child {
    grid-column: 1 / -1;
}

.document-card {
    flex: 1 1 0px;
    display: flex;
    align-items: center;
    background: var(--grey);
    border-radius: 14px;
    padding: 10px 15px;
    min-width: 0px;
    box-shadow: rgba(25, 179, 177, 0.03) 0px 2px 8px 0px;
    gap: 15px;
}

.doc-icon {
    gap: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-gradient2);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow2);
}

.doc-icon i {
    margin: 0px;
    color: var(--grey);
    font-size: 24px;
    line-height: 0;
}

.doc-info {
    flex: 1 1 0px;
    min-width: 0px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.doc-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--section-title);
    word-break: break-all;
}

.doc-name a {
    font-weight: 600;
    font-size: 16px;
    color: var(--section-title);
    word-break: break-all;
}

.doc-type {
    font-size: 16px;
    font-weight: 400;
    color: var(--section-title);
}

.doc-actions {
    display: flex;
    gap: 10px;
    margin-left: 18px;
}

.doc-actions .btn-danger {
    height: auto;
    display: block;
    font-size: 18px;
}

.doc-actions .action-btn {
    background: var(--accent2);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 7px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0px;
    font-size: 21px;
    color: var(--text-color);
}

.doc-actions .action-btn.delete {
    background: rgb(73, 84, 106);
}

.doc-actions .action-btn:hover {
    filter: brightness(0.95);
    background: var(--primary-green);
}

:root {
    --timeline-primary: #1a2a3a;
    --timeline-timeline: #e6eaf0;
    --timeline-month-bg: #FFF5D4;
    --timeline-month-color: #6d6d6d;
    --timeline-card-bg: #fafbfc;
    --timeline-card-border: #f0f1f3;
    --timeline-icon-bg: #e6eaf0;
    --timeline-icon-color: #1a2a3a;
    --timeline-btn-bg: #1ccfc9;
    --timeline-btn-color: #fff;
    --timeline-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    --timeline-grey: #F8F8F8;
}

.timeline-container {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.timeline-header {
    display: flex;
    justify-content: flex-end;
    z-index: 101;
    position: relative;
    min-height: 40px;
}

.timeline-add-btn {
    background: var(--timeline-btn-bg);
    color: var(--timeline-btn-color);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-add-btn:hover {
    color: var(--timeline-btn-color);
    background: rgb(23, 189, 183);
}

.timeline-add-btn i {
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.3);
    line-height: 0;
    padding: 2px 3px;
}

.timeline-wrapper {
    display: flex;
    align-items: flex-start;
    position: relative;
    top: -30px;
}

.timeline-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px 0px 40px;
}

.timeline-line {
    width: 6px;
    background: var(--primary);
    box-shadow: var(--timeline-shadow);
    flex: 1 1 0%;
    border-radius: 3px;
    position: absolute;
    left: 115px;
    top: 0px;
    transform: translateX(-50%);
    z-index: 0;
    height: 100%;
}

.timeline-timeline .alert-info {
    flex: 2;
    display: block;
    border-radius: 3px;
    width: 100%;
    z-index: 0;
    margin: 0px;
    position: relative;
    z-index: 99;
}

.timeline-cricle {
    width: 15px;
    height: 15px;
    position: absolute;
    background: var(--primary);
    box-shadow: var(--timeline-shadow);
    top: -10px;
    left: -4px;
    border-radius: 100px;
}

.timeline-box {
    width: 100%;
}

.timeline-list {
    width: 100%;
}

.timeline-month {
    position: relative;
    z-index: 1;
    margin: 0px 0px 15px;
    display: flex;
    align-items: center;
    left: 82px;
    justify-content: flex-start;
    flex-direction: row;
}

.timeline-month-label {
    background: var(--timeline-month-bg);
    color: rgb(171, 70, 26);
    font-weight: 600;
    border-radius: 16px;
    padding: 4px 18px;
    font-size: 14px;
    box-shadow: var(--timeline-shadow);
    border: 2px solid var(--white);
}

.timeline-event {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    gap: 20px;
}

.timeline-left {
    width: 11%;
    display: contents;
    font-size: 14px;
    color: var(--section-title);
    font-weight: 600;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    color: var(--white);
    background: var(--primary2);
    border: 4px solid rgb(246, 248, 251);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0px;
    margin-left: 0px;
    position: relative;
    z-index: 2;
    box-shadow: var(--timeline-shadow);
}

.timeline-dot svg {
    width: 18px;
    height: 18px;
    color: var(--timeline-icon-color);
}

.timeline-date {
    text-align: center;
}

.timeline-arrow {
    font-size: 22px;
    line-height: 0;
}

.timeline-cards {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline-card {
    background: var(--grey);
    border: 1px solid var(--timeline-card-border);
    border-radius: 12px;
    box-shadow: var(--timeline-shadow);
    padding: 20px 24px;
    flex: 1 1 0%;
    display: flex;
    gap: 16px;
}

.timeline-card-content {
    flex: 1 1 0%;
    min-width: 0px;
}

.timeline-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0px 0px 8px;
    color: var(--accent2);
}

.timeline-card-desc {
    font-size: 14px;
    color: var(--label);
    margin: 0px;
    line-height: normal;
}

.timeline-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.timeline-icon-btn {
    background: rgb(227, 227, 228);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    border: solid 1px var(--border);
}

.timeline-icon-btn:hover {
    background: rgb(215, 219, 226);
}

.timeline-icon-btn svg {
    width: 18px;
    height: 18px;
    color: var(--timeline-icon-color);
}

.table-behaviour .dataTables_wrapper .dataTables_filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-behaviour .dataTables_wrapper .dataTables_filter label {
    margin-bottom: 0px;
}

.table-behaviour .dataTables_wrapper .dt-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 5px 0px;
}

.table-behaviour .dataTables_wrapper .dt-button {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 8px !important;
}

.table-behaviour .dataTables_wrapper .dt-button:focus {
    outline: none;
    outline-offset: 2px;
}

.table-behaviour .dataTables_wrapper .dt-button:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.table-behaviour .dataTables_wrapper tbody td:last-child {
    vertical-align: middle;
}

.table-behaviour .comments {
    position: relative;
}

.table-behaviour .comments img {
    width: 25px;
}

:root {
    --transport-bg-main: #f8f9fb;
    --transport-bg-card: linear-gradient(0deg, #F3F4F6 0%, #ECEEF3 100%);
    --transport-border-radius: 16px;
    --transport-color-accent: #22c55e;
    --transport-card-gap: 16px;
    --transport-section-gap: 24px;
}

.transport-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.transport-header svg {
    width: 24px;
    height: 24px;
    color: var(--transport-color-primary);
}

.transport-route-section {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    position: relative;
    justify-content: center;
}

.transport-line {
    width: 4px;
    height: 50px;
    border-left: 4px dotted var(--icon-color);
    margin: 0px;
    display: flex;
    position: absolute;
    left: 27px;
}

.transport-route-point:nth-child(2) {
    background: var(--transport-bg-card);
    border-radius: var(--transport-border-radius);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.transport-route-point {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.transport-route-point .transport-icon {
    flex-shrink: 0;
    display: flex;
    font-size: 18px;
    line-height: 0;
}

.transport-route-point.transport-pickup .transport-icon {
    color: var(--transport-color-accent);
}

.transport-route-point.transport-dropoff .transport-icon {
    color: var(--transport-color-icon);
}

.transport-route-point .transport-details {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.transport-route-point .transport-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--section-title);
    margin-bottom: 2px;
}

.transport-route-point .transport-address {
    font-size: 16px;
    color: var(--label);
    line-height: 1.5;
}

.transport-info-section {
    background: var(--transport-bg-card);
    border-radius: var(--transport-border-radius);
    padding: 20px 24px;
    margin-bottom: var(--transport-section-gap);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transport-info-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--section-title);
}

.transport-info-grid {
    display: flex;
    gap: var(--transport-card-gap);
    flex-wrap: wrap;
}

.transport-info-card {
    background: var(--white);
    border-radius: 12px;
    flex: 1 1 160px;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
}

.transport-info-card .transport-info-card-icon {
    font-size: 24px;
    font-weight: 600;
    color: var(--section-title);
    line-height: 0;
}

.transport-info-card svg {
    width: 28px;
    height: 28px;
    color: var(--transport-color-icon);
    flex-shrink: 0;
}

.transport-info-card .transport-info-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--section-title);
    margin-bottom: 0px;
}

.transport-info-card .transport-info-value {
    font-size: 16px;
    color: var(--label);
    font-weight: 400;
}

.hostel-details-card {
    background: var(--grey);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    max-width: 100%;
    margin: 0px;
    padding: 30px;
}

.hostel-details-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--section-title);
    margin-top: -10px;
}

.hostel-details-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    position: relative;
    padding: 0px;
}

.hostel-details-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0px;
    position: relative;
    z-index: 1;
}

.hostel-details-icon {
    width: 80px;
    height: 80px;
    font-size: 8px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: rgba(24, 25, 31, 0.04) 0px 1px 2px;
}

.hostel-details-icon img {
    width: 45px;
}

.hostel-details-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--section-title);
    margin-bottom: 4px;
    text-align: center;
}

.hostel-details-value {
    font-size: 18px;
    color: var(--label);
    text-align: center;
    font-weight: 400;
}

.hostel-line {
    flex: 1 1 0%;
    max-width: 300px;
    width: 300px;
    border: 1px dashed var(--section-title);
    text-align: center;
    top: -30px;
    position: relative;
}

button {
    padding: 8px 20px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    opacity: 0.9;
}

.modal-overlay {
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1000;
}

.modal {
    background: var(--bg-card);
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 25px;
    transform: translateY(-20px);
    overflow: hidden;
}

.modal-open .modal {
    overflow: hidden;
}

.modal-content {
    opacity: 0;
    animation: 0.3s ease 0s 1 normal forwards running fadeIn;
    border: 1px solid var(--grey4);
    overflow: visible;
    background: var(--white);
    border-radius: 10px;
}

.modal-header {
    background: linear-gradient(to right, rgb(24, 78, 119), rgb(31, 122, 140));
    color: var(--white);
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 10px 10px 0 0;
}

.modal-header .btn-primary {
    background: rgba(255, 255, 255, 0.15);
}

.modal-header .btn-danger {
    background: rgba(255, 255, 255, 0.15);
}

.modal-header h4 {
    margin: 0px;
    line-height: 1;
    font-weight: 400;
    flex: 1 1 0%;
    text-align: left;
}

.modal-header h4 b {
    font-weight: 400;
}

.modal-header .close {
    background: transparent;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    opacity: 0.8;
    top: 0px;
    right: 0px;
    position: relative;
    line-height: 0;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-header .close i {
    line-height: 0;
    padding: 0px;
    margin: 0px;
}

.modal-body {
    max-height: calc(-100px + 90vh);
    width: 100%;
    padding: 20px;
    overflow: hidden auto;
    border-radius: 0px 0px 10px 10px;
    position: relative;
}

/* force widget to appear above everything, outside modal flow */
/* .bootstrap-datetimepicker-widget {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    z-index: 999999 !important;
    display: block !important;
    margin-top: 10px;
} */

/* .modal-body .table-responsive {
    overflow: auto !important;
} */

.modal-body .table-responsive .table-wrapper {
    overflow: hidden !important;
    height: 100%;
    width: 100%;
    display: contents;
}

.modal-body .table-responsive .table-wrapper > .table.table-striped thead {
    position: relative;
    top: 0px;
    z-index: 101;
}

.modal-body .table-responsive .table-wrapper table th:last-child,
.modal-body .table-responsive .table-wrapper table td:last-child {
    position: relative !important;
}

.modal-body .table-responsive .table-wrapper td {
    min-width: 200px;
}

/* .modal-body .table-responsive #item_table td {
    min-width: 200px;
} */

.modal-body form {
    overflow: hidden;
    width: 100%;
}

.modal-body-section {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--grey4);
}

.modal-body-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0px 0px 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
    color: var(--dark);
}

.modal-body-list {
    list-style: none;
    padding: 0px 10px 0px 0px;
    max-height: 157px;
    overflow: auto;
    margin: 0px;
}

.modal-body-list li {
    padding: 10px 0px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body-list li:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.modal-body-list li i {
    color: var(--success);
    font-size: 16px;
    line-height: 1;
}

.modal-body-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 5px;
    overflow: auto;
}

.comment-form {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.modal-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--grey4);
    background: rgb(249, 250, 251);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
}

.modal-footer .modal-footer-login {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
}

.modal-footer .modal-footer-loginbtn {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.feesmodal-footer {
    display: block;
    text-align: right;
}

.feesmodal-footer .btn {
    margin-left: 0px !important;
}

.modal-footer #collect_btns {
    display: flex;
    gap: 5px;
}

.modal-footer .button-group {
    display: flex;
    gap: 10px;
}

.modal-footer .btn {
    border-radius: 8px;
    padding: 8px 16px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    transition: 0.2s;
    margin: 0;
}

.modal-footer .btn-send {
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 14px;
    padding: 10px 16px;
    transition: 0.2s;
    flex-shrink: 0;
}

.modal-footer .btn-send:hover {
    color: var(--white);
    background: var(--primary2);
}

.modal-footer .btn-send:focus {
    color: var(--white);
}

.modal-footer .btn-cancel {
    background: var(--grey4);
    color: var(--text-dark);
}

.modal-footer .btn-cancel:hover {
    background: var(--border);
}

.modal-footer .btn-cancel:focus {
    color: var(--text-dark);
    outline: none;
}

.modal-footer .btn-confirm {
    background: var(--primary);
    color: var(--white);
}

.modal-footer .btn-confirm:hover {
    background: var(--primary2);
}

.modal-footer .btn-confirm:focus {
    color: var(--white);
}

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.document-download-box {
    margin-top: 10px;
}

.document-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--label);
}

.document-download-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--input-bg);
    border: 2px dashed rgb(203, 213, 225);
    color: rgb(100, 116, 139);
    border-radius: 10px;
    gap: 14px;
    transition: 0.2s ease-in-out;
    line-height: 0;
    justify-content: space-between;
}

.document-download-item:hover {
    border-color: var(--primary-green);
    background: rgb(239, 246, 255);
    color: var(--primary-green);
}

.document-download-icon i {
    font-size: 22px;
    color: var(--icon-color);
}

.document-download-icon img {
    width: 22px;
}

.document-download-info {
    font-size: 14px;
    color: var(--accent2);
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.5;
}

.document-download-info-inner {
    font-size: 14px;
    color: var(--accent2);
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.5;
    display: inline;
    margin: 0 0 0 15px;
    top: 2px;
    position: relative;
}

.document-download-btn i {
    font-size: 20px;
    color: var(--primary-green);
    cursor: pointer;
    transition: 0.2s;
}

.document-download-btn:hover i {
    color: var(--primary-green);
}

.scroll-area-inside {
    max-height: 250px;
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 6px;
}

.scroll-area-inside::-webkit-scrollbar {
    width: 6px;
}

.scroll-area-inside::-webkit-scrollbar-thumb {
    background: rgb(203, 213, 225);
    border-radius: 4px;
}

.user-progress {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.user-progress li {
    background: var(--white);
    border: 1px solid var(--grey4);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.datepicker {
    font-family: Inter, sans-serif;
    background: var(--white);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 28px;
    padding: 12px;
    z-index: 2000;
    min-width: fit-content;
}

.datepicker table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    min-width: auto;
    margin-top: 0px !important;
}

.datepicker .datepicker-switch {
    font-weight: 600;
    font-size: 15px;
    color: var(--accent2);
    text-align: center;
    padding: 10px;
    border-radius: 0px;
}

.datepicker .prev,
.datepicker .next {
    font-size: 22px;
    font-weight: 400;
    color: var(--label);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 0px;
    transition: 0.2s;
    background: var(--grey);
    line-height: normal;
    text-align: center !important;
}

.datepicker .prev:hover,
.datepicker .next:hover {
    color: var(--label);
    background: rgba(0, 0, 0, 0.1) !important;
}

.datepicker .prev span,
.datepicker .next span {
    font-size: 14px;
}

.datepicker thead th.dow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 0px;
    color: var(--white);
    border-radius: 0px;
    background: var(--primary-green) !important;
}

.datepicker-days td.day {
    font-size: 16px;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: 0.25s;
    vertical-align: middle;
    line-height: 1.5;
    white-space: nowrap;
}

.datepicker-days td.day:hover {
    background: rgb(230, 247, 250);
    color: var(--primary-green);
    font-weight: 500;
}

.datepicker-days td.active,
.datepicker-days td.active:hover {
    font-weight: 600;
    border-radius: 8px;
    background: var(--accent2) !important;
    color: rgb(255, 255, 255) !important;
}

.datepicker-days td.today {
    font-weight: 600;
    border-radius: 8px;
    background: rgb(253, 230, 138) !important;
    color: rgb(146, 64, 14) !important;
}

.datepicker-days td.old,
.datepicker-days td.new {
    color: var(--border) !important;
}

.datepicker-months span.month,
.datepicker-years span.year,
.datepicker-decades span.decade {
    display: flex;
    width: 28%;
    height: 44px;
    margin: 5px;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    align-items: center;
    justify-content: center;
}

.datepicker-months span.month:hover,
.datepicker-years span.year:hover,
.datepicker-decades span.decade:hover {
    background: rgba(31, 164, 168, 0.07);
    color: var(--primary-green);
}

.datepicker-months span.active,
.datepicker-years span.active,
.datepicker-decades span.active {
    font-weight: 600;
    background: rgb(15, 76, 117) !important;
    color: rgb(255, 255, 255) !important;
}

.datepicker table tr td,
.datepicker table tr th {
    text-align: center !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    min-width: 600px;
    transform: var(--transition);
    resize: none !important;
    border-radius: 6px !important;
    border: 1px solid var(--border) !important;
    padding: 8px 10px !important;
    width: 100% !important;
    min-height: 36px !important;
    flex: 1 1 0% !important;
}

div.dataTables_wrapper div.dataTables_filter input:focus {
    background: var(--white);
    border-color: var(--primary-green) !important;
    box-shadow: rgba(37, 99, 235, 0.1) 2px 2px 2px 2px !important;
}

div.dataTables_wrapper div.dataTables_filter textarea {
    resize: none;
    border-radius: 6px;
    padding: 8px 10px;
    width: 100%;
    min-height: 60px;
    flex: 1 1 0%;
    transform: var(--transition);
    border: 1px solid var(--border) !important;
}

div.dataTables_wrapper div.dataTables_filter textarea:focus {
    border-color: var(--primary) !important;
    outline: none !important;
    box-shadow: rgba(31, 122, 140, 0.25) 0px 0px 0px 2px !important;
}

.profile-card {
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 16px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    background-color: var(--white);
}

.profile-header {
    padding: 5px 15px;
    text-align: center;
    color: var(--white);
    border-radius: 12px 12px 0px 0px;
    background: linear-gradient(135deg, rgb(111, 130, 233), rgb(48, 69, 186)) !important;
}

.profile-header .user-name {
    font-weight: 500;
    margin-bottom: 5px;
    padding: 10px 3px 3px;
    font-size: 22px;
    text-align: center;
}

.profile-header .name-center {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-grid {
    float: left;
    width: 100%;
    text-align: center;
}

.contact-grid .user-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--white);
    margin-top: -60px;
    margin-bottom: 15px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
    object-fit: cover;
}

.contact-grid .phone {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(108, 117, 125);
    margin-bottom: 20px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 0px;
    border: 1px solid var(--border);
    margin-bottom: 0px;
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    height: 100%;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgb(226, 232, 240);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(15, 23, 42);
    margin: 0px;
}

.card-content {
    padding: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.welcome-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.student-photo {
    width: 96px;
    height: 96px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgb(226, 232, 240);
    flex-shrink: 0;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: rgb(241, 245, 249);
}

.welcome-text {
    flex: 1 1 0%;
}

.welcome-title {
    font-size: 1.25rem;
    color: rgb(15, 23, 42);
    margin-bottom: 0.5rem;
}

.welcome-description {
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
    margin-bottom: 1rem;
}

.highlight-green {
    color: rgb(16, 185, 129);
    font-weight: 500;
}

.barcode {
    flex-shrink: 0;
    align-self: flex-start;
}

.barcode-container {
    background-color: var(--white);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.progress-container {
    margin-top: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-label {
    color: rgb(100, 116, 139);
}

.progress-value {
    color: var(--primary-green);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: rgb(229, 240, 240);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

.notice-box {
    background-color: rgb(229, 240, 240);
    border: 1px solid var(--primary-green);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notice-icon {
    color: var(--primary-green);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.notice-text {
    font-size: 0.875rem;
    color: rgb(15, 23, 42);
    flex: 1 1 0%;
}

.tabs {
    width: 100%;
}

.tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tabs-list {
    display: flex;
    background-color: rgb(236, 236, 240);
    border-radius: 0.5rem;
    padding: 0.25rem;
    gap: 0.25rem;
}

.tab-button {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.tab-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.tab-button.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.tab-content.active {
    display: block;
}

.subject-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subject-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.subject-name {
    color: var(--primary-green);
}

.subject-percentage {
    color: rgb(15, 23, 42);
    font-weight: 500;
}

.subject-list {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.subject-badge {
    display: inline-block;
    background: var(--present-text);
    color: var(--white);
    font-size: 15px;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.list-item {
    background-color: rgb(229, 240, 240);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: opacity 0.2s;
}

.list-item:hover {
    opacity: 0.9;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
}

.list-item-content {
    flex: 1 1 0%;
    min-width: 0px;
}

.list-item-title {
    font-size: 0.875rem;
    color: rgb(15, 23, 42);
    margin-bottom: 0.25rem;
}

.list-item-subtitle {
    font-size: 0.75rem;
    color: var(--primary-green);
}

.list-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
}

.meta-icon {
    font-size: 0.75rem;
}

.homework-item {
    background-color: rgb(229, 240, 240);
    border: 1px solid var(--primary-green);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.homework-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.homework-subject {
    font-size: 0.875rem;
    color: var(--primary-green);
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 8px 8px;
    background-color: var(--primary-green);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--bn-radius);
    min-width: auto;
}

.homework-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.empty-icon {
    font-size: 3rem;
    color: rgb(203, 213, 225);
}

.empty-text {
    font-size: 0.875rem;
    color: rgb(148, 163, 184);
    text-align: center;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

@media print {
    body {
        background-color: var(--white);
    }

    .container {
        padding: 0px;
    }

    .card {
        break-inside: avoid;
        box-shadow: none;
    }
}

.smd-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    max-width: 100%;
    margin: 0px;
    overflow: hidden;
    position: relative;
}

.smd-card.bt {
    border-top: 4px solid var(--primary-green);
}

.smd-card-padding {
    padding: 15px;
}

.smd-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgb(226, 232, 240);
}

.smd-card-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin: 0px;
    border-bottom: 1px solid var(--grey);
    display: flex;
    gap: 10px;
    padding: 8px 15px;
    background: var(--primary-green);
    align-items: center;
    line-height: 1;
}

.smd-card-title h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0px;
}

.smd-card-title-bln {
    display: flex;
    font-size: 20px;
    font-weight: 600;
    margin: 10px 20px 0px;
    padding: 8px 0px;
    border-bottom: solid 1px var(--border);
    justify-content: space-between;
}

.smd-card-title-bln.m0 {
    margin: 10px 0px 20px !important;
}

.smd-card-title-bln h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smd-card-title-bln.mb10 {
    margin-bottom: 20px;
}

.smd-card-title i {
    font-size: 16px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.15);
    line-height: 0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    align-items: center;
}

.smd-card-body {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    width: 100%;
    padding: 20px;
}

.smd-card-body .box-header {
    margin: 20px 0px;
}

.smd-card-footer {
    border-radius: 0px 0px 3px 3px;
    border-top: 1px solid rgb(244, 244, 244);
    padding: 10px 20px;
    background-color: var(--white);
    display: flex;
    justify-content: flex-end;
}

.smd-card-body.smd-card-p0 {
    padding: 0px !important;
}

.smd-card-body.smd-card-p0 .table {
    margin-bottom: 0px !important;
}

.modal-body .dt-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 3px 0px;
}

.modal-body .btn-group2 {
    position: relative;
    z-index: 1;
    padding-left: 10px;
    float: right !important;
}

.modal-body .dataTables_length label {
    margin-top: 1px !important;
    margin-bottom: 0px !important;
}

.modal-body .dt-button {
    color: var(--label);
    background: var(--grey5);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 8px !important;
}

.modal-body .dt-button:focus {
    outline: none;
    outline-offset: 2px;
}

.modal-body .dt-button:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white) !important;
}

.modal-body .dt-button:hover:not(.disabled),
.modal-body .dt-button:hover:not(.disabled),
.modal-body .dt-button:hover:not(.disabled) {
    transition: transform 0.25s ease-in-out;
    cursor: pointer;
    background: var(--primary-green) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.dataTables_length label {
    position: relative;
    margin-top: 0px;
    margin-right: 0px !important;
}

.dataTables_length label select {
    width: 100%;
    font-size: 14px;
    transition: border-color 0.3s;
    height: 35px;
    background-size: 20px 17px;
}

/* .dataTables_length label:has(select)::after {
    content: "\f153";
    position: relative;
    right: 25px;
    top: 5px;
    width: 0px;
    height: 0px;
    transition: border-top-color 0.2s;
    font-size: 20px;
    pointer-events: none;
    color: var(--label);
    padding: 0px;
    font-family: "uicons-regular-rounded" !important;
    background-color: var(--white) !important;
} */

.gap0 {
    gap: 10px 0px !important;
}

.card-grid {
    display: grid;
    gap: 10px;
}

.card-grid .form-group {
    margin-bottom: 0px;
}

.card-grid-cols-responsive {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid-cols-responsive .form-group {
    margin-bottom: 0px;
}

.card-grid-cols-responsive.card-grid-cols-3 .form-group:has(.form-select)::after {
    top: 48% !important;
}

.card-grid-cols-responsive .form-group .btn {
    padding: 9px 15px;
}

.card-grid-cols-responsive3 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.card-grid-cols-1 {
    grid-template-columns: 1fr;
}

.card-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid-cols-2-1 {
    grid-template-columns: 2fr 1fr;
}

.card-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.card-grid-cols-4 .form-group {
    margin-bottom: 0px;
}

.card-grid-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.card-grid-cols-6 .form-group {
    margin-bottom: 0px;
}

.card-grid-cols-7 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-grid-cols-350 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card-grid-cols-250 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid-cols-200 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-grid-cols-150 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.card-grid-cols-2 .alert-info {
    grid-column: span 2;
}

.asigngrid-2 {
    grid-column: span 2;
}

.asigngrid-3 {
    grid-column: span 3;
}

.asigngrid-4 {
    grid-column: span 4;
}

.asigngrid-5 {
    grid-column: span 5;
}

.asigngrid-6 {
    grid-column: span 6;
}



.smd-mb-6 {
    margin-bottom: 1.5rem;
}

.smd-mb-0 {
    margin-bottom: 1rem;
}

.smd-progress-section {
    margin-top: 15px;
}

.smd-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 5px;
}

.smd-progress-label {
    color: var(--white);
}

.smd-progress-percent {
    color: var(--white);
    font-weight: 500;
}

.smd-progress-track {
    width: 100%;
    height: 8px;
    background-color: rgb(229, 240, 240);
    border-radius: 100px;
    overflow: hidden;
}

.smd-progress-indicator {
    height: 100%;
    background-color: rgb(23, 143, 147);
    transition: width 0.3s;
}

.timetable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(15, 23, 42);
    margin-bottom: 0.25rem;
}

.header-content p {
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
}

.print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--white);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: rgb(51, 65, 85);
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.print-btn:hover {
    background-color: var(--input-bg);
    border-color: rgb(203, 213, 225);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
}

.tab-navigation {
    display: none;
    background-color: var(--white);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.tab-btn {
    padding: 0.5rem 0.25rem;
    background-color: transparent;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    font-weight: 500;
}

.tab-btn:hover {
    background-color: var(--input-bg);
}

.tab-btn.active {
    background-color: rgb(15, 23, 42);
    color: var(--white);
}

.timetable-grid {
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 20px 60px;
    padding: 30px;
    display: grid;
    grid-template-columns: 160px repeat(7, 1fr);
    gap: 1px;
    background: rgb(226, 232, 240);
}

.smd-card-body .timetable-grid {
    grid-template-columns: 160px repeat(6, 1fr) !important;
}

.timetable-grid.meet-timetable {
    grid-template-columns: repeat(5, 1fr) !important;
    border-radius: 24px;
    overflow: hidden;
}

.timetable-grid.meet-timetable .grid-weekdays {
    background-color: var(--grey3);
}

.day-card {
    background-color: var(--white);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.day-name {
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    margin: 5px 0px 0 0;
}

.day-date {
    padding: 3px 0 10px 0 !important;
}

.day-content {
    padding: 0.75rem;
    min-height: 600px;
}

.mobile-day-title {
    display: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgb(15, 23, 42);
    margin-bottom: 1rem;
}

.not-scheduled {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    padding: 50px 0px;
}

.not-scheduled-icon {
    font-size: 26px;
    color: var(--absent-text);
}

.not-scheduled-badge {
    display: inline-block;
    padding: 2px 15px;
    background-color: rgb(254, 242, 242);
    color: var(--absent-text);
    border: 1px solid rgb(254, 202, 202);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
}

.period-card {
    background-color: var(--input-bg);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: 0.2s;
}

.period-card:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px;
    transform: translateY(-1px);
}

.period-card:last-child {
    margin-bottom: 0px;
}

.subject-english {
    background-color: rgb(219, 234, 254);
    border-color: rgb(191, 219, 254);
}

.subject-ct-english {
    background-color: rgb(219, 234, 254);
    border-color: rgb(191, 219, 254);
}

.subject-ct-urdu {
    background-color: rgb(252, 231, 243);
    border-color: rgb(251, 207, 232);
}

.subject-ort {
    background-color: rgb(254, 243, 199);
    border-color: rgb(253, 230, 138);
}

.subject-ort-time {
    background-color: rgb(254, 243, 199);
    border-color: rgb(253, 230, 138);
}

.subject-taekwando {
    background-color: rgb(237, 233, 254);
    border-color: rgb(221, 214, 254);
}

.subject-pe {
    background-color: rgb(209, 250, 229);
    border-color: rgb(167, 243, 208);
}

.subject-islamiat {
    background-color: rgb(204, 251, 241);
    border-color: rgb(153, 246, 228);
}

.subject-ct-islamiat {
    background-color: rgb(204, 251, 241);
    border-color: rgb(153, 246, 228);
}

.subject-urdu {
    background-color: rgb(254, 215, 170);
    border-color: rgb(253, 186, 116);
}

.subject-math-writing,
.subject-ct-math,
.subject-math-lab,
.subject-maths {
    background-color: rgb(254, 226, 226);
    border-color: rgb(254, 202, 202);
}

.period-card .subject-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: flex-start;
}

.subject-icon {
    color: var(--label);
    font-size: 16px;
    margin-top: 0px;
    flex-shrink: 0;
}

.subject-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent2);
    line-height: normal;
    word-break: break-word;
}

.period-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.period-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--label);
    line-height: 1.25;
}

.period-detail-icon {
    color: var(--label);
    font-size: 14px;
    flex-shrink: 0;
    width: 0.75rem;
}

.period-detail-row span {
    word-break: break-word;
}

@media print {
    body {
        background-color: var(--white);
    }

    .print-btn,
    .tab-navigation {
        display: none;
    }

    .container {
        padding: 0px;
    }

    .timetable-grid {
        gap: 0.5rem;
    }

    .day-card {
        break-inside: avoid;
        box-shadow: none;
    }

    .period-card {
        break-inside: avoid;
    }
}

.grid-header {
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    background: var(--white) !important;
}

.time-header {
    border-radius: 16px 0px 0px;
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(247, 250, 252) 100%);
    display: flex;
    align-items: center;
    padding: 10px 16px;
}

.time-header i {
    font-weight: 600;
    font-size: 32px;
    line-height: 0;
    color: var(--label);
}

.time-header svg {
    width: 28px;
    height: 28px;
    color: rgb(74, 85, 104);
}

.day-header {
    position: relative;
    overflow: hidden;
    /* padding: 1rem; */
    background: rgb(248, 249, 250);
}

.day-header::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 4px;
}

.time-cell {
    background: linear-gradient(135deg, rgb(250, 251, 252) 0%, rgb(247, 250, 252) 100%);
    padding: 20px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    color: var(--label);
    font-weight: 500;
    line-height: 1.6;
}

.time-cell:last-of-type {
    border-radius: 0px 0px 0px 16px;
}

.class-cell {
    background: var(--white);
    padding: 20px 16px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.class-cell:hover {
    transform: translateY(-4px);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 12px 24px;
    z-index: 10;
}

.class-cell.empty {
    background: rgb(250, 251, 252);
}

.class-cell::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 0px 4px 4px 0px;
    transition: 0.3s;
}

.class-cell:hover::after {
    width: 6px;
}

.subject-maths::after {
    background: linear-gradient(rgb(96, 165, 250), rgb(59, 130, 246));
}

.subject-islamiat::after {
    background: linear-gradient(rgb(52, 211, 153), rgb(16, 185, 129));
}

.subject-music::after {
    background: linear-gradient(rgb(167, 139, 250), rgb(139, 92, 246));
}

.subject-english::after {
    background: linear-gradient(rgb(251, 191, 36), rgb(245, 158, 11));
}

.subject-ctmath::after {
    background: linear-gradient(rgb(34, 211, 238), rgb(6, 182, 212));
}

.subject-cturdu::after {
    background: linear-gradient(rgb(244, 114, 182), rgb(236, 72, 153));
}

.subject-mathlab::after {
    background: linear-gradient(rgb(45, 212, 191), rgb(20, 184, 166));
}

.class-subject {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    line-height: 1.1;
    gap: 8px;
}

.class-subject i {
    font-size: 16px;
    line-height: 0;
    color: var(--primary-green);
}

.class-teacher {
    font-size: 15px;
    font-weight: 400;
    color: var(--label);
    margin-bottom: 8px;
    gap: 7px;
    line-height: normal;
    align-items: baseline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 240px;
    text-align: left;
}

.class-teacher::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 65%;
    transform: translateX(-50%);
    background-color: rgb(51, 51, 51);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    width: max-content;
    max-width: 300px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
}

.class-teacher::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 57%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgb(51, 51, 51) transparent transparent;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.class-teacher:hover::after,
.class-teacher:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.class-list {
    font-size: 14px;
    font-weight: 400;
    color: var(--accent2);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.class-room {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-green);
    background: rgba(23, 143, 147, 0.06);
    padding: 4px 12px;
    border-radius: 8px;
    display: flex;
    gap: 5px;
    margin-top: 5px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.class-room i {
    line-height: 1;
}

.timetable-grid>div:nth-last-child(8) {
    border-radius: 0px 0px 0px 16px;
}

.timetable-grid>div:last-child {
    border-radius: 0px 0px 16px;
}

.day-monday::before {
    background: linear-gradient(90deg, rgb(251, 191, 36), rgb(245, 158, 11));
}

.day-tuesday::before {
    background: linear-gradient(90deg, rgb(167, 139, 250), rgb(139, 92, 246));
}

.day-wednesday::before {
    background: linear-gradient(90deg, rgb(244, 114, 182), rgb(236, 72, 153));
}

.day-thursday::before {
    background: linear-gradient(90deg, rgb(96, 165, 250), rgb(59, 130, 246));
}

.day-friday::before {
    background: linear-gradient(90deg, rgb(52, 211, 153), rgb(16, 185, 129));
}

.day-saturday::before {
    background: linear-gradient(90deg, rgb(252, 211, 77), rgb(251, 191, 36));
}

.day-sunday::before {
    background: linear-gradient(90deg, rgb(16, 185, 129), rgb(23, 143, 147));
}

.day-monday {
    color: rgb(245, 158, 11);
}

.day-tuesday {
    color: rgb(139, 92, 246);
}

.day-wednesday {
    color: rgb(236, 72, 153);
}

.day-thursday {
    color: rgb(59, 130, 246);
}

.day-friday {
    color: rgb(23, 143, 147);
}

.day-saturday {
    color: rgb(251, 191, 36);
}

.day-sunday {
    color: rgb(23, 143, 147);
    border-radius: 0px 16px 0px 0px;
}

.status-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0px;
    justify-content: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
}

.status-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.correct {
    background-color: var(--accent4);
}

.correct-not-attempted {
    background-color: var(--col-label-yellow);
}

.wrong {
    background-color: var(--absent-text);
}

.empty {
    text-align: center;
    padding: 0px;
    color: var(--empty-color);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    gap: 8px;
}

.empty h3 {
    font-size: 20px;
    font-weight: 500;
}

.empty i {
    font-size: 16px;
    margin-bottom: 0px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-120deg, var(--accent), var(--accent3));
    color: var(--white);
    text-align: center;
    overflow: hidden;
    border-radius: 18px;
}

.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 12px 20px;
}

.video-thumbnail {
    height: 180px;
    width: 100%;
    background: linear-gradient(-120deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-edit-delete {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    gap: 10px;
}

.video-edit-delete a {
    position: relative !important;
}

.processing {
    position: absolute;
    right: 15px;
    bottom: 0px;
    display: inline-flex;
}

.video-thumbnail::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: 2s ease 0s infinite normal none running pulse;
}

.video-thumbnail::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(16, 27, 44, 0.55);
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}

.video-thumbnail:hover::before {
    opacity: 1;
}

.video-thumbnail a {
    color: var(--white);
    z-index: 999;
    position: absolute;
}

.video-thumbnail .video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumbnail .video-thumb-img::before,
.video-thumbnail .video-thumb-img::after {
    display: none !important;
}

.video-thumbnail .video-thumb-img[src=""],
.video-thumbnail .video-thumb-img:not([src]),
.video-thumbnail .video-thumb-img[src=" "],
.video-thumbnail .video-thumb-img[src="#"],
.video-thumbnail .video-thumb-img[src*="undefined"],
.video-thumbnail .video-thumb-img[src*="null"] {
    display: none;
}

.video-thumbnail.no-image {
    background: linear-gradient(135deg, rgb(51, 51, 51), rgb(85, 85, 85));
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.video-play-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 7rem;
}

.video-thumbnail:hover .video-play-icon {
    transform: scale(1.2);
    color: var(--white);
}

.video-info {
    padding: 20px;
}

.video-info p {
    font-size: 14px;
    font-weight: 400;
    color: var(--label);
}

.video-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0px 0px 10px;
    color: var(--accent2);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 15px;
}

.video-duration {
    background: var(--light-gray);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.video-difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

.video-beginner {
    background: rgba(76, 201, 240, 0.2);
    color: rgb(76, 201, 240);
}

.video-intermediate {
    background: rgba(255, 158, 0, 0.2);
    color: rgb(255, 158, 0);
}

.video-thumbnail {
    position: relative;
}

.video-edit-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: 0.25s;
    z-index: 3;
}

.video-card:hover .video-edit-delete {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.video-edit-delete a {
    width: 30px;
    height: 30px;
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.video-thumbnail .processing {
    display: none;
}

.video-thumbnail.processing .processing,
.video-card.processing .processing {
    display: block;
}

.notice-board-container {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 20px 40px, rgba(0, 0, 0, 0.2) 0px -5px 10px inset, rgba(255, 255, 255, 0.1) 0px 5px 10px inset;
    border: 15px solid var(--primary-green);
    position: relative;
    margin-bottom: 40px;
}

.notice-board-container::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: var(--primary-green);
    border-radius: 10px 10px 0px 0px;
}

.notice-board {
    background: rgba(23, 143, 147, 0.1);
    border-radius: 10px;
    padding: 30px;
    min-height: 500px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 20px inset;
    border: 2px dashed var(--primary-green);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    position: relative;
}

.notice-board::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0, 0, 0, 0.1) 19px, rgba(0, 0, 0, 0.1) 20px);
    pointer-events: none;
    border-radius: 10px;
}

.notice-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, rgb(255, 215, 0), rgb(255, 140, 0));
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 5px;
    z-index: 10;
}

.notice-pin::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 10px;
    background: rgb(255, 140, 0);
    border-radius: 50% 50% 0px 0px;
}

.notice-item {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border-top: 4px solid var(--primary);
    transform: rotate(-1deg);
    z-index: 5;
}

.notice-item:nth-child(2n) {
    transform: rotate(1deg);
}

.notice-item:nth-child(3n) {
    transform: rotate(-2deg);
}

.notice-item:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px;
    z-index: 20;
}

.notice-item.important {
    border-top-color: var(--danger);
    background: linear-gradient(135deg, rgb(255, 245, 245), rgb(255, 255, 255));
}

.notice-item.new {
    border-top-color: var(--primary-green);
    position: relative;
}

.notice-item.event {
    border-top-color: var(--warning);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.notice-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent2);
    margin: 0px 0px 5px;
    gap: 8px;
    display: flex;
}

.notice-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    margin-left: 15px;
}

.new .notice-badge {
    background: var(--success);
}

.important .notice-badge {
    background: var(--danger);
}

.event .notice-badge {
    background: var(--warning);
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--label);
    font-size: 14px;
    margin: 0px 0px 10px;
}

.notice-date i {
    color: var(--primary);
}

.notice-preview {
    color: var(--label);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-preview-in {
    font-size: 16px;
    font-weight: 400;
    color: var(--label);
    line-height: 1.5;
    margin: 0px;
    padding: 0px;
}

.notice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.notice-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
}

.click-hint {
    display: flex;
    position: relative;
    color: var(--primary);
    font-size: 14px;
    font-weight: 400;
    opacity: 0.7;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    line-height: normal;
}

.notice-board a:hover .click-hint {
    color: var(--primary-green);
}

.notice-board :hover .click-hint {
    color: var(--primary-green);
}

.notice-action-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.notice-action-buttons .click-hint {
    flex: 1 1 0%;
    justify-content: flex-start;
}

.mail-sidebar .fi-sr-arrow-small-left {
    display: block;
    color: var(--primary-green);
    font-size: 24px !important;
}

.rating-star {
    display: flex;
    position: relative;
    color: var(--primary);
    font-size: 20px;
    font-weight: 400;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.rating-star .star {
    color: var(--grey4);
}

.route-content {
    padding: 2rem 0px;
}

.pickup-grid {
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 30px;
}

.pickup-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: rgba(23, 143, 147, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px;
    transition: box-shadow 0.2s;
}

.pickup-item:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
}

.pickup-icon-wrapper {
    flex-shrink: 0;
}

.pickup-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(23, 143, 147, 0.3) 0px 4px 6px;
}

.pickup-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

.pickup-content {
    flex: 1 1 0%;
    min-width: 0px;
}

.pickup-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 0.75rem;
}

.pickup-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pickup-detail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pickup-detail svg {
    width: 16px;
    height: 16px;
    stroke: var(--label);
    fill: none;
    stroke-width: 2;
}

.pickup-detail span {
    font-size: 14px;
    color: var(--label);
}

.pickup-detail .value {
    font-weight: 600;
    color: rgb(17, 24, 39);
}

.todo-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 60px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

.todo-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 15px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.todo-title {
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    align-content: center;
    line-height: 1;
}

.todo-title i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.todo-title h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 !important;
}

.task-add-btn {
    color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.3) !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px inset !important;
}

.task-add-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px !important;
}

.todo-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
}

.tasks-container {
    padding: 15px;
    max-height: 500px;
    overflow: hidden;
    overflow-y: auto;
}

.tasks-container-admin {
    padding: 15px;
    height: 100%;
    max-height: 820px;
    overflow: hidden;
    overflow-y: auto;
}

.tasks-container::-webkit-scrollbar {
    width: 6px;
}

.tasks-container::-webkit-scrollbar-track {
    background: rgb(241, 245, 249);
    border-radius: 10px;
}

.tasks-container::-webkit-scrollbar-thumb {
    background: rgb(199, 210, 254);
    border-radius: 10px;
}

.task-item {
    background: var(--input-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid rgb(226, 232, 240);
    position: relative;
    cursor: pointer;
    justify-content: space-between;
}

.task-item-left {
    display: flex;
    gap: 14px;
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 8px 20px;
}

.task-item.completed {
    background: rgb(240, 253, 244);
    border-left-color: rgb(16, 185, 129);
}

.checkbox-container {
    position: relative;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.task-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgb(203, 213, 225);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    background: var(--white);
    position: relative;
    pointer-events: none;
}

.task-checkbox:focus+.custom-checkbox {
    box-shadow: rgba(79, 70, 229, 0.1) 0px 0px 0px 3px;
    border-color: rgb(79, 70, 229);
}

.checkbox-container:hover .custom-checkbox {
    border-color: rgb(79, 70, 229);
    transform: scale(1.05);
}

.task-checkbox:checked+.custom-checkbox {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.task-checkbox:checked+.custom-checkbox::after {
    content: "✓";
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    position: absolute;
}

.task-content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: default;
}

.task-title {
    font-size: 16px;
    font-weight: 600;
    color: rgb(30, 41, 59);
    line-height: 1.4;
}

.task-item.completed .task-title {
    color: rgb(100, 116, 139);
    text-decoration: line-through;
}

.task-description {
    color: rgb(100, 116, 139);
    font-size: 14px;
    line-height: 1.4;
}

.task-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.task-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgb(100, 116, 139);
    font-size: 14px;
    background: rgb(241, 245, 249);
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1.2;
}

.task-date i {
    font-size: 13px;
}

.task-priority {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-high {
    background: rgb(254, 226, 226);
    color: rgb(220, 38, 38);
}

.priority-normal {
    background: rgb(224, 242, 254);
    color: rgb(3, 105, 161);
}

.due-date-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(245, 158, 11);
    font-size: 13px;
    background: rgb(254, 243, 199);
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 8px;
    width: fit-content;
}

.task-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: flex-start;
    z-index: 3;
    position: relative;
}

.task-action-btn {
    background: var(--white);
    border: 1px solid rgb(226, 232, 240);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgb(100, 116, 139);
    transition: 0.2s;
    font-size: 14px;
    margin-right: 0px !important;
}

.task-action-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.task-checkbox:checked+.custom-checkbox::after {
    animation: 0.2s ease 0s 1 normal none running checkmark;
}

.table>tbody>tr.active>td,
.table>tbody>tr.active>th,
.table>tbody>tr>td.active,
.table>tbody>tr>th.active,
.table>tfoot>tr.active>td,
.table>tfoot>tr.active>th,
.table>tfoot>tr>td.active,
.table>tfoot>tr>th.active,
.table>thead>tr.active>td,
.table>thead>tr.active>th,
.table>thead>tr>td.active,
.table>thead>tr>th.active {
    background-color: rgb(243 249 249) !important;
}

.table-hover>tbody>tr.active:hover>td,
.table-hover>tbody>tr.active:hover>th,
.table-hover>tbody>tr:hover>.active,
.table-hover>tbody>tr>td.active:hover,
.table-hover>tbody>tr>th.active:hover {
    background-color: rgba(23, 143, 147, 0.08) !important;
}

.table>tbody>tr.success>td,
.table>tbody>tr.success>th,
.table>tbody>tr>td.success,
.table>tbody>tr>th.success,
.table>tfoot>tr.success>td,
.table>tfoot>tr.success>th,
.table>tfoot>tr>td.success,
.table>tfoot>tr>th.success,
.table>thead>tr.success>td,
.table>thead>tr.success>th,
.table>thead>tr>td.success,
.table>thead>tr>th.success {
    background-color: rgba(23, 143, 147, 0.05) !important;
}

.table-hover>tbody>tr.success:hover>td,
.table-hover>tbody>tr.success:hover>th,
.table-hover>tbody>tr:hover>.success,
.table-hover>tbody>tr>td.success:hover,
.table-hover>tbody>tr>th.success:hover {
    background-color: rgba(23, 143, 147, 0.08) !important;
}

.table>tbody>tr.info>td,
.table>tbody>tr.info>th,
.table>tbody>tr>td.info,
.table>tbody>tr>th.info,
.table>tfoot>tr.info>td,
.table>tfoot>tr.info>th,
.table>tfoot>tr>td.info,
.table>tfoot>tr>th.info,
.table>thead>tr.info>td,
.table>thead>tr.info>th,
.table>thead>tr>td.info,
.table>thead>tr>th.info {
    background-color: rgba(23, 143, 147, 0.05) !important;
}

.table-hover>tbody>tr.info:hover>td,
.table-hover>tbody>tr.info:hover>th,
.table-hover>tbody>tr:hover>.info,
.table-hover>tbody>tr>td.info:hover,
.table-hover>tbody>tr>th.info:hover {
    background-color: rgba(23, 143, 147, 0.08) !important;
}

.table>tbody>tr.warning>td,
.table>tbody>tr.warning>th,
.table>tbody>tr>td.warning,
.table>tbody>tr>th.warning,
.table>tfoot>tr.warning>td,
.table>tfoot>tr.warning>th,
.table>tfoot>tr>td.warning,
.table>tfoot>tr>th.warning,
.table>thead>tr.warning>td,
.table>thead>tr.warning>th,
.table>thead>tr>td.warning,
.table>thead>tr>th.warning {
    background-color: rgba(23, 143, 147, 0.08) !important;
}

.table-hover>tbody>tr.warning:hover>td,
.table-hover>tbody>tr.warning:hover>th,
.table-hover>tbody>tr:hover>.warning,
.table-hover>tbody>tr>td.warning:hover,
.table-hover>tbody>tr>th.warning:hover {
    background-color: rgba(23, 143, 147, 0.1) !important;
}

.table>tbody>tr.danger>td,
.table>tbody>tr.danger>th,
.table>tbody>tr>td.danger,
.table>tbody>tr>th.danger,
.table>tfoot>tr.danger>td,
.table>tfoot>tr.danger>th,
.table>tfoot>tr>td.danger,
.table>tfoot>tr>th.danger,
.table>thead>tr.danger>td,
.table>thead>tr.danger>th,
.table>thead>tr>td.danger,
.table>thead>tr>th.danger {
    background-color: rgba(23, 143, 147, 0.05) !important;
}

.table-hover>tbody>tr.danger:hover>td,
.table-hover>tbody>tr.danger:hover>th,
.table-hover>tbody>tr:hover>.danger,
.table-hover>tbody>tr>td.danger:hover,
.table-hover>tbody>tr>th.danger:hover {
    background-color: rgba(23, 143, 147, 0.08) !important;
}

/* Hover */
.table-hover > tbody > tr:hover > td {
    background-color: #dee2e6 !important;
}

/* Selected / Active Row */
.table-hover > tbody > tr.row-selected > td,
.table-hover > tbody > tr.row-selected:hover > td {
    font-weight: 600 !important;    
    background-color: #c5dedd !important;
}


.textbold {
    font-weight: 600 !important;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    gap: 10px;
    flex-direction: column;
}

.criterion-card {
    background-color: rgb(249, 250, 252);
    border-radius: 10px;
    padding: 10px;
    border-left: 4px solid var(--primary-green);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
}

.criterion-card:hover {
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 15px;
}

.criterion-header {
    display: flex;
    align-items: center;
}

.criterion-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
    line-height: 25px;
}

.criterion-title {
    font-weight: 600;
    color: rgb(44, 62, 80);
    font-size: 1rem;
}

.criterion-details {
    font-size: 14px;
    color: var(--label);
}

.sampledata {
    overflow-x: auto !important;
    display: block;
}

.sampledata .table {
    margin: 0px 5px 5px;
}

.well .checkbox-inline-gridin {
    display: flex;
    align-items: flex-start;
}

.well .checkbox-inline-gridin .checkbox-inline+.checkbox-inline,
.radio-inline+.radio-inline {
    margin-top: 0;
    margin-left: 0;
}

.well .checkbox-inline-grid {
    display: flex;
    justify-content: flex-start;
}

.well .checkbox-inline-grid .checkbox-inline+.checkbox-inline,
.radio-inline+.radio-inline {
    margin-top: 0;
    margin-left: 0;
}

.checkbox-inline-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0px 15px;
    padding: 10px;
    background: var(--grey);
    border-radius: 8px;
}

.checkbox-inline-gridin {
    display: flex;
    gap: 10px;
    margin: 10px 0px 15px;
    padding: 10px;
    background: var(--grey);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.checkbox-inline-gridin h4 {
    margin: 0px;
    padding: 0px;
}

.checkbox-inline,
.radio-inline {
    position: relative;
    padding-top: 0px !important;
    padding-left: 0px;
    margin-bottom: 0px;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
    gap: 6px;
    display: inline-flex;
    align-items: center;
    line-height: normal;
}

.tshadow .checkbox-inline,
.radio-inline {
    margin-right: 10px;
}

.checkbox-inline .help-block {
    font-weight: 400;
    color: var(--accent2);
    margin: 0px;
}

.checkbox-inline .help-block span {
    font-weight: 700;
    margin-right: 10px;
}

.radio-inline input[type="radio"] {
    margin-left: 0px !important;
    position: relative;
}

.radio-passfail,
.radio-continueleave,
.radio-inline label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0px;
    font-weight: 700;
}

.radio-inline input[type="radio"]:checked[value="pass"]+.radio-labeltext {
    color: var(--primary-green);
}

.radio-inline input[type="radio"]:checked[value="pass"] {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.radio-inline input[type="radio"]:checked[value="fail"]+.radio-labeltext {
    color: var(--absent-text);
}

.radio-inline input[type="radio"]:checked[value="fail"] {
    background: var(--absent-text);
    border-color: var(--absent-text);
}

.radio-inline input[type="radio"]:checked[value="countinue"]+.radio-labeltext {
    color: var(--primary-green);
}

.radio-inline input[type="radio"]:checked[value="countinue"] {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.radio-inline input[type="radio"]:checked[value="leave"]+.radio-labeltext {
    color: var(--absent-text);
}

.radio-inline input[type="radio"]:checked[value="leave"] {
    background: var(--absent-text);
    border-color: var(--absent-text);
}

.radio-inline.leave_pending input[type="radio"]:checked {
    background: var(--halfday-text);
    border-color: var(--halfday-text);
}

.radio-inline.leave_pending {
    color: var(--halfday-text);
}

.radio-inline.leave_approve input[type="radio"]:checked {
    background: var(--present-text);
    border-color: var(--present-text);
}

.radio-inline.leave_approve {
    color: var(--present-text);
}

.radio-inline.leave_disapprove input[type="radio"]:checked {
    background: var(--absent-text);
    border-color: var(--absent-text);
}

.radio-inline.leave_disapprove {
    color: var(--absent-text);
}

.feeslabel {
    color: var(--primary-green);
    font-size: 18px;
    font-weight: 600;
    background-color: rgba(23, 143, 147, 0.07);
    border-left: 4px solid var(--primary-green);
    resize: none;
    border-radius: 6px;
    padding: 3px 10px;
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.feesalert {
    background: linear-gradient(135deg, rgb(254, 242, 242) 0%, rgb(255, 245, 245) 100%);
    border: 1px solid rgb(252, 129, 129);
    padding: 8px 10px;
    border-radius: 6px;
    margin: 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--col-label-red);
}

.successlabel {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-green);
    background: rgba(23, 143, 147, 0.06);
    padding: 15px 10px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    margin-top: 5px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.successlabel .invoice_no {
    color: var(--accent2);
    font-size: 20px;
    font-weight: 800;
}

.payment-mode-container {
    margin-bottom: 15px !important;
}

.payment-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}

.payment-mode {
    flex: 1 1 0%;
    min-width: 120px;
}

.payment-mode input {
    display: none;
}

.payment-mode label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--bg);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.payment-mode label i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-green);
}

.payment-mode input:checked+label {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: rgba(74, 110, 224, 0.1) 0px 5px 15px;
    color: var(--white);
}

.payment-mode input:checked+label i {
    color: var(--white);
}

.payment-mode input:checked+label span {
    color: var(--white);
}

.payment-mode-name {
    font-weight: 400;
    font-size: 14px;
    color: var(--primary);
}

.gap15 {
    gap: 15px;
}

.gap20 {
    gap: 20px;
}

/* .feestable {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
    color: var(--accent2) !important;
} */

.feestable {
    margin: 8px 0;
}

.feestable-code-col {
    width: 140px;
}

.feestable-inner {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.feestable-code {
    display: inline-block;
    background: rgba(23, 143, 147, 0.08);
    padding: 3px 5px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border-left: 3px solid var(--primary-green);
}

.feestable .fee-name-col {
    width: 220px;
}

.feestable .fees-code-col i {
    font-weight: 700;
    font-size: 20px;
    margin-right: 5px;
    line-height: 1;
    top: 5px;
    position: relative;
    color: var(--accent2);
}

.feestable .fee-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feestable .amount-col {
    /* width: 160px; */
}

.feestable .amount {
    font-weight: 600;
}

.feestable .amount-col .amount::before {
    content: "$" !important;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
    display: none;
}

.feestable .amount::before {
    content: "PKR";
    font-size: 14px;
    color: rgb(113, 128, 150);
    font-weight: 500;
}

.feestable .fine-type-col {
    width: 120px;
}

.feestable .fine-percentage {
    background-color: rgb(254, 215, 215);
    color: rgb(116, 42, 42);
}

.feestable .fine-type {
    display: inline-block;
    padding: 0;
}

/* Percentage */
.feestable .fine-percentage {
    background-color: #dbeafe;
    color: #1d4ed8;
}

/* Fix */
.feestable .fine-fix {
    background-color: #dcfce7;
    color: #15803d;
}

/* None */
.feestable .fine-none {
    background-color: #f1f5f9;
    color: #64748b;
}

/* Cumulative */
.feestable .fine-cumulative {
    background-color: #fef3c7;
    color: #b45309;
}

/* Default / Unknown */
.feestable .fine-default {
    background-color: #e2e8f0;
    color: #475569;
}

.feestable .due-date-col {
    width: 140px;
}

.feestable .due-date {
    display: flex;
    padding: 0;
    color: var(--accent2);
    font-size: 14px;
    font-weight: 500;
    /* border-bottom: 1px dashed var(--primary-green); */
    line-height: normal;
    justify-content: flex-start;
    align-items: center;
}

.feestable .per-day-col {
    width: 100px;
    text-align: center;
}

.feestable .per-day-yes {
    background-color: rgb(254, 235, 200);
    color: rgb(192, 86, 33);
}

.feestable .days-fine-col {
    width: 160px;
}

/* .feestable .days-fine {
    display: flex;
    align-items: center;
    gap: 8px;
} */

.feestable .days-fine-amount {
    font-weight: 700;
    font-size: 15px;
}

.feestable .action-col {
    width: 200px;
}

.feestable .action-col-btn {
    display: flex;
    justify-content: flex-end;
}

.feecol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--white);
    padding: 3px 7px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 5px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    user-select: none;
    transition: var(--bn-transition);
    text-decoration: none !important;
}

.fee-pencil {
    color: var(--bn-primary);
}

.fee-pencil:hover,
.fee-pencil:focus,
.fee-pencil:active {
    color: color-mix(in srgb, var(--bn-primary), #000 30%);
}

.fee-close {
    color: var(--bn-danger);
}

.fee-close:hover,
.fee-close:focus,
.fee-close:active {
    color: color-mix(in srgb, var(--bn-danger), #000 30%);
}

.feestable .action-col i {
    margin: 0px;
    line-height: inherit;
    color: inherit;
}

.assigntable {
    min-width: 100% !important;
}

.assigntable input {
    min-width: 240px !important;
}

.min-w100 {
    min-width: 100% !important;
}

.red {
    color: var(--absent-text) !important;
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.staffinfo-box {
    padding: 25px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: rgba(30, 53, 92, 0.07) 0px 2px 8px;
    flex-direction: column;
    justify-content: flex-start;
}

.staffinfo-box .staffleft-cvr {
    display: flex;
    gap: 15px;
}

.staffinfo-box::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 5px;
    background: var(--bg-gradient2);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.staffinfo-box:hover {
    transform: translateY(-10px);
    box-shadow: rgba(99, 102, 241, 0.25) 0px 20px 40px -10px;
    border-color: var(--primary-light);
}

.staffinfo-box:hover .staffleft-box img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.staffleft-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0px auto 15px;
    border: 4px solid var(--white);
    box-shadow: rgba(99, 102, 241, 0.2) 0px 8px 20px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 0px;
}

.staffleft-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.staffleft-content {
    text-align: left;
    flex-grow: 1;
}

.staffleft-content-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.staffleft-content .staff-info {
    text-align: left;
    display: flex;
    gap: 13px;
    justify-content: center;
    line-height: 5;
    flex-direction: column;
}

.staffleft-content .staff-info .staff-info-item {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    gap: 10px;
    line-height: 1;
    align-content: center;
    align-items: center;
}

.staffleft-content .staff-info .staff-info-item i {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.staffleft-content .staff-info .staff-info-item .label {
    font-size: 15px;
    font-weight: 500;
    padding: 0px;
    margin: 0px;
}

.staffleft-content h5 {
    font-size: 18px;
    font-weight: 500;
    color: var(--accent2);
    margin-bottom: 10px;
    line-height: 1.3;
}

.staffleft-content h5 span {
    display: inline-block;
    padding: 4px 0px;
    position: relative;
}

.staffleft-content h5 span:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teacher-text);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
}

.staffleft-content p {
    font-size: 14px;
    color: var(--teacher-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.staffleft-content p font {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.staffleft-content p font:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-dark);
}

.staffleft-content p font:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teacher-text);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
}

.staffinfo-box .staffsub-info {
    padding-top: 15px;
    border-top: 1px solid var(--teacher-border);
    margin-bottom: 0px;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.staffinfo-box .staffsub-text {
    display: inline-flex;
    padding: 5px 10px;
    margin: 0px;
    background: rgba(23, 143, 147, 0.08);
    color: var(--primary-green);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    gap: 5px;
    align-items: center;
    align-content: center;
    line-height: normal;
}

.staffleft-content .staffsub span:hover {
    transform: translateY(-2px);
    box-shadow: rgba(99, 102, 241, 0.4) 0px 6px 16px;
}

.staffleft-content .staffsub span:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teacher-text);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
}

.overlay3 {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(16, 27, 44, 0.8);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    border: 0px solid var(--primary-green) !important;
}

.staffinfo-box:hover .overlay3 {
    opacity: 1;
}

.stafficons {
    display: flex;
    gap: 20px;
    padding: 0px;
}

.stafficons a {
    width: 55px;
    height: 55px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
}

.stafficons a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
}

.stafficons a i {
    transition: 0.3s;
}

.filters {
    background: var(--teacher-card);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    box-shadow: var(--teacher-shadow);
    margin-bottom: 40px;
    border: 1px solid var(--teacher-border);
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 1 1 0%;
    min-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 2px solid var(--teacher-border);
    border-radius: var(--radius-md);
    background: var(--teacher-bg);
    font-size: 1rem;
    font-weight: 500;
    color: var(--teacher-text);
    transition: 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: rgba(99, 102, 241, 0.2) 0px 0px 0px 3px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teacher-muted);
    font-size: 1.2rem;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 25px;
    color: var(--white);
    box-shadow: var(--teacher-shadow);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(99, 102, 241, 0.3) 0px 15px 30px;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.staffinfo-box {
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
    animation-name: fadeInUp;
    animation-timeline: auto;
    animation-range: normal;
    animation-delay: calc(var(--item-order) * 0.1s);
}

.filter-options {
    display: flex;
    gap: 15px;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 10px;
    background: var(--grey3);
    padding: 5px;
    border-radius: 10px;
}

.view-btn {
    font-size: 14px;
    font-weight: 400;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
    display: flex;
    gap: 10px;
    align-items: center;
}

.view-btn.active {
    background: var(--primary-green);
    color: var(--white);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 15px;
    padding-top: 15px;
}

.price-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 8px 16px, rgba(0, 0, 0, 0.1) 0px 1px 3px, rgba(255, 255, 255, 0.5) 0px 1px 0px inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.price-card::after {
    content: "\fd51";
    position: absolute;
    right: -5px;
    bottom: -25px;
    font-size: 80px;
    opacity: 0.08;
    color: currentcolor;
    pointer-events: none;
    font-family: "uicons-regular-rounded" !important;
}

.price-card::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 5px;
    z-index: 2;
}

.price-card.net-salary::before {
    background: linear-gradient(90deg, rgb(59, 130, 246) 0%, rgb(96, 165, 250) 100%);
}

.price-card.gross-salary::before {
    background: linear-gradient(90deg, rgb(245, 158, 11) 0%, rgb(251, 191, 36) 100%);
}

.price-card.total-earning::before {
    background: linear-gradient(90deg, rgb(16, 185, 129) 0%, rgb(52, 211, 153) 100%);
}

.price-card.total-deduction::before {
    background: linear-gradient(90deg, rgb(239, 68, 68) 0%, rgb(248, 113, 113) 100%);
}

.price-card.net-salary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(96, 165, 250, 0.05) 100%);
    display: flex;
    gap: 30px;
}

.price-card.gross-salary {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
    display: flex;
    gap: 30px;
}

.price-card.total-earning {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(52, 211, 153, 0.05) 100%);
    display: flex;
    gap: 30px;
}

.price-card.total-deduction {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(248, 113, 113, 0.05) 100%);
    display: flex;
    gap: 30px;
}

.price-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0px;
}

.price-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.net-salary .price-card-icon {
    background: linear-gradient(135deg, rgb(59, 130, 246) 0%, rgb(96, 165, 250) 100%);
    color: var(--white);
}

.gross-salary .price-card-icon {
    background: linear-gradient(135deg, rgb(245, 158, 11) 0%, rgb(251, 191, 36) 100%);
    color: var(--white);
}

.total-earning .price-card-icon {
    background: linear-gradient(135deg, rgb(16, 185, 129) 0%, rgb(52, 211, 153) 100%);
    color: var(--white);
}

.total-deduction .price-card-icon {
    background: linear-gradient(135deg, rgb(239, 68, 68) 0%, rgb(248, 113, 113) 100%);
    color: var(--white);
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.net-salary .trend-indicator {
    background: rgba(59, 130, 246, 0.15);
    color: rgb(29, 78, 216);
}

.gross-salary .trend-indicator {
    background: rgba(245, 158, 11, 0.15);
    color: rgb(146, 64, 14);
}

.total-earning .trend-indicator {
    background: rgba(16, 185, 129, 0.15);
    color: rgb(6, 95, 70);
}

.total-deduction .trend-indicator {
    background: rgba(239, 68, 68, 0.15);
    color: rgb(153, 27, 27);
}

.price-card-title {
    font-size: 14px;
    font-weight: 600;
    color: rgb(100, 116, 139);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-card-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.net-salary .price-card-value {
    background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(59, 130, 246) 100%) text;
    -webkit-text-fill-color: transparent;
}

.gross-salary .price-card-value {
    background: linear-gradient(135deg, rgb(146, 64, 14) 0%, rgb(245, 158, 11) 100%) text;
    -webkit-text-fill-color: transparent;
}

.total-earning .price-card-value {
    background: linear-gradient(135deg, rgb(6, 95, 70) 0%, rgb(16, 185, 129) 100%) text;
    -webkit-text-fill-color: transparent;
}

.total-deduction .price-card-value {
    background: linear-gradient(135deg, rgb(153, 27, 27) 0%, rgb(239, 68, 68) 100%) text;
    -webkit-text-fill-color: transparent;
}

.price-card-subtitle {
    font-size: 13px;
    color: rgb(148, 163, 184);
    margin-bottom: 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.value-updated {
    animation: 0.5s ease-in-out 0s 1 normal none running pulse;
}

.attendance-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
}

/* .control-label {
    font-weight: 600;
    color: rgb(68, 68, 68);
    font-size: 16px;
    background: rgb(248, 249, 250);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgb(234, 234, 234);
} */

.attendance-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-right: auto;
    align-items: center;
}

.attendance-radio-cvr {
    display: flex;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    align-items: center;
}

.attendance-radio-cvr h2 {
    font-size: 16px;
    color: var(--accent2);
    margin: 0px;
}

.attendance-radio-option {
    display: flex;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    align-items: center;
}

.attendance-radio-option:hover {
    transform: translateY(-2px);
}

.attendance-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgb(221, 221, 221);
    border-radius: 50%;
    position: relative;
    transition: 0.3s;
}

.attendance-radio-option input[type="radio"]:checked+.attendance-radio-custom {
    border-color: rgb(52, 152, 219);
    animation: 0.5s ease 0s 1 normal none running pulse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.attendance-radio-option input[type="radio"]:checked+.attendance-radio-custom::after {
    content: "";
    width: 10px;
    height: 10px;
    background: rgb(52, 152, 219);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.attendance-radio-label {
    color: var(--label);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--grey3);
    transition: 0.3s;
    margin: 0px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px !important;
}

.attendance-radio-label i {
    margin: 0px;
    line-height: 1;
}

.attendance-radio-label2 {
    color: var(--label);
    font-weight: 500;
    transition: 0.3s;
    margin: 0px;
    min-width: max-content;
    font-size: 14px !important;
}

.attendance-radio-option.present input[type="radio"]:checked~.attendance-radio-label {
    background: var(--present-text);
    color: var(--white) !important;
}

.attendance-radio-option.present input[type="radio"]:checked {
    background: var(--present-text);
    border-color: var(--present-text);
}

.attendance-radio-option.late input[type="radio"]:checked~.attendance-radio-label {
    background: var(--late-text);
    color: var(--white) !important;
}

.attendance-radio-option.late input[type="radio"]:checked {
    background: var(--late-text);
    border-color: var(--late-text);
}

.attendance-radio-option.absent input[type="radio"]:checked~.attendance-radio-label {
    background: var(--absent-text);
    color: var(--white) !important;
}

.attendance-radio-option.absent input[type="radio"]:checked {
    background: var(--absent-text);
    border-color: var(--absent-text);
}

.attendance-radio-option.half_day input[type="radio"]:checked~.attendance-radio-label {
    background: var(--halfday-text);
    color: var(--white) !important;
}

.attendance-radio-option.half_day input[type="radio"]:checked {
    background: var(--halfday-text);
    border-color: var(--halfday-text);
}

.attendance-radio-option.holiday input[type="radio"]:checked~.attendance-radio-label {
    background: var(--holiday-text);
    color: var(--white) !important;
}

.attendance-radio-option.holiday input[type="radio"]:checked {
    background: var(--holiday-text);
    border-color: var(--holiday-text);
}

.attendance-radio-option.late_with_excuse input[type="radio"]:checked~.attendance-radio-label {
    background: var(--excuse-text);
    color: var(--white) !important;
}

.attendance-radio-option.late_with_excuse input[type="radio"]:checked {
    background: var(--excuse-text);
    border-color: var(--excuse-text);
}

.attendance-radio-option.sick_leave input[type="radio"]:checked~.attendance-radio-label {
    background: var(--sickleave-text);
    color: var(--white) !important;
}

.attendance-radio-option.sick_leave input[type="radio"]:checked {
    background: var(--sickleave-text);
    border-color: var(--sickleave-text);
}

.attendance-radio-option.present input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.present input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--present-text);
}

.attendance-radio-option.late input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.late input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--late-text);
}

.attendance-radio-option.absent input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.absent input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--absent-text);
}

.attendance-radio-option.half_day input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.half_day input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--halfday-text);
}

.attendance-radio-option.holiday input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.holiday input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--holiday-text);
}

.attendance-radio-option.late_with_excuse input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.late_with_excuse input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--excuse-text);
}

.attendance-radio-option.sick_leave input[type="radio"]:checked+.attendance-radio-label,
.attendance-radio-option.sick_leave input[type="radio"]:checked+.attendance-radio-label2 {
    color: var(--sickleave-text);
}

.salary-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.salary-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.item-name {
    margin: 0px;
}

.item-name tr {
    background: var(--grey3);
}

.summary-card {
    grid-column: 1 / span 2;
    background: var(--bg-gradient3);
    color: var(--white);
    border-radius: 20px;
    padding: 32px;
}

.summary-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5px 5px 15px;
    background: var(--grey3);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.detail-row input {
    font-size: 18px;
    font-weight: 500;
    background: var(--white);
}

.value-tax input {
    color: rgb(248, 113, 113);
}

.value-net input {
    color: rgb(52, 211, 153);
}

.line {
    margin: 0px;
    border-color: rgba(255, 255, 255, 0.2);
}

.label-danger {
    --bs-text-opacity: 1;
    color: rgba(var(--vz-danger), var(--bs-text-opacity)) !important;
    background-color: var(--vz-danger-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.label-success {
    --bs-text-opacity: 1;
    color: rgba(var(--vz-success), var(--bs-text-opacity)) !important;
    background-color: var(--vz-success-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.label-warning {
    --bs-text-opacity: 1;
    color: rgba(var(--vz-warning), var(--bs-text-opacity)) !important;
    background-color: var(--vz-warning-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.label-info {
    --bs-text-opacity: 1;
    color: rgba(var(--vz-info), var(--bs-text-opacity)) !important;
    background-color: var(--vz-info-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.label-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--vz-primary), var(--bs-text-opacity)) !important;
    background-color: var(--vz-primary-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.label-secondary {
    --bs-text-opacity: 1;
    color: rgba(var(--vz-secondary), var(--bs-text-opacity)) !important;
    background-color: var(--vz-secondary-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.teacher-item-box {
    width: 100%;
    max-height: 340px;
    overflow: auto;
    padding-right: 10px;
}

.teacher-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    background-color: var(--input-bg);
    border: 2px solid rgb(226, 232, 240);
    transition: 0.3s;
    cursor: pointer;
}

.teacher-item label {
    color: var(--label);
    transition: color 0.2s;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0px !important;
}

.teacher-item:hover,
.teacher-item.active {
    background: var(--primary-lightgreen);
    color: var(--primary-green);
}

.table-subject-list {
    display: block;
    width: 100%;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px;
    font-family: sans-serif;
}

.table-subject-item {
    display: flex;
    padding: 10px 12px;
    border-bottom: 1px solid rgb(226, 232, 240);
    align-items: center;
    transition: background 0.2s;
    font-size: 14px;
    color: rgb(26, 32, 44);
}

.table-subject-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.table-subject-item:nth-child(2n+1) {
    background-color: var(--grey2);
}

.table-subject-item i {
    margin-right: 8px;
    color: rgb(16, 185, 129);
    font-size: 16px;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0px;
    text-align: right;
    background: transparent;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}

.versionlbl {
    --bs-text-opacity: 1;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(var(--vz-success), var(--bs-text-opacity)) !important;
    background-color: var(--vz-success-bg) !important;
}

.btn-close {
    color: var(--col-label-red);
    font-size: 20px;
    font-weight: 500;
}

.QRcode-container {
    max-width: 1200px;
    margin: 0px auto;
}

.QRcode-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.QRcode-header h1 {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.QRcode-header h1::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.QRcode-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0px;
}

.QRcode-attendance-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.QRcode-attendance-container #profile_data {
    padding: 1.5rem;
    text-align: center;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.QRcode-attendance-container .box {
    flex: 1 1 0%;
    min-width: 300px;
}

.QRcode-attendance-container .box .qrscansvg {
    margin-top: 0.15rem;
    padding: 3rem;
    width: 70%;
}

.QRcode-scan-section:hover,
.QRcode-profile-section:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 15px 35px;
}

.QRcode-section-title {
    padding: 10px 15px;
    background: var(--bg-gradient2);
    color: var(--white);
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.QRcode-section-title i {
    font-size: 18px;
}

.QRcode-section-content {
    padding: 30px;
}

.QRcode-scanner-container {
    text-align: center;
}

.QRcode-scanner-placeholder {
    background-color: var(--grey2);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    margin-bottom: 25px;
    border: 2px dashed var(--border);
    transition: var(--transition);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.QRcode-scanner-placeholder:hover {
    border-color: var(--primary-green);
    background-color: rgba(23, 143, 147, 0.08);
}

.QRcode-scanner-icon {
    font-size: 120px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.QRcode-scanner-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--label);
    margin-bottom: 10px;
}

.QRcode-camera-error {
    color: rgb(231, 76, 60);
    background-color: rgba(231, 76, 60, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.QRcode-camera-error i {
    font-size: 16px;
    line-height: 0;
}

.QRcode-scan-button {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: rgba(67, 97, 238, 0.3) 0px 5px 15px;
}

.QRcode-scan-button:hover {
    transform: translateY(-3px);
    box-shadow: rgba(67, 97, 238, 0.4) 0px 8px 20px;
}

.QRcode-profile-display {
    text-align: center;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.QRcode-profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 20px;
    margin-bottom: 25px;
}

.QRcode-default-card {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px;
}

.QRcode-profile-info {
    text-align: center;
    margin-top: 20px;
}

.QRcode-profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--QRcode-dark-text);
    margin-bottom: 5px;
}

.QRcode-profile-id {
    color: var(--QRcode-light-text);
    font-size: 1rem;
    background-color: var(--QRcode-light-bg);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.QRcode-attendance-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    background-color: rgba(76, 201, 240, 0.1);
    color: rgb(14, 165, 233);
}

.QRcode-loader {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: var(--QRcode-border-radius);
}

.QRcode-loader i {
    font-size: 3rem;
    color: var(--QRcode-primary);
    margin-bottom: 15px;
}

.QRcode-loader-text {
    font-weight: 500;
    color: var(--QRcode-primary);
}

.QRcode-instructions {
    background-color: var(--white);
    border-radius: var(--QRcode-border-radius);
    box-shadow: var(--QRcode-box-shadow);
    padding: 25px;
    margin-top: 30px;
}

.QRcode-instructions h3 {
    color: var(--QRcode-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.QRcode-instruction-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.QRcode-instruction-item {
    flex: 1 1 0%;
    min-width: 200px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.QRcode-instruction-number {
    background: linear-gradient(to right, var(--QRcode-primary), var(--QRcode-secondary));
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.QRcode-instruction-text {
    color: var(--QRcode-light-text);
}

.QRcode-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgb(16, 185, 129);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--QRcode-border-radius);
    box-shadow: var(--QRcode-box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.5s;
}

.QRcode-success-message.show {
    transform: translateX(0px);
}

.QRcode-audio-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.QRcode-audio-btn {
    background-color: var(--QRcode-light-bg);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--QRcode-dark-text);
    cursor: pointer;
    transition: var(--QRcode-transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.QRcode-audio-btn:hover {
    background-color: rgb(226, 232, 240);
}

@keyframes QRcode-scanAnimation {
    0% {
        transform: translateY(0px);
        opacity: 0.7;
    }

    50% {
        transform: translateY(20px);
        opacity: 1;
    }

    100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
}

.QRcode-scan-line {
    position: absolute;
    width: 90%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-green), transparent);
    top: 25%;
    left: 5%;
    animation: 2s ease-in-out 0s infinite normal none running QRcode-scanAnimation;
}


.QRcode-container .row {
    margin-left: 0px;
    margin-right: 0px;
}

.QRcode-container .col-md-4,
.QRcode-container .col-lg-4,
.QRcode-container .col-sm-12 {
    padding-left: 0px;
    padding-right: 0px;
}

.QRcode-scan-button:active {
    transform: translateY(-1px);
}

.QRcode-scan-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.QRcode-profile-section {
    position: relative;
    overflow: hidden;
}

.QRcode-profile-section::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--QRcode-primary), var(--QRcode-secondary));
}

.QRcode-camera-error {
    animation: 2s ease 0s infinite normal none running QRcode-pulse;
}

@keyframes QRcode-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.share-url {
    margin-bottom: 30px;
}

.share-url h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.url-container {
    display: flex;
    border: 2px solid rgba(23, 143, 147, 0.2);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.url-display {
    width: 100%;
    flex: 1 1 0%;
    padding: 15px 20px;
    background-color: rgba(23, 143, 147, 0.05);
    display: block;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.5;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-bottom: 30px;
}

.file-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow2);
    transition: .3s ease;
}

.file-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-hover);
    background: rgba(23, 143, 147, .04);
}

.file-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
}

.file-checkbox {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.file-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    border-bottom: 1px solid var(--border);
    min-height: 105px;
    padding-right: 45px;
}

.file-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(23, 143, 147, .08);
}

.file-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent2);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.file-details {
    flex: 1;
    padding: 18px;
}

.file-detail-item {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.file-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.file-detail-label {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray);
}

.file-detail-value {
    font-size: 17px;
    line-height: 1.5;
    color: var(--label);
    word-break: break-word;
}

.file-footer {
    margin-top: auto;
    padding: 16px 18px;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.file-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.file-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    white-space: nowrap;
}

.file-checkbox input {
    position: absolute;
    opacity: 0;
}

.file-checkmark {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 2px solid #cfd6df;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.file-checkbox input:checked+.file-checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.file-checkmark:after {
    content: "";
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

.file-checkbox input:checked+.file-checkmark:after {
    display: block;
}

@media (max-width:991px) {
    .files-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .file-card {
        min-height: 400px;
    }
}

@media (max-width:767px) {
    .files-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .file-card {
        min-height: auto;
    }

    .file-header {
        min-height: auto;
    }

    .file-actions {
        flex-direction: column;
    }

    .file-actions .btn {
        width: 100%;
    }
}

.btn-lblbtn {
    --bs-text-opacity: 1;
    line-height: 1;
    color: rgba(var(--vz-success), var(--bs-text-opacity)) !important;
    background-color: var(--vz-success-bg) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.btn-lblbtn:hover,
.btn-lblbtn:focus,
.btn-lblbtn:active {
    color: var(--white) !important;
    background-color: var(--primary-green) !important;
}

.evaluate-date {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    align-items: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled i {
    opacity: 0.5 !important;
}

.multiselect-container {
    position: absolute;
    list-style-type: none;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding: 0px;
    margin-top: 5px !important;
}

.multiselect-container>li {
    padding: 2px 0px;
}

.multiselect-container>li>a>label>input[type="checkbox"] {
    margin-bottom: 0px !important;
}

.multiselect-container.dropdown-menu {
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0px;
    border-radius: 10px;
    border: 1px solid rgb(229, 231, 235);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 25px;
    background: var(--white);
}

.multiselect-container li {
    list-style: none;
}

.multiselect-container li a {
    display: block;
    text-decoration: none;
    color: rgb(51, 51, 51);
    transition: 0.2s;
    padding: 8px 18px !important;
}

.multiselect-container li a:hover {
    background-color: rgba(31, 164, 168, 0.25);
}

.multiselect-container li.active a {
    background-color: rgba(31, 164, 168, 0.1);
    color: rgb(2, 132, 199);
    font-weight: 500;
}

.multiselect-container>.active>a,
.multiselect-container>.active>a:focus,
.multiselect-container>.active>a:hover {
    background-color: rgba(31, 164, 168, 0.1) !important;
}

.multiselect-container label.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0px;
    cursor: pointer;
    width: 100%;
    padding: 0px;
}

.multiselect-container input[type="checkbox"] {
    transform: scale(1.1);
    accent-color: rgb(2, 132, 199);
    cursor: pointer;
}

.multiselect-filter .input-group {
    margin: 5px 10px !important;
}

.multiselect-filter .form-control {
    border-radius: 6px;
    border: 1px solid rgb(209, 213, 219);
    box-shadow: none;
    font-size: 13px;
}

.input-group-addon {
    background: rgb(249, 250, 251);
    border: 1px solid rgb(209, 213, 219);
    border-radius: 6px 0px 0px 6px;
}

.multiselect-clear-filter {
    border-width: 1px 1px 1px 0px;
    border-style: solid solid solid none;
    border-color: rgb(209, 213, 219) rgb(209, 213, 219) rgb(209, 213, 219) currentcolor;
    border-image: initial;
    background: rgb(249, 250, 251);
    border-radius: 0px 6px 6px 0px;
}

.multiselect-all a {
    font-weight: 500;
    border-bottom: 1px solid rgb(241, 245, 249);
}

.multiselect-container::-webkit-scrollbar {
    width: 6px;
}

.multiselect-container::-webkit-scrollbar-thumb {
    background: rgb(203, 213, 245);
    border-radius: 10px;
}

.multiselect-container::-webkit-scrollbar-thumb:hover {
    background: rgb(148, 163, 184);
}

.onefield {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.onefield .form-group {
    margin: 0px;
}

.onefield .btn {
    margin: 0px 0px 2px;
}

.onefield .form-group input,
.onefield .form-group select {}

.onefield .form-group .text-danger {
    position: absolute;
    left: 0px;
    bottom: -18px;
    font-size: 12px;
    white-space: nowrap;
}

.onefield .btn {
    height: 38px;
    flex-shrink: 0;
}

.searchbar-table {
    width: 34%;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.course-badge.free {
    background: var(--success);
}

.course-image {
    height: 160px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 50px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: inherit;
}

.teacher-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.teacher-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

.teacher-info {
    flex: 1 1 0%;
}

.teacher-name {
    font-size: 14px;
    font-weight: 600;
}

.teacher-id {
    font-size: 11px;
    opacity: 0.8;
}

.course-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0px 0px 10px;
    color: var(--dark);
}

.course-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 65px;
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 120px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    align-content: center;
}

.detail-item i {
    color: var(--accent2);
    width: 16px;
    line-height: 0;
}

.progress-section {
    margin: 15px 0px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
}

.progress-percentage {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
}

.progress-bar {
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    box-shadow: none;
    background-color: var(--light-gray) !important;
}

.progress-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: 10px;
    transition: width 0.5s;
    box-shadow: none;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: auto;
    flex-direction: column;
    margin-bottom: 14px;
}

.course-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
    gap: 15px;
    display: flex;
    align-items: center;
}

.course-price del {
    font-size: 18px;
    font-weight: 500;
    color: var(--accent2);
    line-height: normal;
}

.course-price span {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray);
    padding-left: 10px;
}

.course-price.free {
    color: var(--success);
}

.rating {
    color: var(--col-label-yellow);
    font-size: 14px;
}

.course-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: space-between;
}

.course-actions .btn {
    width: 100% !important;
}

.divider {
    height: 1px;
    margin: 10px 0px;
}

.courses-list {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.course-list-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.course-list-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.list-course-image {
    width: 120px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    flex-shrink: 0;
}

.list-course-content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}

.list-course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.list-course-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.list-course-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.list-course-details {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.list-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gray);
}

.list-course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.list-course-actions {
    display: flex;
    gap: 10px;
}

.list-btn {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-section {
    background: rgb(0, 0, 0);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 300px;
    margin: 0px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(44, 62, 80) 0%, rgb(52, 152, 219) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.video-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.video-placeholder h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.video-placeholder p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.video-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.video-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.video-btn.youtube {
    background: rgb(255, 0, 0);
    color: var(--white);
}

.video-btn.youtube:hover {
    background: rgb(204, 0, 0);
    transform: translateY(-2px);
}

.video-btn.start {
    background: var(--success);
    color: var(--white);
}

.video-btn.start:hover {
    background: rgb(58, 156, 58);
    transform: translateY(-2px);
}

.course-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.teacher-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-green);
}

.teacher-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0px;
    text-align: left;
}

.teacher-avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-gray);
}

.teacher-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.teacher-info p {
    color: var(--gray);
    font-size: 14px;
}

.teacher-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.price-and-actions {
    font-size: 16px;
    font-weight: 400;
}

.teacher-card .ratings {
    background: var(--white);
    padding: 10px 0px 0px;
    text-align: center;
}

.teacher-card .fa-star {
    font-size: 18px;
    color: var(--col-label-yellow);
    padding: 0px 3px;
}

.detail-label {
    font-size: 13px;
    color: var(--gray);
}

.detail-value {
    font-weight: 600;
    font-size: 14px;
}

.course-detail-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
    color: var(--dark);
}

.learning-list {
    list-style: none;
    padding: 0px;
}

.learning-list li {
    padding: 10px 0px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.learning-list li:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.learning-list li i {
    color: var(--success);
    font-size: 16px;
}

.curriculum-list {
    list-style: none;
    padding: 0px;
}

.curriculum-section {
    margin-bottom: 15px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.section-header {
    padding: 15px 20px;
    background: var(--primary-green);
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.section-header i {
    transition: var(--transition);
}

.section-header.collapsed i {
    transform: rotate(-90deg);
}

.curriculum-items {
    padding: 0px;
    max-height: 0px;
    overflow: hidden;
    transition: var(--transition);
}

.curriculum-section.active .curriculum-items {
    padding: 10px 0px;
    max-height: 500px;
}

.curriculum-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.curriculum-item:hover {
    background: rgba(67, 97, 238, 0.05);
}

.curriculum-item i {
    color: var(--primary-green);
    font-size: 16px;
    line-height: 0;
}

.curriculum-item.quiz i {
    color: var(--accent2);
}

.purchase-modal-content {
    max-width: 600px;
}

.purchase-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.course-thumbnail {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
}

.purchase-title {
    flex: 1 1 0%;
}

.purchase-title h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.purchase-title p {
    color: var(--gray);
    font-size: 14px;
}

.purchase-details {
    background: linear-gradient(135deg, rgb(248, 249, 255) 0%, rgb(240, 242, 255) 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border: 1px solid var(--light-gray);
}

.purchase-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0px;
    border-bottom: 1px solid var(--light-gray);
}

.purchase-detail-row:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.purchase-detail-label {
    color: var(--gray);
    font-weight: 500;
}

.purchase-detail-value {
    font-weight: 600;
    color: var(--dark);
}

.payment-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-secondary:hover {
    background: rgb(222, 226, 230);
    transform: translateY(-2px);
}

.row.gx-0 {
    margin-right: -15px !important;
    margin-left: -15px !important;
}

.row.gx-0>[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.attachments-list {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.attachment-item {
    font-size: 14px;
    font-weight: 600;
    background: rgba(31, 164, 168, 0.1);
    border-radius: 10px;
    margin-top: 8px;
    transition: 0.3s;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-green) !important;
}

.attachment-item a {
    color: var(--primary-green) !important;
}

.attachment-item i {
    color: var(--white) !important;
}

.panel.panel-default {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 0px;
    background: var(--light);
    transition: var(--transition);
}

.panel-default>.panel-heading {
    color: rgb(51, 51, 51);
    background-color: var(--primary-green);
    border-color: rgb(221, 221, 221);
    padding: 5px 15px;
    line-height: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-default>.panel-heading-p10 {
    padding: 10px 15px !important;
}

.panel-default>.panel-heading-p10 i {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    padding: 0;
}

.panel-default>.panel-heading .btn-primary {
    background: rgba(255, 255, 255, 0.15);
}

.panel-default>.panel-heading .btn-danger {
    background: rgba(255, 255, 255, 0.15);
}

.panel-title a {
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    gap: 5px;
}

.panel-title a i {
    transition: var(--transition);
    margin-right: 8px;
}

.panel-title a.collapsed i.fa-angle-down,
.panel-title a.collapsed i.fi {
    transform: rotate(-90deg);
}

.panel-heading .btn {
    margin-left: 5px;
    border-radius: 6px;
}

.panel-collapse {
    border-top: 0px;
}

.panel-body {
    color: var(--accent2);
    background: #fff;
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(30, 53, 92, 0.07);
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    padding: 15px;
}

.panel-body .box-title {
    font-size: 16px !important;
    font-weight: 600;
    padding: 6px 5px 0px 10px;
    color: var(--accent2);
}

.panel-body label {
    display: inline-flex;
    align-items: center;
}

.panel-body label i {
    margin-right: 5px;
}

.panel-body-header {
    display: flex;
    font-size: 14px;
    font-weight: 500;
    margin: 0px 0px 15px;
    padding: 0px 0px 8px;
    border-bottom: solid 1px var(--border);
    place-content: center space-between;
    align-items: center;
}

.panel-body-header span {
    font-size: 15px;
    font-weight: 600;
    padding: 0px 0px 0px 10px;
}

.panel-body-header .fa-play-circle {
    color: var(--primary-green);
    padding-right: 3px;
}

.panel-body-header .sort-action {
    display: flex;
    place-content: center space-between;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.add-question-box .add-question-body {
    max-height: 620px;
    overflow-y: auto;
    padding: 30px 10px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: rgba(30, 53, 92, 0.15) 0px 2px 8px;
}

.add-question-box .add-question-body .btn-question {
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    display: inline-flex;
    bottom: 10px;
    padding: 6px 15px !important;
}

.box-collection {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-green);
}

.box-collection strong {
    color: var(--label);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}

.box-table-card {
    box-shadow: rgba(0, 0, 0, 0.03) 0px 4px 8px 0px, rgba(0, 0, 0, 0.07) 0px 6px 20px 0px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(221, 221, 221);
}

.pagetitleh-box {
    background: rgb(242, 242, 242);
    margin: 0px;
    font-size: 16px;
    padding: 8px 15px;
    color: rgb(0, 0, 0);
    text-transform: capitalize;
}

.box-table-card .table>tbody>tr>td,
.box-table-card .table>thead>tr>th,
.box-table-card .table>tbody>tr>th {
    padding: 8px 15px;
}

.pagetitleh-box.fees-details {
    background-color: rgb(248, 215, 218);
}

.pagetitleh-box.transport-fees-details {
    background-color: rgb(209, 236, 241);
}

.pagetitleh-box.student-admission {
    background-color: rgb(212, 237, 218);
}

.pagetitleh-box.library-details {
    background-color: rgb(255, 243, 205);
}

.pagetitleh-box.alumni-students {
    background-color: rgb(226, 227, 229);
}

.pagetitleh-box.staff-attendance {
    background-color: rgb(209, 236, 241);
}

.pagetitleh-box.staff-payroll {
    background-color: rgb(204, 229, 255);
}

.pagetitleh-box.user-log-details {
    background-color: rgb(245, 198, 203);
}

.grandtotal {
    margin: 0px;
    font-size: 16px;
    padding: 3px 15px;
    color: var(--primary-green);
    text-transform: capitalize;
    background-color: var(--vz-success-bg);
    display: block;
    line-height: 1.5;
    border-radius: 3px;
}

.grandtotal span {
    color: var(--accent2);
}

.tooltip-box {
    position: relative;
    cursor: help;
}

.tooltip-box-inner {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60%;
    bottom: 69%;
    transform: translateX(-50%);
    background-color: rgb(51, 51, 51);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    width: max-content;
    max-width: 300px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, transform 0.5s;
    z-index: 10;
}

[data-tooltip]::before {
    content: "";
    position: absolute;
    left: 60%;
    bottom: 60%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgb(51, 51, 51) transparent transparent;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 999999;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

span.filter-option.pull-left {
    overflow: initial !important;
}

.show {
    display: inline-flex !important;
}

.return-modal-question {
    font-size: 1.75rem;
    font-weight: 600;
    color: rgb(26, 46, 63);
    line-height: 1.3;
    margin: 0px 0px 15px;
    letter-spacing: -0.02em;
    padding-right: 1rem;
}

.return-modal-list {
    list-style: none;
    background: rgb(248, 250, 253);
    border-radius: 8px;
    padding: 5px 15px;
    border: 1px solid rgb(229, 238, 248);
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 0px;
}

.return-modal-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0px;
    color: rgb(44, 69, 89);
    font-size: 14px;
    font-weight: 400;
}

.return-modal-list-item:not(:last-child) {
    border-bottom: 1px dashed rgb(213, 226, 239);
}

.return-modal-value {
    background: var(--white);
    padding: 3px 15px;
    border-radius: 40px;
    font-weight: 600;
    color: rgb(23, 52, 79);
    border: 1px solid rgb(210, 225, 240);
    box-shadow: rgba(0, 0, 0, 0.02) 0px 2px 6px -2px;
    font-size: 14px;
    line-height: normal;
}

.table-label {
    display: flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 600;
    background: var(--grey);
    border-radius: 8px;
    transition: 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    text-decoration: none;
    position: relative;
    color: var(--primary);
    justify-content: flex-start;
    gap: 8px;
    margin: 6px 0px !important;
}

.feemaster {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feemaster .row.block_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px 8px 15px;
    background: var(--grey2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: solid 1px var(--grey5);
    box-shadow: var(--shadow);
}

.feemaster .row.block_row .form-group {
    display: flex;
    flex-direction: column;
    margin: 0px !important;
}

.feemaster .row.block_row .input-type {
    display: flex;
    gap: 20px !important;
    padding: 0px !important;
    margin: 0px !important;
}

.feemaster .row.block_row .input-type .row> :first-child {
    margin-left: 0px !important;
}

.feemaster .row.block_row .input-type .row> :last-child {
    margin-right: 0px !important;
}

.feemaster .block_fees {
    width: 100%;
    display: flex;
    padding: 20px;
    background: var(--grey2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: solid 1px var(--grey5);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
}

.flex-column-inline {
    display: flex;
    flex-direction: column;
}

.input-group-sm>.form-control {
    border-radius: 8px;
}

.amount-col {
    padding: 0;
}

.amount-col .amount {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: normal;
}

.amount-col .amount span {
    content: "PKR";
    font-size: 14px;
    color: rgb(113, 128, 150);
    font-weight: 500;
}

#contribution_type {
    width: 100% !important;
}

.product-info {
    background: var(--white);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 14px;
    border: 1px solid rgb(241, 241, 241);
    transition: 0.25s;
    font-family: "Segoe UI", sans-serif;
}

.product-info:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 22px;
}

.product-info .product-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: rgb(51, 51, 51);
    text-decoration: none;
}

.product-info .product-title .pull-right {
    font-weight: 600;
    font-size: 16px;
    color: rgb(17, 17, 17);
}

.product-info .product-description {
    background: var(--grey5);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 0px;
    font-size: 16px;
    color: var(--accent2);
}

.product-info .product-description .product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 2px;
}

.product-info a.product-title {
    margin-top: 0px;
    display: flex;
    gap: 0px;
    padding: 10px 0px;
    line-height: 1.4;
    border-top: 1px dashed var(--border);
    font-size: 18px !important;
    font-weight: 600 !important;
}

.product-info a.product-title:nth-child(1),
.product-info a.product-title:nth-child(3) {
    border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
}

.product-info a.product-title span {
    font-size: 18px !important;
    font-weight: 600 !important;
}

.product-info .text-danger,
.product-info .text-danger span {
    color: rgb(231, 76, 60) !important;
}

.product-info .text-success,
.product-info .text-success span {
    color: rgb(46, 204, 113) !important;
}

.product-info .text-info,
.product-info .text-info span {
    color: rgb(52, 152, 219) !important;
}

.product-info #total_balance_ {
    font-size: 15px;
    font-weight: 700;
}

.product-info a {
    cursor: default;
}

.amountpay {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent2);
}

.reports-summary {
    background: var(--grey2);
    border-radius: 1.5rem;
    border: 1px solid var(--grey4);
    overflow: hidden;
    margin: 20px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 4px 12px;
}

.reports-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.reports-card-item {
    flex: 1 1 0%;
    min-width: 200px;
    padding: 10px 20px;
    border-right: 1px solid var(--grey4);
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    transition: background 0.2s;
}

.reports-card-item:last-child {
    border-right-width: medium;
    border-right-style: none;
    border-right-color: currentcolor;
}

.reports-card-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--label);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reports-card-label i {
    font-size: 16px;
    top: -1px;
    position: relative;
}

.reports-card-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent2);
    line-height: 1.3;
    word-break: break-word;
}

.reports-card-value .sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgb(95, 125, 156);
    margin-left: 6px;
}

.child-fees {
    width: auto !important;
}

.reportstudentcount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reportstudentcount-box {
    display: grid;
    align-items: center;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.reportstudentcount-box .btn {
    width: max-content;
}

.themes-card .box-body {
    min-height: 200px;
}

#exam_table td:nth-child(1) {
    white-space: nowrap;
}

/* Top filter */
.top-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.filter-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Question Card */
.question-card {
    background: #fff;
    padding: 16px 18px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    transition: 0.2s;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(30, 53, 92, 0.07);
}

.question-card:hover {
    transform: translateY(-2px);
}

/* Left content */
.question-card-left {
    flex: 1;
}

.question-card-left>.card-check {
    float: left;
    margin-right: 10px;
}

.question-card-left .question-header {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
    flex-direction: column;
    align-items: flex-start;
}

.question-card-left .question-question {
    margin: 15px 0 8px;
}

.question-idcheck {
    display: flex;
    gap: 10px;
    align-items: center;
}

.question-id {
    font-weight: 700;
    font-size: 16px;
}

.question-title {
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    color: var(--value);
    width: 100%;
}

.question-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #374151;
    justify-content: space-between;
}

.question-meta .meta-item-left,
.question-meta .meta-item-right {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.question-meta span {
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Delete button */
.question-delete-btn {
    background: #fee2e2;
    border: none;
    color: #dc2626;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.question-delete-btn:hover {
    background: #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .question-card {
        flex-direction: column;
    }

    .question-top-bar {
        justify-content: flex-start;
    }

    .question-delete-btn {
        align-self: flex-end;
    }
}



/* Main container */
.exam-subject-container {
    width: 100%;
    margin: 0 0 15px 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border);
}

.exam-subject-header {
    font-weight: 500;
    font-size: 18px;
    padding: 8px 20px;
    vertical-align: top;
    width: 100%;
    color: var(--white);
    background: var(--primary-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exam-subject-header h3 {
    font-size: 20px;
    margin: 0;
}

.exam-subject-header-cell {
    padding: 5px 0;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent2);
    /* background: var(--grey5); */
    margin: 0 0 10px 0;
    border-bottom: solid 1px var(--border);
    border-radius: 12px 12px 0 0;
}

/* Term row - replaces tbody tr */
.exam-subject-row {
    display: flex;
    border-bottom: 1px solid var(--border);
    transition: 0.2s ease;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    flex-direction: column;
    padding: 20px;
}

.exam-subject-row:last-child {
    border-bottom: none;
}

.exam-subject-row:hover {
    background: #fafcff;
}

/* Cell styling */
.exam-subject-cell {
    flex: 1;
    padding: 14px 20px;
    vertical-align: top;
    width: 100%;
    /* border-bottom: solid 1px var(--border); */
}

/* Term heading style */
.exam-subject-term-title {
    font-weight: 700;
    font-size: 18px;
    color: #0f3b5c;
}

/* Subject block */
.exam-subject-block {
    margin-bottom: 10px;
    background: rgba(7, 41, 64, 0.04);
    padding: 15px;
    border-radius: 12px;
}

.exam-subject-block:last-child {
    margin-bottom: 0;
}

.exam-subject-name {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 6px;
}

.exam-subject-detail-line {
    font-size: 14px;
    color: #5b6e8c;
    margin: 5px 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 0;
    /* border-bottom: 1px solid var(--grey); */
}

.exam-subject-label {
    font-weight: 500;
    color: #3b5a7c;
    min-width: 65px;
}

.exam-subject-value {
    color: #334155;
}

.exam-subject-remark {
    font-size: 14px;
    color: var(--accent);
    background: rgba(31, 164, 168, 0.07);
    display: inline-block;
    padding: 4px 15px;
    border-radius: 20px;
    margin-top: 6px;
    /* width: 100%; */
}

/* Metrics list */
.exam-subject-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exam-subject-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 2px dashed var(--grey5);
}

.exam-subject-metric-label {
    font-weight: 500;
    color: #5b6e8c;
    font-size: 14px;
}

.exam-subject-metric-value {
    font-weight: 700;
    color: var(--accent2);
    font-size: 15px;
}

.exam-subject-final-grade {
    background: #eef2f7;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 14px;
}

/* Remarks box */
.exam-subject-remarks-box {
    background: #fefaf2;
    padding: 10px 14px;
    border-radius: 12px;
    border-left: 3px solid #f0b84d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exam-subject-remarks-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #c98a2e;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.exam-subject-remarks-text {
    font-size: 13px;
    font-weight: 500;
    color: #3a5a78;
}

/* Footer */
.exam-subject-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #8ba3bc;
}

.exam-subject-scrollbox {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 340px;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgb(203, 213, 225) rgb(241, 245, 249);
    padding-right: 0;
}

.exam-subject-scrollbox.has-scroll {
    padding-right: 10px;
}

.exam-subject-scrollbox {
    overflow: auto;
    scrollbar-gutter: stable;
}

.mailbox-controls .onefieldbtn {
    display: flex;
    align-items: flex-end;
    margin-bottom: 5px;
}

.attentable .atten-input {
    width: 200px;
}

.attentable .atten-note {
    width: 250px;
}

.course-wrap .box-header {
    padding: 8px 0 5px;
    margin: 10px 0;
}

/* Responsive */
@media (max-width: 991px) {

    .exam-subject-header,
    .exam-subject-row {
        display: flex;
        flex-direction: column;
    }

    .exam-subject-header {
        display: none;
    }

    .exam-subject-cell {
        padding: 16px;
        border-bottom: 1px solid #e9edf2;
    }

    .exam-subject-row:last-child .exam-subject-cell:last-child {
        border-bottom: none;
    }
}



/* Track list */
.track-move-list {
    list-style: none;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.track-move-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 28, 63, 0.06);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

.track-move-card:hover {
    box-shadow: 0 6px 28px rgba(15, 28, 63, 0.11);
    transform: translateY(-1px);
}

.track-move-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--grey4);
    background: var(--grey2);
}

.track-move-drag {
    display: grid;
    grid-template-columns: repeat(2, 5px);
    gap: 4px;
    cursor: grab;
    opacity: 0.4;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.track-move-drag:hover {
    opacity: 0.75;
}

.track-move-drag span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #64748b;
    display: block;
}

.track-move-index {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: var(--bg-gradient2);
    border-radius: 5px;
    padding: 5px 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.track-move-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f1c3f;
    flex: 1;
}

.track-move-count {
    font-size: 12px;
    font-weight: 500;
    color: #7b8aaa;
    background: #eef1f9;
    border-radius: 20px;
    padding: 3px 10px;
}

.track-move-items {
    list-style: none;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.track-move-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--grey4);
    background: var(--grey2);
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.track-move-item:hover {
    background: var(--grey2);
    border-color: var(--border);
    box-shadow: 0 3px 12px rgba(59, 125, 255, 0.1);
}

.track-move-drag-item {
    display: grid;
    grid-template-columns: repeat(2, 4px);
    gap: 3px;
    cursor: grab;
    opacity: 0.3;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.track-move-item:hover .track-move-drag-item {
    opacity: 0.6;
}

.track-move-drag-item span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #475569;
    display: block;
}

.track-move-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.track-move-badge-quiz {
    background: #eff6ff;
    color: #1d58d8;
}

.track-move-badge-lesson {
    background: #f0fdf4;
    color: #15803d;
}

.track-move-badge-exam {
    background: #fff7ed;
    color: #c2540a;
}

.track-move-badge-assignment {
    background: #fdf4ff;
    color: #9333ea;
}

.track-move-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #2d3a5e;
    flex: 1;
}

.track-move-arrow {
    font-size: 18px;
    color: var(--bs-light-gray-blue);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
    line-height: 0;
}

.track-move-item:hover .track-move-arrow {
    color: #3b7dff;
    transform: translateX(2px);
}

@media (max-width: 600px) {
    .track-move-header {
        padding: 14px 16px;
    }

    .track-move-items {
        padding: 10px 10px;
    }

    .track-move-title {
        font-size: 12.5px;
    }
}

.topbadges {
    font-size: 13px;
    top: -5px;
    right: -8px;
    padding: 1px 5px;
    position: absolute;
    z-index: 101;
    color: var(--white) !important;
    background: var(--accent4) !important;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-topright {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.box-topright .btn {
    display: block;
}

.box-topright.open>.dropdown-menu {
    display: block;
    right: 0;
    left: inherit;
}

.exam_table>tbody>tr>td:nth-last-child(2) {
    white-space: normal !important;
}

.select-type-row .col-lg-2 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.select-type-row {
    display: flex !important;
    align-items: flex-end;
    margin-bottom: 15px;
}

/* ============================================
   FEES DETAILS - MODERN & CLEAN LAYOUT
   ============================================ */

.fees-details {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8faff;
    padding: 1.5rem 1rem;
    border-radius: 1.25rem;
}

/* --- Row / Block --- */
.fees-details .block_row {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem 1.25rem 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 20, 40, 0.06), 0 1px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f9;
    transition: 0.2s ease;
}

.fees-details .block_row:hover {
    border-color: #d6e2f5;
    box-shadow: 0 8px 28px rgba(18, 52, 106, 0.08);
}

/* --- Month Title --- */
.fees-details .transport_fee_line {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0b1f33;
    margin: 0 0 1.2rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #eef4fc;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.01em;
}

.fees-details .transport_fee_line::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: #3b82f6;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* --- Grid for fields (4 columns on desktop) --- */
.fees-details .card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem 1.5rem;
    align-items: start;
}

/* --- Each field container --- */
.fees-details .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

/* --- Labels --- */
.fees-details .form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #536a87;
    margin-bottom: 0.1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.fees-details .form-group label i {
    font-size: 0.7rem;
    color: #6a8bb0;
    opacity: 0.7;
}

/* --- Inputs --- */
.fees-details .form-control {
    width: 100%;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #12263a;
    background: #f3f8ff;
    border: 1.5px solid #e6edf6;
    border-radius: 12px;
    transition: 0.15s ease;
    font-family: 'Inter', sans-serif;
    min-height: 44px;
}

.fees-details .form-control:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
    outline: none;
}

.fees-details .form-control[readonly] {
    background: #f1f4fa;
    color: #4a6180;
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- Date input specific --- */
.fees-details .date_to {
    background: #eef4fc;
    font-weight: 500;
}

/* --- Radio group (inline) --- */
.fees-details .flex-column-inline {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.fees-details .radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f344d;
    cursor: pointer;
    padding: 0.2rem 0;
}

.fees-details .radio-inline input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.fees-details .radio-inline.mt5 {
    margin-top: 0.3rem;
}

.fees-details .radio-inline.pt4 {
    padding-top: 0.2rem;
}

/* --- Percentage & Fix Amount inline with radio --- */
.fees-details .form-group .radio-inline+input,
.fees-details .form-group .radio-inline+.form-control {
    margin-top: 0.2rem;
}

/* --- Error text --- */
.fees-details .text-danger {
    font-size: 0.7rem;
    color: #dc3545;
    margin-top: 0.15rem;
    font-weight: 500;
}

/* --- Spacing helpers --- */
.fees-details .mt5 {
    margin-top: 0.3rem;
}

.fees-details .pt4 {
    padding-top: 0.2rem;
}

.fees-details .gap0 {
    gap: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .fees-details .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.2rem;
    }

    .fees-details .block_row {
        padding: 1.25rem 1rem 1.5rem;
    }

    .fees-details .transport_fee_line {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .fees-details {
        padding: 0.8rem 0.5rem;
    }

    .fees-details .block_row {
        padding: 1rem 0.8rem 1.2rem;
        border-radius: 1rem;
    }

    .fees-details .card-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .fees-details .transport_fee_line {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .fees-details .form-control {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
        min-height: 40px;
    }

    .fees-details .form-group label {
        font-size: 0.7rem;
    }

    .fees-details .radio-inline {
        font-size: 0.8rem;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .fees-details .block_row {
        padding: 0.8rem 0.5rem;
    }

    .fees-details .form-control {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        min-height: 36px;
    }
}


/* main card container â€“ responsive */
.student-id-card {
    width: 100%;
    background: #fefefe;
    border-radius: 2.2rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35), 0 8px 24px -6px rgba(0, 20, 30, 0.2);
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
}

/* inner layout: horizontal (row) on large, stacks on small */
.student-id-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

/* ----- left panel (photo + logo area) ----- */
.student-id-left {
    flex: 0 0 220px;
    background: #1a2a3a;
    background-image: var(--accent2);
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    min-height: 280px;
}

.student-id-badge {
    margin-bottom: 10px;
}

.student-id-badge i {
    font-size: 2.8rem;
    width: 100px;
    height: 100px;
    background: #f7c948;
    color: #1a2a3a;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.student-id-school {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 5px 0;
    color: #f5f9ff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.student-id-address {
    font-size: 12px;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
    width: 100%;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.student-id-photo {
    margin: 15px;
    width: 100px;
    height: 100px;
}

.student-id-photo i {
    font-size: 3.6rem;
    color: #2c4054;
    opacity: 0.7;
}

.student-id-photo-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px 5px;
    border-radius: 40px;
    font-weight: 300;
    display: flex;
    align-items: center;
}

/* ----- right panel (details) ----- */
.student-id-right {
    flex: 1;
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 260px;
}

/* header line with sample ID */
.student-id-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #eef3f8;
    padding-bottom: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.student-id-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent2);
    letter-spacing: 0.3px;
    margin: 0;
}

.student-id-header h2 i {
    color: #f7c948;
    margin-right: 6px;
}

.student-id-sample {
    background: #eef3f8;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #2e4055;
    letter-spacing: 0.3px;
}

/* detail rows â€“ clean grid */
.student-id-details {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.student-id-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px dashed #e3eaf0;
    padding-bottom: 0.5rem;
}

.student-id-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.student-id-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 150px;
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.student-id-label i {
    top: -1px;
    position: relative;
    color: var(--accent2);
}

.student-id-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent2);
    word-break: break-word;
    flex: 1;
}

.student-id-value .highlight {
    background: #f7f9fc;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.student-id-value i {
    color: #7b8c9e;
    margin-right: 6px;
    width: 1.2rem;
    font-size: 0.85rem;
}

/* special row: grade + father name inline */
.student-id-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    width: 100%;
}

.student-id-inline .student-id-row {
    border-bottom: none;
    padding-bottom: 0;
    flex: 1 0 auto;
}

.student-id-inline .student-id-label {
    min-width: 80px;
    flex: 0 0 80px;
}

.student-id-address-block {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.student-id-address-block .student-id-value {
    line-height: 1.3;
}

.student-id-phone {
    margin-top: 0.2rem;
}

/* responsive breakpoints */
@media (max-width: 680px) {
    .student-id-left {
        flex: 1 1 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 1.2rem 1rem;
        min-height: 160px;
        gap: 0.4rem 1rem;
    }

    .student-id-badge i {
        font-size: 2rem;
        padding: 0.4rem;
    }

    .student-id-school {
        font-size: 1rem;
    }

    .student-id-photo {
        width: 70px;
        height: 70px;
        margin: 0;
    }

    .student-id-photo i {
        font-size: 2.4rem;
    }

    .student-id-photo-label {
        display: none;
    }

    .student-id-address {
        font-size: 0.6rem;
        border-top: none;
        padding-top: 0;
        width: auto;
    }

    .student-id-right {
        padding: 1.2rem 1rem;
    }

    .student-id-label {
        min-width: 70px;
        flex: 0 0 70px;
        font-size: 0.65rem;
    }

    .student-id-value {
        font-size: 0.85rem;
    }

    .student-id-inline .student-id-label {
        min-width: 60px;
        flex: 0 0 60px;
    }

    .student-id-header h2 {
        font-size: 0.95rem;
    }

    .student-id-sample {
        font-size: 0.6rem;
        padding: 0.1rem 0.7rem;
    }
}

@media (max-width: 460px) {
    .student-id-left {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.8rem;
        gap: 0.2rem;
    }

    .student-id-photo {
        width: 60px;
        height: 60px;
    }

    .student-id-photo i {
        font-size: 2rem;
    }

    .student-id-school {
        font-size: 0.9rem;
    }

    .student-id-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }

    .student-id-label {
        min-width: unset;
        flex: unset;
        font-size: 0.6rem;
        opacity: 0.7;
    }

    .student-id-value {
        font-size: 0.85rem;
        width: 100%;
    }

    .student-id-inline {
        flex-direction: column;
        gap: 0.2rem;
    }

    .student-id-inline .student-id-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-id-inline .student-id-label {
        min-width: unset;
        flex: unset;
    }

    .student-id-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

/* extra polish */
.student-id-text-muted {
    color: #6f8296;
}

.student-id-fw-400 {
    font-weight: 400;
}

.student-id-small-icon {
    width: 1.2rem;
    display: inline-block;
}

.paymethode .box-title.f-18 {
    font-size: 18px !important;
}



/*==========================
    Layout
==========================*/


#sortable-div-menu>#dragdrop {
    margin-bottom: 20px;
}

/*==========================
    Panel
==========================*/

.well-list {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e7eaf3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.well-list .header {
    display: flex;
    font-size: 20px !important;
    font-weight: 600;
    margin: 10px 20px 0;
    padding: 8px 0;
    border-bottom: solid 1px var(--border);
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

/*==========================
    Scroll Area
==========================*/

.sortable-list_main,
.sortable-list_sidebar {
    max-height: 650px;
    overflow: auto;
    padding: 15px;
}

.sortable-list_main::-webkit-scrollbar,
.sortable-list_sidebar::-webkit-scrollbar {
    width: 8px;
}

.sortable-list_main::-webkit-scrollbar-thumb,
.sortable-list_sidebar::-webkit-scrollbar-thumb {
    background: #d5d8e3;
    border-radius: 20px;
}

/*==========================
    Menu Section
==========================*/

.menu-section,
.sidemenu-panel-default {
    margin-bottom: 14px;
    border: 1px solid #eceff5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: .3s;
}

.menu-section:hover,
.sidemenu-panel-default:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

/*==========================
    Top Item
==========================*/

.top-item,
.sidemenu-panel-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fc;
    cursor: pointer;
    transition: .3s;
    position: relative;
}

.top-item:hover,
.sidemenu-panel-heading:hover {
    background: rgba(31, 164, 168, 0.1);
}

.top-item span {
    flex: 1;
    font-weight: 600;
    color: var(--accent2);
    font-size: 14px;
}

.top-item i:first-child {
    color: var(--primary-green);
    font-size: 16px;
}

.chevron-icon {
    transition: .3s;
    color: #888;
}

.top-item[aria-expanded="true"] .chevron-icon {
    transform: rotate(90deg);
}

.uploaded-image-label {
    font-size: 17px;
    color: var(--primary-green);
    background: var(--primary-green-light);
    border: 1px solid var(--primary-green);
    padding: 10px 10px;
    border-radius: 7px;
}

/*==========================
    Sub Menu
==========================*/

.submenu {
    list-style: none;
    margin: 0;
    padding: 10px;
    background: #fff;
}

.submenu li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: var(--grey2);
    border: 1px solid transparent;
    transition: .25s;
    cursor: move;
    font-size: 13px;
    color: var(--label);
}

.submenu li:hover {
    background: rgba(31, 164, 168, 0.1);
    border-color: rgba(31, 164, 168, 0.3);
    transform: translateX(3px);
}

.submenu li i.fa-arrows {
    color: #8a8fa3;
    width: 18px;
}

/*==========================
    Edit Button
==========================*/

.edit_menu,
.edit_sub_menu {
    opacity: 0;
    transition: .3s;
}

.menu-section:hover .edit_menu,
.menu-section:hover .edit_sub_menu,
.sidemenu-panel-default:hover .edit_menu {
    opacity: 1;
}

.edit_menu,
.edit_sub_menu {
    border-radius: 8px;
}

/*==========================
    Add Button
==========================*/

.add_sub_menu {
    margin-bottom: 12px;
    border-radius: 8px;
}

/*==========================
    Empty Record
==========================*/

.alert-danger {
    border-radius: 10px;
    background: #fff4f4;
    border: 1px solid #ffd4d4;
    color: #c0392b;
    padding: 12px;
}

/*==========================
    Sort Placeholder
==========================*/

.ui-sortable-placeholder {
    height: 45px;
    border: 2px dashed var(--primary2);
    border-radius: 10px;
    background: #eef3ff;
    visibility: visible !important;
}

/*==========================
    Responsive
==========================*/

@media(max-width:991px) {

    #sortable-div-menu {
        gap: 15px;
    }

    #sortable-div-menu>#dragdrop {
        width: 100%;
    }

    .sortable-list_main,
    .sortable-list_sidebar {
        max-height: 500px;
    }

}

@media(max-width:767px) {

    .well-list .header {
        font-size: 15px;
        padding: 14px;
    }

    .top-item {
        padding: 12px;
    }

    .top-item span {
        font-size: 13px;
    }

    .submenu li {
        padding: 10px 12px;
        font-size: 12px;
    }

}

.wysihtml5-sandbox {
    min-height: 300px !important;
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #eef2f7;
}

::-webkit-scrollbar-thumb {
    background: #b9c8e0;
    border-radius: 10px;
}

.dt-button {
    color: var(--label);
    background: var(--grey5);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 8px 9px;
    font-size: 17px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-button:focus {
    outline: none;
    outline-offset: 2px;
}

.dt-button:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white) !important;
}

.dt-button:hover:not(.disabled),
.dt-button:hover:not(.disabled),
.dt-button:hover:not(.disabled) {
    transition: transform 0.25s ease-in-out;
    cursor: pointer;
    background: var(--primary-green) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

/* .plan-modaltable {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    display: table !important;
    border-collapse: collapse;
}

.plan-modaltable td {
    padding: 8px 12px;
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.plan-modaltable .label-col {
    width: 220px;
    font-weight: 600;
    background: #fafafa;
}

.plan-modaltable tr td[colspan="2"] {
    white-space: normal;
    word-break: break-word;
}

.plan-modaltable p a {
    margin: 10px 0px !important;
} */

/* ----- stuexam Points ----- */

.stuexam-points-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    background: var(--primary-green-light);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 20, 30, 0.02);
    justify-content: center;
}

.stuexam-point-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 16px;
}

.stuexam-point-item .stuexam-label {
    font-weight: 500;
    color: #245663;
    letter-spacing: 0.2px;
}

.stuexam-point-item .stuexam-value {
    font-weight: 650;
    font-size: 18px;
    color: #0b3847;
}

.stuexam-point-item .stuexam-value.negative {
    color: var(--bn-danger);
}

.stuexam-point-item .stuexam-value.percentage {
    color: var(--col-label-green);
    font-weight: 700;
}

/* ----- question cards (modern, elevated) ----- */
.stuexam-question-block {
    padding: 15px;
}

.stuexam-question-block:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
}

.stuexam-question-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: flex-start;
}

.stuexam-qid-cvr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.stuexam-qid-text {
    margin-top: 3px;
    line-height: 1.6;
    display: block;
    padding: 5px 0;
}

.stuexam-qid {
    font-weight: 600;
    color: var(--accent2);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stuexam-qid i {
    width: 30px;
    height: 30px;
    background: var(--primary-green-light);
    color: var(--accent2);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

.stuexam-points-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    background: rgba(235, 245, 250, 0.7);
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 14px;
    backdrop-filter: blur(2px);
}

.stuexam-points-badge .stuexam-pts {
    font-size: 14px;
    font-weight: 600;
    color: var(--col-label-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stuexam-points-badge .stuexam-pts i {
    color: var(--col-label-green) !important;
}

.stuexam-points-badge .stuexam-neg {
    color: var(--bn-danger);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stuexam-points-badge i {
    font-size: 14px;
    vertical-align: middle;
}


/* ==========================
   Summary
========================== */

.stuexam-summary {
    display: flex;
    align-items: center;
}

.stuexam-summary-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 35px;
    position: relative;
}

.stuexam-summary-box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: var(--border);
}

.stuexam-summary-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.stuexam-summary-icon.blue {
    background: var(--primary-green-light);
    color: var(--primary-green);
}

.stuexam-summary-icon.red {
    background: #FDEEEE;
    color: var(--bn-danger);
}

.stuexam-summary-icon.purple {
    background: #F4EDFF;
    color: #7C3AED;
}

.stuexam-summary-icon.green {
    background: #EAFBF1;
    color: #16A34A;
}

.stuexam-summary-label {
    color: var(--label);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.stuexam-summary-value {
    font-size: 32px;
    font-weight: 700;
}

.stuexam-blue {
    color: var(--primary-green);
}

.stuexam-red {
    color: var(--bn-danger);
}

.stuexam-purple {
    color: #7C3AED;
}

.stuexam-green {
    color: #16A34A;
}

.stuexam-subject-tag {
    background: var(--primary-green-light);
    padding: 2px 15px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stuexam-question-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: 15px;
}

.stuexam-question-text {
    font-weight: 500;
    color: #1b4050;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.2rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stuexam-options {
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

.stuexam-options .text-danger {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.stuexam-options .text-danger i {
    position: relative;
    top: -1px;
}

.stuexam-options .text-success {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.stuexam-options .text-success i {
    position: relative;
    top: -1px;
}

.stuexam-options .text-false {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--label);
}

.stuexam-options .text-false i {
    position: relative;
    top: -1px;
}

.stuexam-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #1b4a58;
    cursor: default;
}

.stuexam-options input[type="radio"] {
    accent-color: #1f8598;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: default;
    opacity: 0.5;
}

.stuexam-options input[type="radio"]:checked {
    opacity: 1;
}

.stuexam-score-indicator {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.1rem 1rem;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stuexam-score-indicator .stuexam-green {
    color: #1a7a5e;
}

.stuexam-score-indicator .stuexam-red {
    color: #bc3e4b;
}

/* special state for Q1 (0/1) */
.stuexam-question-block.q1 .stuexam-score-indicator {
    background: rgba(255, 225, 225, 0.4);
}

/* =========================
   QUIZ MODERN UI
========================= */
/* Main Container */
.quiz-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 23, 42, .08);
}

.quiz-body {
    background: #f4f7fb;
    padding: 20px;
    border-radius: 0;
    overflow: hidden;
    min-height: 40vh;
}

.question-title {
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    color: var(--value);
    width: 100%;
}

.question-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--label);
    margin-bottom: 35px;
}

.question-text-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--primary-green);
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: block;
    border-bottom: solid 1px var(--border);
}

/* Quiz Option Card */
.quiz-option-item {
    margin-bottom: 15px;
}

.quiz-option-label {
    width: 100%;
    position: relative;
    gap: 15px !important;
    padding: 10px 15px !important;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer !important;
    transition: .3s ease;
    line-height: 1;
}

.quiz-option-label:hover {
    border-color: #14b8a6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, .12);
}

.quiz-option-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    display: block;
    transform: none !important;
    zoom: 1 !important;
}

.quiz-option-label input:checked+.radio-circle {
    border-color: #14b8a6;
}

.quiz-option-label input:checked+.radio-circle:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #14b8a6;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.quiz-option-label input:checked~.option-text {
    color: #0f172a;
    font-weight: 600;
}

.quiz-option-label:has(input:checked) {
    border-color: #14b8a6;
    background: #f0fdfa;
}

.quiz-option-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--accent2);
}


/* Header */
.quiz-header {
    padding: 35px 40px 25px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
}

.quiz-progress-text {
    font-size: 18px;
    font-weight: 600;
    color: #0f766e;
    margin-bottom: 15px;
}

.quiz-qustion {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--accent2);
    border-bottom: solid 1px var(--border);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.quiz-option-footer>.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.quiz-option-footer>.row .qbtn-next:after {
    display: none;
}

.quizfooter .alert-danger {
    padding: 0;
}

/* Progress */
.progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 50px;
    box-shadow: none;
    margin-bottom: 0;
}

.progress-bar {
    background: linear-gradient(90deg, #14b8a6, #0ea5a4);
    border-radius: 50px;
}





/* Course Content */
.course-section {
    margin-top: 50px;
}

.course-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0f172a;
}

.course-track {
    border-left: 3px solid #14b8a6;
    padding-left: 25px;
}

.track-item {
    position: relative;
    margin-bottom: 25px;
}

.track-item:before {
    content: '';
    width: 14px;
    height: 14px;
    background: #14b8a6;
    border-radius: 50%;
    position: absolute;
    left: -33px;
    top: 8px;
}

.track-heading {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.track-text {
    font-size: 14px;
    color: #64748b;
    margin-top: 5px;
}

/* Footer */
.quiz-footer {
    padding: 25px 40px;
    border-top: 1px solid #edf2f7;
    background: #fafcff;
}

/* Button */
.btn-next {
    background: linear-gradient(135deg, #14b8a6, #0ea5a4);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: .3s ease;
}

.btn-next:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 184, 166, .25);
}

/* Question Navigator */
.question-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.question-nav a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
}

.question-nav a.active {
    background: #14b8a6;
    color: #fff;
    border-color: #14b8a6;
}

/* Responsive */
@media(max-width:991px) {

    .quiz-body {
        padding: 25px;
    }

    .question-title {
        font-size: 32px;
    }

    .question-text {
        font-size: 20px;
    }

    .option-text {
        font-size: 16px;
    }
}

@media(max-width:767px) {

    .quiz-header,
    .quiz-body,
    .quiz-footer {
        padding: 20px;
    }

    .question-title {
        font-size: 28px;
    }

    .question-text {
        font-size: 18px;
    }

    .option-label {
        padding: 18px;
    }
}

.wrap-text {
    white-space: normal !important;
}

.listcheckbox li.checkbox {
    margin: 0px;
}

.listcheckbox li.checkbox a.small>label {
    color: #000;
    vertical-align: top;
    display: inline-block;
    gap: 8px;
    display: flex;
}

.long-content {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.long-content .text-content {
    min-width: 500px;
    max-height: 42px;
    /* 2 lines approx */
    overflow: hidden;
    display: block;
    transition: all .3s ease;
}

.long-content.expanded .text-content {
    max-height: 1000px;
}

.read-more-toggle {
    display: inline-block;
    margin-top: 5px;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    float: right;
}

.read-more-toggle:hover {
    text-decoration: underline;
    color: var(--primary-green);
}

.chart-responsive {
    height: 323px !important;
    display: inline-flex;
}

.fine-type-wrapper:not(:has(.fine-value-hide-show)) .fine-type-hide-show {
    width: 100%;
    max-width: 100%;
}

.fine-type-wrapper:has(.fine-value-hide-show.hide) .fine-type-hide-show {
    width: 100%;
    max-width: 100%;
}

table .box.total-bg {
    position: sticky;
    bottom: 0px;
    z-index: 101;
}

.checkui {
    font-size: 14px;
    line-height: 1.6;
    color: #313131;
}

.checkui>u {
    display: inline-block;
    margin-bottom: 8px;
}


.checkui ul,
.checkui ol {
    margin: 0;
    padding-left: 22px;
}

.checkui li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.checkui li:last-child {
    margin-bottom: 15px;
}

.checkui ol li::marker {
    font-weight: 700;
}

.checkui h2 {
    display: flex;
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px;
    padding: 8px 0;
    border-bottom: solid 1px var(--border);
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
.checkui p {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 15px 0;
}

.pre-span span {
    background: transparent !important;
}

.mailbox-date.text-right {
    text-align: right !important;
}

@media print {
    /* =========================================
       PRINT PAGE
    ========================================= */

    @page {
        margin: 8mm;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }


    /* =========================================
       BODY / DOCUMENT
    ========================================= */

    html,
    body {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        background: #fff !important;
    }


    /* =========================================
       DATATABLE PRINT VIEW
    ========================================= */

    body.dt-print-view {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
    }


    body.dt-print-view>* {
        position: static !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        overflow: visible !important;
    }


    /* =========================================
       REMOVE PAGE BREAKS FROM CONTAINERS
    ========================================= */

    .dataTables_wrapper,
    .dataTables_scroll,
    .dataTables_scrollHead,
    .dataTables_scrollBody,
    .dataTables_scrollFoot,
    .table-responsive,
    .table-wrapper,
    .box,
    .box-body,
    .content-wrapper,
    .content,
    .main-content,
    .page-content {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        overflow: visible !important;
        transform: none !important;
        -webkit-transform: none !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
        break-before: auto !important;
        break-after: auto !important;
    }


    /* =========================================
       DATATABLE WRAPPER
    ========================================= */

    .dataTables_wrapper {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
    }


    /* =========================================
       TABLE
    ========================================= */

    .box-body > .download_label {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 10px 0 !important;
        padding: 8px 0 !important;
        font-size: 26px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        background: transparent !important;
        border-bottom: 2px solid #d1d5db !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        text-align: left !important;
    }

    table {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        table-layout: auto !important;
        overflow: visible !important;
        position: static !important;
        transform: none !important;
        -webkit-transform: none !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
        page-break-inside: auto !important;
        break-before: auto !important;
        break-after: auto !important;
        break-inside: auto !important;
        /* ADDED: Table border */
        border: 1px solid #cfd4da !important;
    }


    /* =========================================
       TABLE HEADER - REPEAT ON EVERY PAGE
    ========================================= */

    table thead {
        display: table-header-group !important;
        height: auto !important;
        min-height: 0 !important;
        /* ADDED: Repeat header on every page */
        page-break-before: avoid !important;
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
        break-before: avoid !important;
        break-after: avoid !important;
        break-inside: avoid !important;
    }

    /* Force thead to repeat on every page */
    thead {
        display: table-header-group !important;
    }

    /* For browsers that support it */
    thead {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }


    /* =========================================
       TABLE BODY
    ========================================= */

    table tbody {
        display: table-row-group !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
        page-break-inside: auto !important;
        break-before: auto !important;
        break-after: auto !important;
        break-inside: auto !important;
    }


    /* =========================================
       ROW
    ========================================= */

    table tr {
        display: table-row !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
        page-break-inside: auto !important;
        break-before: auto !important;
        break-after: auto !important;
        break-inside: auto !important;
    }


    /* =========================================
       CELLS - COMPLETE BORDER FIX
    ========================================= */

    table th,
    table td {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 5px 7px !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #1a1a1a !important;
        background: #fff !important;
        text-align: left !important;
        vertical-align: top !important;
        border: 1px solid #cfd4da !important;
        border-right: 1px solid #cfd4da !important;
        border-bottom: 1px solid #cfd4da !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        page-break-before: auto !important;
        page-break-after: auto !important;
        page-break-inside: auto !important;
        break-before: auto !important;
        break-after: auto !important;
        break-inside: auto !important;
    }


    /* =========================================
       HEADER CELLS
    ========================================= */

    table.dataTable thead th,
    table.dataTable thead td,
    table thead > tr > th,
    table thead > tr > td,
    .dataTables_wrapper table thead th,
    .dataTables_scrollHead table thead th {
        background-color: #e2e8f0 !important;
        background-image: none !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        border: 1px solid #cfd4da !important;
        border-right: 1px solid #cfd4da !important;
        border-bottom: 2px solid #cfd4da !important;
    }

    table thead th {
        font-size: 14px !important;
        font-weight: 600 !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        background: #e2e8f0 !important;
    }


    /* =========================================
       LAST COLUMN BORDER - COMPLETE FIX
    ========================================= */

    /* Target last column in header */
    table thead tr th:last-child,
    table.dataTable thead tr th:last-child,
    .dataTables_scrollHead table thead tr th:last-child {
        border-right: 1px solid #cfd4da !important;
    }

    /* Target last column in body */
    table tbody tr td:last-child,
    table.dataTable tbody tr td:last-child,
    .dataTables_scrollBody table tbody tr td:last-child {
        border-right: 1px solid #cfd4da !important;
    }

    /* Target last row bottom border */
    table tbody tr:last-child td,
    table.dataTable tbody tr:last-child td {
        border-bottom: 1px solid #cfd4da !important;
    }

    /* Universal selector for last column */
    table th:last-child,
    table td:last-child,
    table tr th:last-child,
    table tr td:last-child,
    table.dataTable tbody td:last-child,
    table.dataTable thead th:last-child,
    .dataTables_scrollHead table th:last-child,
    .dataTables_scrollBody table td:last-child {
        border-right: 1px solid #cfd4da !important;
    }

    /* Remove box-shadow that might cause border issues */
    table th:last-child,
    table td:last-child {
        box-shadow: none !important;
    }


    /* =========================================
       FIX FOR SCROLL CONTAINERS
    ========================================= */

    .dataTables_scroll,
    .dataTables_scrollHead,
    .dataTables_scrollBody,
    .dataTables_scrollFoot {
        overflow: visible !important;
        border: none !important;
        height: auto !important;
        max-height: none !important;
    }

    .dataTables_scrollBody {
        overflow: visible !important;
    }


    /* =========================================
       DATATABLE CONTROLS HIDE
    ========================================= */

    .dataTables_filter,
    .dataTables_length,
    .dataTables_info,
    .dataTables_paginate,
    .dataTables_processing,
    .dt-buttons,
    .dt-button,
    .buttons-copy,
    .buttons-excel,
    .buttons-csv,
    .buttons-pdf,
    .buttons-print,
    .buttons-collection {
        display: none !important;
    }


    /* =========================================
       GENERAL BUTTONS / CONTROLS
    ========================================= */

    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
        display: none !important;
    }


    /* =========================================
       LINKS / TEXT
    ========================================= */

    table a {
        color: inherit !important;
        text-decoration: none !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }


    table p {
        margin: 2px 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        page-break-inside: auto !important;
        break-inside: auto !important;
    }


    /* =========================================
       IMAGES
    ========================================= */

    img {
        max-width: 100% !important;
        height: auto !important;
    }


    /* =========================================
       REMOVE FLOATS / TRANSFORMS
    ========================================= */

    .pull-left,
    .pull-right {
        float: none !important;
    }

    table,
    .dataTables_wrapper,
    .table-responsive,
    .table-wrapper {
        transform: none !important;
        -webkit-transform: none !important;
    }


    /* =========================================
       LAST TABLE
    ========================================= */

    table:last-child {
        page-break-after: auto !important;
        break-after: auto !important;
    }

    /* Forcefully right border lagane ke liye */
table th:last-child, 
table td:last-child {
    border-right: 1px solid black !important;
}
.table {
        display: table !important;
        width: 70% !important;
        max-width: 70% !important;
}

.tdcls a b {
    margin-top:0 !important;
    font-weight: 700;
    font-size: 14px;
}

.tdcls a {
    margin-top:0 !important;
    font-weight: 700;
    font-size: 14px;
}

table.display tfoot {
    display: table-row-group !important;
}

}

.dropdown-menu,
.bootstrap-datetimepicker-widget {
    z-index: 99999 !important;
}
.pdfexport-width {
    display: table !important;
    width: 100% !important;
}

.upload-file-height > .files > .dropify-wrapper {
    height:150px !important;
}




/* =========================================================
   TABLE BODY & ZEBRA STRIPING
   ========================================================= */

.email-sms-log-table tbody tr {
    cursor: pointer;
    transition: background 0.15s ease;
}

.email-sms-log-table tbody tr:nth-child(odd) {
    background: #fff;
    border-bottom: solid 5px var(--border) !important;
}

.email-sms-log-table tbody tr:nth-child(even) {
    background: #e9ecef !important;
    border-bottom: solid 5px var(--border) !important;
}

.email-sms-log-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #e1e5ee;
    color: #374151;
    vertical-align: top !important;
}

.email-sms-log-table tbody td:nth-child(2) {
    max-width: 500px !important;
    white-space: nowrap !important;
}

.email-sms-log-table thead th:nth-child(3),
.email-sms-log-table thead th:nth-child(4){
    max-width: 120px !important;
    white-space: nowrap !important;
}

.email-sms-log-table tbody tr:last-child td {
    border-bottom: 0;
}

/* =========================================================
   SUBJECT BADGE
   ========================================================= */

.badge-subject {
    display: block;
    width: 170px;
    max-width: 170px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #1e2433;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}


/* =========================================================
   MESSAGE BODY
   ========================================================= */

.body-content {
    position: relative;
}

.body-preview {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 52px;
    margin: 0;
    white-space: normal;
}

.body-full {
    display: block;
    line-height: 1.6;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    box-shadow: none !important;
    transition: height 0.4s ease;
    white-space: normal;
}

.expanded .body-full {
    background: rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.4);
    padding: 16px;
}

/* =========================================================
   EXPANDED ROW
   ========================================================= */

.email-sms-log-table tbody tr.expanded .body-preview {
    max-height: 0;
    overflow: hidden;
}

/* =========================================================
   FULL MESSAGE
   ========================================================= */

.body-full p {
    margin-bottom: 8px;
    white-space: pre-line;
}

.body-full p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   SHOW MORE / SHOW LESS
   ========================================================= */

.toggle-btn {
    display: block;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-green);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.toggle-btn:hover {
    color: #178387;
    text-decoration: underline;
}


/* =========================================================
   TYPE & STATUS BADGES
   ========================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-email {
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.badge-sms {
    background: #faf5ff;
    color: #7e22ce;
    box-shadow: inset 0 0 0 1px #e9d5ff;
}

.badge-sent {
    background: #f0fdf4;
    color: #15803d;
    box-shadow: inset 0 0 0 1px #bbf7d0;
}

.badge-pending {
    background: #fffbeb;
    color: #b45309;
    box-shadow: inset 0 0 0 1px #fde68a;
}

.badge-failed {
    background: #fef2f2;
    color: #b91c1c;
    box-shadow: inset 0 0 0 1px #fecaca;
}



/* =========================================================
   DATE & TIME
   ========================================================= */

.date-main {
    white-space: nowrap;
}

.date-time {
    margin-top: 1px;
    color: var(--label);
    font-size: 13px;
    white-space: nowrap;
}

/* .chart-responsive canvas {
    width: 100% !important;
    height: 323px !important;
} */

/* .table-wrapper {
    overflow: auto !important;
    max-height: calc(-200px + 99vh);
    border: 1px solid var(--grey5);
    border-radius: 8px;
}


.dataTables_scrollBody {
    overflow: auto !important;
    max-height: calc(-200px + 99vh) !important;
}

table.dataTable tbody td {
    overflow: visible !important;
}

.flatpickr-calendar,
.datepicker-dropdown,
.ui-datepicker,
.ui-timepicker-wrapper,
.bootstrap-datetimepicker-widget {
    position: fixed !important;
    z-index: 999999 !important;
} */


/* =========================================================================
   Medical / Health Information (Allergies & Medical Conditions)
   Shared across the Online Admission form and the Student Profile
   "Medical / Health Information" tab, so severity colors/critical-alert
   styling stay consistent system-wide.
   ========================================================================= */

.medical-info-field {
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px dashed #d5e2ef;
    border-bottom: 1px dashed #d5e2ef;
}
.medical-info-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.medical-info-field-row .medical-info-field-label {
    margin-bottom: 0;
}
.medical-info-field .medical-info-btn {
    border: 1px solid #1fa4a8;
    background: #fff;
    color: #1fa4a8;
    padding: 6px 18px;
    font-weight: 500;
    transition: all .15s ease-in-out;
}
.medical-info-field .medical-info-btn:hover,
.medical-info-field .medical-info-btn:focus {
    background: #1fa4a8;
    color: #fff;
}
.medical-info-field .medical-info-btn-edit {
    border-color: #28a745;
    color: #28a745;
}
.medical-info-field .medical-info-btn-edit:hover,
.medical-info-field .medical-info-btn-edit:focus {
    background: #28a745;
    color: #fff;
}
.medical-info-summary-box {
    border: 1px solid #e2e2e2;
    border-left: 4px solid #1fa4a8;
    border-radius: 8px;
    background: #f9f9fb;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 13px;
}
.medical-info-summary-box.critical {
    background: #fdeceb;
    border-color: #7a0000;
    border-left-color: #7a0000;
}
.medical-critical-flag {
    color: #7a0000;
    font-weight: 700;
    margin-bottom: 4px;
}
.medical-summary-reaction,
.medical-summary-allergies-line,
.medical-summary-conditions-line,
.medical-summary-notes-line {
    color: #666;
    font-size: 12px;
}
.medical-summary-allergies-line + .medical-summary-conditions-line {
    margin-top: 4px;
}
.medical-summary-notes-line {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #d5e2ef;
}

/* Popup: tabs + counters — flat underline tabs (same language as the category picker) */
#medicalInfoModal .medical-tabs.nav-tabs {
    border-bottom: 1px solid #e2e2e2;
}
#medicalInfoModal .medical-tabs.nav-tabs > li {
    float: left;
    margin-bottom: -1px;
}
#medicalInfoModal .medical-tabs.nav-tabs > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 24px;
    padding: 0 0 10px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #888;
}
#medicalInfoModal .medical-tabs.nav-tabs > li > a:hover,
#medicalInfoModal .medical-tabs.nav-tabs > li > a:focus {
    border-color: transparent;
    background: none;
    color: #1fa4a8;
}
#medicalInfoModal .medical-tabs.nav-tabs > li.active > a,
#medicalInfoModal .medical-tabs.nav-tabs > li.active > a:hover,
#medicalInfoModal .medical-tabs.nav-tabs > li.active > a:focus {
    border: none;
    border-bottom: 2px solid #1fa4a8;
    background: none;
    color: #1fa4a8;
}
.medical-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e6e6e6;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
#medicalInfoModal .medical-tabs.nav-tabs > li.active .medical-tab-count {
    background: #1fa4a8;
    color: #fff;
}
.medical-tab-count.critical {
    background: #7a0000;
    color: #fff;
}

/* Popup: NKA checkbox disables (not hides) the allergy picker */
.medical-nka-checkbox {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0 0 16px;
    background: #fff;
}
.medical-nka-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding-left: 0;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.medical-nka-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    margin: 0;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: all .15s ease;
}
.medical-nka-checkbox input[type="checkbox"]::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .12s ease;
}
.medical-nka-checkbox input[type="checkbox"]:checked {
    background: #1fa4a8;
    border-color: #1fa4a8;
}
.medical-nka-checkbox input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}
.medical-nka-checkbox:has(input:checked) {
    background: #eafaf7;
    border-color: #1fa4a8;
}
.medical-nka-checkbox:has(input:checked) label {
    color: #146d70;
}
.medical-allergy-picker-disabled {
    opacity: .5;
    pointer-events: none;
}

/* Popup: selected-item box shown above the category tabs */
.medical-selected-box {
    display: none;
    background: #f5f6f8;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 0 16px;
}
.medical-selected-box.show {
    display: flex;
    flex-direction: column;
}
.medical-selected-label {
    display: block;
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 8px;
}
.medical-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.medical-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 5px 12px;
    border-radius: 999px;
    background: #e6f7f7;
    border: 1px solid #1fa4a8;
    color: #146d70;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: capitalize;
}
.medical-selected-tag .medical-tag-remove {
    cursor: pointer;
    color: #146d70;
    font-size: 13px;
}

/* Popup: category picker — underlined tabs, same visual language as the outer modal tabs */
.medical-category-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 16px;
}
.medical-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 10px;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
    text-transform: capitalize;
    transition: all .15s;
}
.medical-category-btn:hover {
    color: #1fa4a8;
}
.medical-category-btn.active {
    border-bottom-color: #1fa4a8;
    color: #1fa4a8;
}
.medical-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e6e6e6;
    color: #666;
    font-size: 11px;
    font-weight: 700;
}
.medical-category-btn.active .medical-category-count {
    background: #1fa4a8;
    color: #fff;
}

/* Popup: option pills (allergens / conditions) — even grid of cards */
.medical-allergen-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
}
.medical-flat-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.medical-condition-pill,
.medical-allergen-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    text-transform: capitalize;
    transition: all .15s;
}
.medical-condition-pill:hover,
.medical-allergen-pill:hover {
    border-color: #1fa4a8;
    color: #1fa4a8;
}
.medical-condition-pill.added,
.medical-allergen-pill.added {
    border-color: #1fa4a8;
    background: #eafaf7;
    color: #146d70;
    font-weight: 600;
    cursor: default;
}

/* Popup: item detail cards */
.medical-items-list {
    margin-top: 16px;
}
.medical-item-card {
    border: 1px solid #e2e2e2;
    border-left: 4px solid #1fa4a8;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #fff;
}
.medical-item-card.severity-mild { border-left-color: #28a745; }
.medical-item-card.severity-moderate { border-left-color: #fd7e14; }
.medical-item-card.severity-severe { border-left-color: #dc3545; }
.medical-item-card.severity-critical {
    border-left-color: #7a0000;
    background: #fdeceb;
}
.medical-item-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
}
.medical-item-card.expanded > .medical-item-card-header {
    margin-bottom: 10px;
}
.medical-item-card-body {
    display: none;
}
.medical-item-card.expanded .medical-item-card-body {
    display: block;
}
.medical-item-card-header > span:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.medical-item-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
}
.medical-item-subtitle {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
.medical-item-remove {
    color: #999;
    cursor: pointer;
    font-size: 16px;
}
.medical-item-remove:hover {
    color: #dc3545;
}
.medical-item-toggle-icon {
    color: #999;
    font-size: 12px;
    transition: transform .15s ease;
}
.medical-item-card.expanded .medical-item-toggle-icon {
    transform: rotate(180deg);
}
.severity-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 14px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}
.reaction-chip {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    color: #444;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all .15s;
    white-space: nowrap;
    text-transform: capitalize;
}
.reaction-chip:hover {
    border-color: #1fa4a8;
    color: #1fa4a8;
}
.reaction-chip.active {
    background: #1fa4a8;
    border-color: #1fa4a8;
    color: #fff;
}
.medical-item-card.severity-critical .reaction-chip.active {
    background: #7a0000;
    color: #fff;
}
.severity-segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 4px;
}
.severity-segmented .severity-opt {
    flex: 1 1 auto;
    text-align: center;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    background: #fff;
    white-space: nowrap;
    text-transform: capitalize;
}
.severity-segmented .severity-opt.selected {
    color: #fff;
    border-color: transparent;
}
.severity-segmented.has-error .severity-opt {
    border-color: #dc3545;
}
.severity-required-msg {
    display: none;
    color: #dc3545;
    font-size: 11px;
    margin: -2px 0 8px;
}
.severity-segmented.has-error + .severity-required-msg {
    display: block;
}
.reaction-chips-wrap.has-error {
    border: 1px solid #dc3545;
    border-radius: 6px;
    padding: 8px;
}
.reaction-required-msg {
    display: none;
    color: #dc3545;
    font-size: 11px;
    margin: -2px 0 8px;
}
.reaction-chips-wrap.has-error + .reaction-required-msg {
    display: block;
}
.medical-empty-state {
    width: 100%;
    color: #999;
    font-size: 13px;
    text-align: center;
    background: #f9f9fb;
    border-radius: 8px;
    padding: 16px;
}
#medicalInfoModal .modal-body {
    max-height: 65vh;
    overflow-y: auto;
}
#medicalInfoModal .form-control {
    border-radius: 8px;
}
#medicalInfoModal .medical-tabs.nav-tabs {
    margin-bottom: 18px;
}
#allergyPickerHint {
    margin-bottom: 14px;
}
.medical-field-hint {
    margin: 2px 0 8px;
    font-size: 12.5px;
    color: #8b9ba3;
}

/* Student Profile page: header pill + Medical tab banner (reserved for the
   staff-facing Student Profile implementation; unused by the admission form) */
.medical-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #7a0000;
    color: #fff;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
}
.medical-alert-banner {
    border: 1px solid #7a0000;
    background: #fdeceb;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.medical-alert-banner .medical-critical-flag {
    font-size: 15px;
}

/* Student Profile page: tab body layout (single card, no nested card-in-card) */
.medical-info-field.medical-info-field-plain {
    border-top: 0;
    border-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.medical-icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: #eafaf7;
    color: #1fa4a8;
    border-radius: 9px;
}
.medical-icon-bubble-sm {
    width: 32px;
    height: 32px;
}
.medical-icon-bubble-lg {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin-bottom: 16px;
}
.medical-section-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
}
.medical-record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
.medical-section-title,
.medical-record-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
    font-weight: 600;
    color: #17313b;
}
.medical-empty-record {
    text-align: center;
    padding: 20px 20px 10px;
}
.medical-empty-record-text {
    display: block;
    font-size: 16px;
    color: #17313b;
    font-weight: 600;
    margin: 16px 0;
}
.medical-subheading {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #17313b;
}
.medical-divider {
    margin: 22px 0 16px;
}
.medical-divider-tight {
    margin: 20px 0 12px;
}
.medical-stamp {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #f1f5f6;
    font-size: 13px;
}
.severity-badge.severity-mild { background: #28a745; }
.severity-badge.severity-moderate { background: #fd7e14; }
.severity-badge.severity-severe { background: #dc3545; }
.severity-badge.severity-critical { background: #7a0000; }
.medical-tab-icon {
    vertical-align: -2px;
}
.medical-record-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    border-bottom: 1px solid #e2e2e2;
}
.medical-record-tabs > li {
    margin: 0 24px -1px 0;
}
.medical-record-tabs > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 10px;
    border-bottom: 2px solid transparent;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    cursor: pointer;
}
.medical-record-tabs > li > a:hover,
.medical-record-tabs > li > a:focus {
    color: #1fa4a8;
    text-decoration: none;
}
.medical-record-tabs > li.active > a {
    color: #1fa4a8;
    border-bottom-color: #1fa4a8;
}
.medical-record-tabs > li.active .medical-tab-count {
    background: #1fa4a8;
    color: #fff;
}
.medical-record-tab-content {
    padding-top: 16px;
}
.medical-record-actions .btn,
.medical-record-actions .medical-info-btn {
    border-radius: 999px;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #40606f;
    font-weight: 500;
    padding: 6px 16px;
}
.medical-record-actions .btn:hover,
.medical-record-actions .btn:focus,
.medical-record-actions .medical-info-btn:hover,
.medical-record-actions .medical-info-btn:focus {
    background: #f4f8f9;
    color: #40606f;
    border-color: #cbd5db;
}
.medical-static {
    cursor: default;
}
.medical-note-inline {
    margin-top: 6px;
}

/* Student Profile page: read-only record card (distinct from the interactive
   .medical-item-card used inside the Add/Edit modal). */
.medical-record-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.medical-record-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eafaf7;
    color: #0d7a56;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.medical-record-footer-card {
    margin-top: 16px;
}
.medical-record-notebox {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #33505b;
    line-height: 1.6;
}
.medical-record-card {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 14px;
    overflow: hidden;
}
.medical-record-card.is-critical {
    border-color: #f0c4cc;
}
.medical-record-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 16px;
    background: #f8f9fa;
}
.medical-record-card.is-critical .medical-record-card-header {
    background: #fdeceb;
}
.medical-record-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.medical-record-name {
    font-size: 15px;
    font-weight: 600;
    color: #17313b;
}
.medical-record-category {
    font-size: 13px;
    color: #7b929b;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    padding: 2px 10px;
}
.medical-record-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.medical-record-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}
.medical-record-badge.severity-mild { background: #e8f7ee; color: #17a44d; }
.medical-record-badge.severity-moderate { background: #fdf3e2; color: #e08b0b; }
.medical-record-badge.severity-severe { background: #fdeceb; color: #dc3545; }
.medical-record-badge.severity-critical { background: #7a0000; color: #fff; }
.medical-record-section {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f6;
}
.medical-record-label {
    display: block;
    font-size: 13px;
    color: #7b929b;
    margin-bottom: 7px;
}
.medical-record-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.medical-record-chip {
    font-size: 13px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    padding: 4px 12px;
    color: #444;
}
.medical-record-card.is-critical .medical-record-chip {
    border-color: #f0c4cc;
    color: #7a0000;
    font-weight: 600;
}
.medical-record-note {
    font-size: 13px;
    color: #7b929b;
    margin: 7px 0 0;
    line-height: 1.5;
}
.medical-record-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.medical-record-col {
    padding: 13px 16px;
}
.medical-record-col + .medical-record-col {
    border-left: 1px solid #f1f5f6;
}
.medical-record-value {
    margin: 0;
    font-size: 14px;
    color: #17313b;
    line-height: 1.55;
}
.medical-print-only {
    display: none;
}
.medical-nka-banner {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #e8f7ee;
    border: 1px solid #bfe6ce;
    border-radius: 8px;
    padding: 13px 16px;
    color: #146c37;
    font-weight: 600;
    font-size: 14px;
}
@media (max-width: 760px) {
    .medical-record-columns {
        grid-template-columns: 1fr;
    }
    .medical-record-col + .medical-record-col {
        border-left: 0;
        border-top: 1px solid #f1f5f6;
    }
}
@media print {
    #medicalPrintArea,
    #medicalPrintArea * {
        visibility: visible;
    }
    #medicalPrintArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    #medicalPrintArea .tab-pane {
        display: block !important;
    }
    #medicalPrintArea .medical-record-tabs {
        display: none !important;
    }
    #medicalPrintArea .medical-record-actions {
        display: none !important;
    }
    .medical-print-only {
        display: block !important;
        margin: 18px 0 10px;
        font-size: 15px;
        font-weight: 600;
        color: #17313b;
    }
}