/* login page css */
:root {
    --navy: #073b78;
    --navy-dark: #052b59;
    --orange: #ff6b00;
    --orange-dark: #e95e00;
    --text: #1e293b;
    --muted: #64748b;
    --border: #dbe3ee;
    --surface: #ffffff;
    --background: #f2f6fc;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
}

a {
    text-decoration: none;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top announcement bar */

.topbar {
    background: var(--navy);
    color: #fff;
}

.topbar-inner {
    max-width: 1240px;
    min-height: 34px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 12px;
}

.topbar-inner i {
    margin-right: 8px;
    color: #ffb36f;
}

.topbar-tagline {
    white-space: nowrap;
    font-weight: 600;
    font-style: italic;
}

.topbar-tagline b {
    margin: 0 7px;
    color: #ffb36f;
}

/* Brand header */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
}

.header-inner {
    max-width: 1240px;
    min-height: 100px;
    padding: 17px 24px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 17px;
    color: var(--navy);
    min-width: 0;
}

.brand-icon {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy h1,
.brand-copy h2,
.brand-copy p {
    margin: 0;
}

.brand-copy h1,
.brand-copy h2 {
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand-copy p {
    margin-top: 6px;
    font-size: 12px;
    color: #475569;
}

.brand-copy p span {
    color: var(--orange);
    margin: 0 4px;
}

.home-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 19px;
    border-radius: 9px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.home-link:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.nav-accent {
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--orange) 0%,
        var(--orange) 24%,
        var(--navy) 24%,
        var(--navy) 100%
    );
}

/* Login section */

.login-section {
    flex: 1;
    padding: 48px 20px 42px;
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(255, 107, 0, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(7, 59, 120, 0.1),
            transparent 32%
        ),
        var(--background);
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-intro {
    text-align: center;
    margin-bottom: 27px;
}

.eyebrow {
    display: inline-block;
    color: var(--orange-dark);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.8px;
}

.login-intro h2 {
    margin: 11px 0 8px;
    color: var(--navy);
    font-size: clamp(25px, 4vw, 33px);
    letter-spacing: -0.6px;
}

.login-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Login card */

.login-card {
    background: var(--surface);
    border: 1px solid #e4eaf2;
    border-radius: 17px;
    padding: 30px;
    box-shadow: 0 16px 45px rgba(15, 42, 78, 0.1);
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf1f6;
}

.heading-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #edf4ff;
    border-radius: 12px;
    color: var(--navy);
    font-size: 21px;
}

.card-heading h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 20px;
}

.card-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Inputs */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #25364b;
    font-size: 13px;
    font-weight: 700;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #718198;
    font-size: 15px;
    pointer-events: none;
}

.input-wrap input,
.input-wrap select {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 12px 43px 12px 43px;
    color: #243449;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.input-wrap input::placeholder {
    color: #9aa6b6;
}

.input-wrap input:focus,
.input-wrap select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(7, 59, 120, 0.1);
}

.input-wrap select {
    appearance: none;
    cursor: pointer;
    padding-right: 42px;
}

.select-arrow {
    position: absolute;
    right: 16px;
    color: #718198;
    font-size: 12px;
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 9px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #718198;
    cursor: pointer;
}

.password-toggle:hover {
    background: #f1f5f9;
    color: var(--navy);
}

/* Login button */

.login-button {
    width: 100%;
    min-height: 51px;
    margin-top: 5px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 9px;
    background: var(--orange);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.login-button:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 17px rgba(255, 107, 0, 0.22);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 19px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--orange-dark);
}

.security-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid #edf1f6;
    color: #64748b;
    font-size: 11px;
}

.security-note i {
    color: #16845b;
}

.alert {
    display: flex;
    gap: 10px;
    padding: 13px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.alert p {
    margin: 0 0 4px;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert-danger {
    color: #9f2525;
    background: #fff0f0;
    border: 1px solid #ffd4d4;
}

.alert-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.support-note {
    margin: 22px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

/* Footer */

.site-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e3e9f1;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.7;
}

.site-footer a {
    color: var(--navy);
    font-weight: 700;
}

.footer-subtitle {
    margin-top: 4px !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
}

/* Responsive design */

@media (max-width: 650px) {
    .topbar-inner {
        justify-content: center;
        text-align: center;
        padding: 9px 14px;
    }

    .topbar-tagline {
        display: none;
    }

    .header-inner {
        padding: 16px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .brand {
        gap: 12px;
    }

    .brand-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        font-size: initial;
    }

    .brand-copy h1,
    .brand-copy h2 {
        font-size: 15px;
    }

    .brand-copy p {
        font-size: 10px;
        line-height: 1.6;
    }

    .home-link {
        width: 100%;
        padding: 12px;
    }

    .login-section {
        padding: 32px 15px;
    }

    .login-card {
        padding: 23px 19px;
        border-radius: 13px;
    }

    .card-heading h3 {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .brand-copy h1,
    .brand-copy h2 {
        font-size: 13px;
    }

    .login-card {
        padding: 20px 15px;
    }

    .card-heading {
        gap: 10px;
    }
}

/* dashboard css */
:root {
    --navy: #073b78;
    --navy-dark: #052b59;
    --orange: #ff6b00;
    --orange-dark: #e95e00;
    --text: #1e293b;
    --muted: #64748b;
    --border: #dbe3ee;
    --surface: #ffffff;
    --background: #f2f6fc;
    --sidebar-width: 260px;
    --header-height: 88px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
}

body,
button,
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.app-shell {
    min-height: 100vh;
}

/* Sidebar */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--navy-dark);
    color: #fff;
    box-shadow: 5px 0 25px rgba(5, 43, 89, 0.08);
    transition: transform 0.25s ease;
}

.sidebar-brand {
    min-height: 91px;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================
   ALC SIDEBAR - CLEAN SCROLLBAR-FREE DESIGN
========================================== */

#sidebar {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* Sidebar ka main menu area */
#sidebar .sidebar-menu,
#sidebar .sidebar-nav,
#sidebar .sidebar-content,
#sidebar nav {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Chrome, Edge aur Safari mein scrollbar hide */
#sidebar .sidebar-menu::-webkit-scrollbar,
#sidebar .sidebar-nav::-webkit-scrollbar,
#sidebar .sidebar-content::-webkit-scrollbar,
#sidebar nav::-webkit-scrollbar {
    display: none;
    width: 0;
}

/* Sidebar ke sections ko shrink hone se bachao */
#sidebar > * {
    flex-shrink: 0;
}

/* Menu content ko zaroorat par scroll hone do */
#sidebar .sidebar-menu,
#sidebar .sidebar-nav,
#sidebar .sidebar-content,
#sidebar nav {
    flex-shrink: 1;
}

/* Support section aur Logout button neeche rahenge */
#sidebar .sidebar-support,
#sidebar .sidebar-footer,
#sidebar .sidebar-bottom {
    flex-shrink: 0;
    background: #073b78;
}

/* Menu spacing */
#sidebar .sidebar-menu a,
#sidebar .sidebar-nav a,
#sidebar nav a {
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Chhoti screen par menu ko available height dein */
@media (max-height: 700px) {
    #sidebar .sidebar-menu a,
    #sidebar .sidebar-nav a,
    #sidebar nav a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #sidebar .sidebar-support,
    #sidebar .sidebar-footer,
    #sidebar .sidebar-bottom {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    padding: 3px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-text strong {
    font-size: 17px;
    letter-spacing: 0.4px;
}

.brand-text span {
    color: #c8dcf5;
    font-size: 12px;
}

.sidebar-close {
    display: none;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
}

.sidebar-section-label {
    padding: 20px 20px 9px;
    color: #9eb9db;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.sidebar-nav {
    flex: 1;
    min-height: 0;
    padding: 0 12px 15px;
    overflow-y: auto;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 45px;
    margin: 3px 0;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #dce8f7;
    font-size: 13px;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.nav-link > i {
    flex: 0 0 19px;
    width: 19px;
    text-align: center;
    color: #b8d0ed;
    font-size: 15px;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.28);
    font-weight: 700;
}

.nav-link.active > i {
    color: #ff9b56;
}

.nav-link.active::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -12px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--orange);
    content: "";
}

.nav-divider {
    height: 1px;
    margin: 12px 8px 3px;
    background: rgba(255, 255, 255, 0.12);
}

/* Sidebar bottom */

.sidebar-bottom {
    flex-shrink: 0;
    padding: 13px 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-help {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
}

.help-icon {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 107, 0, 0.17);
    color: #ffb078;
}

.sidebar-help strong,
.sidebar-help span {
    display: block;
}

.sidebar-help strong {
    margin-bottom: 4px;
    font-size: 12px;
}

.sidebar-help span {
    color: #b8cbe2;
    font-size: 11px;
}

.logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 43px;
    padding: 11px;
    border: 1px solid rgba(255, 107, 0, 0.55);
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.logout-button:hover {
    background: var(--orange-dark);
}

/* Main area */

.main-area {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Top header */

.top-header {
    position: sticky;
    top: 0;
    z-index: 500;
    min-height: var(--header-height);
    padding: 17px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 12px rgba(15, 42, 78, 0.025);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.menu-toggle {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.menu-toggle:hover {
    border-color: #b7cce5;
    background: #edf4ff;
}

.page-heading h1 {
    margin: 0;
    color: var(--navy);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.page-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8faff;
    color: #52647c;
    font-size: 12px;
    white-space: nowrap;
}

.header-date i {
    color: var(--navy);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.user-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #d7e7fc;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--navy);
}

.user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-info strong {
    max-width: 180px;
    overflow: hidden;
    color: #26374d;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-info span {
    color: var(--muted);
    font-size: 10px;
}

/* Main content */

.content-area {
    flex: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 29px 30px 35px;
}

.content-area > :first-child {
    margin-top: 0;
}

.app-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
}

.app-alert-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.app-alert-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

/* Common reusable cards */

.dashboard-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 4px 16px rgba(15, 42, 78, 0.035);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid #edf1f6;
}

.dashboard-card-header h2,
.dashboard-card-header h3 {
    margin: 0;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
}

.dashboard-card-body {
    padding: 20px;
}

/* Reusable buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--navy-dark);
}

.btn-orange {
    background: var(--orange);
    color: #fff;
}

.btn-orange:hover {
    background: var(--orange-dark);
}

.btn-outline {
    border-color: var(--border);
    background: #fff;
    color: var(--navy);
}

.btn-outline:hover {
    border-color: var(--navy);
    background: #f5f8ff;
}

/* Reusable tables */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #edf1f6;
    font-size: 12px;
    white-space: nowrap;
}

.data-table th {
    background: #f7f9fd;
    color: #52647c;
    font-weight: 700;
}

.data-table td {
    color: #34445a;
}

.data-table tbody tr:hover {
    background: #fafcff;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Footer */

.app-footer {
    min-height: 58px;
    padding: 17px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.app-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}



.app-footer a{
    color:blue;
}
/* Sidebar overlay */

.sidebar-overlay {
    display: none;
}

/* Tablet */

@media (max-width: 1100px) {
    .top-header {
        padding-right: 22px;
        padding-left: 22px;
    }

    .content-area {
        padding-right: 22px;
        padding-left: 22px;
    }

    .header-date {
        display: none;
    }

    .user-profile {
        padding-left: 12px;
    }
}

/* Mobile */

@media (max-width: 760px) {
    .sidebar {
        width: min(290px, 86vw);
        transform: translateX(-105%);
        box-shadow: none;
    }

    .app-shell.sidebar-open .sidebar {
        transform: translateX(0);
        box-shadow: 10px 0 35px rgba(5, 43, 89, 0.2);
    }

    .sidebar-close {
        display: grid;
        place-items: center;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 900;
        background: rgba(8, 24, 45, 0.45);
        opacity: 0;
        visibility: hidden;
        display: block;
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .app-shell.sidebar-open .sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    .main-area {
        margin-left: 0;
    }

    .top-header {
        min-height: 75px;
        padding: 13px 16px;
        gap: 10px;
    }

    .header-left,
    .header-right {
        gap: 10px;
    }

    .page-heading h1 {
        font-size: 18px;
    }

    .page-heading p {
        font-size: 11px;
    }

    .user-profile {
        padding-left: 10px;
        border-left: 0;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .user-info {
        display: none;
    }

    .content-area {
        padding: 22px 16px 27px;
    }

    .app-footer {
        align-items: flex-start;
        padding: 16px;
        flex-direction: column;
    }
}

/* Small mobile */

@media (max-width: 420px) {
    .top-header {
        padding-right: 12px;
        padding-left: 12px;
    }

    .menu-toggle {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
    }

    .page-heading h1 {
        font-size: 16px;
    }

    .content-area {
        padding-right: 12px;
        padding-left: 12px;
    }

    .dashboard-card-header {
        padding: 14px;
    }

    .dashboard-card-body {
        padding: 14px;
    }
}

/* Reduced motion preference */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


    /* Support section: two-column layout */
    #dashboard-support .ds-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 22px;
        align-items: stretch;
    }

    /* YouTube playlist card */
    #dashboard-support .ds-video-card {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 26px;
        padding: 30px;
        overflow: hidden;
        border-radius: 20px;
        color: #fff;
        background: linear-gradient(135deg, #1b2a6b 0%, #2447e8 55%, #7c3aed 100%);
        box-shadow: 0 14px 30px rgba(36, 71, 232, .22);
    }

    /* Soft decorative circles */
    #dashboard-support .ds-video-card::before,
    #dashboard-support .ds-video-card::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, .08);
        pointer-events: none;
    }

    #dashboard-support .ds-video-card::before {
        width: 220px;
        height: 220px;
        top: -80px;
        right: -70px;
    }

    #dashboard-support .ds-video-card::after {
        width: 150px;
        height: 150px;
        bottom: -60px;
        left: -40px;
    }

    #dashboard-support .ds-video-top,
    #dashboard-support .ds-video-body,
    #dashboard-support .ds-video-footer {
        position: relative;
        z-index: 1;
    }

    #dashboard-support .ds-video-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    #dashboard-support .ds-video-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        border-radius: 16px;
        background: #ff0000;
        color: #fff;
        font-size: 28px;
        box-shadow: 0 8px 18px rgba(255, 0, 0, .35);
    }

    #dashboard-support .ds-video-badge {
        padding: 7px 13px;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 999px;
        background: rgba(255, 255, 255, .14);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

    #dashboard-support .ds-video-label {
        margin: 0 0 8px;
        color: #dbe7ff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    #dashboard-support .ds-video-title {
        margin: 0;
        color: #fff;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.35;
    }

    #dashboard-support .ds-video-subtitle {
        margin: 10px 0 0;
        color: #e6edff;
        font-size: 14px;
        line-height: 1.6;
    }

    #dashboard-support .ds-video-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 18px;
    }

    #dashboard-support .ds-video-chip {
        padding: 6px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .16);
        font-size: 12px;
        font-weight: 700;
    }

    #dashboard-support .ds-video-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
    }

    #dashboard-support .ds-video-subscribe {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    #dashboard-support .ds-video-btn {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 12px 22px;
        border-radius: 12px;
        background: #fff;
        color: #1b2a6b !important;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    #dashboard-support .ds-video-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 22px rgba(0, 0, 0, .24);
    }

    #dashboard-support .ds-video-btn:focus-visible {
        outline: 3px solid rgba(255, 255, 255, .6);
        outline-offset: 3px;
    }

    @media (max-width: 992px) {
        #dashboard-support .ds-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        #dashboard-support .ds-video-card {
            padding: 22px;
        }

        #dashboard-support .ds-video-title {
            font-size: 19px;
        }

        #dashboard-support .ds-video-btn {
            width: 100%;
            justify-content: center;
        }
    }

/* Dashboard welcome section */
.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 32px;
    margin-bottom: 28px;
    color: #fff;
    background: linear-gradient(120deg, #073b78, #0c559e);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(7, 59, 120, 0.12);
}

.welcome-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffb36f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome-content h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 27px;
    font-weight: 750;
}

.welcome-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.7;
}

.welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    font-size: 42px;
}

/* Section heading */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading h3,
.panel-heading h3 {
    margin: 0 0 6px;
    color: #1e293b;
    font-size: 17px;
    font-weight: 750;
}

.section-heading p,
.panel-heading p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

/* Overview cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 22px 18px;
    color: inherit;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 15px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 45, 85, 0.08);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 19px;
}

.stat-icon.blue {
    color: #1765bd;
    background: #e8f2ff;
}

.stat-icon.orange {
    color: #ed7600;
    background: #fff0df;
}

.stat-icon.green {
    color: #159568;
    background: #e2f8ef;
}

.stat-icon.purple {
    color: #7753d7;
    background: #f0eaff;
}

.stat-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.stat-title {
    color: #1e293b;
    font-size: 14px;
    font-weight: 750;
}

.stat-description {
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.stat-arrow {
    align-self: flex-start;
    color: #94a3b8;
    font-size: 12px;
}

/* Lower dashboard panels */
.dashboard-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 22px;
}

.dashboard-panel {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.panel-heading-icon {
    color: #ff6b00;
    font-size: 20px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    color: #334155;
    border-bottom: 1px solid #edf1f6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.quick-action:last-child {
    border-bottom: 0;
}

.quick-action > span:nth-child(2) {
    flex: 1;
}

.quick-action > i {
    color: #94a3b8;
    font-size: 12px;
}

.quick-action:hover {
    color: #073b78;
}

.quick-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #073b78;
    background: #edf4fd;
    border-radius: 10px;
}

.account-info-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f6;
}

.account-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #073b78;
    background: #edf4fd;
    border-radius: 11px;
}

.account-info-row > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.account-info-label {
    color: #64748b;
    font-size: 12px;
}

.account-info-row strong {
    overflow-wrap: anywhere;
    color: #1e293b;
    font-size: 13px;
}

.account-security-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 12px;
    color: #147d55;
    background: #eaf8f1;
    border-radius: 10px;
    font-size: 12px;
}

/* Responsive dashboard */
@media (max-width: 1200px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-welcome {
        padding: 24px 20px;
    }

    .welcome-content h2 {
        font-size: 22px;
    }

    .welcome-icon {
        width: 65px;
        height: 65px;
        border-radius: 15px;
        font-size: 27px;
    }

    .dashboard-lower-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panel {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-welcome {
        gap: 12px;
        padding: 20px 16px;
    }

    .welcome-content h2 {
        font-size: 19px;
    }

    .welcome-content p {
        font-size: 12px;
    }

    .welcome-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 17px;
    }
}

/* ==========================================================
   ALC DASHBOARD — ATTRACTIVE COLOUR & POLISH ENHANCEMENTS
   Append-only overrides; preserves the existing layout.
   ========================================================== */

:root {
    --alc-blue: #164e9b;
    --alc-blue-dark: #0a2f63;
    --alc-orange: #f97316;
    --alc-green: #059669;
    --alc-purple: #7c3aed;
    --alc-cyan: #0891b2;
    --alc-card-shadow: 0 10px 28px rgba(15, 42, 79, 0.07);
    --alc-card-shadow-hover: 0 18px 38px rgba(15, 42, 79, 0.13);
}

body {
    background:
        radial-gradient(
            ellipse at 5% 0%,
            rgba(59, 130, 246, 0.055),
            transparent 32%
        ),
        #f4f7fc;
}

.main-content,
.main-container,
.content-area {
    min-width: 0;
}

.dashboard-welcome {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 32px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    background: linear-gradient(120deg, #082f68 0%, #1455a4 58%, #2877cf 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(7, 59, 120, 0.2);
}

.dashboard-welcome::before,
.dashboard-welcome::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-welcome::before {
    width: 250px;
    height: 250px;
    right: 8%;
    top: -145px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    box-shadow:
        0 0 0 28px rgba(255, 255, 255, 0.035),
        0 0 0 58px rgba(255, 255, 255, 0.025);
}

.dashboard-welcome::after {
    width: 170px;
    height: 170px;
    right: -45px;
    bottom: -110px;
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-welcome .welcome-label {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #eaf3ff;
    font-size: 10px;
    letter-spacing: 1.8px;
}

.dashboard-welcome .welcome-content h2 {
    color: #fff;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.dashboard-welcome .welcome-content p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 14px;
}

.dashboard-welcome .welcome-icon {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 39px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.section-heading,
.dashboard-section-heading {
    margin-bottom: 16px;
}

.section-heading h3,
.dashboard-section-heading h3 {
    color: #142d4f;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.25px;
}

.section-heading p,
.dashboard-section-heading p {
    color: #718096;
}

.dashboard-stats {
    gap: 18px;
    margin-bottom: 30px;
}

.stat-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 142px;
    padding: 23px 20px;
    border: 1px solid #e5ebf4;
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--alc-card-shadow);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.stat-card::before {
    position: absolute;
    z-index: -1;
    right: -26px;
    top: -34px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--stat-tint, #eff6ff);
    content: "";
    transition: transform 0.25s ease;
}

.stat-card::after {
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 0 5px 5px 0;
    background: var(--stat-accent, #2563eb);
    content: "";
}

.dashboard-stats .stat-card:nth-child(1) {
    --stat-accent: #2563eb;
    --stat-tint: #e8f1ff;
}
.dashboard-stats .stat-card:nth-child(2) {
    --stat-accent: #f97316;
    --stat-tint: #fff0e5;
}
.dashboard-stats .stat-card:nth-child(3) {
    --stat-accent: #059669;
    --stat-tint: #ddf8ed;
}
.dashboard-stats .stat-card:nth-child(4) {
    --stat-accent: #7c3aed;
    --stat-tint: #f0e8ff;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--stat-accent, #2563eb) 30%, white);
    box-shadow: var(--alc-card-shadow-hover);
}

.stat-card:hover::before {
    transform: scale(1.22);
}

.stat-icon {
    width: 49px;
    height: 49px;
    border-radius: 15px;
    font-size: 20px;
    box-shadow: 0 7px 15px rgba(15, 42, 79, 0.09);
}

.stat-icon.blue {
    background: #e7f0ff;
    color: #1d4ed8;
}
.stat-icon.orange {
    background: #fff0e4;
    color: #ea580c;
}
.stat-icon.green {
    background: #dcfce7;
    color: #047857;
}
.stat-icon.purple {
    background: #f0e7ff;
    color: #6d28d9;
}

.stat-title {
    color: #193454;
    font-size: 15px;
    font-weight: 800;
}

.stat-description {
    color: #718096;
    line-height: 1.55;
}

.stat-arrow {
    color: var(--stat-accent, #2563eb);
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.stat-card:hover .stat-arrow {
    transform: translate(3px, -3px);
}

.dashboard-lower-grid {
    gap: 22px;
    margin-bottom: 28px;
}

.dashboard-panel {
    border: 1px solid #e5ebf4;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 42, 79, 0.045);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.dashboard-panel:hover {
    box-shadow: 0 12px 28px rgba(15, 42, 79, 0.075);
}

.panel-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f7;
}

.panel-heading h3 {
    color: #193454;
    font-size: 16px;
    font-weight: 800;
}

.panel-heading p {
    color: #7b8798;
    font-size: 12px;
}

.panel-heading-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #fff0e5;
    color: #ea580c;
    font-size: 17px;
}

.quick-actions {
    gap: 4px;
}

.quick-action {
    min-height: 57px;
    padding: 9px 10px;
    border-radius: 11px;
    color: #34465f;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.quick-action:hover {
    transform: translateX(3px);
    background: #f2f7ff;
    color: #164e9b;
}

.quick-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eaf2ff;
    color: #1d4ed8;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.quick-action:nth-child(2) .quick-action-icon {
    background: #fff0e5;
    color: #ea580c;
}
.quick-action:nth-child(3) .quick-action-icon {
    background: #dcfce7;
    color: #047857;
}
.quick-action:nth-child(4) .quick-action-icon {
    background: #f0e7ff;
    color: #6d28d9;
}
.quick-action:nth-child(5) .quick-action-icon {
    background: #cffafe;
    color: #0e7490;
}

.quick-action > span:nth-child(2) {
    font-weight: 700;
}

.account-info-row {
    padding: 15px 4px;
    border-bottom: 1px solid #edf1f7;
}

.account-info-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: #edf4ff;
    color: #164e9b;
}

.account-info-row:nth-child(2) .account-info-icon {
    background: #f0e7ff;
    color: #6d28d9;
}

.account-info-row:nth-child(3) .account-info-icon {
    background: #dcfce7;
    color: #047857;
}

.account-info-label {
    color: #8290a3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.account-info-row strong {
    color: #193454;
    font-size: 13px;
}

.account-security-note {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-size: 12px;
}

.dashboard-shortcuts {
    gap: 15px;
}

.dashboard-shortcut {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    padding: 18px;
    border: 1px solid #e5ebf4;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 5px 16px rgba(15, 42, 79, 0.035);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-shortcut::after {
    position: absolute;
    right: -22px;
    bottom: -30px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--shortcut-tint, #eff6ff);
    content: "";
    pointer-events: none;
}

.dashboard-shortcut:nth-child(4n + 1) {
    --shortcut-accent: #2563eb;
    --shortcut-tint: #e8f1ff;
}
.dashboard-shortcut:nth-child(4n + 2) {
    --shortcut-accent: #ea580c;
    --shortcut-tint: #fff0e5;
}
.dashboard-shortcut:nth-child(4n + 3) {
    --shortcut-accent: #059669;
    --shortcut-tint: #dcfce7;
}
.dashboard-shortcut:nth-child(4n) {
    --shortcut-accent: #7c3aed;
    --shortcut-tint: #f0e7ff;
}

.dashboard-shortcut[href]:hover {
    transform: translateY(-4px);
    border-color: var(--shortcut-accent, #2563eb);
    box-shadow: 0 13px 25px rgba(15, 42, 79, 0.1);
}

.dashboard-shortcut-icon {
    position: relative;
    z-index: 1;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: var(--shortcut-tint, #e8f1ff);
    color: var(--shortcut-accent, #2563eb);
    font-size: 18px;
}

.dashboard-shortcut-label {
    position: relative;
    z-index: 1;
    color: #233a58;
}

.dashboard-shortcut.is-pending {
    background: #fbfcfe;
    box-shadow: none;
}

.dashboard-shortcut.is-pending .dashboard-shortcut-icon {
    background: #eef2f7;
    color: #8491a3;
}

.shortcut-status {
    position: relative;
    z-index: 1;
    color: #8793a4;
}

.overview-table tr:hover {
    background: #f8fbff;
}

.overview-table th {
    color: #77869a;
}

.overview-table td {
    color: #213a59;
}

.dashboard-empty-state {
    background: linear-gradient(145deg, #fbfdff, #f5f8fc);
}

.dashboard-empty-state i {
    color: #3477c8;
}

.dashboard-contact-item > i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    margin-top: 0;
    border-radius: 11px;
    background: #edf4ff;
    color: #164e9b;
}

.dashboard-contact-item:nth-child(2n) > i {
    background: #fff0e5;
    color: #ea580c;
}

.dashboard-contact-item a {
    text-decoration: none;
}

.dashboard-contact-item a:hover {
    text-decoration: underline;
}

.dashboard-manual-links a {
    border-color: #dce6f3;
    border-radius: 10px;
    background: #fff;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.dashboard-manual-links a:hover {
    transform: translateY(-1px);
    border-color: #9bbbe6;
    background: #f2f7ff;
}

.dashboard-section {
    margin-top: 30px;
}

@media (max-width: 760px) {
    .dashboard-welcome {
        padding: 24px 21px;
        border-radius: 16px;
    }

    .dashboard-welcome .welcome-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 28px;
    }

    .dashboard-stats {
        gap: 13px;
    }

    .stat-card {
        min-height: 125px;
        padding: 17px 15px;
        border-radius: 14px;
    }

    .dashboard-shortcuts {
        gap: 12px;
    }

    .dashboard-shortcut {
        min-height: 120px;
        padding: 15px;
    }
}

@media (max-width: 420px) {
    .dashboard-welcome {
        padding: 21px 17px;
    }

    .dashboard-welcome .welcome-content h2 {
        font-size: 22px;
    }

    .dashboard-welcome .welcome-content p {
        font-size: 12px;
    }

    .dashboard-panel {
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-card,
    .stat-card::before,
    .stat-arrow,
    .dashboard-shortcut,
    .quick-action,
    .dashboard-panel {
        transition: none !important;
    }
}

/* Dashboard additions; existing master design remains unchanged */

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.welcome-content {
    min-width: 0;
}

.welcome-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.welcome-content h2 {
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.welcome-content p {
    margin-bottom: 0;
    line-height: 1.7;
}

.welcome-icon {
    flex-shrink: 0;
}

.dashboard-stats {
    margin-bottom: 26px;
}

.dashboard-section {
    margin-top: 26px;
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard-section-heading h3 {
    margin: 0 0 5px;
}

.dashboard-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-shortcut {
    display: flex;
    min-width: 0;
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #fff;
    color: #1e293b;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-shortcut[href]:hover {
    transform: translateY(-2px);
    border-color: #073b78;
    box-shadow: 0 8px 20px rgba(7, 59, 120, 0.08);
}

.dashboard-shortcut-icon {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf4ff;
    color: #073b78;
    font-size: 17px;
}

.dashboard-shortcut-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.dashboard-shortcut.is-pending {
    background: #f8fafc;
    border-style: dashed;
}

.shortcut-status {
    margin-top: auto;
    color: #64748b;
    font-size: 11px;
}

.dashboard-information-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.dashboard-panel {
    min-width: 0;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
}

.overview-table th,
.overview-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e8edf4;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.overview-table th {
    width: 36%;
    color: #64748b;
    font-weight: 600;
}

.overview-table td {
    color: #1e293b;
    font-weight: 600;
}

.dashboard-empty-state {
    padding: 22px 14px;
    border: 1px dashed #dbe3ee;
    border-radius: 10px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.dashboard-empty-state i {
    display: block;
    margin-bottom: 10px;
    color: #073b78;
    font-size: 23px;
}

.dashboard-contact-list {
    display: grid;
    gap: 0;
}

.dashboard-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #e8edf4;
}

.dashboard-contact-item:last-child {
    border-bottom: 0;
}

.dashboard-contact-item > i {
    width: 18px;
    margin-top: 3px;
    color: #073b78;
    text-align: center;
}

.dashboard-contact-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.dashboard-contact-item a {
    color: #073b78;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dashboard-manual-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.dashboard-manual-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    color: #073b78;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-manual-links a:hover {
    border-color: #073b78;
    background: #f2f6fc;
}

.dashboard-note {
    margin-top: 12px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .dashboard-shortcuts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dashboard-information-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .dashboard-shortcuts {
        grid-template-columns: 1fr;
    }

    .dashboard-shortcut {
        min-height: auto;
    }

    .dashboard-welcome {
        align-items: flex-start;
    }

    .welcome-icon {
        display: none;
    }
}

/* Refined dashboard visual polish */
.dashboard-welcome {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 32px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: linear-gradient(120deg, #082f68 0%, #1455a4 58%, #2877cf 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(7, 59, 120, 0.2);
}
.dashboard-welcome::before,
.dashboard-welcome::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}
.dashboard-welcome::before {
    width: 230px;
    height: 230px;
    right: 8%;
    top: -140px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 0 0 28px rgba(255, 255, 255, 0.035),
        0 0 0 58px rgba(255, 255, 255, 0.025);
}
.dashboard-welcome::after {
    width: 150px;
    height: 150px;
    right: -35px;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.08);
}
.dashboard-welcome .welcome-label {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #eaf3ff;
    font-size: 10px;
    letter-spacing: 1.8px;
}
.dashboard-welcome .welcome-content h2 {
    color: #fff;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
}
.dashboard-welcome .welcome-content p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 14px;
}
.dashboard-welcome .welcome-icon {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 36px;
    backdrop-filter: blur(8px);
}
.dashboard-stats .stat-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #e5ebf4;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 42, 79, 0.07);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}
.dashboard-stats .stat-card::before {
    position: absolute;
    z-index: -1;
    right: -26px;
    top: -34px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--stat-tint, #eff6ff);
    content: "";
    transition: transform 0.25s ease;
}
.dashboard-stats .stat-card::after {
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 0 5px 5px 0;
    background: var(--stat-accent, #2563eb);
    content: "";
}
.dashboard-stats .stat-card:nth-child(1) {
    --stat-accent: #2563eb;
    --stat-tint: #e8f1ff;
}
.dashboard-stats .stat-card:nth-child(2) {
    --stat-accent: #f97316;
    --stat-tint: #fff0e5;
}
.dashboard-stats .stat-card:nth-child(3) {
    --stat-accent: #059669;
    --stat-tint: #ddf8ed;
}
.dashboard-stats .stat-card:nth-child(4) {
    --stat-accent: #7c3aed;
    --stat-tint: #f0e8ff;
}
.dashboard-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(15, 42, 79, 0.13);
}
.dashboard-stats .stat-card:hover::before {
    transform: scale(1.22);
}
.dashboard-stats .stat-icon {
    width: 49px;
    height: 49px;
    border-radius: 15px;
}
.dashboard-stats .stat-icon.blue {
    background: #e7f0ff;
    color: #1d4ed8;
}
.dashboard-stats .stat-icon.orange {
    background: #fff0e4;
    color: #ea580c;
}
.dashboard-stats .stat-icon.green {
    background: #dcfce7;
    color: #047857;
}
.dashboard-stats .stat-icon.purple {
    background: #f0e7ff;
    color: #6d28d9;
}
.dashboard-stats .stat-title {
    color: #193454;
    font-weight: 800;
}
.dashboard-stats .stat-description {
    color: #718096;
}
.dashboard-stats .stat-arrow {
    color: var(--stat-accent, #2563eb);
}
.dashboard-panel {
    border: 1px solid #e5ebf4;
    border-radius: 17px;
    box-shadow: 0 7px 22px rgba(15, 42, 79, 0.045);
}
.panel-heading {
    border-bottom: 1px solid #edf1f7;
    padding-bottom: 16px;
}
.panel-heading h3 {
    color: #193454;
    font-weight: 800;
}
.panel-heading-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #fff0e5;
    color: #ea580c;
}
.quick-action {
    border-radius: 11px;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}
.quick-action:hover {
    transform: translateX(3px);
    background: #f2f7ff;
    color: #164e9b;
}
.quick-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}
.quick-action:nth-child(2) .quick-action-icon {
    background: #fff0e5;
    color: #ea580c;
}
.quick-action:nth-child(3) .quick-action-icon {
    background: #dcfce7;
    color: #047857;
}
.quick-action:nth-child(4) .quick-action-icon {
    background: #f0e7ff;
    color: #6d28d9;
}
.quick-action:nth-child(5) .quick-action-icon {
    background: #cffafe;
    color: #0e7490;
}
.dashboard-shortcut {
    position: relative;
    overflow: hidden;
    border-color: #e5ebf4;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 5px 16px rgba(15, 42, 79, 0.035);
}
.dashboard-shortcut:nth-child(4n + 1) {
    --shortcut-accent: #2563eb;
    --shortcut-tint: #e8f1ff;
}
.dashboard-shortcut:nth-child(4n + 2) {
    --shortcut-accent: #ea580c;
    --shortcut-tint: #fff0e5;
}
.dashboard-shortcut:nth-child(4n + 3) {
    --shortcut-accent: #059669;
    --shortcut-tint: #dcfce7;
}
.dashboard-shortcut:nth-child(4n) {
    --shortcut-accent: #7c3aed;
    --shortcut-tint: #f0e7ff;
}
.dashboard-shortcut-icon {
    background: var(--shortcut-tint, #e8f1ff);
    color: var(--shortcut-accent, #2563eb);
    border-radius: 13px;
}
.dashboard-shortcut[href]:hover {
    transform: translateY(-4px);
    border-color: var(--shortcut-accent, #2563eb);
    box-shadow: 0 13px 25px rgba(15, 42, 79, 0.1);
}
.dashboard-shortcut.is-pending {
    background: #fbfcfe;
}
.dashboard-shortcut.is-pending .dashboard-shortcut-icon {
    background: #eef2f7;
    color: #8491a3;
}
.overview-table tr:hover {
    background: #f8fbff;
}
.dashboard-empty-state {
    background: linear-gradient(145deg, #fbfdff, #f5f8fc);
}
.dashboard-contact-item > i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    margin-top: 0;
    border-radius: 11px;
    background: #edf4ff;
    color: #164e9b;
}
.dashboard-contact-item:nth-child(2n) > i {
    background: #fff0e5;
    color: #ea580c;
}
.dashboard-contact-item a {
    text-decoration: none;
}
.dashboard-contact-item a:hover {
    text-decoration: underline;
}
.dashboard-manual-links a {
    border-radius: 10px;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}
.dashboard-manual-links a:hover {
    transform: translateY(-1px);
    background: #f2f7ff;
}
@media (max-width: 760px) {
    .dashboard-welcome {
        padding: 24px 21px;
        border-radius: 16px;
    }
    .dashboard-welcome .welcome-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}
@media (max-width: 420px) {
    .dashboard-welcome {
        padding: 21px 17px;
    }
    .dashboard-welcome .welcome-content h2 {
        font-size: 22px;
    }
    .dashboard-welcome .welcome-content p {
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-stats .stat-card,
    .dashboard-stats .stat-card::before,
    .dashboard-shortcut,
    .quick-action {
        transition: none !important;
    }
}
/* notice module css */

.notice-page {
    padding: 24px;
    color: #1e293b;
    font-family: inherit;
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    margin-bottom: 24px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(120deg, #172554, #1d4ed8);
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.15);
}

.notice-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.8;
}

.notice-header h2 {
    color: #fff;
    margin: 9px 0;
    font-size: 27px;
    font-weight: 750;
}

.notice-header p {
    color: #dbeafe;
    margin: 0;
    font-size: 14px;
}

.notice-header-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 27px;
}

.notice-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}

.notice-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 23px 25px;
    border-bottom: 1px solid #edf1f7;
}

.notice-card-heading h4 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 750;
}

.notice-card-heading span {
    color: #8490a3;
    font-size: 12px;
}

.notice-count {
    padding: 8px 12px;
    border-radius: 30px;
    background: #eff6ff;
    color: #1d4ed8 !important;
    font-weight: 700;
    white-space: nowrap;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 23px 25px;
    border-bottom: 1px solid #f0f3f8;
    transition: background 0.2s ease;
}

.notice-item:hover {
    background: #f8fbff;
}

.notice-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 17px;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-content h5 {
    margin: 1px 0 8px;
    font-size: 15px;
    font-weight: 750;
    color: #172554;
    overflow-wrap: anywhere;
}

.notice-content p {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.notice-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #8490a3;
    font-size: 11px;
}

.notice-meta i {
    margin-right: 4px;
}

.notice-type {
    padding: 4px 9px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569 !important;
    font-weight: 700;
}

.notice-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    padding: 10px 13px;
    color: #1d4ed8;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notice-view-btn:hover {
    color: #fff;
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.notice-empty {
    padding: 65px 20px;
    text-align: center;
}

.notice-empty-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 17px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 25px;
}

.notice-empty h4 {
    margin: 0 0 8px;
    font-size: 17px;
}

.notice-empty p {
    margin: 0;
    color: #8490a3;
    font-size: 13px;
}

/* Pagination */
.notice-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
    background: #fff;
}

.notice-pagination nav {
    width: 100%;
    min-width: 0;
}

.notice-pagination nav > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.notice-pagination nav p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.notice-pagination nav a,
.notice-pagination nav span {
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.notice-pagination nav a {
    color: #1d4ed8;
}

.notice-pagination nav a:hover {
    color: #172554;
}

.notice-pagination nav svg {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    vertical-align: middle;
}

.notice-pagination nav a svg,
.notice-pagination nav span svg {
    width: 16px !important;
    height: 16px !important;
}

/* Notice modal */
.notice-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
}

.notice-modal-overlay.is-open {
    display: flex;
}

.notice-modal {
    width: 100%;
    max-width: 610px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: noticeModalIn 0.22s ease-out;
}

@keyframes noticeModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notice-modal-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px 24px;
    color: #fff;
    background: linear-gradient(120deg, #172554, #1d4ed8);
}

.notice-modal-heading-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 19px;
}

.notice-modal-heading {
    flex: 1;
    min-width: 0;
}

.notice-modal-heading span {
    font-size: 9px;
    letter-spacing: 1.5px;
    opacity: 0.8;
    font-weight: 700;
}

.notice-modal-heading h3 {
    color: #fff;
    margin: 5px 0 0;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.notice-modal-close {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}

.notice-modal-body {
    padding: 25px;
    overflow-y: auto;
}

.notice-modal-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.notice-description {
    color: #475569;
    font-size: 14px;
    line-height: 1.85;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.notice-modal-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 17px 24px;
    border-top: 1px solid #edf1f7;
    background: #fafcff;
}

.notice-read-later,
.notice-mark-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9px;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notice-read-later {
    border: 1px solid #dbe3ee;
    color: #475569;
    background: #fff;
}

.notice-read-later:hover {
    background: #f1f5f9;
}

.notice-mark-read {
    border: 1px solid #1d4ed8;
    color: #fff;
    background: #1d4ed8;
}

.notice-mark-read:hover {
    background: #1e40af;
}

.notice-mark-read:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 650px) {
    .notice-page {
        padding: 12px;
    }

    .notice-header {
        padding: 22px 18px;
    }

    .notice-header h2 {
        font-size: 21px;
    }

    .notice-header-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .notice-item {
        padding: 18px 15px;
        gap: 11px;
        flex-wrap: wrap;
    }

    .notice-icon {
        width: 38px;
        height: 38px;
    }

    .notice-content {
        width: calc(100% - 50px);
        flex: initial;
    }

    .notice-view-btn {
        margin-left: 49px;
    }

    .notice-card-heading {
        padding: 19px 15px;
    }

    .notice-pagination {
        padding: 16px 12px;
    }

    .notice-pagination nav > div {
        gap: 10px;
    }

    .notice-modal-header {
        padding: 18px 16px;
    }

    .notice-modal-body {
        padding: 20px 17px;
    }

    .notice-modal-footer {
        padding: 14px 16px;
    }

    .notice-read-later,
    .notice-mark-read {
        flex: 1;
        padding: 11px 9px;
    }
}

/* Previous / Next buttons side-by-side */
.notice-pagination nav > div:last-child {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.notice-pagination nav > div:last-child > a,
.notice-pagination nav > div:last-child > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 90px;
    padding: 9px 14px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.notice-pagination nav > div:last-child > a:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}

.notice-pagination nav > div:last-child > span {
    color: #94a3b8 !important;
    background: #f8fafc !important;
}

.notice-pagination nav > div:last-child svg {
    width: 16px !important;
    height: 16px !important;
}

@media (max-width: 576px) {
    .notice-pagination nav > div:last-child {
        justify-content: center !important;
    }

    .notice-pagination nav > div:last-child > a,
    .notice-pagination nav > div:last-child > span {
        min-width: 80px;
        padding: 8px 10px !important;
    }
}

/* Pagination: Previous left, Next right */
.notice-pagination nav > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Hide unnecessary pagination summary */
.notice-pagination nav > div:first-child {
    display: none !important;
}

/* Previous and Next container */
.notice-pagination nav > div:last-child {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px !important;
}

/* Remove bullet points and list spacing */
.notice-pagination ul {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.notice-pagination li {
    list-style: none !important;
    margin: 0 !important;
}

/* Button styling */
.notice-pagination a,
.notice-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    min-width: 100px;
    padding: 10px 16px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #1d4ed8 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Hover */
.notice-pagination a:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}

/* Small arrow icons */
.notice-pagination svg {
    width: 16px !important;
    height: 16px !important;
}

/* Mobile */
@media (max-width: 576px) {
    .notice-pagination {
        padding: 16px 12px !important;
    }

    .notice-pagination a,
    .notice-pagination span {
        min-width: 85px;
        padding: 9px 12px !important;
    }
}

/* news & events index file css */

/* =========================================
       NEWS PAGE - BLUE & WHITE THEME
      ========================================= */

.news-page {
    padding: 24px 26px 30px;
    color: #29456d;
    background: #f4f8fe;
    font-family: inherit;
    min-height: 400px;
}

/* Page heading */

.news-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 3px 8px;
}

.news-heading-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: #2547c7;
    background: #e0e7ff;
    font-size: 30px;
}

.news-heading-text h2 {
    margin: 0 0 6px;
    color: #123c80;
    font-size: 27px;
    line-height: 1.35;
    font-weight: 600;
}

.news-heading-text p {
    margin: 0;
    color: #6685b6;
    font-size: 14px;
    line-height: 1.6;
}

/* Main container */

.news-container {
    background: #fff;
    border: 1px solid #e0eaff;
    border-radius: 13px;
    box-shadow: 0 4px 18px rgba(26, 76, 145, 0.045);
    padding: 25px 26px 18px;
    overflow: hidden;
}

/* Listing heading */

.news-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 23px;
    border-bottom: 1px solid #e4edfb;
}

.news-list-header h4 {
    margin: 0 0 5px;
    color: #123e83;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;
}

.news-list-header p {
    margin: 0;
    color: #6d8bbb;
    font-size: 14px;
    line-height: 1.6;
}

.news-count {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 22px;
    color: #0758b8;
    background: #e6f0ff;
    font-size: 12px;
    font-weight: 500;
}

/* Individual news row */

.news-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) minmax(190px, 0.58fr) 132px;
    align-items: start;
    gap: 18px;
    padding: 23px 6px;
    border-bottom: 1px solid #e3edfb;
    transition: background-color 0.2s ease;
}

.news-item:hover {
    background: #fbfdff;
}

.news-item:last-child {
    border-bottom: none;
}

/* News icons */

.news-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 17px;
    font-size: 30px;
}

.news-icon-purple {
    color: #7250cf;
    background: #eee8ff;
}

.news-icon-orange {
    color: #e9790b;
    background: #fff0df;
}

.news-icon-green {
    color: #2db58b;
    background: #e0f8ee;
}

/* Title and description */

.news-content {
    min-width: 0;
    padding-top: 1px;
}

.news-content h3 {
    margin: 0 0 7px;
    color: #10469c;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.news-description {
    margin: 0;
    color: #6584b4;
    font-size: 13.5px;
    line-height: 1.8;
    font-weight: 400;
    overflow-wrap: anywhere;
}

/* Date and category */

.news-details {
    min-width: 0;
    min-height: 76px;
    padding: 5px 0 5px 20px;
    border-left: 1px solid #e8effb;
}

.news-date {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #6584b4;
    font-size: 12.5px;
    line-height: 1.7;
}

.news-date i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #5b82bd;
    font-size: 14px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    color: #5c43d6;
    background: #e8e1ff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

/* Read More button */

.news-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 32px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 122px;
    padding: 11px 14px;
    border: 1px solid #0762c9;
    border-radius: 8px;
    color: #fff !important;
    background: #0861c5;
    box-shadow: 0 2px 5px rgba(8, 97, 197, 0.12);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.news-read-more:hover {
    color: #fff !important;
    background: #084da0;
    box-shadow: 0 3px 8px rgba(8, 77, 160, 0.17);
}

.news-read-more i {
    font-size: 16px;
}

/* Empty state */

.news-empty {
    padding: 48px 20px;
    text-align: center;
}

.news-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 14px;
    color: #4775b8;
    background: #edf4ff;
    font-size: 24px;
}

.news-empty h3 {
    margin: 0 0 7px;
    color: #254675;
    font-size: 17px;
    font-weight: 500;
}

.news-empty p {
    margin: 0;
    color: #7b91b1;
    font-size: 13px;
}

/* Pagination footer */

.news-pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid #e3edfb;
}

.news-pagination {
    min-width: 0;
}

.news-pagination nav {
    margin: 0;
}

.news-pagination .pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.news-pagination .page-item {
    margin: 0;
}

.news-pagination .page-link {
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #e6eefb;
    border-radius: 7px !important;
    color: #285c9e;
    background: #f0f5fd;
    font-size: 13px;
    box-shadow: none;
}

.news-pagination .page-item.active .page-link {
    border-color: #0861c5;
    color: #fff;
    background: #0861c5;
}

.news-pagination .page-item.disabled .page-link {
    color: #a5b5cc;
    background: #f6f8fc;
}

.news-pagination-info {
    color: #6c89b5;
    font-size: 12px;
    text-align: right;
}

/* Tablet */

@media (max-width: 1100px) {
    .news-page {
        padding: 20px;
    }

    .news-container {
        padding: 21px 20px 16px;
    }

    .news-item {
        grid-template-columns: 65px minmax(0, 1fr) minmax(160px, 0.55fr);
        gap: 15px;
    }

    .news-icon {
        width: 55px;
        height: 55px;
        border-radius: 13px;
        font-size: 23px;
    }

    .news-details {
        padding-left: 15px;
    }

    .news-action {
        grid-column: 2 / -1;
        padding-top: 0;
        justify-content: flex-start;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .news-page {
        padding: 14px 12px 22px;
    }

    .news-page-header {
        gap: 12px;
        margin-bottom: 20px;
        padding: 2px 0;
    }

    .news-heading-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 13px;
        font-size: 23px;
    }

    .news-heading-text h2 {
        font-size: 21px;
    }

    .news-heading-text p {
        font-size: 12px;
    }

    .news-container {
        padding: 17px 14px 14px;
        border-radius: 10px;
    }

    .news-list-header {
        padding-bottom: 17px;
    }

    .news-list-header h4 {
        font-size: 18px;
    }

    .news-list-header p {
        font-size: 12px;
    }

    .news-count {
        padding: 7px 10px;
        font-size: 10px;
    }

    .news-item {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 12px;
        padding: 19px 0;
    }

    .news-icon {
        width: 43px;
        height: 43px;
        border-radius: 11px;
        font-size: 19px;
    }

    .news-content h3 {
        font-size: 15px;
    }

    .news-description {
        font-size: 12.5px;
        line-height: 1.7;
    }

    .news-details {
        grid-column: 2;
        min-height: 0;
        padding: 0;
        border-left: none;
    }

    .news-date {
        margin-bottom: 8px;
        font-size: 11.5px;
    }

    .news-category {
        padding: 4px 12px;
        font-size: 11px;
    }

    .news-action {
        grid-column: 2;
        padding-top: 0;
    }

    .news-read-more {
        min-width: 112px;
        padding: 9px 12px;
    }

    .news-pagination-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-pagination-info {
        text-align: left;
    }
}

/* news & events show file css */

.news-detail-page {
    min-height: 400px;
    padding: 24px 26px 32px;
    color: #29456d;
    background: #f4f8fe;
    font-family: inherit;
}

.news-breadcrumb {
    margin-bottom: 20px;
}

.news-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #075bbb;
    font-size: 13px;
    text-decoration: none;
}

.news-breadcrumb a:hover {
    color: #063f88;
    text-decoration: underline;
}

.news-detail-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0eaff;
    border-radius: 13px;
    box-shadow: 0 4px 18px rgba(26, 76, 145, 0.045);
}

.news-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
}

.news-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    color: #2547c7;
    background: #e8edff;
    border-radius: 15px;
    font-size: 27px;
}

.news-detail-heading {
    min-width: 0;
    flex: 1;
}

.news-detail-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 13px;
    color: #5c43d6;
    background: #e8e1ff;
    border-radius: 20px;
    font-size: 11px;
}

.news-detail-heading h1 {
    margin: 0 0 12px;
    color: #123e83;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.news-detail-date {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #6685b6;
    font-size: 13px;
}

.news-detail-date i {
    color: #5b82bd;
}

.news-detail-divider {
    height: 1px;
    margin: 0 30px;
    background: #e3edfb;
}

.news-detail-body {
    padding: 28px 30px 34px;
}

.news-detail-body > h3 {
    margin: 0 0 17px;
    color: #123e83;
    font-size: 18px;
    font-weight: 500;
}

.news-detail-description {
    color: #5f7fae;
    font-size: 14px;
    line-height: 1.95;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

/* Event Gallery / Social Media Link */
.event-gallery {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e3edfb;
}

.event-gallery h3 {
    margin: 0 0 12px;
    color: #123e83;
    font-size: 18px;
    font-weight: 500;
}

.event-gallery-description {
    margin: 0 0 20px;
    color: #5f7fae;
    font-size: 13px;
    line-height: 1.8;
}

.event-gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 19px;
    color: #fff !important;
    background: #0861c5;
    border: 1px solid #0861c5;
    border-radius: 7px;
    font-size: 13px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.event-gallery-button:hover {
    color: #fff !important;
    background: #084da0;
    border-color: #084da0;
}

.event-gallery-external-icon {
    margin-left: 3px;
    font-size: 11px;
}

/* Footer */
.news-detail-footer {
    padding: 18px 30px;
    border-top: 1px solid #e3edfb;
    background: #fcfdff;
}

.news-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 16px;
    color: #fff !important;
    background: #0861c5;
    border: 1px solid #0861c5;
    border-radius: 7px;
    font-size: 12px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.news-back-button:hover {
    color: #fff !important;
    background: #084da0;
}

@media (max-width: 600px) {
    .news-detail-page {
        padding: 16px 12px 24px;
    }

    .news-detail-header {
        gap: 14px;
        padding: 20px 16px;
    }

    .news-detail-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 21px;
        border-radius: 11px;
    }

    .news-detail-heading h1 {
        font-size: 19px;
    }

    .news-detail-date {
        align-items: flex-start;
        font-size: 11px;
    }

    .news-detail-divider {
        margin: 0 16px;
    }

    .news-detail-body {
        padding: 22px 16px 26px;
    }

    .news-detail-body > h3,
    .event-gallery h3 {
        font-size: 16px;
    }

    .news-detail-description {
        font-size: 13px;
        line-height: 1.8;
    }

    .event-gallery-button {
        max-width: 100%;
        padding: 11px 14px;
        font-size: 12px;
    }

    .news-detail-footer {
        padding: 16px;
    }
}

/* student_list blade css */

/* =========================================
           STUDENT PAGE - MASTER DASHBOARD THEME
        ========================================= */

.student-page {
    width: 100%;
    min-width: 0;
    padding: 24px;
    color: #102e57;
    box-sizing: border-box;
}

.student-page *,
.student-page *::before,
.student-page *::after {
    box-sizing: border-box;
}

/* Banner */

.student-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 30px;
    margin: 0 0 24px;
    border-radius: 20px;
    background: linear-gradient(115deg, #192b60, #244bdc);
    color: #fff;
    box-shadow: 0 12px 30px rgba(36, 75, 220, 0.13);
}

.student-hero-content {
    min-width: 0;
}

.student-eyebrow {
    margin-bottom: 8px;
    color: #c7d4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.student-hero h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 750;
    line-height: 1.3;
}

.student-hero p {
    margin: 0;
    color: #e6ecff;
    font-size: 14px;
    line-height: 1.6;
}

.student-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 29px;
}

/* Main card */

.student-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6edf8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(27, 54, 93, 0.04);
}

.student-card-header,
.student-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 25px;
}

.student-card-header {
    border-bottom: 1px solid #edf1f8;
}

.student-card-header h4,
.student-table-heading h5 {
    margin: 0 0 5px;
    color: #102e57;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
}

.student-card-header p,
.student-table-heading p {
    margin: 0;
    color: #8494ad;
    font-size: 12px;
    line-height: 1.5;
}

.student-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 20px;
    background: #edf4ff;
    color: #2454e8;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Search section */

.student-filters {
    width: 100%;
    padding: 24px 25px;
    border-bottom: 1px solid #edf1f8;
    background: #f8faff;
}

.student-filter-form {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.student-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.8fr) minmax(190px, 1.2fr) minmax(170px, 1fr)
        minmax(190px, 1.1fr);
    align-items: end;
    gap: 18px;
    width: 100%;
}

.student-field {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.student-field label {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    color: #30496d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.student-page .student-field .form-control,
.student-page .student-field .form-select {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dce5f2;
    border-radius: 9px;
    background-color: #fff;
    color: #30496d;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: none;
}

.student-page .student-field .form-control {
    text-overflow: ellipsis;
}

.student-page .student-field .form-control::placeholder {
    color: #8796ad;
    opacity: 1;
}

.student-page .student-field .form-control:focus,
.student-page .student-field .form-select:focus {
    border-color: #4770ef;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(71, 112, 239, 0.1);
}

.student-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
}

/* Buttons */

.student-page .student-btn-primary,
.student-page .student-btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    margin: 0;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.student-page .student-btn-primary {
    border-color: #2454e8;
    background: #2454e8;
    color: #fff;
}

.student-page .student-btn-primary:hover:not(:disabled) {
    border-color: #1945d0;
    background: #1945d0;
    color: #fff;
}

.student-page .student-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.student-page .student-btn-reset {
    border-color: #dce5f2;
    background: #fff;
    color: #30496d;
}

.student-page .student-btn-reset:hover {
    border-color: #c8d7f3;
    background: #edf4ff;
    color: #2454e8;
}

/* Table heading */

.student-table-heading {
    border-bottom: 1px solid #edf1f8;
}

.student-register-btn {
    flex: 0 0 auto;
}

/* Table wrapper */

.student-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.student-page .student-table {
    width: 100%;
    min-width: 1250px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #30496d;
    font-size: 12px;
}

.student-page .student-table thead th {
    padding: 14px 13px;
    border: 0;
    border-bottom: 1px solid #e6edf8;
    background: #f4f7fd;
    color: #607492;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.student-page .student-table tbody td {
    padding: 15px 13px;
    border: 0;
    border-bottom: 1px solid #edf1f8;
    background: #fff;
    color: #30496d;
    font-size: 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.student-page .student-table tbody tr:last-child td {
    border-bottom: 0;
}

.student-page .student-table tbody tr:hover td {
    background: #f8faff;
}

.student-page .student-table .student-name {
    color: #102e57;
    font-weight: 700;
}

/* Status labels */

.student-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.student-status.status-complete,
.student-status.status-issued {
    background: #e7f8f0;
    color: #16845b;
}

.student-status.status-incomplete {
    background: #fff4db;
    color: #a66a0a;
}

.student-status.status-not-issued {
    background: #fff0f1;
    color: #b84252;
}

.student-action-pending {
    color: #8291a8;
    font-size: 11px;
    white-space: nowrap;
}

/* Empty state */

.student-page .student-table .student-empty-cell {
    padding: 0;
    white-space: normal;
}

.student-empty {
    padding: 55px 20px;
    text-align: center;
    color: #8494ad;
    white-space: normal;
}

.student-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 16px;
    background: #edf4ff;
    color: #4770ef;
    font-size: 24px;
}

.student-empty h5 {
    margin: 0 0 8px;
    color: #30496d;
    font-size: 16px;
    font-weight: 750;
}

.student-empty p {
    margin: 0 0 18px;
    color: #8494ad;
    font-size: 12px;
}

/* Pagination footer */

.student-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 20px;
    width: 100%;
    min-width: 0;
    min-height: 70px;
    padding: 17px 25px;
    border-top: 1px solid #edf1f8;
    background: #fff;
}

.student-pagination-info {
    flex: 0 1 auto;
    color: #8291a8;
    font-size: 12px;
    line-height: 1.6;
}

.student-pagination-info strong {
    color: #30496d;
    font-weight: 700;
}

.student-pagination-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

/* Laravel Bootstrap 5 pagination */

.student-pagination-nav nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.student-pagination-nav nav > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.student-pagination-nav nav > div > div:first-child {
    color: #8291a8;
    font-size: 12px;
}

.student-pagination-nav nav > div > div:last-child {
    display: flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.student-pagination-nav .pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.student-pagination-nav .page-item {
    display: inline-flex;
    margin: 0;
}

.student-pagination-nav .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    background: #fff;
    color: #2454e8;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
}

.student-pagination-nav .page-link:hover {
    border-color: #cbd8fa;
    background: #edf4ff;
    color: #1945d0;
}

.student-pagination-nav .page-item.active .page-link {
    border-color: #2454e8;
    background: #2454e8;
    color: #fff;
}

.student-pagination-nav .page-item.disabled .page-link {
    background: #f8faff;
    color: #a5b1c4;
    cursor: not-allowed;
}

/* Explicitly constrain pagination SVGs */
.student-pagination-nav svg {
    display: inline-block !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    vertical-align: middle;
}

.student-pagination-nav p {
    margin: 0;
}

/* =========================================
           RESPONSIVE LAYOUT
        ========================================= */

@media (max-width: 1200px) {
    .student-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .student-page {
        padding: 16px;
    }

    .student-hero {
        padding: 24px;
        border-radius: 16px;
    }

    .student-hero h2 {
        font-size: 24px;
    }

    .student-card-header,
    .student-table-heading {
        padding: 20px;
    }

    .student-filters {
        padding: 20px;
    }

    .student-pagination {
        padding: 18px 20px;
    }

    .student-pagination-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .student-pagination-nav nav {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .student-page {
        padding: 12px;
    }

    .student-hero {
        gap: 14px;
        padding: 20px;
        border-radius: 14px;
    }

    .student-eyebrow {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .student-hero h2 {
        font-size: 21px;
    }

    .student-hero p {
        font-size: 12px;
    }

    .student-hero-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 13px;
        font-size: 21px;
    }

    .student-card {
        border-radius: 14px;
    }

    .student-card-header,
    .student-table-heading {
        align-items: flex-start;
        padding: 17px;
    }

    .student-card-header h4 {
        font-size: 15px;
    }

    .student-count {
        padding: 7px 9px;
        font-size: 10px;
    }

    .student-filters {
        padding: 17px;
    }

    .student-filter-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .student-filter-actions {
        margin-top: 16px;
    }

    .student-page .student-btn-primary,
    .student-page .student-btn-reset {
        min-height: 40px;
        padding: 9px 13px;
    }

    .student-table-heading {
        flex-direction: column;
    }

    .student-register-btn {
        width: 100%;
    }

    .student-pagination {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 17px;
    }

    .student-pagination-nav {
        width: 100%;
        overflow: visible;
    }

    .student-pagination-nav .pagination {
        gap: 3px;
    }

    .student-pagination-nav .page-link {
        min-width: 31px;
        min-height: 31px;
        padding: 6px 8px;
    }
}
/* student form blade css */

.student-page {
    width: 100%;
    min-width: 0;
    padding: 24px;
    color: #102e57;
    box-sizing: border-box;
}

.student-page *,
.student-page *::before,
.student-page *::after {
    box-sizing: border-box;
}

.student-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    margin-bottom: 24px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(115deg, #192b60, #244bdc);
    box-shadow: 0 12px 30px rgba(36, 75, 220, 0.13);
}

.student-eyebrow {
    margin-bottom: 8px;
    color: #c7d4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.student-hero h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 750;
}

.student-hero p {
    margin: 0;
    color: #e6ecff;
    font-size: 14px;
    line-height: 1.6;
}

.student-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 29px;
}

.student-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6edf8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(27, 54, 93, 0.04);
}

.student-card-header {
    padding: 22px 25px;
    border-bottom: 1px solid #edf1f8;
}

.student-card-header h4 {
    margin: 0 0 5px;
    color: #102e57;
    font-size: 17px;
    font-weight: 750;
}

.student-card-header p {
    margin: 0;
    color: #8494ad;
    font-size: 12px;
    line-height: 1.6;
}

.student-form-body {
    padding: 25px;
    background: #f8faff;
}

.registration-section {
    margin-bottom: 22px;
    padding: 23px;
    border: 1px solid #e6edf8;
    border-radius: 14px;
    background: #fff;
}

.registration-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f8;
}

.registration-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #edf4ff;
    color: #2454e8;
    font-size: 17px;
}

.registration-section-title h5 {
    margin: 0 0 4px;
    color: #18396d;
    font-size: 15px;
    font-weight: 750;
}

.registration-section-title p {
    margin: 0;
    color: #8494ad;
    font-size: 12px;
    line-height: 1.5;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.student-field {
    min-width: 0;
    margin: 0;
}

.student-field > label {
    display: block;
    margin-bottom: 8px;
    color: #30496d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.student-page .student-field .form-control,
.student-page .student-field .form-select {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dce5f2;
    border-radius: 9px;
    background-color: #fff;
    color: #30496d;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: none;
}

.student-page .student-field .form-control[readonly] {
    background-color: #f3f6fc;
    cursor: not-allowed;
}

.student-page .student-field input[type="file"].form-control {
    height: auto;
    min-height: 44px;
    padding: 8px;
}

.student-page .student-field input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 6px 9px;
    border: 0;
    border-radius: 6px;
    background: #edf4ff;
    color: #2454e8;
    font-size: 11px;
    cursor: pointer;
}

.student-page .student-field .form-control:focus,
.student-page .student-field .form-select:focus {
    border-color: #4770ef;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(71, 112, 239, 0.1);
}

.student-page .student-field .form-control::placeholder {
    color: #8796ad;
    opacity: 1;
}

.field-span-2 {
    grid-column: span 2;
}

.field-span-3 {
    grid-column: span 3;
}

.field-help {
    display: block;
    margin-top: 7px;
    color: #8494ad;
    font-size: 11px;
    line-height: 1.5;
}

.radio-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    min-height: 44px;
}

.student-field .radio-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #30496d;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.student-field .radio-option input {
    margin: 0;
    accent-color: #2454e8;
}

.qualification-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.qualification-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.qualification-table th {
    padding: 0 8px 4px;
    color: #30496d;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.qualification-table td {
    padding: 0 8px;
    vertical-align: middle;
}

.qualification-table .qual-label {
    width: 120px;
    color: #18396d;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.qualification-table .form-control {
    display: block;
    width: 100%;
    min-width: 110px;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #dce5f2;
    border-radius: 9px;
    background-color: #fff;
    color: #30496d;
    font-family: inherit;
    font-size: 12px;
    box-shadow: none;
}

.qualification-table .form-control:focus {
    border-color: #4770ef;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(71, 112, 239, 0.1);
}

.registration-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.student-page .student-btn-primary,
.student-page .student-btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.student-page .student-btn-primary {
    background: #2454e8;
    border-color: #2454e8;
    color: #fff;
}

.student-page .student-btn-primary:hover {
    background: #193fc0;
    border-color: #193fc0;
    color: #fff;
    transform: translateY(-1px);
}

.student-page .student-btn-reset {
    background: #fff;
    border-color: #dce5f2;
    color: #30496d;
}

.student-page .student-btn-reset:hover {
    background: #f3f6fc;
    color: #18396d;
}

.registration-alert {
    margin-bottom: 20px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.registration-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.registration-alert-error {
    border-color: #f3c9ce;
    background: #fff0f1;
    color: #a52d3c;
}

.registration-alert-success {
    border-color: #bde8d4;
    background: #e7f8f0;
    color: #16845b;
}

.required {
    color: #e5484d;
}

.error-text {
    display: block;
    margin-top: 5px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .registration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .field-span-3 {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .student-page {
        padding: 14px;
    }

    .student-hero {
        padding: 22px;
        border-radius: 15px;
    }

    .student-hero h2 {
        font-size: 22px;
    }

    .student-hero-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 22px;
    }

    .student-card-header,
    .student-form-body {
        padding: 17px;
    }

    .registration-section {
        padding: 16px;
    }

    .registration-section-title {
        align-items: flex-start;
    }

    .registration-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .field-span-2,
    .field-span-3 {
        grid-column: auto;
    }

    .registration-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .registration-actions > * {
        width: 100%;
    }
}

/* Add fee blade css */

.alc-fee-page {
    --alc-primary: #2563eb;
    --alc-primary-dark: #1d4ed8;
    --alc-text: #1e293b;
    --alc-muted: #64748b;
    --alc-border: #e2e8f0;
    --alc-bg: #f5f7fb;
    color: var(--alc-text);
    padding: 24px;
    background: var(--alc-bg);
    min-height: 100%;
    border-radius: 12px;
}

.alc-fee-page * {
    box-sizing: border-box;
}

.alc-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.alc-page-title {
    margin: 0;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -0.5px;
    color: #172554;
}

.alc-page-subtitle {
    color: var(--alc-muted);
    font-size: 13px;
    margin: 6px 0 0;
}

.alc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--alc-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.alc-breadcrumb a {
    color: var(--alc-primary);
    text-decoration: none;
}

.alc-breadcrumb a:hover {
    text-decoration: underline;
}

.alc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.alc-btn-primary {
    color: #fff;
    background: var(--alc-primary);
    border-color: var(--alc-primary);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.15);
}

.alc-btn-primary:hover {
    color: #fff;
    background: var(--alc-primary-dark);
    border-color: var(--alc-primary-dark);
}

.alc-btn-light {
    color: #334155;
    background: #fff;
    border-color: var(--alc-border);
}

.alc-btn-light:hover {
    color: var(--alc-primary);
    border-color: #93c5fd;
    background: #eff6ff;
}

.alc-fee-card {
    background: #fff;
    border: 1px solid var(--alc-border);
    border-radius: 12px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.035);
}

.alc-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 23px;
    border-bottom: 1px solid var(--alc-border);
    background: #fff;
}

.alc-card-icon {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--alc-primary);
    font-size: 19px;
    font-weight: 700;
}

.alc-card-title {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 750;
}

.alc-card-description {
    margin: 4px 0 0;
    color: var(--alc-muted);
    font-size: 12px;
}

.alc-card-body {
    padding: 24px;
}

.alc-institute {
    text-align: center;
    padding: 21px 16px;
    margin-bottom: 24px;
    border: 1px dashed #bfdbfe;
    border-radius: 10px;
    background: #f8fbff;
}

.alc-institute-name {
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.35px;
    margin: 0 0 7px;
}

.alc-institute-subtitle {
    color: #64748b;
    font-size: 12px;
    margin: 0;
}

.alc-section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 750;
    color: #334155;
    margin: 0 0 18px;
}

.alc-section-label::before {
    content: "";
    display: block;
    width: 4px;
    height: 19px;
    background: var(--alc-primary);
    border-radius: 5px;
}

.alc-field {
    margin-bottom: 19px;
    min-width: 0;
}

.alc-field label,
.alc-fee-label {
    display: block;
    color: #475569;
    font-size: 12px;
    font-weight: 650;
    margin-bottom: 8px;
}

.alc-field input,
.alc-field select,
.alc-field textarea,
.alc-fee-input {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 7px;
    background: #fff;
    color: #1e293b;
    font-size: 13px;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.alc-field input:focus,
.alc-field select:focus,
.alc-field textarea:focus,
.alc-fee-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.alc-field input[readonly] {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
    cursor: default;
}

.alc-field-hint {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-top: 6px;
    line-height: 1.5;
}

.alc-student-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 18px;
}

.alc-student-grid .alc-field {
    margin-bottom: 18px;
}

.alc-fee-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.alc-fee-item {
    padding: 16px;
    border: 1px solid #e5eaf2;
    border-radius: 9px;
    background: #fff;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    min-width: 0;
}

.alc-fee-item:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.06);
}

.alc-fee-item .alc-fee-label {
    min-height: 18px;
    margin-bottom: 10px;
}

.alc-fee-input {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.alc-total-panel {
    margin-top: 22px;
    padding: 19px 22px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: linear-gradient(110deg, #eff6ff, #f8fbff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.alc-total-title {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
    color: #1e3a8a;
}

.alc-total-subtitle {
    margin: 5px 0 0;
    font-size: 12px;
    color: #64748b;
}

.alc-total-amount {
    width: 190px;
    max-width: 48%;
}

.alc-total-amount input {
    width: 100%;
    min-height: 45px;
    padding: 10px 13px;
    text-align: right;
    color: #1d4ed8;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.alc-mode-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.alc-mode-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 145px;
    padding: 13px 17px;
    border: 1px solid var(--alc-border);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.alc-mode-option:has(input:checked) {
    border-color: #60a5fa;
    background: #eff6ff;
}

.alc-mode-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--alc-primary);
}

.alc-mode-option span {
    font-size: 13px;
    font-weight: 650;
    color: #334155;
}

.alc-dd-panel {
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.alc-dd-title {
    margin: 0 0 17px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.alc-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--alc-border);
}

.alc-alert {
    padding: 14px 17px;
    border-radius: 9px;
    margin-bottom: 20px;
    font-size: 13px;
}

.alc-alert-danger {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.alc-alert-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.alc-alert ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

@media (max-width: 1100px) {
    .alc-student-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alc-fee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .alc-fee-page {
        padding: 14px;
    }

    .alc-page-title {
        font-size: 21px;
    }

    .alc-page-header {
        align-items: flex-start;
    }

    .alc-card-header {
        padding: 16px;
    }

    .alc-card-body {
        padding: 17px;
    }

    .alc-institute-name {
        font-size: 15px;
    }

    .alc-total-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 17px;
    }

    .alc-total-amount {
        width: 100%;
        max-width: 100%;
    }

    .alc-form-actions {
        justify-content: stretch;
    }

    .alc-form-actions .alc-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .alc-student-grid,
    .alc-fee-grid {
        grid-template-columns: 1fr;
    }

    .alc-page-header .alc-btn {
        width: 100%;
    }

    .alc-mode-option {
        flex: 1;
        min-width: 125px;
    }
}
/* index blade css */

.receipt-page {
    padding: 26px 28px;
    min-height: 100vh;
    background: #f1f5fc;
    color: #24344d;
    font-family: inherit;
}

.receipt-page * {
    box-sizing: border-box;
}

/* Gradient Page Banner */
.receipt-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px;
    margin-bottom: 24px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(115deg, #1d2e68 0%, #244de0 100%);
    box-shadow: 0 12px 28px rgba(36, 77, 224, 0.12);
}

.receipt-hero-content {
    min-width: 0;
}

.receipt-hero-eyebrow {
    margin-bottom: 8px;
    color: #dbe5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.receipt-hero h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
}

.receipt-hero p {
    margin: 0;
    color: #edf2ff;
    font-size: 13px;
}

.receipt-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 30px;
}

/* Common cards */
.receipt-card {
    margin-bottom: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 19px;
    box-shadow: 0 5px 20px rgba(30, 55, 100, 0.035);
}

.receipt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 25px;
    border-bottom: 1px solid #eaf0f8;
}

.receipt-card-header h4 {
    margin: 0;
    color: #172f56;
    font-size: 16px;
    font-weight: 800;
}

.receipt-subtitle {
    margin-top: 6px;
    color: #71829e;
    font-size: 12px;
    line-height: 1.6;
}

.receipt-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 30px;
    color: #2451e6;
    background: #edf3ff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.receipt-card-body {
    padding: 23px 25px;
}

/* Form controls */
.receipt-label {
    display: block;
    margin-bottom: 8px;
    color: #263b5c;
    font-size: 12px;
    font-weight: 700;
}

.receipt-input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #d9e3f2;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #263b5c;
    font-family: inherit;
    font-size: 12px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.receipt-input:focus {
    border-color: #315cf0;
    box-shadow: 0 0 0 3px rgba(49, 92, 240, 0.09);
}

.receipt-input::placeholder {
    color: #91a0b7;
}

/* Search layout */
.receipt-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(210px, 1.5fr) repeat(2, minmax(145px, 1fr))
        repeat(2, minmax(145px, 1fr));
    gap: 16px;
    align-items: end;
}

.receipt-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.receipt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    transition:
        background 0.2s,
        transform 0.2s;
}

.receipt-btn:hover {
    transform: translateY(-1px);
}

.receipt-btn-primary {
    color: #fff !important;
    background: #2854ed;
    border-color: #2854ed;
}

.receipt-btn-primary:hover {
    background: #1e43d0;
    border-color: #1e43d0;
}

.receipt-btn-light {
    color: #334b70 !important;
    background: #fff;
    border-color: #d8e3f2;
}

.receipt-btn-light:hover {
    background: #eff4fc;
}

.receipt-btn-small {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 11px;
}

/* Alerts */
.receipt-alert {
    padding: 14px 17px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 13px;
}

.receipt-alert-success {
    color: #206c3c;
    background: #eaf8ef;
    border: 1px solid #c8ebd3;
}

.receipt-alert-danger {
    color: #a12727;
    background: #fff0f0;
    border: 1px solid #f2cccc;
}

.receipt-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.receipt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.receipt-card-header .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    flex-shrink: 0;
}

.receipt-card-header .btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
    color: #fff;
}

/* Listing information */
.receipt-listing-meta {
    color: #71829e;
    font-size: 12px;
}

.receipt-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.receipt-table {
    width: 100%;
    min-width: 1450px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.receipt-table thead th {
    padding: 15px 13px;
    border-top: 0;
    border-bottom: 1px solid #e4ebf5;
    background: #f5f8fe;
    color: #536782;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.receipt-table tbody td {
    padding: 15px 13px;
    border-bottom: 1px solid #edf1f7;
    color: #394b66;
    font-size: 12px;
    vertical-align: middle;
}

.receipt-table tbody tr:last-child td {
    border-bottom: 0;
}

.receipt-table tbody tr {
    transition: background 0.15s;
}

.receipt-table tbody tr:hover {
    background: #f8faff;
}

.receipt-sr {
    color: #8190a8 !important;
    font-weight: 700;
}

.receipt-control {
    color: #2854ed;
    font-weight: 800;
    white-space: nowrap;
}

.receipt-student-name {
    min-width: 155px;
    color: #1d365d;
    font-weight: 800;
    line-height: 1.5;
}

.receipt-subtext {
    margin-top: 4px;
    color: #7c8ca5;
    font-size: 11px;
    line-height: 1.5;
}

.receipt-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 20px;
    background: #edf2f9;
    color: #405675;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.receipt-status-complete {
    color: #187044;
    background: #e8f8ef;
}

.receipt-status-incomplete {
    color: #9a5b08;
    background: #fff5df;
}

.receipt-amount {
    color: #243d63 !important;
    font-weight: 800;
    white-space: nowrap;
}

.receipt-balance {
    color: #b45309 !important;
    font-weight: 800;
    white-space: nowrap;
}

.receipt-opening-form {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 195px;
}

.receipt-opening-form input {
    width: 108px;
    min-width: 0;
    height: 35px;
    padding: 6px 8px;
    border: 1px solid #d9e3f2;
    border-radius: 7px;
    outline: none;
    color: #263b5c;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
}

.receipt-opening-form input:focus {
    border-color: #315cf0;
    box-shadow: 0 0 0 3px rgba(49, 92, 240, 0.08);
}

.receipt-opening-form button {
    min-height: 35px;
}

.receipt-empty {
    padding: 45px 15px !important;
    color: #71829e !important;
    text-align: center;
    font-size: 13px !important;
}

.receipt-empty-icon {
    display: block;
    margin-bottom: 8px;
    color: #8a9ab2;
    font-size: 26px;
}

/* Pagination */
.receipt-pagination {
    display: flex;
    justify-content: center;
    padding: 20px 12px;
    border-top: 1px solid #edf1f7;
}

.receipt-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.receipt-pagination .page-link {
    display: block;
    padding: 9px 12px;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    background: #fff;
    color: #294d7c;
    text-decoration: none;
    font-size: 12px;
}

.receipt-pagination .page-item.active .page-link {
    border-color: #2854ed;
    background: #2854ed;
    color: #fff;
}

.receipt-pagination .page-item.disabled .page-link {
    background: #f5f7fa;
    color: #9aa7b8;
    cursor: not-allowed;
}

.receipt-note {
    padding: 0 25px 20px;
    color: #7b8ba2;
    font-size: 11px;
    line-height: 1.7;
}

@media (max-width: 1250px) {
    .receipt-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .receipt-page {
        padding: 16px;
    }

    .receipt-hero {
        padding: 23px 20px;
        border-radius: 15px;
    }

    .receipt-hero h2 {
        font-size: 23px;
    }

    .receipt-hero-icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .receipt-card-header {
        padding: 18px;
    }

    .receipt-card-body {
        padding: 18px;
    }

    .receipt-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .receipt-note {
        padding: 0 18px 18px;
    }
}

@media (max-width: 480px) {
    .receipt-page {
        padding: 12px;
    }

    .receipt-hero {
        gap: 10px;
        padding: 20px 15px;
    }

    .receipt-hero h2 {
        font-size: 20px;
    }

    .receipt-hero p {
        font-size: 12px;
    }

    .receipt-hero-eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .receipt-hero-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    .receipt-filter-grid {
        grid-template-columns: 1fr;
    }

    .receipt-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .receipt-filter-actions .receipt-btn {
        width: 100%;
    }

    .receipt-card-header {
        padding: 16px;
    }

    .receipt-card-body {
        padding: 16px;
    }
}

.alc-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 90px;
    padding: 9px 18px;
    border: 1px solid #2563eb;
    border-radius: 7px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    box-shadow: 0 3px 7px rgba(37, 99, 235, 0.18);
    transition: all 0.2s ease-in-out;
}

.alc-pay-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: #1e40af;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.25);
}

.alc-pay-btn:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.3);
    outline-offset: 2px;
}

.alc-pay-btn i {
    font-size: 13px;
}

/* payment history blade css */

.payment-page {
    padding: 22px;
    min-height: 100vh;
    background: #f4f7fc;
    color: #24344d;
}

.payment-card {
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(25, 45, 80, 0.05);
    margin-bottom: 22px;
    overflow: hidden;
}

.payment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #e8edf5;
}

.payment-card-header h4 {
    margin: 0;
    color: #172d50;
    font-size: 18px;
    font-weight: 700;
}

.payment-card-body {
    padding: 22px;
}

.payment-subtitle {
    color: #7b8ba2;
    font-size: 12px;
    margin-top: 5px;
}

.payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 0;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.payment-btn-primary {
    color: #fff;
    background: #244d83;
}

.payment-btn-primary:hover {
    color: #fff;
    background: #183a68;
}

.payment-btn-light {
    color: #314b6e;
    background: #edf2f8;
}

.payment-btn-light:hover {
    color: #203c62;
    background: #e0e8f3;
}

.payment-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.payment-detail-label {
    color: #7b8ba2;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.payment-detail-value {
    color: #263b5b;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.payment-summary-box {
    padding: 19px;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    background: #fff;
}

.payment-summary-label {
    color: #71829d;
    font-size: 12px;
    margin-bottom: 8px;
}

.payment-summary-value {
    color: #203d66;
    font-size: 22px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.payment-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.payment-table {
    width: 100%;
    min-width: 1650px;
    border-collapse: collapse;
    margin: 0;
}

.payment-table thead th {
    padding: 13px 12px;
    background: #f3f6fb;
    color: #50627d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid #e4eaf3;
}

.payment-table tbody td {
    padding: 13px 12px;
    border-bottom: 1px solid #edf1f6;
    color: #34445c;
    font-size: 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.payment-table tbody tr:hover {
    background: #f9fbfe;
}

.payment-receipt-number {
    color: #244d83;
    font-weight: 800;
}

.payment-amount {
    font-weight: 700;
    color: #203d66;
}

.payment-total {
    color: #187044;
    font-weight: 800;
}

.payment-status {
    display: inline-block;
    padding: 5px 8px;
    background: #eaf8ef;
    color: #206c3c;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

.payment-empty {
    padding: 38px 15px !important;
    text-align: center;
    color: #7b8ba2 !important;
    white-space: normal !important;
}

.payment-pagination {
    display: flex;
    justify-content: center;
    padding: 18px 12px;
}

.payment-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.payment-pagination .page-link {
    display: block;
    padding: 8px 12px;
    color: #294d7c;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.payment-pagination .page-item.active .page-link {
    color: #fff;
    background: #244d83;
    border-color: #244d83;
}

.payment-pagination .page-item.disabled .page-link {
    color: #9aa7b8;
    background: #f5f7fa;
    cursor: not-allowed;
}

.payment-alert {
    padding: 12px 15px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 13px;
    background: #eaf8ef;
    border: 1px solid #c8ebd3;
    color: #206c3c;
}

@media (max-width: 1000px) {
    .payment-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .payment-page {
        padding: 12px;
    }

    .payment-card-body {
        padding: 15px;
    }

    .payment-card-header {
        padding: 15px;
    }

    .payment-summary-grid {
        grid-template-columns: 1fr;
    }

    .payment-summary-value {
        font-size: 20px;
    }
}

@media (max-width: 430px) {
    .payment-details-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: #fff !important;
    }

    .sidebar,
    .main-sidebar,
    .navbar,
    .main-header,
    .payment-btn,
    .pagination-area,
    .no-print {
        display: none !important;
    }

    .payment-history-page {
        width: 100% !important;
        padding: 0 !important;
    }

    .payment-history-page .card {
        box-shadow: none !important;
        break-inside: avoid;
    }

    .payment-history-page .table-wrap {
        overflow: visible !important;
    }

    .payment-history-page .payment-table {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 9px !important;
        white-space: normal !important;
    }

    .payment-history-page .payment-table th,
    .payment-history-page .payment-table td {
        padding: 5px !important;
        font-size: 9px !important;
    }

    @page {
        size: A4 landscape;
        margin: 8mm;
    }
}

/* online order blade css */

/* ==========================================
           ALC PORTAL - ONLINE ORDER
           Existing theme preserved
        ========================================== */

.online-order-page {
    --order-navy: #0b2e59;
    --order-blue: #2850e5;
    --order-blue-dark: #1e3fae;
    --order-bg: #f3f7fd;
    --order-text: #17365d;
    --order-muted: #71829b;
    --order-border: #dce6f3;
    --order-green: #198754;

    padding: 28px;
    min-height: 100%;
    color: var(--order-text);
    background: var(--order-bg);
    font-family: inherit;
}

.online-order-page *,
.online-order-page *::before,
.online-order-page *::after {
    box-sizing: border-box;
}

/* Page banner */

.online-order-page .order-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding: 30px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, #1c326f 0%, #294fe4 100%);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(35, 72, 183, 0.13);
}

.online-order-page .order-banner-content {
    position: relative;
    z-index: 1;
}

.online-order-page .order-eyebrow {
    margin-bottom: 8px;
    color: #dce5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.online-order-page .order-banner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 29px;
    font-weight: 750;
    line-height: 1.3;
}

.online-order-page .order-banner p {
    margin: 0;
    color: #eef2ff;
    font-size: 14px;
    line-height: 1.7;
}

.online-order-page .order-banner-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    font-size: 32px;
}

/* General panel */

.online-order-page .order-products-panel,
.online-order-page .order-cart-panel {
    margin-bottom: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4ebf5;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(30, 55, 90, 0.045);
}

.online-order-page .order-panel-heading,
.online-order-page .order-cart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 23px 26px;
    border-bottom: 1px solid #e8eef7;
}

.online-order-page .order-panel-heading h3,
.online-order-page .order-cart-heading h3 {
    margin: 0 0 6px;
    color: var(--order-navy);
    font-size: 18px;
    font-weight: 750;
}

.online-order-page .order-panel-heading p,
.online-order-page .order-cart-heading p {
    margin: 0;
    color: var(--order-muted);
    font-size: 13px;
}

.online-order-page .order-count,
.online-order-page .order-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 9px 15px;
    color: #2450e8;
    background: #edf3ff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Cart */

.online-order-page .order-cart-heading h3 i {
    margin-right: 7px;
}

.online-order-page .order-cart-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.online-order-page .order-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.online-order-page .order-cart-table th,
.online-order-page .order-cart-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #edf1f7;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.online-order-page .order-cart-table th {
    color: #657894;
    background: #f8faff;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    white-space: nowrap;
}

.online-order-page .order-cart-table td {
    color: #284362;
}

.online-order-page .order-cart-table tbody tr:last-child td {
    border-bottom: none;
}

.online-order-page .order-cart-product {
    min-width: 155px;
    color: var(--order-navy);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.online-order-page .order-cart-update {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 145px;
}

.online-order-page .order-cart-qty {
    width: 72px;
    min-width: 65px;
    height: 37px;
    padding: 6px 8px;
    color: #405774;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
}

.online-order-page .order-cart-qty:focus {
    outline: none;
    border-color: var(--order-blue);
    box-shadow: 0 0 0 3px rgba(40, 80, 229, 0.1);
}

.online-order-page .order-cart-update-btn,
.online-order-page .order-cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.online-order-page .order-cart-update-btn {
    color: #fff;
    background: var(--order-blue);
}

.online-order-page .order-cart-update-btn:hover {
    background: var(--order-blue-dark);
}

.online-order-page .order-cart-remove-btn {
    color: #c62828;
    background: #fff0f0;
}

.online-order-page .order-cart-remove-btn:hover {
    background: #ffe0e0;
}

.online-order-page .order-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 26px;
    background: #f8faff;
    border-top: 1px solid #e8eef7;
}

.online-order-page .order-cart-footer-label {
    color: #63758e;
    font-size: 12px;
}

.online-order-page .order-cart-total {
    margin-top: 4px;
    color: var(--order-green);
    font-size: 24px;
    font-weight: 800;
}

.online-order-page .order-cart-empty {
    padding: 35px 20px;
    color: var(--order-muted);
    text-align: center;
}

.online-order-page .order-cart-empty i {
    display: block;
    margin-bottom: 12px;
    color: #9aabc5;
    font-size: 34px;
}

.online-order-page .order-cart-empty p {
    margin: 0;
    font-size: 13px;
}

.online-order-page .order-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    padding: 9px 14px;
    color: #fff;
    background: var(--order-blue);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.online-order-page .order-continue-shopping:hover {
    color: #fff;
    background: var(--order-blue-dark);
}

/* Category */

.online-order-page .order-category {
    padding: 25px 26px 28px;
}

.online-order-page .order-category + .order-category {
    border-top: 1px solid #e9eef6;
}

.online-order-page .order-category-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
}

.online-order-page .order-category-marker {
    width: 5px;
    height: 30px;
    flex-shrink: 0;
    background: var(--order-blue);
    border-radius: 5px;
}

.online-order-page .order-category-heading h4 {
    margin: 0;
    color: var(--order-navy);
    font-size: 18px;
    font-weight: 750;
}

.online-order-page .order-category-heading > span:last-child {
    margin-left: auto;
    padding: 6px 11px;
    color: #526d99;
    background: #f1f5fb;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Product grid */

.online-order-page .order-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.online-order-page .order-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.online-order-page .order-product-card:hover {
    border-color: #c7d6ff;
    box-shadow: 0 9px 24px rgba(31, 65, 135, 0.09);
    transform: translateY(-3px);
}

.online-order-page .order-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    padding: 18px;
    background: #f7f9fd;
    border-bottom: 1px solid #edf1f7;
}

.online-order-page .order-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.online-order-page .order-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #8391a7;
    font-size: 12px;
    text-align: center;
}

.online-order-page .order-product-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px;
}

.online-order-page .order-product-name {
    min-height: 44px;
    margin: 0 0 13px;
    color: #1b365c;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.online-order-page .order-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.online-order-page .order-product-price {
    color: var(--order-green);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

.online-order-page .order-price-label {
    color: #8290a4;
    font-size: 11px;
}

.online-order-page .order-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.online-order-page .order-meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    color: #566b89;
    background: #f2f5fa;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.online-order-page .order-meta-badge.order-gst {
    color: #2450c5;
    background: #edf3ff;
    border-color: #e0eaff;
}

/* Add to cart form */

.online-order-page .order-product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eef2f7;
}

.online-order-page .order-quantity {
    width: 84px;
    min-width: 0;
    height: 42px;
    padding: 8px 10px;
    color: #405774;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
}

.online-order-page .order-quantity:focus {
    outline: none;
    border-color: var(--order-blue);
    box-shadow: 0 0 0 3px rgba(40, 80, 229, 0.1);
}

.online-order-page .order-add-button {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 13px;
    color: #fff;
    background: var(--order-blue);
    border: 1px solid var(--order-blue);
    border-radius: 7px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.online-order-page .order-add-button:hover {
    background: var(--order-blue-dark);
}

/* Empty products state */

.online-order-page .order-empty-state {
    padding: 55px 20px;
    color: var(--order-muted);
    text-align: center;
}

.online-order-page .order-empty-state .empty-icon {
    margin-bottom: 12px;
    color: #9aabc5;
    font-size: 38px;
}

.online-order-page .order-empty-state h4 {
    margin: 0 0 7px;
    color: var(--order-navy);
    font-size: 17px;
    font-weight: 700;
}

.online-order-page .order-empty-state p {
    margin: 0;
    font-size: 13px;
}

/* Responsive */

@media (max-width: 1100px) {
    .online-order-page {
        padding: 22px;
    }

    .online-order-page .order-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .online-order-page {
        padding: 14px;
    }

    .online-order-page .order-banner {
        gap: 14px;
        padding: 22px 18px;
        border-radius: 14px;
    }

    .online-order-page .order-banner h2 {
        font-size: 23px;
    }

    .online-order-page .order-banner p {
        font-size: 12px;
    }

    .online-order-page .order-banner-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        font-size: 23px;
    }

    .online-order-page .order-panel-heading,
    .online-order-page .order-cart-heading {
        align-items: flex-start;
        padding: 19px 16px;
    }

    .online-order-page .order-count,
    .online-order-page .order-cart-count {
        padding: 7px 9px;
        font-size: 10px;
    }

    .online-order-page .order-category {
        padding: 21px 15px;
    }

    .online-order-page .order-category-heading h4 {
        font-size: 15px;
    }

    .online-order-page .order-product-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .online-order-page .order-product-image {
        height: 225px;
    }

    .online-order-page .order-product-details {
        padding: 16px;
    }

    .online-order-page .order-cart-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 15px;
    }
}

/* payment details page css */

.payment-details-page {
    padding: 28px;
    min-height: 100%;
    color: #17365d;
    background: #f3f7fd;
    font-family: inherit;
}

.payment-details-page * {
    box-sizing: border-box;
}

.payment-details-page .payment-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 26px 30px;
    color: #fff;
    background: linear-gradient(115deg, #1c326f, #294fe4);
    border-radius: 17px;
}

.payment-details-page .payment-banner h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 26px;
    font-weight: 750;
}

.payment-details-page .payment-banner p {
    margin: 0;
    color: #e7edff;
    font-size: 13px;
}

.payment-details-page .payment-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    font-size: 25px;
}

.payment-details-page .payment-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8dfe8;
    border-radius: 4px;
}

.payment-details-page .payment-panel-heading {
    padding: 12px 16px;
    color: #29415d;
    background: linear-gradient(#fff, #f0efec);
    border-bottom: 1px solid #d7d7d7;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-details-page .payment-panel-heading i {
    margin-right: 7px;
    color: #49617a;
}

.payment-details-page .payment-form {
    width: 100%;
}

.payment-details-page .payment-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    min-height: 47px;
    border-bottom: 1px solid #dedede;
}

.payment-details-page .payment-row:nth-child(even) {
    background: #f8f8f8;
}

.payment-details-page .payment-label {
    padding: 12px 10px;
    color: #31516f;
    font-size: 11px;
}

.payment-details-page .payment-field {
    padding: 7px 10px;
    min-width: 0;
}

.payment-details-page .payment-input,
.payment-details-page .payment-select,
.payment-details-page .payment-textarea {
    display: block;
    width: 100%;
    max-width: 420px;
    min-height: 34px;
    padding: 7px 9px;
    color: #405774;
    background: #fff;
    border: 1px solid #d2d7de;
    border-radius: 3px;
    font-family: inherit;
    font-size: 12px;
}

.payment-details-page .payment-input[readonly] {
    background: #ededed;
}

.payment-details-page .payment-input:focus,
.payment-details-page .payment-select:focus,
.payment-details-page .payment-textarea:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 0 2px rgba(102, 175, 233, 0.15);
}

.payment-details-page .payment-textarea {
    min-height: 70px;
    resize: vertical;
}

.payment-details-page .payment-action-row {
    padding: 12px 10px;
    border-bottom: 1px solid #dedede;
}

.payment-details-page .payment-proceed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 18px;
    color: #fff;
    background: #35a6c8;
    border: 1px solid #2994b4;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.payment-details-page .payment-proceed:hover {
    background: #2589a7;
}

.payment-details-page .payment-note {
    margin: 10px 6px 16px;
    padding: 12px 14px;
    color: #2874a6;
    background: #d9edf7;
    border: 1px solid #bce8f1;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.payment-details-page .payment-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    color: #2850e5;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.payment-details-page .payment-back:hover {
    color: #1e3fae;
}

.payment-details-page .payment-error {
    margin: 12px;
    padding: 10px 14px;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
    font-size: 12px;
}

@media (max-width: 650px) {
    .payment-details-page {
        padding: 14px;
    }

    .payment-details-page .payment-banner {
        padding: 20px 16px;
    }

    .payment-details-page .payment-banner h2 {
        font-size: 22px;
    }

    .payment-details-page .payment-row {
        grid-template-columns: 1fr;
        padding: 7px 0;
    }

    .payment-details-page .payment-label {
        padding-bottom: 3px;
    }

    .payment-details-page .payment-field {
        padding-top: 3px;
    }

    .payment-details-page .payment-input,
    .payment-details-page .payment-select,
    .payment-details-page .payment-textarea {
        max-width: 100%;
    }
}

.payment-details-page .payment-proceed:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* order-summary blade css */

.order-summary-page {
    padding: 28px;
    min-height: 100%;
    color: #17365d;
    background: #f3f7fd;
    font-family: inherit;
}

.order-summary-page * {
    box-sizing: border-box;
}

.order-summary-page .summary-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding: 27px 30px;
    color: #fff;
    background: linear-gradient(115deg, #1c326f, #294fe4);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(35, 72, 183, 0.12);
}

.order-summary-page .summary-banner .eyebrow {
    margin-bottom: 7px;
    color: #dce5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.order-summary-page .summary-banner h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 27px;
    font-weight: 750;
}

.order-summary-page .summary-banner p {
    margin: 0;
    color: #eef2ff;
    font-size: 13px;
}

.order-summary-page .summary-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    font-size: 27px;
}

.order-summary-page .summary-panel {
    margin-bottom: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e9f5;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(30, 55, 90, 0.045);
}

.order-summary-page .summary-panel-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 22px;
    color: #17365d;
    background: #f8faff;
    border-bottom: 1px solid #e1e9f5;
    font-size: 15px;
    font-weight: 750;
}

.order-summary-page .summary-panel-heading i {
    color: #2850e5;
}

.order-summary-page .summary-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.order-summary-page .summary-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.order-summary-page .summary-table th,
.order-summary-page .summary-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #e8edf5;
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
}

.order-summary-page .summary-table th {
    color: #536984;
    background: #f8faff;
    font-size: 11px;
    font-weight: 750;
}

.order-summary-page .summary-table td {
    color: #284362;
}

.order-summary-page .summary-table tbody tr:last-child td {
    border-bottom: none;
}

.order-summary-page .summary-product-name {
    min-width: 180px;
    color: #17365d;
    font-weight: 700;
    white-space: normal;
}

.order-summary-page .summary-quantity {
    font-weight: 700;
}

.order-summary-page .summary-amount {
    font-weight: 750;
    color: #198754;
}

.order-summary-page .summary-total-row td {
    background: #f8faff;
    font-weight: 750;
}

.order-summary-page .summary-total-label {
    text-align: right !important;
}

.order-summary-page .summary-total-value {
    color: #198754 !important;
    font-size: 15px !important;
    font-weight: 800;
}

.order-summary-page .summary-note {
    margin: 18px 22px;
    padding: 12px 15px;
    color: #705b22;
    background: #fff9e8;
    border: 1px solid #f3e4b7;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.7;
}

.order-summary-page .summary-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 22px 22px;
}

.order-summary-page .summary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 16px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.order-summary-page .summary-btn-back {
    color: #fff;
    background: #35a6c8;
}

.order-summary-page .summary-btn-back:hover {
    color: #fff;
    background: #2589a7;
}

.order-summary-page .summary-btn-submit {
    color: #fff;
    background: #8ab51c;
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 650px) {
    .order-summary-page {
        padding: 14px;
    }

    .order-summary-page .summary-banner {
        padding: 21px 17px;
    }

    .order-summary-page .summary-banner h2 {
        font-size: 22px;
    }

    .order-summary-page .summary-banner-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .order-summary-page .summary-panel-heading {
        padding: 15px;
    }

    .order-summary-page .summary-actions {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .order-summary-page .summary-btn {
        width: 100%;
    }
}

/* all paid blade css */

.all-paid-fee-page {
    padding: 22px 24px 30px;
    background: #f1f5fd;
    min-height: calc(100vh - 90px);
    color: #12366b;
}

.all-paid-fee-page * {
    box-sizing: border-box;
}

.all-paid-fee-page .page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.all-paid-fee-page .page-title {
    font-size: 25px;
    font-weight: 700;
    color: #103d7b;
    margin: 0 0 5px;
}

.all-paid-fee-page .page-subtitle {
    color: #647b9d;
    font-size: 13px;
    margin: 0;
}

.all-paid-fee-page .back-btn {
    color: #12366b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.all-paid-fee-page .back-btn:hover {
    color: #3159ef;
}

.all-paid-fee-page .filter-card,
.all-paid-fee-page .records-card {
    background: #fff;
    border: 1px solid #e1e9f5;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 5px 22px rgba(29, 65, 120, 0.04);
    overflow: hidden;
}

.all-paid-fee-page .section-header {
    padding: 22px 25px;
    border-bottom: 1px solid #e6edf7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.all-paid-fee-page .section-header h5 {
    margin: 0;
    color: #103d7b;
    font-size: 17px;
    font-weight: 700;
}

.all-paid-fee-page .section-subtitle {
    color: #7185a5;
    font-size: 12px;
    margin: 6px 0 0;
}

/* Search filters */
.all-paid-fee-page .filter-body {
    padding: 24px 25px;
}

.all-paid-fee-page .filter-grid {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.65fr)
        minmax(170px, 1.15fr)
        minmax(155px, 1fr)
        minmax(155px, 1fr);
    gap: 18px;
    align-items: end;
}

.all-paid-fee-page .filter-field {
    min-width: 0;
}

.all-paid-fee-page .form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #183b6d;
    margin-bottom: 9px;
    line-height: 1.5;
}

.all-paid-fee-page .form-control,
.all-paid-fee-page .form-select {
    display: block;
    width: 100%;
    height: 44px;
    min-width: 0;
    border: 1px solid #d6e1f1;
    border-radius: 9px;
    background-color: #fff;
    color: #23436f;
    font-size: 12px;
    padding: 10px 12px;
    box-shadow: none;
}

.all-paid-fee-page .form-control::placeholder {
    color: #8b9bb4;
    opacity: 1;
}

.all-paid-fee-page .form-control:focus,
.all-paid-fee-page .form-select:focus {
    border-color: #5270f3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 91, 213, 0.1);
}

.all-paid-fee-page .filter-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.all-paid-fee-page .filter-buttons .btn {
    height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.all-paid-fee-page .btn-search {
    background: #3157f5;
    border: 1px solid #3157f5;
    color: #fff;
}

.all-paid-fee-page .btn-search:hover {
    background: #2446d5;
    border-color: #2446d5;
    color: #fff;
}

.all-paid-fee-page .btn-reset {
    background: #fff;
    border: 1px solid #d6e1f1;
    color: #284a79;
    text-decoration: none;
}

.all-paid-fee-page .btn-reset:hover {
    background: #f3f6fc;
    color: #173d75;
}

/* Records table */
.all-paid-fee-page .results-count {
    color: #7185a5;
    font-size: 12px;
}

.all-paid-fee-page .table-wrap {
    width: 100%;
    overflow-x: auto;
}

.all-paid-fee-page .payment-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
}

.all-paid-fee-page .payment-table thead th {
    background: #f5f8fe;
    color: #476083;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 16px 14px;
    border-bottom: 1px solid #e3ebf6;
    vertical-align: middle;
}

.all-paid-fee-page .payment-table tbody td {
    padding: 15px 14px;
    border-bottom: 1px solid #edf1f8;
    color: #344c6f;
    font-size: 12px;
    vertical-align: middle;
}

.all-paid-fee-page .payment-table tbody tr:hover {
    background: #f8faff;
}

.all-paid-fee-page .payment-table tbody tr:last-child td {
    border-bottom: none;
}

.all-paid-fee-page .receipt-number {
    color: #3157d5;
    font-weight: 700;
}

.all-paid-fee-page .student-name {
    color: #183b6d;
    font-weight: 600;
}

.all-paid-fee-page .amount {
    color: #15803d;
    font-weight: 700;
}

.all-paid-fee-page .print-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #d4defd;
    border-radius: 8px;
    background: #eef2ff;
    color: #3150ce;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.all-paid-fee-page .print-btn:hover {
    background: #3157f5;
    color: #fff;
    border-color: #3157f5;
}

.all-paid-fee-page .empty-state {
    padding: 38px 20px !important;
    text-align: center;
    color: #7185a5 !important;
}

.all-paid-fee-page .pagination-footer {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #e6edf7;
}

.all-paid-fee-page .pagination-footer .pagination {
    margin: 0;
}

.all-paid-fee-page .pagination .page-link {
    color: #3157d5;
    border-color: #e1e8f4;
    font-size: 12px;
}

.all-paid-fee-page .pagination .active .page-link {
    color: #fff;
    background: #3157f5;
    border-color: #3157f5;
}

/* Responsive layout */
@media (max-width: 1199px) {
    .all-paid-fee-page .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .all-paid-fee-page .search-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .all-paid-fee-page {
        padding: 14px;
    }

    .all-paid-fee-page .page-title {
        font-size: 21px;
    }

    .all-paid-fee-page .section-header,
    .all-paid-fee-page .filter-body {
        padding: 17px;
    }

    .all-paid-fee-page .filter-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .all-paid-fee-page .search-field {
        grid-column: auto;
    }

    .all-paid-fee-page .pagination-footer {
        padding: 16px;
    }
}

/* ledger blade css */

.ledger-page {
    --ledger-primary: #2864dc;
    --ledger-primary-dark: #204da9;
    --ledger-text: #263449;
    --ledger-muted: #7c899d;
    --ledger-border: #e7edf5;
    padding: 22px;
    color: var(--ledger-text);
    min-width: 0;
}

/* Hero Banner */
.ledger-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 172px;
    padding: 30px 36px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(115deg, #234eaa 0%, #3477ed 58%, #5794fa 100%);
    box-shadow: 0 10px 26px rgba(43, 100, 220, 0.17);
}

.ledger-hero::before,
.ledger-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.ledger-hero::before {
    width: 270px;
    height: 270px;
    right: 80px;
    top: -170px;
}

.ledger-hero::after {
    width: 220px;
    height: 220px;
    right: -55px;
    bottom: -150px;
}

.ledger-hero-content {
    position: relative;
    z-index: 1;
}

.ledger-eyebrow {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.ledger-hero h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.5px;
}

.ledger-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.87);
    font-size: 14px;
    line-height: 1.6;
}

.ledger-hero-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 35px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

/* Main Card */
.ledger-card {
    overflow: hidden;
    border: 1px solid var(--ledger-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(35, 55, 90, 0.045);
}

.ledger-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 23px 26px;
    border-bottom: 1px solid #edf1f7;
}

.ledger-card-header h4 {
    margin: 0 0 6px;
    color: #243b64;
    font-size: 18px;
    font-weight: 750;
}

.ledger-card-header p,
.ledger-table-heading p {
    margin: 0;
    color: var(--ledger-muted);
    font-size: 13px;
}

.ledger-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #dbe7ff;
    border-radius: 8px;
    background: #f0f5ff;
    color: #285dc3;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Summary */
.ledger-summary {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 23px 26px 8px;
    padding: 20px 22px;
    border: 1px solid #dfe9ff;
    border-radius: 12px;
    background: linear-gradient(110deg, #f2f6ff 0%, #f9fbff 100%);
}

.ledger-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #e1ebff;
    color: #2e67d5;
    font-size: 21px;
}

.ledger-summary-content span {
    display: block;
    margin-bottom: 5px;
    color: #5c6f8c;
    font-size: 12px;
    font-weight: 650;
}

.ledger-summary-content h3 {
    margin: 0;
    color: #244d9f;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.ledger-summary-content p {
    margin: 5px 0 0;
    color: #8996aa;
    font-size: 11px;
}

/* Table Heading */
.ledger-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 26px 17px;
}

.ledger-table-heading h5 {
    margin: 0 0 6px;
    color: #293e60;
    font-size: 15px;
    font-weight: 750;
}

/* Table */
.ledger-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid #e9eef5;
}

.ledger-table {
    width: 100%;
    min-width: 950px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.ledger-table > thead > tr > th {
    padding: 15px 15px;
    border: 0;
    border-bottom: 1px solid #e3eaf4;
    background: #f5f8fd;
    color: #526582;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.ledger-table > tbody > tr > td {
    padding: 15px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
    color: #46556b;
    font-size: 12px;
    line-height: 1.65;
    vertical-align: middle;
}

.ledger-table > tbody > tr:nth-child(even) > td {
    background: #fbfcfe;
}

.ledger-table > tbody > tr:hover > td {
    background: #f3f7ff;
}

.ledger-table .ledger-col-sno {
    width: 72px;
}

.ledger-table .ledger-col-date {
    width: 115px;
}

.ledger-table .ledger-col-amount {
    width: 135px;
}

.ledger-sno {
    color: #8592a6 !important;
    font-weight: 650;
}

.ledger-date-value {
    color: #526783;
    font-weight: 650;
    white-space: nowrap;
}

.ledger-particulars {
    min-width: 300px;
    max-width: 520px;
    color: #344760 !important;
    overflow-wrap: anywhere;
}

.ledger-amount {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ledger-debit {
    color: #344f7d;
    font-weight: 650;
}

.ledger-credit {
    color: #13846b;
    font-weight: 650;
}

.ledger-balance {
    color: #285dc3;
    font-weight: 750;
}

.ledger-table > tfoot > tr > th {
    padding: 17px 15px;
    border: 0;
    border-top: 1px solid #dce6f5;
    background: #f1f5fd;
    color: #30496e;
    font-size: 12px;
    font-weight: 750;
}

.ledger-table > tfoot > tr > .ledger-total-value {
    color: #2457b5;
    font-size: 14px;
    white-space: nowrap;
}

/* Empty State */
.ledger-empty {
    padding: 55px 20px;
    text-align: center;
}

.ledger-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    border-radius: 18px;
    background: #eef4ff;
    color: #6d8ed0;
    font-size: 25px;
}

.ledger-empty h5 {
    margin: 0 0 8px;
    color: #304563;
    font-size: 16px;
    font-weight: 750;
}

.ledger-empty p {
    margin: 0;
    color: #8793a5;
    font-size: 13px;
}

/* Pagination */

/* Pagination */
.ledger-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 25px;
    border-top: 1px solid #e9eef5;
    background: #fff;
}

.ledger-pagination-info {
    color: #8490a3;
    font-size: 12px;
}

.ledger-pagination-info strong {
    color: #455974;
    font-weight: 750;
}

.ledger-pagination-nav {
    max-width: 100%;
    overflow-x: auto;
}

.ledger-pagination-nav nav {
    margin: 0;
}

.ledger-pagination-nav nav > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.ledger-pagination-nav .pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.ledger-pagination-nav .page-item {
    margin: 0;
}

.ledger-pagination-nav .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #dfe7f2;
    border-radius: 8px !important;
    background: #fff;
    color: #526681;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.ledger-pagination-nav .page-link:hover {
    z-index: 1;
    border-color: #2f69d8;
    background: #edf4ff;
    color: #2457b5;
}

.ledger-pagination-nav .page-item.active .page-link {
    z-index: 2;
    border-color: #2f69d8;
    background: linear-gradient(135deg, #3477ed, #285dc3);
    color: #fff;
    box-shadow: 0 3px 8px rgba(47, 105, 216, 0.18);
}

.ledger-pagination-nav .page-item.disabled .page-link {
    border-color: #e7ecf3;
    background: #f5f7fa;
    color: #aeb8c7;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none;
}

.ledger-pagination-nav .page-link:focus {
    box-shadow: 0 0 0 3px rgba(47, 105, 216, 0.12);
}

@media (max-width: 767px) {
    .ledger-pagination {
        align-items: flex-start;
        padding: 17px;
    }

    .ledger-pagination-nav {
        width: 100%;
    }

    .ledger-pagination-nav .page-link {
        min-width: 34px;
        min-height: 34px;
        padding: 6px 9px;
    }
}

@media (max-width: 767px) {
    .ledger-page {
        padding: 13px;
    }

    .ledger-hero {
        min-height: 145px;
        padding: 24px 20px;
        border-radius: 13px;
    }

    .ledger-hero h2 {
        font-size: 25px;
    }

    .ledger-hero p {
        max-width: 250px;
        font-size: 12px;
    }

    .ledger-hero-icon {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
        border-radius: 15px;
        font-size: 24px;
    }

    .ledger-card-header {
        align-items: flex-start;
        padding: 19px;
    }

    .ledger-count {
        padding: 7px 9px;
        font-size: 10px;
    }

    .ledger-summary {
        margin: 18px 15px 5px;
        padding: 16px;
    }

    .ledger-summary-content h3 {
        font-size: 22px;
    }

    .ledger-table-heading {
        padding: 22px 18px 15px;
    }
}

@media (max-width: 420px) {
    .ledger-hero-icon {
        display: none;
    }

    .ledger-card-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* order-invoice blade css */

.orders-page {
    padding: 24px;
    min-height: 100vh;
    background: #f3f6fc;
    color: #243047;
}

.orders-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 28px 32px;
    border-radius: 16px;
    background: linear-gradient(115deg, #163b78, #2463c5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(30, 76, 145, 0.15);
}

.orders-hero-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.orders-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 25px;
}

.orders-hero-label {
    margin: 0 0 5px;
    color: #d5e4ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.orders-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}

.orders-hero-description {
    margin: 7px 0 0;
    color: #e1eaff;
    font-size: 14px;
}

.orders-card {
    overflow: hidden;
    border: 1px solid #e4eaf3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(25, 50, 90, 0.045);
}

.orders-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 26px 18px;
}

.orders-card-header h2 {
    margin: 0;
    color: #20365b;
    font-size: 19px;
    font-weight: 700;
}

.orders-card-header p {
    margin: 6px 0 0;
    color: #7c899e;
    font-size: 13px;
}

.orders-record-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid #dce8fb;
    border-radius: 9px;
    background: #f0f6ff;
    color: #245bb2;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Search Form */
.orders-search-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    align-items: end;
    gap: 15px;
    margin: 8px 26px 22px;
    padding: 20px;
    border: 1px solid #e4ebf5;
    border-radius: 12px;
    background: #f8faff;
}

.orders-form-group {
    min-width: 0;
}

.orders-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #344563;
    font-size: 12px;
    font-weight: 700;
}

.orders-input-wrapper {
    position: relative;
}

.orders-input-wrapper > i {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: #8796ad;
    font-size: 13px;
    pointer-events: none;
}

.orders-input-wrapper input,
.orders-select {
    display: block;
    width: 100%;
    height: 43px;
    padding: 10px 12px 10px 37px;
    border: 1px solid #dce4f0;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #263750;
    font-size: 13px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.orders-input-wrapper input::placeholder {
    color: #9aa6b8;
}

.orders-input-wrapper input:focus,
.orders-select:focus {
    border-color: #3977d3;
    box-shadow: 0 0 0 3px rgba(57, 119, 211, 0.1);
}

.orders-select {
    padding-right: 30px;
    cursor: pointer;
}

.orders-search-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.orders-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.orders-btn-primary {
    border-color: #2764bf;
    background: #2764bf;
    color: #fff;
}

.orders-btn-primary:hover {
    border-color: #194d9c;
    background: #194d9c;
    color: #fff;
}

.orders-btn-reset {
    border-color: #d8e1ed;
    background: #fff;
    color: #586982;
}

.orders-btn-reset:hover {
    border-color: #bdcde2;
    background: #edf3fb;
    color: #294d82;
}

/* Table */
.orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    min-width: 950px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.orders-table thead th {
    padding: 15px 14px;
    border-top: 1px solid #e7edf5;
    border-bottom: 1px solid #e0e8f3;
    background: #f3f7fd;
    color: #465b7b;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.orders-table tbody td {
    padding: 15px 14px;
    border-bottom: 1px solid #edf1f7;
    color: #4e5d73;
    font-size: 12px;
    vertical-align: middle;
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.orders-table tbody tr:hover {
    background: #f9fbff;
}

.orders-table .orders-sno {
    width: 65px;
    padding-left: 26px;
}

.orders-number {
    color: #245cb0 !important;
    font-weight: 600;
    white-space: nowrap;
}

.orders-amount {
    text-align: right !important;
    font-weight: 600;
    white-space: nowrap;
}

.orders-status {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #e0e8f4;
    border-radius: 6px;
    background: #f3f6fb;
    color: #465c7a;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.orders-action-heading,
.orders-action-cell {
    text-align: center !important;
}

.orders-delete-form {
    display: inline-block;
    margin: 0;
}

.orders-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #f2d6d9;
    border-radius: 8px;
    background: #fff5f5;
    color: #d3424d;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.orders-delete-btn:hover {
    border-color: #d3424d;
    background: #d3424d;
    color: #fff;
}

/* Empty State */
.orders-empty-cell {
    padding: 0 !important;
}

.orders-empty-state {
    padding: 55px 20px;
    text-align: center;
}

.orders-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #edf4ff;
    color: #5482c6;
    font-size: 24px;
}

.orders-empty-state h3 {
    margin: 0 0 8px;
    color: #344663;
    font-size: 17px;
    font-weight: 700;
}

.orders-empty-state p {
    margin: 0 0 18px;
    color: #8591a4;
    font-size: 13px;
}

/* Compact Pagination */
.orders-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid #e8edf5;
}

.orders-pagination-info {
    color: #7b899d;
    font-size: 12px;
}

.orders-pagination-info strong {
    color: #334866;
}

.orders-pagination-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.orders-pagination-links .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid #dfe5ee;
    border-radius: 5px;
    background: #fff;
    color: #425574;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.orders-pagination-links a.page-link:hover {
    border-color: #8aafe8;
    background: #f0f5ff;
    color: #245cb0;
}

.orders-pagination-links .page-link.active {
    border-color: #2764bf;
    background: #2764bf;
    color: #fff;
}

.orders-pagination-links .page-link.disabled {
    border-color: #e5e9f0;
    background: #f7f8fa;
    color: #a5adba;
    cursor: not-allowed;
}

.orders-pagination-links .page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 32px;
    color: #7b899d;
    font-size: 12px;
}

/* Alerts */
.orders-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px 17px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
}

.orders-alert-success {
    border-color: #ccebd8;
    background: #f0fbf4;
    color: #217447;
}

.orders-alert-error {
    border-color: #f1d0d0;
    background: #fff5f5;
    color: #b52f3b;
}

/* Responsive */
@media (max-width: 1100px) {
    .orders-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-search-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .orders-page {
        padding: 14px;
    }

    .orders-hero {
        padding: 22px 18px;
    }

    .orders-hero-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .orders-hero h1 {
        font-size: 22px;
    }

    .orders-card-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .orders-search-form {
        grid-template-columns: 1fr;
        margin: 0 15px 18px;
        padding: 15px;
    }

    .orders-search-actions {
        grid-column: auto;
        flex-wrap: wrap;
    }

    .orders-pagination {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .orders-pagination-links {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .orders-search-actions .orders-btn {
        flex: 1;
    }

    .orders-record-count {
        white-space: normal;
    }

    .orders-pagination-links .page-link {
        min-width: 29px;
        padding: 0 7px;
    }
}

/* dispatch item blade css */

.dispatch-page {
    padding: 24px;
    background: #f4f7fb;
    min-height: 75vh;
}

.dispatch-header {
    background: linear-gradient(135deg, #173b72, #2874c8);
    color: #fff;
    padding: 22px 25px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 5px 16px rgba(23, 59, 114, 0.12);
}

.dispatch-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.dispatch-header p {
    margin: 7px 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.dispatch-card {
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(31, 55, 90, 0.05);
}

.dispatch-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid #e8edf4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dispatch-card-header h5 {
    margin: 0;
    color: #18365f;
    font-size: 17px;
    font-weight: 600;
}

.dispatch-count {
    background: #eaf2ff;
    color: #2259a6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dispatch-table-wrapper {
    overflow-x: auto;
}

.dispatch-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 700px;
}

.dispatch-table thead {
    background: #f3f6fb;
}

.dispatch-table th {
    color: #415574;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 15px 18px;
    border-bottom: 1px solid #e5eaf2;
    white-space: nowrap;
}

.dispatch-table td {
    padding: 16px 18px;
    color: #42516a;
    font-size: 14px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}

.dispatch-table tbody tr:hover {
    background: #f8faff;
}

.dispatch-table tbody tr:last-child td {
    border-bottom: none;
}

.dispatch-number {
    color: #2563b9;
    font-weight: 600;
}

.dispatch-date {
    white-space: nowrap;
}

.dispatch-empty {
    text-align: center;
    padding: 45px 20px !important;
    color: #718096 !important;
}

.dispatch-empty-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}

.dispatch-footer {
    padding: 18px 22px;
    border-top: 1px solid #e8edf4;
}

.dispatch-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.dispatch-pagination-info {
    color: #718096;
    font-size: 13px;
}

.dispatch-pagination-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dispatch-pagination-links a,
.dispatch-pagination-links span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    justify-content: center;
    align-items: center;
    border: 1px solid #dce4ef;
    border-radius: 7px;
    color: #315780;
    text-decoration: none;
    font-size: 13px;
    background: #fff;
}

.dispatch-pagination-links .active {
    background: #2463b5;
    border-color: #2463b5;
    color: #fff;
}

.dispatch-pagination-links .disabled {
    color: #a0aec0;
    background: #f7f9fc;
}

.dispatch-tracking {
    margin-top: 22px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dispatch-tracking-icon {
    font-size: 27px;
    color: #2563b9;
}

.dispatch-tracking h6 {
    margin: 0 0 5px;
    color: #18365f;
    font-weight: 600;
}

.dispatch-tracking a {
    color: #2563b9;
    text-decoration: none;
    font-size: 14px;
}

.dispatch-tracking a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dispatch-page {
        padding: 14px;
    }

    .dispatch-header {
        padding: 18px;
    }

    .dispatch-header h2 {
        font-size: 21px;
    }

    .dispatch-card-header,
    .dispatch-footer {
        padding: 15px;
    }
}

.dispatch-tracking-logo {
    flex: 0 0 160px;
}

.dispatch-tracking-logo img {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 480px) {
    .dispatch-tracking {
        align-items: flex-start;
        flex-direction: column;
    }

    .dispatch-tracking-logo {
        flex-basis: auto;
        width: 150px;
    }
}

/* sidebar shrinkness css */
/* ==========================================================
   ALC SIDEBAR - COLLAPSE TO ICON-ONLY (desktop)
   Load AFTER custom.css. The sidebar and .main-area both read
   --sidebar-width, so shrinking that one variable resizes the
   sidebar and pulls the page content over to fill the space.
   On mobile (<= 760px) nothing here applies: the slide-in menu
   keeps working exactly as before.
   ========================================================== */

@media (min-width: 761px) {
    /* Smooth width change for the sidebar and the content next to it */
    .sidebar {
        transition:
            transform 0.25s ease,
            width 0.25s ease;
    }

    .main-area {
        transition: margin-left 0.25s ease;
    }

    /* The collapsed width */
    .app-shell.sidebar-collapsed {
        --sidebar-width: 76px;
    }

    /* Brand: logo only */
    .app-shell.sidebar-collapsed .sidebar-brand {
        padding-right: 0;
        padding-left: 0;
        justify-content: center;
    }

    .app-shell.sidebar-collapsed .brand-link {
        justify-content: center;
        gap: 0;
    }

    /* Hide every text label, keep the icons */
    .app-shell.sidebar-collapsed .brand-text,
    .app-shell.sidebar-collapsed .sidebar-section-label,
    .app-shell.sidebar-collapsed .nav-link > span,
    .app-shell.sidebar-collapsed .logout-button > span {
        display: none;
    }

    /* Menu icons centred in the narrow rail */
    .app-shell.sidebar-collapsed .sidebar-nav {
        padding-top: 14px;
    }

    .app-shell.sidebar-collapsed .nav-link {
        justify-content: center;
        gap: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .app-shell.sidebar-collapsed .nav-divider {
        margin: 10px 14px 6px;
    }

    /* Logout becomes an icon button */
    .app-shell.sidebar-collapsed .sidebar-bottom {
        padding-right: 12px;
        padding-left: 12px;
    }

    .app-shell.sidebar-collapsed .logout-button {
        gap: 0;
        padding-right: 0;
        padding-left: 0;
    }
}
