        
        body {
            background-color: #f8f9fa;
        }
        .login-card {
            border-radius: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        .welcome-title {
            font-weight: bold;
            color: #0d6efd;
        }
        .divider {
            text-align: center;
            margin: 20px 0;
        }
        .divider:before,
        .divider:after {
            content: '';
            flex: 1;
            height: 1px;
            background: #dee2e6;
        }
        .divider span {
            padding: 0 10px;
            color: #adb5bd;
        }

    .nav-link{
        color: white;
    }

    .custom-header-blue {

  --bs-table-bg: #0c4a94;


  --bs-table-color: #fff;
  color: var(--bs-table-color);

  --bs-table-border-color: #1a5ca7; 
  border-color: var(--bs-table-border-color);
  background-color: var(--bs-table-bg);
}

.custom-header-blue th {
    color: inherit;
}

.sidebar-link:hover {
    background-color: #2f89fc;
}

.sidebar {
    position: sticky;
    top: 0; 
    height: 100vh; 
    overflow-y: auto; 
}
   
        
        :root {
            --primary-color: #0c4a94;
            /* BMA Primary Blue */
            --primary-light: #3a6fb0;
            /* Lighter blue for highlights */
            --primary-dark: #083a75;
            /* Darker blue for accents */
            --secondary-color: #f0b429;
            /* Golden accent */
            --secondary-light: #f4c864;
            /* Lighter gold */
            --accent-green: #27ae60;
            /* Success green */
            --accent-red: #e74c3c;
            /* Alert red */
            --accent-orange: #f39c12;
            /* Warning orange */
            --accent-purple: #9b59b6;
            /* Purple for charts */
            --light-bg: #f8fafc;
            /* Light background */
            --card-bg: #ffffff;
            /* Card background */
            --text-primary: #2c3e50;
            /* Primary text */
            --text-secondary: #7f8c8d;
            /* Secondary text */
            --border-color: #e9ecef;
            /* Border color */
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light-bg);
            color: var(--text-primary);
            overflow-x: hidden;
        }

        /* Sidebar Styling */
        #sidebar {
            background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
            color: white;
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            width: 280px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            z-index: 1000;
            box-shadow: 3px 0 20px rgba(12, 74, 148, 0.15);
        }

        #sidebar .sidebar-header {
            padding: 1.5rem 1.2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            background-color: rgba(255, 255, 255, 0.05);
        }

        #sidebar .sidebar-header h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0;
            color: white;
        }

        #sidebar .sidebar-header h3 i {
            color: var(--secondary-color);
            margin-right: 10px;
        }

        #sidebar .sidebar-header .bank-logo {
            height: 20px;
            margin-bottom: 0px;
        }

        #sidebar ul.components {
            padding: 15px 0;
            overflow-y: auto;
            max-height: calc(100vh - 220px);
        }

        #sidebar ul li a {
            padding: 10px 25px;
            font-size: 1rem;
            display: block;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            border-left: 4px solid transparent;
            font-weight: 500;
        }

        #sidebar ul li a:hover {
            color: white;
            background-color: rgba(255, 255, 255, 0.08);
            border-left: 4px solid var(--secondary-color);
        }

        #sidebar ul li a i {
            margin-right: 15px;
            width: 20px;
            text-align: center;
            color: var(--secondary-light);
            font-size: 1.1rem;
        }

        #sidebar ul li.active>a {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
            color: white;
            border-left: 4px solid var(--secondary-color);
            font-weight: 600;
        }

        #sidebar ul li.active>a i {
            color: white;
        }

        /* Submenu Styling */
        #sidebar ul ul a {
            padding: 8px 25px 8px 65px;
            font-size: 0.95rem;
            background-color: rgba(0, 0, 0, 0.08);
            border-left: 2px solid rgba(240, 180, 41, 0.3);
        }

        /* User profile area */
        .user-profile {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }

        .user-profile img {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid var(--secondary-color);
            object-fit: cover;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        .user-info {
            display: inline-block;
            margin-left: 12px;
        }

        .user-name {
            font-weight: 600;
            color: white;
            font-size: 0.95rem;
        }

        .user-role {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.75);
        }

        /* Main content area */
        #content {
            margin-left: 280px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            min-height: 100vh;
            background-color: var(--light-bg);
        }

        /* Enhanced Navbar styling */
        .navbar {
            background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
            box-shadow: 0 4px 20px rgba(12, 74, 148, 0.15);
            padding: 15px 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
        }

        .navbar .container-fluid {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* Toggle button for mobile */
        #sidebarCollapse {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            padding: 10px 15px;
            font-size: 1.2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
            backdrop-filter: blur(5px);
        }

        #sidebarCollapse:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
            background: rgba(255, 255, 255, 0.25);
        }

        /* Welcome message in navbar */
        .navbar-welcome {
            flex-grow: 1;
            text-align: center;
            margin: 0 20px;
        }

        .navbar-welcome h4 {
            font-weight: 700;
            margin-bottom: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            font-size: 1.5rem;
            line-height: 1.2;
        }

        /* Enhanced notification dropdown */
        .notification-btn {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 10px;
            padding: 10px 15px;
            position: relative;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
        }

        .notification-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            box-shadow: 0 2px 6px rgba(199, 56, 43, 0.3);
            border: 2px solid var(--primary-dark);
        }

        /* Enhanced dropdown menu */
        .notification-dropdown {
            min-width: 350px;
            border: none;
            box-shadow: 0 15px 35px rgba(12, 74, 148, 0.2);
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .notification-dropdown .dropdown-header {
            background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            font-weight: 600;
            padding: 15px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .notification-item {
            padding: 15px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.2s;
        }

        .notification-item:hover {
            background-color: rgba(12, 74, 148, 0.05);
        }

        .notification-item:last-child {
            border-bottom: none;
        }

        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .notification-icon.warning {
            background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e22 100%);
            color: white;
        }

        .notification-icon.info {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
            color: white;
        }

        .notification-icon.success {
            background: linear-gradient(135deg, var(--accent-green) 0%, #2ecc71 100%);
            color: white;
        }

        .notification-content {
            flex-grow: 1;
        }

        .notification-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 3px;
            color: var(--text-primary);
        }

        .notification-time {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        /* Responsive design */
        @media (max-width: 992px) {
            #sidebar {
                margin-left: -280px;
            }

            #sidebar.active {
                margin-left: 0;
            }

            #content {
                margin-left: 0;
            }

            #content.active {
                margin-left: 0;
            }

            .overlay {
                display: none;
                position: fixed;
                width: 100vw;
                height: 100vh;
                background: rgba(0, 0, 0, 0.7);
                z-index: 999;
                backdrop-filter: blur(3px);
            }

            .overlay.active {
                display: block;
            }

            .navbar-welcome h4 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 768px) {
            .navbar-welcome {
                display: none;
            }
        }

        /* Sidebar collapsed state for desktop */
        #sidebar.collapsed {
            margin-left: -280px;
        }

        #content.expanded {
            margin-left: 0;
        }

        /* Enhanced Card Styling */
        .dashboard-card {
            border-radius: 14px;
            border: 1px solid var(--border-color);
            background: var(--card-bg);
            box-shadow: 0 6px 18px rgba(12, 74, 148, 0.06);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            margin-bottom: 25px;
            overflow: hidden;
        }

        .dashboard-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(12, 74, 148, 0.12);
            border-color: rgba(12, 74, 148, 0.15);
        }

        /* Stat Cards with Improved Color Coordination */
        .stat-card {
            border-radius: 14px;
            color: white;
            padding: 28px 25px;
            margin-bottom: 25px;
            position: relative;
            overflow: hidden;
            border: none;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            transform: translate(30%, -30%);
        }

        .stat-card::after {
            content: '';
            position: absolute;
            bottom: -20px;
            right: -20px;
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
        }

        .stat-card-deposits {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        }

        .stat-card-transactions {
            background: linear-gradient(135deg, var(--accent-green) 0%, #2ecc71 100%);
        }

        .stat-card-customers {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        }

        .stat-card-pending {
            background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e22 100%);
        }

        .stat-number {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 8px;
            line-height: 1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .stat-label {
            font-size: 1rem;
            font-weight: 500;
            opacity: 0.9;
            margin-bottom: 18px;
        }

        .stat-icon {
            font-size: 3.2rem;
            opacity: 0.15;
            position: absolute;
            right: 25px;
            top: 25px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .stat-trend {
            font-size: 0.9rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.15);
            padding: 6px 12px;
            border-radius: 20px;
            width: fit-content;
            backdrop-filter: blur(5px);
        }

        .stat-trend.up {
            color: rgba(255, 255, 255, 0.95);
        }

        .stat-trend.up i {
            color: #a9ffc7;
        }

        .stat-trend.down {
            color: rgba(255, 255, 255, 0.95);
        }

        .stat-trend.down i {
            color: #ffb8b8;
        }

        /* Chart containers */
        .chart-container {
            background: var(--card-bg);
            border-radius: 14px;
            padding: 25px;
            border: 1px solid var(--border-color);
            box-shadow: 0 6px 18px rgba(12, 74, 148, 0.06);
            margin-bottom: 25px;
            height: 100%;
        }

        .chart-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
        }

        .chart-title i {
            color: var(--primary-color);
            margin-right: 10px;
            background: rgba(12, 74, 148, 0.08);
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Activity feed */
        .activity-item {
            display: flex;
            padding: 18px 0;
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s;
        }

        .activity-item:hover {
            background: rgba(12, 74, 148, 0.02);
            padding-left: 10px;
            padding-right: 10px;
            margin: 0 -10px;
            border-radius: 8px;
        }

        .activity-item:last-child {
            border-bottom: none;
        }

        .activity-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
            font-size: 1.1rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .activity-icon.deposit {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
            color: white;
        }

        .activity-icon.withdrawal {
            background: linear-gradient(135deg, var(--accent-red) 0%, #c0392b 100%);
            color: white;
        }

        .activity-icon.loan {
            background: linear-gradient(135deg, var(--accent-green) 0%, #27ae60 100%);
            color: white;
        }

        .activity-icon.security {
            background: linear-gradient(135deg, var(--accent-purple) 0%, #8e44ad 100%);
            color: white;
        }

        /* Quick action buttons */
        .quick-action-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 25px 15px;
            border-radius: 14px;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            box-shadow: 0 6px 18px rgba(12, 74, 148, 0.06);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            text-decoration: none;
            color: var(--text-primary);
            text-align: center;
            height: 100%;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(12, 74, 148, 0.05);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Sidebar link adjustments */
        .sidebar-link:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        /* Submenu adjustments */
        .collapse a {
            padding-left: 2rem;
        }

        /* for footer */
                #content {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
