   

        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            /* background-color: #212121; */
            /* padding: 10px; */
        }

        /* Header Container */
        .main-header {
            background-color: #ffffff;
            height: 70px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
            /* border-radius: 6px; */
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        /* Left Section */
        .header-left {
            display: flex;
            align-items: center;
        }

        .custom-menu-container {
            position: relative;
        }

        .custom-menu-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background-color: #f8fafc;
            color: #0f3661;
            border: 1px solid #e2e8f0;
            padding: 10px 18px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .custom-menu-btn:hover {
            background-color: #f1f5f9;
            border-color: #cbd5e1;
        }

        .hamburger-icon {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .hamburger-icon span {
            display: block;
            width: 14px;
            height: 2px;
            background-color: #0f3661;
        }

        /* Left Dropdown Menu */
        .custom-dropdown {
            display: none;
            position: absolute;
            top: 120%;
            left: 0;
            background-color: #ffffff;
            min-width: 200px;
            box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
            border-radius: 6px;
            list-style: none;
            padding: 6px 0;
            z-index: 1010;
            border: 1px solid #e2e8f0;
        }

        .custom-dropdown.show {
            display: block;
        }

        .custom-dropdown li a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 18px;
            text-decoration: none;
            color: #334155;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.2s;
        }

        .custom-dropdown li a i {
            font-size: 16px;
            width: 20px;
            color: #0f3661; /* Icon color according to button theme */
        }

        .custom-dropdown li a:hover {
            background-color: #f1f5f9;
            color: #0f3661;
        }

        /* Right Section */
        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* Search Bar */
        .search-container {
            display: flex;
            align-items: center;
        }

        .search-input {
            width: 260px;
            padding: 10px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 14px;
            color: #334155;
            font-weight: 500;
            outline: none;
            transition: all 0.2s ease;
        }

        .search-input::placeholder {
            color: #64748b;
            font-weight: 600;
        }

        .search-input:focus {
            border-color: #cbd5e1;
            box-shadow: 0 0 0 3px rgba(15, 54, 97, 0.05);
        }

        /* Notification Wrapper */
        .notification-wrapper {
            position: relative;
        }

        .notification-container {
            position: relative;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px;
            border-radius: 50%;
            transition: background-color 0.2s;
            -webkit-tap-highlight-color: transparent;
        }

        .notification-container:hover {
            background-color: #f1f5f9;
        }

        .bell-icon {
            font-size: 22px;
            color: #64748b;
        }

        .notification-badge {
            position: absolute;
            top: 2px;
            right: 2px;
            background-color: #dc3545;
            color: #ffffff;
            font-size: 10px;
            font-weight: bold;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Notification Dropdown Panel */
        .notification-dropdown {
            display: none;
            position: absolute;
            top: 140%;
            right: -60px;
            background-color: #ffffff;
            width: 340px;
            box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 10px;
            overflow: hidden;
            z-index: 1010;
            border: 1px solid #e2e8f0;
        }

        .notification-dropdown.show {
            display: block;
        }

        .noti-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 16px;
            background-color: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }

        .noti-header h3 {
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
        }

        .noti-header .mark-all-btn {
            font-size: 12px;
            color: #3b82f6;
            text-decoration: none;
            font-weight: 600;
        }

        .noti-list {
            max-height: 280px;
            overflow-y: auto;
            list-style: none;
        }

        .noti-item {
            display: flex;
            gap: 12px;
            padding: 14px 16px;
            border-bottom: 1px solid #f1f5f9;
            transition: background-color 0.2s;
            cursor: pointer;
        }

        .noti-item:hover {
            background-color: #f8fafc;
        }

        .noti-item.unread {
            background-color: #f0fdf4;
        }

        .noti-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }

        .noti-content {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .noti-text {
            font-size: 13px;
            color: #334155;
            line-height: 1.4;
        }

        .noti-text strong {
            color: #0f172a;
        }

        .noti-content .noti-time {
            font-size: 11px;
            color: #94a3b8;
        }

        .noti-footer {
            padding: 12px;
            text-align: center;
            background-color: #f8fafc;
            border-top: 1px solid #e2e8f0;
        }

        .noti-footer a {
            font-size: 12px;
            color: #475569;
            text-decoration: none;
            font-weight: 600;
        }

        /* Divider */
        .vertical-divider {
            width: 1px;
            height: 32px;
            background-color: #e2e8f0;
        }

        /* Profile Section */
        .user-profile-wrapper {
            position: relative;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .profile-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-details {
            display: flex;
            flex-direction: column;
        }

        .user-name {
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
            white-space: nowrap;
        }

        .user-role {
            font-size: 12px;
            color: #64748b;
            font-weight: 500;
            white-space: nowrap;
        }

        .dropdown-arrow {
            font-size: 12px;
            color: #0f3661;
            transition: transform 0.2s ease;
        }
        
        .user-profile.active .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Profile Dropdown Menu */
        .profile-dropdown-menu {
            display: none;
            position: absolute;
            top: 130%;
            right: 0;
            background-color: #ffffff;
            min-width: 260px;
            box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
            border-radius: 10px;
            padding: 16px 0 8px 0;
            z-index: 1010;
            border: 1px solid #e2e8f0;
        }

        .profile-dropdown-menu.show {
            display: block;
        }

        .dropdown-heading {
            font-size: 11px;
            font-weight: 800;
            color: #1a365d;
            text-transform: uppercase;
            padding: 0 20px 12px 20px;
            letter-spacing: 0.5px;
        }

        .profile-dropdown-menu ul {
            list-style: none;
        }

        .profile-dropdown-menu ul li a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 20px;
            text-decoration: none;
            color: #334155;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.2s ease;
        }

        .profile-dropdown-menu ul li a:hover {
            background-color: #f8fafc;
        }

        .profile-dropdown-menu ul li a i {
            font-size: 16px;
            width: 20px;
        }

        .profile-dropdown-menu ul li a i.fa-user { color: #3b82f6; }
        .profile-dropdown-menu ul li a i.fa-gear { color: #64748b; }
        .profile-dropdown-menu ul li a i.fa-shield-halved { color: #10b981; }

        .dropdown-divider {
            height: 1px;
            background-color: #f1f5f9;
            margin: 8px 0;
        }

        .profile-dropdown-menu ul li a.logout-link {
            color: #e11d48;
        }

        .profile-dropdown-menu ul li a.logout-link:hover {
            background-color: #fff1f2;
        }

        /* ==========================================
           RESPONSIVE MEDIA QUERIES (FIXED FOR MOBILE)
           ========================================== */
        @media (max-width: 768px) {
            .main-header {
                padding: 0 12px;
                height: 65px;
            }

            /* FIXED: Purane code me menu-btn text ke sath icon bhi hide ho rha tha, ab sirf text hide hoga */
            .user-details, .custom-menu-btn > span:last-child, .vertical-divider {
                display: none !important;
            }

            .custom-menu-btn {
                padding: 10px 12px;
            }

            .search-input {
                width: 140px;
                padding: 8px 12px;
                font-size: 13px;
            }

            .header-right {
                gap: 12px;
            }

            /* FIXED: Dropdowns layout updates for better positioning */
            .custom-dropdown {
                position: absolute;
                top: 120%;
                left: 0;
                width: 220px;
            }

            .notification-dropdown {
                position: fixed;
                top: 75px;
                left: 5%;
                right: 5%;
                width: 90%;
                max-width: none;
            }

            .profile-dropdown-menu {
                position: fixed;
                top: 75px;
                left: 5%;
                right: 5%;
                width: 90%;
                min-width: unset;
            }
        }

        @media (max-width: 480px) {
            .search-input {
                width: 100px;
            }
            .search-input::placeholder {
                font-size: 11px;
            }
        }
    

















/* hero section */

    :root {
        --bg-main: #f4f7fa;
        --text-dark: #0f172a;
        --text-muted: #64748b;
        --primary-blue: #3b82f6;
        --success-green: #10b981;
        --warning-orange: #f59e0b;
        --danger-red: #ef4444;
        --border-color: #e2e8f0;
    }

    .dashboard-container {
        font-family: 'Inter', sans-serif;
        background-color: var(--bg-main);
        padding: 24px;
        color: var(--text-dark);
        position: relative;
        min-height: calc(100vh - 70px);
    }

    /* Hero / Title Section */
    .hero-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-title {
        font-size: 26px;
        font-weight: 700;
        color: #0f3661;
    }

    .urgent-btn {
        background-color: #fffbeb;
        color: #b45309;
        border: 2px solid #f59e0b;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.1);
        transition: all 0.2s ease;
    }

    .urgent-btn:hover {
        background-color: #fef3c7;
        transform: translateY(-1px);
    }

    .urgent-btn i {
        animation: bell-ring 1.5s infinite ease-in-out;
    }

    @keyframes bell-ring {
        0%, 100% { transform: rotate(0); }
        15% { transform: rotate(15deg); }
        30% { transform: rotate(-15deg); }
        45% { transform: rotate(10deg); }
        60% { transform: rotate(-10deg); }
    }

    /* Stats Grid Layout */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 24px;
    }

    .stat-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        border-left: 4px solid transparent;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }

    .stat-card.active-tasks { border-left-color: var(--primary-blue); }
    .stat-card.completed-tasks { border-left-color: var(--success-green); }
    .stat-card.progress-tasks { border-left-color: var(--warning-orange); }
    .stat-card.pending-tasks { border-left-color: var(--danger-red); }

    .stat-label {
        font-size: 11px;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--text-muted);
        letter-spacing: 0.5px;
    }

    .stat-value {
        font-size: 36px;
        font-weight: 700;
        margin: 8px 0;
        color: #0f2d52;
    }

    .stat-footer {
        font-size: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Progress Bar inside Card */
    .card-progress-container {
        width: 100%;
        background-color: #f1f5f9;
        height: 6px;
        border-radius: 4px;
        margin-top: 12px;
        overflow: hidden;
    }
    .card-progress-bar {
        height: 100%;
        background-color: var(--success-green);
        border-radius: 4px;
    }

    /* Performance & Distribution Row */
    .charts-row {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }

    .chart-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    }

    .chart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .chart-title {
        font-size: 16px;
        font-weight: 700;
        color: #0f3661;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .live-badge {
        font-size: 11px;
        background: #f1f5f9;
        color: var(--text-dark);
        padding: 4px 8px;
        border-radius: 6px;
        font-weight: 600;
    }

    /* Visual Graph Placeholders styling */
    .mock-bar-chart {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        height: 180px;
        padding-top: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .bar-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        height: 100%;
        justify-content: flex-end;
        gap: 8px;
    }
    .bar-fill {
        width: 24px;
        background-color: #2563eb;
        border-radius: 4px 4px 0 0;
        transition: height 0.5s ease;
    }
    .bar-label {
        font-size: 11px;
        color: var(--text-muted);
        margin-bottom: -22px;
    }

    /* Donut Chart Visual Asset Representation */
    .donut-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 180px;
    }
    .donut-chart {
        width: 130px;
        height: 130px;
        background: conic-gradient(
            var(--danger-red) 0% 25%, 
            var(--primary-blue) 25% 60%, 
            #2d9796 60% 100%
        );
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .donut-hole {
        width: 75px;
        height: 75px;
        background-color: #ffffff;
        border-radius: 50%;
    }
    .chart-legends {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 14px;
        font-size: 11px;
        font-weight: 600;
    }
    .legend-item { display: flex; align-items: center; gap: 4px; }
    .legend-color { width: 12px; height: 12px; border-radius: 3px; }

    /* TMS Table Section Styling */
    .tms-section {
        background: #ffffff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    }

    .tms-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .ledger-btn {
        background-color: #0f172a;
        color: #ffffff;
        border: none;
        padding: 8px 16px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
    }

    /* Filter Controls Layout */
    .filters-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-bottom: 20px;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .filter-group label {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-muted);
    }

    .filter-control {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-dark);
        outline: none;
        background-color: #ffffff;
    }

    .search-wrapper {
        position: relative;
    }
    .search-wrapper i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
    }
    .search-wrapper input {
        padding-left: 34px;
    }

    /* Responsive Data Table */
    .table-responsive {
        overflow-x: auto;
    }

    .data-table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
    }

    .data-table th {
        background-color: #f8fafc;
        padding: 12px 16px;
        font-size: 11px;
        font-weight: 800;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid var(--border-color);
    }

    .data-table td {
        padding: 16px;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
        color: var(--text-dark);
    }

    .task-title {
        font-weight: 700;
        color: #1e293b;
    }

    /* Badges Pill designs */
    .badge-pill {
        display: inline-block;
        padding: 4px 10px;
        font-size: 11px;
        font-weight: 700;
        border-radius: 6px;
    }

    .badge-pill.hrms { background-color: #1e293b; color: #ffffff; }
    .badge-pill.engine { background-color: #e0f2fe; color: #2563eb; }
    .badge-pill.finance { background-color: #e0f2fe; color: #0891b2; }

    /* Operational Status Tags */
    .status-tag {
        display: inline-block;
        padding: 4px 12px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid transparent;
    }
    .status-tag.completed { background-color: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
    .status-tag.in-progress { background-color: #fffbeb; color: #d97706; border-color: #fde68a; }
    .status-tag.overdue { background-color: #fef2f2; color: #dc2626; border-color: #fecaca; }

    /* ==========================================
       DYNAMIC FLOATING ACTION BUTTON SYSTEM (FAB)
       ========================================== */
    .fab-wrapper {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 2000;
    }

    .fab-btn {
        width: 56px;
        height: 56px;
        background-color: #1e40af;
        color: #ffffff;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.5);
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .fab-btn:hover {
        background-color: #1d4ed8;
        transform: scale(1.05) rotate(90deg);
    }

    /* FAB Dropdown Options Panel */
    .fab-menu {
        position: absolute;
        bottom: 70px;
        right: 0;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
        width: 240px;
        padding: 8px 0;
        display: none;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.2s ease;
        border: 1px solid var(--border-color);
        list-style: none;
    }

    .fab-menu.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .fab-item a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 20px;
        text-decoration: none;
        color: #1e293b;
        font-size: 15px;
        font-weight: 700;
        transition: background-color 0.2s;
    }

    .fab-item a:hover {
        background-color: #f8fafc;
    }

    /* Exact Icon Branding Color Scheme matching image */
    .fab-item i {
        font-size: 18px;
        width: 24px;
    }
    .fab-item .fa-user-plus { color: #10b981; }
    .fab-item .fa-building-user { color: #06b6d4; }
    .fab-item .fa-address-book { color: #3b82f6; }
    .fab-item .fa-file-circle-plus { color: #f59e0b; }


    /* ==========================================
       RESPONSIVE MEDIA QUERIES (MOBILE FRIENDLY)
       ========================================== */
    @media (max-width: 1024px) {
        .stats-grid { grid-template-columns: repeat(2, 1fr); }
        .charts-row { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
        .dashboard-container { padding: 16px; }
        .filters-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 480px) {
        .stats-grid { grid-template-columns: 1fr; }
        .filters-grid { grid-template-columns: 1fr; }
        .hero-section { flex-direction: column; align-items: flex-start; }
        .urgent-btn { width: 100%; justify-content: center; }
        .fab-wrapper { bottom: 20px; right: 20px; }
    }





















 

       
 

        /* 1. TOP HEADER TITLE SECTION */
        
       

         

        

      

      

      

        /* 2. FILTERS PANEL SECTION */
    

       
 

        /* 3. TWO COLUMN MAIN CONTENT LAYOUT */
       
       
 

        /* TABLE STYLING */
        
   

        
      
        
  