.bc-title{
    width: 100%;
    border-bottom: solid 1px #ddd;
    padding-bottom: 5px !important;
    margin-bottom: 10px !important;
}

label{
    margin-bottom: 1px !important;
    font-weight: bold;
}

.widget-content{
    padding: 20px !important;
}

.btn-icon i {
    color: white !important;
    stroke: white !important;
}

/* Boxed FUL staff portal login */
.ful-login-boxed {
    --ful-blue: #49668f;
    --ful-blue-dark: #26374f;
    --ful-teal: #45aebd;
    --ful-orange: #e94a10;
    --ful-ink: #172033;
    --ful-muted: #667085;
    --ful-line: #d8e0ec;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--ful-ink);
    background:
        linear-gradient(135deg, rgba(38, 55, 79, 0.96), rgba(73, 102, 143, 0.88)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px);
}

.ful-boxed-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.ful-boxed-card {
    width: min(100%, 900px);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 34px 90px rgba(13, 24, 42, 0.34);
}

.ful-boxed-info {
    position: relative;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(28, 42, 63, 0.98) 0%, rgba(73, 102, 143, 0.96) 58%, rgba(54, 91, 132, 0.96) 100%),
        linear-gradient(90deg, rgba(69, 174, 189, 0.24), transparent 48%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px);
}

.ful-boxed-info::after {
    content: "";
    position: absolute;
    right: -72px;
    top: 42px;
    width: 210px;
    height: 76%;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    transform: skewX(-12deg);
}

.ful-boxed-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(90deg, rgba(233, 74, 16, 0.18), transparent 32%);
    pointer-events: none;
}

.ful-boxed-mark {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.ful-boxed-mark img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 7px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.ful-boxed-mark span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.ful-boxed-mark strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
}

.ful-boxed-info-copy {
    position: relative;
    z-index: 1;
    max-width: 320px;
}

.ful-boxed-info-copy span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(158, 228, 237, 0.38);
    border-radius: 6px;
    color: #9ee4ed;
    font-size: 12px;
    font-weight: 800;
}

.ful-boxed-info-copy h1 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.ful-boxed-info-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
}

.ful-boxed-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ful-boxed-tags span {
    min-width: 54px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.ful-boxed-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 48px;
}

.ful-boxed-login-head {
    margin-bottom: 24px;
}

.ful-boxed-login-head > span {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--ful-blue-dark);
    background: rgba(69, 174, 189, 0.11);
    font-size: 12px;
    font-weight: 800;
}

.ful-boxed-login-head h2 {
    margin: 16px 0 8px;
    color: var(--ful-ink);
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}

.ful-boxed-login-head p {
    margin: 0;
    color: var(--ful-muted);
    font-size: 14px;
    line-height: 1.6;
}

.ful-boxed-form {
    padding: 0;
}

.ful-boxed-field {
    display: block;
    margin-bottom: 17px !important;
}

.ful-boxed-field span {
    display: block;
    margin-bottom: 7px;
    color: var(--ful-blue-dark);
    font-size: 13px;
    font-weight: 700;
}

.ful-boxed-field .form-control {
    min-height: 54px;
    border: 1px solid var(--ful-line);
    border-radius: 8px;
    color: var(--ful-ink);
    background: #fbfdff;
    font-size: 14px;
    box-shadow: none;
}

.ful-boxed-field .form-control:focus {
    border-color: var(--ful-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(69, 174, 189, 0.14);
}

.ful-boxed-button {
    min-height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--ful-blue), var(--ful-teal));
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 18px 34px rgba(73, 102, 143, 0.30);
}

.ful-boxed-button:hover,
.ful-boxed-button:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(73, 102, 143, 0.36);
}

.ful-boxed-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid var(--ful-line);
    color: var(--ful-muted);
    font-size: 12px;
}

.ful-boxed-footer a {
    color: var(--ful-orange);
    font-weight: 800;
    text-decoration: none;
}

.ful-boxed-footer a:hover {
    text-decoration: underline;
}

.ful-login-boxed #errorMsg {
    border-radius: 6px;
    font-size: 13px;
}

@media (max-width: 860px) {
    .ful-boxed-card {
        max-width: 460px;
        grid-template-columns: 1fr;
    }

    .ful-boxed-info {
        min-height: auto;
        padding: 24px;
    }

    .ful-boxed-info-copy {
        margin: 26px 0;
    }

    .ful-boxed-info-copy h1 {
        font-size: 27px;
    }

    .ful-boxed-login {
        padding: 30px 28px;
    }
}

@media (max-width: 575px) {
    .ful-boxed-stage {
        padding: 16px;
    }

    .ful-boxed-mark img {
        width: 58px;
        height: 58px;
    }

    .ful-boxed-login-head h2 {
        font-size: 27px;
    }

    .ful-boxed-footer {
        display: block;
    }

    .ful-boxed-footer a {
        display: inline-block;
        margin-top: 5px;
    }
}

/* Authenticated shell branding */
:root {
    --ful-shell-blue: #26374f;
    --ful-shell-blue-mid: #49668f;
    --ful-shell-blue-deep: #172033;
    --ful-shell-teal: #45aebd;
    --ful-shell-orange: #e94a10;
}

.header-container,
body.dark .header-container {
    background:
        linear-gradient(135deg, rgba(38, 55, 79, 0.98), rgba(73, 102, 143, 0.97)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px) !important;
    border-bottom: 1px solid rgba(69, 174, 189, 0.28) !important;
    box-shadow: 0 10px 30px rgba(14, 23, 38, 0.18);
}

.header-container .theme-brand,
body.dark .header-container .theme-brand {
    background: transparent !important;
}

.header-container .theme-brand .theme-logo a img,
body.dark .header-container .theme-brand .theme-logo a img {
    width: 38px;
    height: 38px;
    padding: 3px;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}

.header-container .theme-text a,
body.dark .header-container .theme-text a {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: 0;
}

.header-container .navbar-item .nav-link,
body.dark .header-container .navbar-item .nav-link {
    color: rgba(255, 255, 255, 0.86) !important;
}

.header-container .theme-toggle svg,
body.dark .header-container .theme-toggle svg {
    color: #fff;
    stroke: #fff;
}

.header-container .avatar img,
body.dark .header-container .avatar img {
    border: 2px solid rgba(158, 228, 237, 0.74);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.sidebar-wrapper,
.sidebar-wrapper.sidebar-theme,
body.dark .sidebar-wrapper,
body.dark .sidebar-wrapper.sidebar-theme {
    background:
        linear-gradient(180deg, #1f3049 0%, var(--ful-shell-blue) 48%, var(--ful-shell-blue-deep) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px) !important;
    border-right: 1px solid rgba(69, 174, 189, 0.22) !important;
    box-shadow: 10px 0 26px rgba(23, 32, 51, 0.16);
}

#sidebar,
body.dark #sidebar {
    background: transparent !important;
}

#sidebar .theme-brand,
body.dark #sidebar .theme-brand {
    background: rgba(255, 255, 255, 0.07) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#sidebar .theme-brand div.theme-logo img,
body.dark #sidebar .theme-brand div.theme-logo img {
    padding: 4px;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}

#sidebar .theme-brand div.theme-text a,
body.dark #sidebar .theme-brand div.theme-text a {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800;
    letter-spacing: 0;
}

.sidebar-wrapper.sidebar-theme .theme-brand .sidebar-toggle .btn-toggle svg,
.sidebar-wrapper.sidebar-theme .theme-brand .sidebar-toggle .btn-toggle svg polyline,
body.dark .sidebar-wrapper.sidebar-theme .theme-brand .sidebar-toggle .btn-toggle svg,
body.dark .sidebar-wrapper.sidebar-theme .theme-brand .sidebar-toggle .btn-toggle svg polyline {
    color: rgba(255, 255, 255, 0.84) !important;
    stroke: rgba(255, 255, 255, 0.84) !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle,
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle {
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.76) !important;
}

#sidebar ul.menu-categories li.menu-section,
body.dark #sidebar ul.menu-categories li.menu-section {
    padding: 18px 22px 6px;
    color: rgba(158, 228, 237, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

#sidebar ul.menu-categories li.menu-muted > .dropdown-toggle,
body.dark #sidebar ul.menu-categories li.menu-muted > .dropdown-toggle {
    opacity: 0.54;
    cursor: default;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle span,
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle span {
    color: inherit !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.badge-icon),
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle svg:not(.badge-icon) {
    color: rgba(255, 255, 255, 0.68) !important;
    stroke: rgba(255, 255, 255, 0.68) !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle:hover,
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"],
#sidebar ul.menu-categories li.menu.active > .dropdown-toggle,
#sidebar ul.menu-categories li.menu.active > .dropdown-toggle[aria-expanded="true"],
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle:hover,
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"],
body.dark #sidebar ul.menu-categories li.menu.active > .dropdown-toggle,
body.dark #sidebar ul.menu-categories li.menu.active > .dropdown-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    box-shadow: none !important;
}

#sidebar ul.menu-categories li.menu.active > .dropdown-toggle,
body.dark #sidebar ul.menu-categories li.menu.active > .dropdown-toggle {
    border-left: 3px solid var(--ful-shell-orange);
    padding-left: 13px;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle:hover svg:not(.badge-icon),
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] svg:not(.badge-icon),
#sidebar ul.menu-categories li.menu.active > .dropdown-toggle svg:not(.badge-icon),
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle:hover svg:not(.badge-icon),
body.dark #sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] svg:not(.badge-icon),
body.dark #sidebar ul.menu-categories li.menu.active > .dropdown-toggle svg:not(.badge-icon) {
    color: #fff !important;
    stroke: #fff !important;
    fill: transparent !important;
}

#sidebar ul.menu-categories ul.submenu > li a,
body.dark #sidebar ul.menu-categories ul.submenu > li a {
    color: rgba(255, 255, 255, 0.68) !important;
}

#sidebar ul.menu-categories ul.submenu > li a:hover,
#sidebar ul.menu-categories li.menu ul.submenu > li.active a,
body.dark #sidebar ul.menu-categories ul.submenu > li a:hover,
body.dark #sidebar ul.menu-categories li.menu ul.submenu > li.active a {
    color: #9ee4ed !important;
}

#sidebar ul.menu-categories li.menu ul.submenu > li.active a,
body.dark #sidebar ul.menu-categories li.menu ul.submenu > li.active a {
    background: transparent !important;
    border-left: 0;
    font-weight: 800;
}

#sidebar ul.menu-categories li.menu ul.submenu > li a::before,
body.dark #sidebar ul.menu-categories li.menu ul.submenu > li a::before {
    background-color: rgba(158, 228, 237, 0.55) !important;
}

#sidebar ul.menu-categories li.menu ul.submenu > li.active a::before,
body.dark #sidebar ul.menu-categories li.menu ul.submenu > li.active a::before {
    width: 4px !important;
    height: 4px !important;
    background-color: var(--ful-shell-orange) !important;
    box-shadow: none;
}

#sidebar .shadow-bottom,
body.dark #sidebar .shadow-bottom {
    background: linear-gradient(var(--ful-shell-blue), rgba(38, 55, 79, 0)) !important;
}

.postutme-stat {
    min-height: 118px;
    padding: 18px;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: #fff;
}

.postutme-stat svg {
    width: 22px;
    height: 22px;
    margin-bottom: 14px;
    color: var(--ful-shell-teal);
}

.postutme-stat span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.postutme-stat strong {
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 24px;
    font-weight: 800;
}

.postutme-upload-page {
    min-height: calc(100vh - 285px);
}

.postutme-upload-filter select[name="type"] {
    max-width: 210px;
}

.postutme-upload-filter select[name="sess"] {
    max-width: 230px;
}

.postutme-upload-filter input[type="file"] {
    min-width: 260px;
}

.postutme-finance-filter select[name="type"] {
    max-width: 210px;
}

.postutme-finance-filter select[name="sess"] {
    max-width: 180px;
}

.postutme-parameter-filter select[name="sess"] {
    max-width: 220px;
}

.postutme-parameter-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
}

.postutme-parameter-panel {
    padding: 16px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fff;
}

.postutme-parameter-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.postutme-parameter-head h5 {
    margin: 0 0 4px;
    color: #172033;
    font-size: 15px;
    font-weight: 800;
}

.postutme-parameter-head p {
    margin: 0;
    color: #6b7280;
}

.postutme-parameter-head span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef7f5;
    color: #0e8f6e;
    font-size: 12px;
    font-weight: 800;
}

.postutme-toggle-list {
    display: grid;
    gap: 12px;
}

.postutme-switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
    cursor: pointer;
}

.postutme-switch-row span {
    display: grid;
    gap: 3px;
}

.postutme-switch-row strong {
    color: #172033;
}

.postutme-switch-row small {
    color: #6b7280;
}

.postutme-switch-row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.postutme-switch-row i {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .2s ease;
}

.postutme-switch-row i::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
    transition: transform .2s ease;
}

.postutme-switch-row input[type="checkbox"]:checked + i {
    background: #0e8f6e;
}

.postutme-switch-row input[type="checkbox"]:checked + i::after {
    transform: translateX(22px);
}

.postutme-exception-filter input[name="examno"] {
    max-width: 190px;
}

@media (max-width: 991px) {
    .postutme-parameter-grid {
        grid-template-columns: 1fr;
    }
}

.postutme-upload-format {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fff;
}

.postutme-upload-progress {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fbfdff;
}

.postutme-upload-progress strong {
    color: #172033;
}

.postutme-upload-progress .progress {
    height: 24px;
    border-radius: 8px;
    background: #e9eef5;
}

.postutme-upload-progress .progress-bar {
    min-width: 42px;
    background-color: #0e8f6e;
    font-weight: 800;
}

.postutme-upload-summary {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #dce4ef;
    border-left: 4px solid #0e8f6e;
    border-radius: 8px;
    background: #fff;
}

.postutme-upload-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.postutme-upload-summary-head h6 {
    margin: 0 0 4px;
    color: #172033;
    font-weight: 800;
}

.postutme-upload-summary-head p {
    margin: 0;
    color: #6b7280;
}

.postutme-upload-summary-head span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef7f5;
    color: #0e8f6e;
    font-size: 12px;
    font-weight: 800;
}

.postutme-upload-summary-head span.has-errors {
    background: #fff1f2;
    color: #dc2626;
}

.postutme-upload-summary-errors {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.postutme-upload-summary-errors strong {
    display: block;
    margin-bottom: 8px;
    color: #172033;
}

.postutme-upload-summary-errors ul {
    max-height: 180px;
    margin: 0;
    padding-left: 18px;
    overflow: auto;
    color: #6b7280;
}

.postutme-upload-format-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.postutme-upload-format-head h6 {
    margin: 0;
    color: #172033;
    font-weight: 800;
}

.postutme-upload-format-head span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef7f5;
    color: #0e8f6e;
    font-size: 11px;
    font-weight: 800;
}

.postutme-upload-format p {
    margin-bottom: 12px;
    color: #6b7280;
}

.postutme-upload-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.postutme-upload-columns div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid #edf2f7;
    border-radius: 7px;
    background: #fbfdff;
}

.postutme-upload-columns span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #172033;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.postutme-upload-columns strong {
    min-width: 0;
    color: #172033;
    font-size: 13px;
    line-height: 1.25;
}

.postutme-overview-filter {
    width: min(100%, 360px);
}

.postutme-overview-filter .input-group {
    flex-wrap: nowrap;
}

.postutme-apply-btn,
.postutme-load-btn {
    min-width: 88px;
}

.postutme-filter-row .input-group-text,
.postutme-overview-filter .input-group-text {
    min-width: 42px;
    justify-content: center;
    border-color: #dce4ef;
    background: #f7fbfc;
}

.postutme-filter-row .input-group-text svg,
.postutme-overview-filter .input-group-text svg {
    width: 16px;
    height: 16px;
}

.postutme-filter-row .form-control,
.postutme-overview-filter .form-control {
    min-height: 44px;
}

.postutme-filter-row .btn,
.postutme-overview-filter .btn {
    min-height: 44px;
}

.postutme-combined-filter {
    flex-wrap: nowrap;
}

.postutme-combined-filter .input-group-text {
    min-width: 42px;
    justify-content: center;
    border-color: #dce4ef;
    background: #f7fbfc;
}

.postutme-combined-filter .input-group-text svg {
    width: 16px;
    height: 16px;
}

.postutme-combined-filter .form-control,
.postutme-combined-filter .btn {
    min-height: 44px;
}

.postutme-combined-filter select[name="sess"],
.postutme-combined-filter select[name="mode"] {
    max-width: 150px;
}

.postutme-combined-filter select[name="course"] {
    min-width: 220px;
}

.postutme-combined-filter select[name="course_id"] {
    min-width: 260px;
}

.postutme-combined-filter input[name="q"] {
    min-width: 230px;
}

.postutme-combined-filter .postutme-check-addon {
    gap: 4px;
    white-space: nowrap;
    color: #172033;
}

.postutme-combo-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.postutme-combo-summary span {
    padding: 6px 10px;
    border: 1px solid #dce4ef;
    border-radius: 6px;
    background: #f7fbfc;
    color: #172033;
    font-size: 12px;
    font-weight: 700;
}

.postutme-combo-section {
    height: 100%;
    padding: 14px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fff;
}

.postutme-combo-section-required {
    border-top: 3px solid #0e8f6e;
}

.postutme-combo-section-optional {
    border-top: 3px solid #3366cc;
}

.postutme-combo-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.postutme-combo-section-head h6 {
    margin-bottom: 2px;
    color: #172033;
    font-weight: 800;
}

.postutme-combo-section-head small {
    color: #6b7280;
}

.postutme-combo-section-head > span {
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef7f5;
    color: #0e8f6e;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.postutme-combo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 4px;
}

.postutme-combo-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid #e3ebf2;
    border-radius: 7px;
    background: #fbfdff;
    color: #172033;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.postutme-combo-option:hover {
    border-color: #9cc8d2;
    background: #f4fafb;
}

.postutme-combo-option input {
    flex: 0 0 auto;
}

.postutme-combo-option span {
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.postutme-reopen-panel {
    padding: 16px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fff;
}

.postutme-reopen-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.postutme-reopen-head h5 {
    margin-bottom: 4px;
    color: #172033;
    font-weight: 800;
}

.postutme-reopen-head span:not(.badge) {
    color: #6b7280;
    font-size: 13px;
}

.postutme-reopen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.postutme-reopen-grid div {
    padding: 10px 12px;
    border: 1px solid #edf2f7;
    border-radius: 7px;
    background: #fbfdff;
}

.postutme-reopen-grid span,
.postutme-reopen-grid strong {
    display: block;
}

.postutme-reopen-grid span {
    margin-bottom: 3px;
    color: #6b7280;
    font-size: 12px;
}

.postutme-reopen-grid strong {
    color: #172033;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .postutme-overview-head {
        align-items: stretch !important;
    }

    .postutme-overview-head > div,
    .postutme-overview-filter {
        width: 100%;
    }

    .postutme-overview-filter .input-group {
        display: grid;
        grid-template-columns: 42px 1fr;
        gap: 8px;
    }

    .postutme-overview-filter .input-group-text {
        border-radius: 6px !important;
    }

    .postutme-overview-filter select,
    .postutme-overview-filter .postutme-apply-btn {
        width: 100%;
        border-radius: 6px !important;
    }

    .postutme-overview-filter .postutme-apply-btn {
        grid-column: 1 / -1;
    }

    .postutme-stat {
        min-height: 105px;
    }

    .postutme-combined-filter {
        display: grid;
        grid-template-columns: 42px 1fr;
        gap: 8px;
    }

    .postutme-combined-filter .input-group-text,
    .postutme-combined-filter .postutme-check-addon,
    .postutme-combined-filter .form-control,
    .postutme-combined-filter .btn {
        width: 100%;
        max-width: none !important;
        min-width: 0 !important;
        border-radius: 6px !important;
    }

    .postutme-combined-filter select,
    .postutme-combined-filter input,
    .postutme-combined-filter .btn {
        grid-column: 1 / -1;
    }

    .postutme-upload-filter select[name="type"],
    .postutme-upload-filter select[name="sess"],
    .postutme-upload-filter input[type="file"],
    .postutme-finance-filter select[name="type"],
    .postutme-finance-filter select[name="sess"] {
        max-width: none;
        min-width: 0;
    }

    .postutme-combo-section {
        padding: 12px;
    }

    .postutme-combo-list {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .postutme-reopen-head {
        display: block;
    }

    .postutme-reopen-head .badge {
        margin-top: 8px;
    }
}

.staff-selected-box {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #d7e8ec;
    border-radius: 8px;
    background: #f7fbfc;
}

.staff-selected-box span,
.staff-selected-box small {
    display: block;
}

.staff-selected-box span {
    color: #172033;
    font-weight: 800;
}

.staff-selected-box small {
    margin-top: 2px;
    color: #6b7280;
}

.staff-search-results {
    margin-top: 10px;
}

.staff-search-empty {
    padding: 10px 12px;
    color: #6b7280;
    font-size: 13px;
}

.staff-search-item {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    padding: 10px 12px;
    border: 1px solid #e3ebf2;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.staff-search-item:hover {
    border-color: var(--ful-shell-teal);
    background: #f7fbfc;
}

.staff-search-item strong,
.staff-search-item span {
    display: block;
}

.staff-search-item strong {
    color: #172033;
}

.staff-search-item span {
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
}

/* Role-aware dashboard */
.dashboard-shell {
    display: grid;
    gap: 18px;
}

.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(38, 55, 79, 0.98), rgba(73, 102, 143, 0.96)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
    box-shadow: 0 18px 38px rgba(23, 32, 51, 0.14);
}

.dashboard-eyebrow {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(158, 228, 237, 0.38);
    border-radius: 6px;
    color: #9ee4ed;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-hero h2 {
    margin: 14px 0 6px;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.dashboard-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.dashboard-role-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.dashboard-role-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 800;
}

.dashboard-hero-mark {
    flex: 0 0 auto;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-hero-mark img {
    width: 66px;
    height: 66px;
    padding: 6px;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

.dashboard-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-quick-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dce4ef;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.06);
}

.dashboard-quick-actions a:hover {
    border-color: #9cc8d2;
    background: #f7fbfc;
}

.dashboard-quick-actions svg,
.dashboard-stat svg,
.dashboard-module svg,
.dashboard-empty svg {
    width: 18px;
    height: 18px;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.dashboard-stat {
    min-height: 126px;
    padding: 16px;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
}

.dashboard-stat svg {
    margin-bottom: 14px;
}

.dashboard-stat span {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-stat strong {
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 28px;
    font-weight: 800;
}

.dashboard-stat-blue svg { color: #2563eb; }
.dashboard-stat-teal svg { color: #0f766e; }
.dashboard-stat-indigo svg { color: #4f46e5; }
.dashboard-stat-slate svg { color: #475467; }
.dashboard-stat-orange svg { color: #ea580c; }
.dashboard-stat-green svg { color: #16a34a; }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 16px;
}

.dashboard-panel {
    padding: 18px;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
}

.dashboard-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.dashboard-panel-head h5 {
    margin: 0 0 4px;
    color: #172033;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-panel-head p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.dashboard-module-list {
    display: grid;
    gap: 10px;
}

.dashboard-module {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
    text-decoration: none;
}

.dashboard-module:hover {
    border-color: #9cc8d2;
    background: #f7fbfc;
}

.dashboard-module-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef7f5;
    color: #0f766e;
}

.dashboard-module-copy {
    min-width: 0;
}

.dashboard-module-copy strong,
.dashboard-module-copy small {
    display: block;
}

.dashboard-module-copy strong {
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-module-copy small {
    margin-top: 3px;
    color: #667085;
    line-height: 1.35;
}

.dashboard-module-badge {
    min-width: 58px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1f4e79;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.dashboard-permission-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-permission-list span {
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid #dce4ef;
    border-radius: 6px;
    background: #f8fbfd;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    word-break: break-word;
}

.dashboard-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 34px 16px;
    border: 1px dashed #cfd8e3;
    border-radius: 8px;
    background: #fbfdff;
    color: #667085;
    text-align: center;
}

.dashboard-empty svg {
    color: var(--ful-shell-teal);
}

.dashboard-empty strong {
    color: #172033;
}

.dashboard-empty-compact {
    padding: 22px 12px;
}

@media (max-width: 991.98px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .dashboard-hero {
        display: block;
        padding: 20px;
    }

    .dashboard-hero h2 {
        font-size: 24px;
    }

    .dashboard-hero-mark {
        display: none;
    }

    .dashboard-quick-actions a {
        width: 100%;
        justify-content: center;
    }

    .dashboard-module {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .dashboard-module-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* Academic setup */
.academics-workspace .widget-content {
    padding: 22px !important;
}

.academics-page-head {
    padding-bottom: 14px;
    border-bottom: 1px solid #e4ebf3;
}

.academics-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #eef7f5;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.academics-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    border-radius: 6px;
    font-weight: 800;
}

.academics-primary-action svg,
.academics-filter-bar .btn svg,
.academics-tabs svg,
.academics-icon-btn svg {
    width: 16px;
    height: 16px;
}

.academics-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 12px;
    padding: 4px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #f8fbfd;
}

.academics-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.academics-tabs a:hover {
    color: #172033;
    background: #eef4f8;
}

.academics-tabs a.active {
    color: #fff;
    background: #26374f;
    box-shadow: 0 8px 16px rgba(38, 55, 79, 0.16);
}

.academics-filter-bar {
    padding: 12px;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
}

.academics-filter-bar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.academics-field .form-control {
    min-height: 44px;
    border-color: #dce4ef;
    border-radius: 7px;
}

.academics-field .form-control:focus {
    border-color: var(--ful-shell-teal);
    box-shadow: 0 0 0 4px rgba(69, 174, 189, 0.12);
}

.academics-table-wrap {
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
}

.academics-table {
    margin-bottom: 0 !important;
}

.academics-table thead th {
    border-bottom: 1px solid #dce4ef !important;
    color: #172033;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.academics-table tbody td {
    vertical-align: middle;
}

.academics-table .academics-action-col {
    width: 58px;
    text-align: center;
}

.academics-table .academics-sn-col {
    width: 54px;
    text-align: center;
}

.academics-table strong {
    color: #172033;
}

.academics-chip,
.academics-category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid #dce4ef;
    border-radius: 6px;
    background: #f8fbfd;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.academics-category-pill {
    color: #1f4e79;
    background: #eef6ff;
    border-color: #d4e8fb;
}

.academics-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 6px;
}

.academics-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    min-width: 82px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.academics-flags-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    align-items: center;
}

button.academics-status-badge {
    cursor: pointer;
}

.academics-status-badge.is-active {
    color: #0f766e;
    border-color: #a7f3d0;
    background-color: #ecfdf5;
}

.academics-status-badge.is-inactive {
    color: #b42318;
    border-color: #fecaca;
    background-color: #fff1f2;
}

.academics-status-badge.is-regulated {
    color: #1f4e79;
    border-color: #bfdbfe;
    background-color: #eff6ff;
}

.academics-status-badge.is-unregulated {
    color: #475467;
    border-color: #e4e7ec;
    background-color: #f8fafc;
}

button.academics-status-badge:hover {
    filter: brightness(0.97);
}

.academics-empty-state {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 42px 18px;
    border: 1px dashed #cfd8e3;
    border-radius: 8px;
    background: #fbfdff;
    color: #667085;
    text-align: center;
}

.academics-empty-state svg {
    width: 28px;
    height: 28px;
    color: var(--ful-shell-teal);
}

.academics-empty-state strong {
    color: #172033;
    font-size: 15px;
}

.academics-empty-state span {
    max-width: 360px;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .academics-page-head {
        display: block !important;
    }

    .academics-primary-action {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .academics-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .academics-tabs a {
        justify-content: center;
    }
}
