    /*=============== FONT ===============*/
    @font-face {
        font-family: 'Tajawal';
        src: url('../fonts/Tajawal-Light.woff2') format('woff2');
        font-weight: 300;
    }

    @font-face {
        font-family: 'Tajawal';
        src: url('../fonts/Tajawal-Regular.woff2') format('woff2');
        font-weight: 400;
    }

    @font-face {
        font-family: 'Tajawal';
        src: url('../fonts/Tajawal-Medium.woff2') format('woff2');
        font-weight: 500;
    }

    @font-face {
        font-family: 'Tajawal';
        src: url('../fonts/Tajawal-Bold.woff2') format('woff2');
        font-weight: 700;
    }

    @font-face {
        font-family: 'Tajawal';
        src: url('../fonts/Tajawal-Black.woff2') format('woff2');
        font-weight: 900;
    }


    /*=============== VARIABLES CSS ===============*/
    :root {
        --header-height: 3.5rem;

        /*========== Colors ==========*/
        --yellow-light: #fdf7e9;
        --yellow-light-hover: #fcf3de;
        --yellow-light-active: #f9e7ba;
        --yellow-normal: #ebb220;
        --yellow-normal-hover: #d4a01d;

        --green-normal: #164670;
        --green-normal-hover: #143f65;

        --blue-light: #eaf1f7;
        --blue-light-hover: #dfebf4;
        --blue-light-active: #bdd5e7;
        --blue-normal: #2a77b3;
        --blue-normal-hover: #266ba1;

        --light-blue-light: #edf6fa;
        --light-blue-light-active: #c6e2f1;
        --light-blue-normal: #47a3d1;
        --light-blue-normal-hover: #4093bc;



        /*========== Font and typography ==========*/
        --body-font: 'Tajawal', sans-serif;
        --h1-font-size: 64px;
        --h2-font-size: 48px;
        --h3-font-size: 36px;
        --title-size: 32px;
        --paragraph-size: 20px;
        --note-size: 16px;

        /*========== Font weight ==========*/
        --font-regular: 400;
        --font-medium: 500;
        --font-semi-bold: 600;
        --font-bold: 700;

        /*========== z index ==========*/
        --z-tooltip: 10;
        --z-fixed: 100;
    }

    /*=============== BASE ===============*/
    * {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        font-family: var(--body-font);
    }

    html {
        scroll-behavior: smooth;
    }

    input,
    button {
        outline: none;
        border: none;
    }

    ul {
        list-style: none;
    }

    a {
        text-decoration: none;
    }

    .btn {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    body {
        position: relative;
    }

    /*=============== SCROLL BAR ===============*/
    ::-webkit-scrollbar {
        width: 6px;
        background-color: hsl(24, 32%, 95%);
        border-radius: 0.2rem;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--blue-normal);
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: var(--blue-normal-hover);
    }

    /*=============== REUSABLE CSS CLASSES ===============*/
    .container {
        max-width: 1320px;
        margin: 0 auto;
    }

    .main_content {
        padding: 50px;
    }

    .section {
        padding-block: 5rem 3rem;
    }

    .layout {
        display: flex;
        align-items: start;
        /* justify-content: space-between; */
    }

    .sidebar {
        position: sticky;
        top: 0;
        align-self: flex-start;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
        gap: 28px;
        width: 86px;
        height: 100vh;
        background-color: white;
        padding: 14px 4px 54px 0;
        border-left: 2px solid #EAF1F7;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    /* Force collapse state for children when not open */
    .sidebar:not(.is-open) .header_menu h2,
    .sidebar:not(.is-open) .accordion_header h3,
    .sidebar:not(.is-open) .arrow_icon,
    .sidebar:not(.is-open) .menu_list,
    .sidebar:not(.is-open) .sidebar_footer span {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .sidebar:not(.is-open) .accordion_header {
        justify-content: center !important;
        padding: 10px 0 !important;
    }

    .sidebar:not(.is-open) .header_logo {
        width: 40px !important;
        margin: 0 auto 20px auto !important;
    }

    /* Custom Scrollbar for Sidebar */
    .sidebar::-webkit-scrollbar {
        width: 4px;
        /* Thin scrollbar for cleaner look */
    }

    .sidebar::-webkit-scrollbar-thumb {
        background-color: transparent;
        /* Invisible by default */
    }

    .sidebar:hover::-webkit-scrollbar-thumb {
        background-color: #e2e8f0;
        /* Show on hover */
    }


    .sidebar_close_mobile {
        display: none;
        position: absolute;
        top: 20px;
        left: 20px;
        width: 32px;
        height: 32px;
        background-color: var(--blue-light);
        border-radius: 8px;
        justify-content: center;
        align-items: center;
        color: var(--blue-normal);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1002;
    }

    .sidebar_close_mobile i {
        font-size: 18px;
    }

    .sidebar_close_mobile:hover {
        background-color: var(--blue-normal);
        color: white;
    }

    .sidebar_toggle {
        position: absolute;
        left: -16px;
        top: 55px;
        width: 32px;
        height: 32px;
        background-color: var(--blue-normal);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        border: 3px solid white;
    }

    .sidebar_toggle i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }


    .sidebar_toggle:hover {
        background-color: var(--blue-normal-hover);
    }

    .header_logo {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .header_logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .sidebar_menu {
        display: flex;
        align-items: center;
        width: 100%;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
        padding-left: 5px;
    }

    /* scrollbar ÙƒÙ„Ù‡ */
    .sidebar_menu::-webkit-scrollbar {
        width: 6px;
        /* Ù‡Ù†Ø§ Ø¨ØªØµØºØ± Ø§Ù„Ø¹Ø±Ø¶ */
    }

    /* Ø§Ù„Ø¬Ø²Ø¡ Ø§Ù„Ù„ÙŠ Ø¨ÙŠØªØ­Ø±Ùƒ */
    .sidebar_menu::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 10px;
    }

    /* Ø§Ù„Ø®Ù„ÙÙŠØ© */
    .sidebar_menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar_menu .header_menu {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        margin-bottom: 10px;
        border-radius: 4px;
        background-color: #F8FAFC;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 10px 14px;
        border: 1px solid transparent;
    }

    .sidebar_menu .header_menu .category {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .sidebar_menu .header_menu .category span {
        width: 100%;
        height: 100%;
        background-color: #94a3b8;
        border-radius: 2px;
    }

    .sidebar_menu .header_menu h2 {
        display: none;
        font-size: 14px;
        font-weight: 700;
        color: #475569;
        white-space: nowrap;
        opacity: 0;
    }


    .sidebar_menu .header_menu.active {
        background-color: var(--blue-normal);
        border-color: var(--blue-normal-hover);
        box-shadow: 0 4px 12px rgba(42, 119, 179, 0.2);
    }

    .sidebar_menu .header_menu.active h2 {
        color: white;
    }

    .sidebar_menu .header_menu.active .category span {
        background-color: white;
    }


    .menu_links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0px;
    }

    .links {
        display: flex;
        flex-direction: column;
        width: 100%;
        /* gap: 8px; */
        padding-bottom: 10px;
        border-bottom: 1px solid var(--blue-light);
    }

    .links h3 {
        display: none;
        font-size: 16px;
        font-weight: var(--font-medium);
        color: #475569;
        margin-bottom: 0;
        padding-right: 0;
        opacity: 0;
        transition: 0.3s;
    }

    /* Sidebar Accordion Styles */
    .accordion_link {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 5px !important;
        margin-bottom: 5px;
    }

    .accordion_header {
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        padding: 10px 14px;
        min-height: 48px;
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        user-select: none;
        border: 1px solid transparent;
    }

    .sidebar.is-open .accordion_header:hover {
        background-color: #F1F5F9;
        border-color: #e2e8f0;
    }

    .header_icon {
        font-size: 18px;
        color: #94a3b8;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
        transition: 0.3s;
    }

    .arrow_icon {
        display: none;
        font-size: 10px;
        color: #cbd5e1;
        transition: transform 0.3s ease;
        margin-right: auto;
        opacity: 0.8;
    }

    .sidebar.is-open .arrow_icon {
        display: block;
    }

    .accordion_link.open .arrow_icon {
        transform: rotate(180deg);
    }


    .accordion_link.open .header_icon {
        color: var(--light-blue-normal);
    }

    .accordion_link.open .accordion_header h3 {
        color: var(--light-blue-normal);
        font-weight: var(--font-bold);
    }

    /* .accordion_link.open .accordion_header {
    background-color: var(--blue-light);
    border-color: var(--blue-light-active);
} */

    .accordion_link .menu_list {
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        padding-right: 9px;
        margin-right: 5px;
    }

    .accordion_link.open .menu_list {
        max-height: 800px;
        opacity: 1;
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .sidebar:not(.is-open) .accordion_header {
        justify-content: center;
        padding: 12px 0;
    }

    .sidebar:not(.is-open) .accordion_link .menu_list {
        display: none;
    }


    .menu_list {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }

    .menu_list li {
        width: 100%;
    }

    .menu_list li a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        padding: 12px;
        font-size: 15px;
        font-weight: var(--font-medium);
        color: #53545C;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .menu_list li a i {
        font-size: 18px;
        width: 24px;
        text-align: center;
        color: #53545C;
        flex-shrink: 0;
    }

    .menu_list li a span {
        display: none;
        opacity: 0;
        white-space: nowrap;
    }

    .menu_list li a:hover {
        background-color: #f8fafc;
        color: #53545C;
    }

    .menu_list li a:hover i {
        color: var(--blue-normal);
    }

    .menu_list li a.active {
        color: var(--yellow-normal);
    }

    .menu_list li a.active i {
        color: var(--yellow-normal);
    }

    .sidebar_footer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: auto;
        padding-top: 20px;
    }

    .sidebar_footer .logout {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        background: transparent;
        width: 100%;
        padding: 12px;
        font-size: 15px;
        color: #CC5F5F;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.2s;
    }

    .sidebar_footer .logout i {
        font-size: 18px;
        width: 24px;
        flex-shrink: 0;
    }

    .sidebar_footer .logout span {
        display: none;
        opacity: 0;
    }

    .sidebar_footer .logout:hover {
        background: #FFF5F5;
    }

    /* ===== Ø§Ù„ÙˆØ¶Ø¹ Ø§Ù„Ù…ÙØªÙˆØ­ ===== */
    .sidebar.is-open {
        width: 260px;
    }

    .sidebar.is-open .sidebar_toggle i {
        transform: rotate(180deg);
    }

    .sidebar.is-open .header_logo {
        width: 110px;
        height: auto;
    }

    .sidebar.is-open .sidebar_menu {
        align-items: start;
    }

    .sidebar.is-open .sidebar_menu .header_menu {
        justify-content: start;
        padding: 10px 14px;
    }


    .sidebar.is-open .sidebar_menu .header_menu h2 {
        display: block;
        opacity: 1;
    }

    .sidebar.is-open .menu_links .links h3 {
        display: block;
        opacity: 1;
    }

    .sidebar.is-open .menu_links .links .menu_list li a {
        justify-content: start;
        padding: 6px 12px;
        /* gap: 8px; */
    }

    .dot-icon {
        font-size: 6px !important;
        color: #53545C;
        transition: 0.3s;
    }

    .menu_list li a:hover .dot-icon {
        color: #53545C;
    }

    .menu_list li a.active .dot-icon {
        color: var(--yellow-normal);
        transform: scale(1.2);
    }


    .sidebar.is-open .menu_links .links .menu_list li a span {
        display: block;
        opacity: 1;
    }

    .sidebar.is-open .sidebar_footer .logout {
        justify-content: start;
        padding: 10px 16px;
        gap: 12px;
    }

    .sidebar.is-open .sidebar_footer .logout span {
        display: block;
        opacity: 1;
    }

    .content_header {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .header {
        width: 100%;
        height: 72px;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
        display: flex;
        align-items: center;
        position: sticky;
        top: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 5;
    }

    .header .nav {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 24px;
    }

    .search_input {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 320px;
        height: 44px;
        padding: 0 18px;
        border-radius: 6px;
        background-color: #f5f6fb;
        border: 1px solid transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin-inline-end: auto;
        color: #8799a4;

        input {
            width: 100%;
            height: 100%;
            background: transparent;
            color: black;
            font-size: 14px;

            &::placeholder {
                color: #8799a4;
            }
        }
    }

    .search_input:focus-within {
        background-color: #ffffff;
        border-color: var(--blue-normal);
        border-width: 2px;

        i {
            color: var(--blue-normal);
        }
    }

    .header_actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    /* Notification Styles */
    .notifications_container {
        position: relative;
    }

    .bell_trigger,
    .chat_trigger {
        width: 42px;
        height: 42px;
        background: #eaf1f7;
        border: 1px solid transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
        color: #9ca3aa;
    }

    .bell_trigger:hover,
    .chat_trigger:hover {
        background: #ffffff;
        border-color: #e2e8f0;
        color: var(--blue-normal);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    }

    .unread_badge {
        position: absolute;
        top: -4px;
        left: -4px;
        background: #ef4444;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        z-index: 10;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
        animation: badgePulse 2s infinite;
    }

    @keyframes badgePulse {
        0% {
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
        }

        70% {
            box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
        }
    }

    .notifications_dropdown {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 380px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(226, 232, 240, 0.8);
        z-index: 10000;
        display: none;
        flex-direction: column;
        overflow: hidden;
        transform-origin: top left;
    }

    .notifications_dropdown.show {
        display: flex;
        animation: dropdownShow 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    }

    @keyframes dropdownShow {
        from {
            opacity: 0;
            transform: scale(0.95) translateY(-10px);
        }

        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .dropdown_header {
        padding: 16px 20px;
        border-bottom: 1px solid #F1F5F9;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown_header h3 {
        font-size: 16px;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

    .mark_all_read {
        font-size: 12px;
        color: var(--blue-normal);
        font-weight: 500;
        text-decoration: none;
    }

    .notifications_list {
        max-height: 400px;
        overflow-y: auto;
    }

    .notification_item {
        padding: 16px 24px;
        display: flex;
        gap: 16px;
        border-bottom: 1px solid #f8fafc;
        transition: all 0.2s ease;
        cursor: pointer;
        text-decoration: none;
        position: relative;
    }

    .notification_item:hover {
        background: #f8fafc;
        padding-right: 28px;
    }


    .notif_icon {
        width: 36px;
        height: 36px;
        background: #fff;
        border: 1px solid #F1F5F9;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: var(--blue-normal);
    }

    .notif_content {
        flex: 1;
    }

    .notif_content p {
        font-size: 14px;
        color: #475569;
        line-height: 1.5;
        margin-bottom: 4px;
        margin: 0;
        font-weight: 700;
    }

    .notif_time {
        font-size: 11px;
        color: #94A3B8;
    }

    .unread_dot {
        width: 8px;
        height: 8px;
        background: var(--blue-normal);
        border-radius: 50%;
        margin-top: 15px;
    }

    /* Dropdown Footer */

    .dropdown_footer {
        padding: 12px;
        text-align: center;
        border-top: 1px solid #F1F5F9;
    }

    .dropdown_footer a {
        font-size: 13px;
        color: #64748b;
        font-weight: 500;
        text-decoration: none;
    }

    .empty_notifications {
        padding: 20px;
        display: flex;
        text-align: center;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        color: rgb(148, 163, 184);
    }

    .empty_notifications i {
        font-size: 32px;
        margin-bottom: 15px;
        display: block;
        opacity: 0.5;
    }

    .empty_notifications p {
        font-size: 14px;
    }

    /* Profile Styles */
    .profile_container {
        position: relative;
    }

    .profile {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 6px 12px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }


    .profile img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
    }

    .profile_info h3 {
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

    .profile_info span {
        font-size: 12px;
        color: #64748b;
    }

    .profile .angle {
        font-size: 10px;
        color: #94a3b8;
        transition: 0.3s;
    }

    .profile_dropdown {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 220px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(226, 232, 240, 0.8);
        z-index: 10000;
        display: none;
        overflow: hidden;
        transform-origin: top left;
    }

    .profile_dropdown.show {
        display: block;
        animation: dropdownShow 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    }

    .profile_dropdown ul {
        padding: 8px 0;
        list-style: none;
        margin: 0;
    }

    .profile_dropdown ul li a,
    .profile_dropdown ul li button {
        width: 100%;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        color: #475569;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        transition: 0.2s;
        text-align: right;
    }

    .profile_dropdown ul li a i,
    .profile_dropdown ul li button i {
        font-size: 16px;
        color: #94a3b8;
    }

    .profile_dropdown ul li a:hover {
        background: #F8FAFC;
        color: var(--blue-normal);
    }

    .profile_dropdown ul li button:hover {
        color: red;

        i {
            color: red;
        }
    }

    .profile_dropdown ul li a:hover i {
        color: var(--blue-normal);
    }

    .logout-item {
        border-top: 1px solid #F1F5F9;
        margin-top: 4px;
        padding-top: 4px;
    }

    .logout-item button {
        color: #EF4444;
    }

    .logout-item button i {
        color: #EF4444;
    }

    .logout-item button:hover {
        background: #FEF2F2;
        color: #DC2626;
    }

    .logout-item button:hover i {
        color: #DC2626;
    }

    .back_btn_header {
        width: 42px;
        height: 42px;
        background: #eaf1f7;
        border: 1px solid transparent;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s;
        color: #9ca3aa;
    }

    .back_btn_header:hover {
        background: #ffffff;
        border-color: #e2e8f0;
        color: var(--blue-normal);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    }

    /*=============== ACTIONS DROPDOWN GLOBAL STYLES ===============*/
    .actions-dropdown {
        position: relative;
        display: inline-block;
    }

    .actions-dropdown .dropdown-toggle {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 14px;
    }

    .actions-dropdown .dropdown-toggle:hover {
        background: #f1f5f9;
        color: #1e293b;
        border-color: #cbd5e1;
    }

    .actions-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 160px;
        border-radius: 8px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f5f9;
        z-index: 10000;
        margin-top: 5px;
        display: none;
        flex-direction: column;
        padding: 6px;
    }

    .actions-dropdown .dropdown-menu.show {
        display: flex;
    }

    .actions-dropdown .dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        color: #475569;
        font-size: 14px;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.2s;
        text-align: right;
        width: 100%;
        background: none;
        border: none;
        cursor: pointer;
        text-decoration: none;
    }

    .actions-dropdown .dropdown-item:hover {
        background: #f8fafc;
        color: #2a77b3;
    }

    .actions-dropdown .dropdown-item i {
        font-size: 14px;
        width: 16px;
        text-align: center;
    }

    .actions-dropdown .dropdown-item.delete {
        color: #ef4444;
    }

    .actions-dropdown .dropdown-item.delete:hover {
        background: #fef2f2;
        color: #dc2626;
    }

    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        width: 100%;

        th,
        td {
            white-space: nowrap;
        }
    }

    /* Desktop: Ensure parents don't clip dropdowns */
    @media (min-width: 992px) {

        .container_table,
        .roll_table,
        .libirary_books {
            overflow: scroll !important;
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;

            th,
            td {
                white-space: nowrap;
            }
        }
    }

    /* Mobile: Ensure horizontal scroll works */
    @media (max-width: 991px) {


        .table-responsive,
        .container_table,
        .roll_table,
        .libirary_books {
            overflow: scroll !important;
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;

            th,
            td {
                white-space: nowrap;
            }
        }
    }

    /* Add min-height to table-responsive to prevent clipping on small tables */
    .table-responsive {
        min-height: 250px;
    }

    /*############### RESPONSIVE DESIGN ###############*/

    /* Breakpoint: Extra Large (Desktop/MacBook) - 1200px */
    @media (max-width: 1200px) {
        .container {
            max-width: 100%;
            padding-inline: 25px;
        }
    }

    /* Breakpoint: Large (Tablet Landscape/Desktop) - 991px */
    @media (max-width: 991px) {
        .sidebar {
            position: fixed !important;
            right: -300px;
            left: unset !important;
            min-width: 260px !important;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
            padding-top: 20px;
            z-index: 10000;
            min-height: 100vh;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex !important;
        }

        .sidebar.is-open {
            right: 0 !important;
        }

        .sidebar.is-open .sidebar_close_mobile {
            display: flex;
        }

        .sidebar_toggle {
            display: none !important;
        }

        .content_header {
            max-width: 100% !important;
            width: 100% !important;
            margin-right: 0 !important;
            padding-inline: 20px;
        }

        .header .nav {
            justify-content: space-between;
        }

        .nav {
            padding-inline: 15px !important;
        }

        .search_input {
            display: none !important;
        }

        .sidebar_toggle {
            display: none !important;
        }

        .mobile_menu_trigger {
            display: flex !important;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            cursor: pointer;
            color: var(--blue-normal);
            font-size: 20px;
            transition: 0.3s;
            order: -1;
            margin-left: 10px;
        }

        .mobile_menu_trigger:hover {
            background: var(--blue-light);
        }

        .table-responsive {
            overflow-x: auto !important;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;

            th,
            td {
                white-space: nowrap;
            }
        }

        .table-responsive table {
            min-width: 700px;
        }
    }

    /* Breakpoint: Medium (Tablet Portrait/Phone) - 767px */
    @media (max-width: 767px) {
        .nav .profile_info {
            display: none !important;
        }

        .nav .header_actions {
            padding-left: 0 !important;
            border-left: none !important;
            gap: 10px !important;
        }

        .content_header {
            padding: 15px !important;
        }

        .main_content {
            padding-block: 30px;
            padding: 0 !important;
        }
    }

    /* Breakpoint: Small (Phone) - 576px */
    @media (max-width: 576px) {
        .container {
            padding-inline: 15px;
        }

        .header_account h2 {
            font-size: 18px !important;
        }

        .notifications_dropdown {
            left: -140px;
            width: 290px;
        }
    }


    .mobile_menu_trigger {
        display: none;
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        height: 64px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    }

    /*=============== SIDEBAR FOOTER & LOGOUT ===============*/
    .sidebar_footer {
        width: 100%;
        padding: 20px 14px;
        margin-top: auto;
        border-top: 1px solid #f1f5f9;
    }

    .logout_btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        background: rgb(246, 247, 251);
        color: rgb(178, 184, 188);
        padding: 12px 14px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        transition: 0.3s;
        border: 1px solid rgb(246, 247, 251);
        text-decoration: none;
    }

    .logout_btn:hover {
        background: #fee2e2;
        color: #ef4444;
        transform: translateY(-2px);
    }

    .sidebar:not(.is-open) .logout_btn {
        justify-content: center;
        padding: 12px 0;
    }

    .sidebar:not(.is-open) .logout_btn span {
        display: none;
    }