/*LOGIN*/

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

.login-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    /* Deep blue radial gradient background */
    background: radial-gradient(circle, #2a4a8c 0%, #0f172a 100%);
}

.login-card {
    width: min(380px, 100%);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Blue Header */
.card-header {
    background-color: #1a237e;
    color: white;
    text-align: center;
    padding: 35px 20px;
    position: relative;
}

.yellow-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #fbbf24; /* Golden yellow stripe */
}

.card-header h1 { font-size: 22px; letter-spacing: 2px; font-weight: 800; }
.card-header p { font-size: 10px; letter-spacing: 3px; margin-top: 5px; opacity: 0.8; }

/* Form Area */
.card-body { padding: 40px 30px; }
.card-body h2 { font-size: 20px; color: #333; margin-bottom: 5px; }
.card-body .subtitle { font-size: 13px; color: #777; margin-bottom: 30px; }

.input-group { margin-bottom: 20px; }
.input-group label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #444;
    margin-bottom: 8px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 12px;
    color: #aaa;
    font-size: 18px;
}

.input-container input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fcfcfc;
    font-size: 14px;
}

/* Container for the input and icon */
.password-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

/* Style for the actual input field */
.password-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 15px; /* Extra right padding for the icon */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.password-wrapper input:focus {
    border-color: #1e3a8a; /* EliteBlue Navy focus color */
}

/* Style for the eye-icon */
.eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b; /* Slate grey color */
    font-size: 20px;
    transition: color 0.3s ease;
}

.eye-icon:hover {
    color: #1e3a8a; /* Changes to navy on hover */
}


.btn-signin {
    width: 100%;
    padding: 14px;
    background-color: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-signin:hover { 
    background-color: #283593; 
    transform: translateY(-1px); 
}

.footer-text {
    text-align: center;
    font-size: 11px;
    color: #bbb;
    margin-top: 40px;
}
/*END OF LOGIN*/

/* Super Admin Dashboard */
:root {
            --elite-blue: #1a237e;
            --bg-gray: #f4f7f6;
            --sidebar-width: 260px;
            
            --sidebar-blue: #14244b; /* Deep EliteBlue */
            --gold: #ffc107;         /* Gold/Yellow for 'BLUE' and Active state */
            --text-muted: #aeb9cc;
            --fs-body: 14px;
            --fs-subtext: 13px;
            --fs-section-title: 24px;
            --fs-table-head: 12px;
            --fs-table-cell: 14px;

        }

        /* Consistent font sizes for dashboard modules */
        .superadmin-body,
        .superadmin-body button,
        .superadmin-body input,
        .superadmin-body select,
        .superadmin-body textarea,
        .mainadmin-body,
        .mainadmin-body button,
        .mainadmin-body input,
        .mainadmin-body select,
        .mainadmin-body textarea,
        .branchadmin-body,
        .branchadmin-body button,
        .branchadmin-body input,
        .branchadmin-body select,
        .branchadmin-body textarea {
            font-size: var(--fs-body);
        }

        .superadmin-body .table-header h3,
        .superadmin-body .table-header h2,
        .mainadmin-body .table-header h3,
        .mainadmin-body .table-header h2,
        .branchadmin-body .table-header h3,
        .branchadmin-body .table-header h2 {
            font-size: var(--fs-section-title);
            font-weight: 800;
        }

        .superadmin-body th,
        .mainadmin-body th,
        .branchadmin-body th {
            font-size: var(--fs-table-head);
        }

        .superadmin-body td,
        .mainadmin-body td,
        .branchadmin-body td {
            font-size: var(--fs-table-cell);
            line-height: 1.45;
        }

        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
            font-family: 
            'Segoe UI', sans-serif; 
        }

        .superadmin-body {
            display: flex;
            margin: 0;
            padding: 0;
            background-color: #f4f7f6;
        }

        /* SIDEBAR */
        .sidebar {
            width: 260px;
            background-color: #14244b;
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            color: white;
            overflow-y: auto;
            
        }
        .brand-wrapper { 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }
        .logo-shield { 
            width: 35px; 
            height: auto; 
        }

        .brand-text h1 {
            font-size: 18px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1;
            letter-spacing: 1px;
        }

        .brand-text h1 span { 
            color: var(--gold); 
        }

        .brand-text p {
            font-size: 8px;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 4px;
            text-transform: uppercase;
        }
        .sidebar .logo { 
            padding: 0 25px 25px; 
            font-weight: 800; 
            font-size: 22px; 
            border-bottom: 1px solid rgba(255,255,255,0.1);
         }
        .nav-links { 
            list-style: none; 
            margin-top: 20px; 
            padding-top: 10px;
        }
       .nav-links li a {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 25px;
            color: #aeb9cc; /* Muted gray-blue for inactive links */
            text-decoration: none;
            font-size: 14px;
            transition: 0.3s;
        }
        .nav-links li a:hover { 
            background: rgba(255,255,255,0.1); 
            color: white; 
            border-left: 4px solid white; 
        }

        /* MAIN CONTENT */
        .main-content {
            margin-left: 260px; /* MUST be exactly the same as the sidebar width */
            flex: 1;
            min-height: 100vh;
        }

        header {
            background: white; 
            padding: 15px 40px; 
            display: flex; 
            justify-content: flex-end;
            border-bottom: 4px solid #e0e0e0;
        }

        /* DROPDOWN MENU */
        .profile-container { 
            position: relative; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            font-size: 14px; 
        }
        .profile-trigger {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            color: #9ca3af;
            font-size: 18px;
        }
        .avatar-circle {
            width: 40px;
            height: 40px;
            background-color: #14244b; /* Your EliteBlue Navy */
            color: #f8b61c;           /* Your EliteBlue Gold */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.5px;
        }
        .user-info {
            display: flex;
            flex-direction: column;
            text-align: left;
        }
        .user-name {
            font-size: 14.5px;
            font-weight: 700;
            color: #1f2937; /* Dark Grey/Black */
            line-height: 1.1;
        }
        .user-role {
            font-size: 12px;
            color: #888; /* Muted Grey */
            margin-top: 2px;
        }
        .dropdown-menu {
            display: none; 
            position: absolute; 
            right: 0; top: 40px; 
            background: white;
            min-width: 180px; 
            box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
            border-radius: 8px; 
            z-index: 1000;
        }
        .dropdown-menu a { 
            padding: 12px 20px; 
            display: block; 
            text-decoration: none; 
            color: #333; 
            border-bottom: 1px solid #f8f9fa; 
        }
        .dropdown-menu a:hover { 
            background: #f8f9fa; 
        }
        .show { 
            display: block; 
        }

        /* DASHBOARD CARDS */
        .dashboard-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px; 
            padding: 30px; 
        }
        .card {
            background: #ffffff;
            padding: 20px;
            border-radius: 4px; /* More "minimal" square corners */
            border-top: 2px solid #ffc107; /* Thin yellow top border */
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .card h4 { 
            font-size: 10px;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }
        .card-content .value {
            font-size: 26px;
            font-weight: 700;
            color: #14244b;
            margin-bottom: 4px;
        }
        .card-content .subtext {
            font-size: 10px;
            color: #ccc;
            font-weight: 500;
        }
        .card-icon {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }
        .card-icon.navy { 
            background-color: #14244b; 
        }
        .card-icon.red { 
            background-color: #e53935; 
        }
        .card-icon.teal { 
            background-color: #00796b; 
        }
        .card-icon.blue { 
            background-color: #3b82f6; 
        }
        .navy { background-color: #1a237e; }
        .red { background-color: #e53935; }
        .teal { background-color: #00695c; }
        .blue { background-color: #1e88e5; }
        .green { background-color: #2e7d32; }
        .yellow { background-color: #f9a825; }
        .dark-navy { background-color: #0d1b2a; }
        .light-blue { background-color: #42a5f5; }
        .card .value { 
            font-size: 24px; 
            font-weight: 800; 
            color: #14244b; 
            margin: 5px 0; 
        }
        .card .subtext, .card .trend { 
            font-size: 10px; 
            color: #aaa; 
        }
        .trend .pos { 
            color: #10b981; 
        }
        .trend .neg { 
            color: #ef4444; 
        }

        /* The Yellow Active State from your image */
        .nav-links li a.active {
            background-color: rgba(255, 255, 255, 0.05);
            color: #ffc107; /* Gold/Yellow text */
            border-left: 4px solid #ffc107; /* Yellow vertical line */
        }

        .nav-links li a.active i { 
            color: var(--gold); 
        }

        .nav-links li a:hover:not(.active) {
            background: rgba(255, 255, 255, 0.05);
            color: white;
        }

        .nav-links li a i {
            display: inline-block !important;
            font-size: 18px; /* Matches the size in your image */
            min-width: 25px; /* Ensures text stays aligned */
            color: #aeb9cc; /* Muted gray-blue icon color */
        }
        .sidebar-header {
            padding: 25px 20px;
            background-color: #0d1b2a; /* Slightly darker blue for the header area */
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .brand-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-img {
            width: 42px;
            height: 42px;
            object-fit: contain;
            border-radius: 0;
            background: transparent;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
        }

        .logo-text h1 {
            font-size: 19px;
            font-weight: 900; /* Extra bold for the 'EliteBlue' look */
            color: #ffffff; /* White for 'ELITE' */
            line-height: 1;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .logo-text h1 span {
            color: #ffc107; /* The specific gold/yellow for 'BLUE' */
        }

        .logo-text p {
            font-size: 8px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.8px;
            margin-top: 3px;
            text-transform: uppercase;
        }
        /* END OF SUPER ADMIN DASHBOARD */
        /* MAIN ADMIN DASHBOARD */
        :root {
            --elite-blue: #1a237e;
            --bg-gray: #f4f7f6;
            --sidebar-width: 260px;
            
            --sidebar-blue: #1e2a4a; /* Deep EliteBlue */
            --gold: #ffc107;         /* Gold/Yellow for 'BLUE' and Active state */
            --text-muted: #aeb9cc;

        }

        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
            font-family: 
            'Segoe UI', sans-serif; 
        }

        .mainadmin-body {
            display: flex;
            margin: 0;
            padding: 0;
            background-color: #f4f7f6;
        }

        /* SIDEBAR */
        .sidebar {
            width: 260px;
            background-color: var(--sidebar-blue);
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            color: white;
            
        }
        .brand-wrapper { 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }
        .logo-shield { 
            width: 35px; 
            height: auto; 
        }

        .brand-text h1 {
            font-size: 18px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1;
            letter-spacing: 1px;
        }

        .brand-text h1 span { 
            color: var(--gold); 
        }

        .brand-text p {
            font-size: 8px;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 4px;
            text-transform: uppercase;
        }
        .sidebar .logo { 
            padding: 0 25px 25px; 
            font-weight: 800; 
            font-size: 22px; 
            border-bottom: 1px solid rgba(255,255,255,0.1);
         }
        .nav-links { 
            list-style: none; 
            margin-top: 20px; 
            padding-top: 10px;
        }
       .nav-links li a {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 25px;
            color: #aeb9cc; /* Muted gray-blue for inactive links */
            text-decoration: none;
            font-size: 14px;
            transition: 0.3s;
        }
        .nav-links li a:hover { 
            background: rgba(255,255,255,0.1); 
            color: white; 
            border-left: 4px solid white; 
        }

        /* MAIN CONTENT */
        .main-content {
            margin-left: 260px; /* MUST be exactly the same as the sidebar width */
            flex: 1;
            min-height: 100vh;
        }

        header {
            background: white; 
            padding: 15px 40px; 
            display: flex; 
            justify-content: flex-end;
            border-bottom: 1px solid #e0e0e0;
        }

        /* DROPDOWN MENU */
        .profile-container { 
            position: relative; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            font-size: 14px; 
        }
        .profile-trigger {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            color: #9ca3af;
            font-size: 18px;
        }
        .avatar-circle {
            width: 40px;
            height: 40px;
            background-color: #14244b; /* Your EliteBlue Navy */
            color: #f8b61c;           /* Your EliteBlue Gold */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.5px;
        }
        .user-info {
            display: flex;
            flex-direction: column;
            text-align: left;
        }
        .user-name {
            font-size: 14.5px;
            font-weight: 700;
            color: #1f2937; /* Dark Grey/Black */
            line-height: 1.1;
        }
        .user-role {
            font-size: 12px;
            color: #888; /* Muted Grey */
            margin-top: 2px;
        }
        .dropdown-menu {
            display: none; 
            position: absolute; 
            right: 0; top: 40px; 
            background: white;
            min-width: 180px; 
            box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
            border-radius: 8px; 
            z-index: 1000;
        }
        .dropdown-menu a { 
            padding: 12px 20px; 
            display: block; 
            text-decoration: none; 
            color: #333; 
            border-bottom: 1px solid #f8f9fa; 
        }
        .dropdown-menu a:hover { 
            background: #f8f9fa; 
        }
        .show { 
            display: block; 
        }

        /* DASHBOARD CARDS */
        .dashboard-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px; 
            padding: 30px; 
        }
        .card { 
            background: white;
            padding: 20px;
            border-radius: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-top: 3px solid #f8b61c; 
        }
        .card h4 { 
            font-size: 11px; 
            color: #888; 
            text-transform: uppercase; 
            margin-bottom: 5px; 
        }
        .card-icon {
            width: 45px;
            height: 45px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: white;
        }
        .card-icon.navy { 
            background-color: #14244b; 
        }
        .card-icon.red { 
            background-color: #e53935; 
        }
        .card-icon.teal { 
            background-color: #00796b; 
        }
        .card-icon.blue { 
            background-color: #3b82f6; 
        }
        .card .value { 
            font-size: 26px; 
            font-weight: bold; 
            color: var(--elite-blue); 
        }

        /* The Yellow Active State from your image */
        .nav-links li a.active {
            background-color: rgba(255, 255, 255, 0.05);
            color: #ffc107; /* Gold/Yellow text */
            border-left: 4px solid #ffc107; /* Yellow vertical line */
        }

        .nav-links li a.active i { 
            color: var(--gold); 
        }

        .nav-links li a:hover:not(.active) {
            background: rgba(255, 255, 255, 0.05);
            color: white;
        }

        .nav-links li a i {
            display: inline-block !important;
            font-size: 18px; /* Matches the size in your image */
            min-width: 25px; /* Ensures text stays aligned */
            color: #aeb9cc; /* Muted gray-blue icon color */
        }
        .sidebar-header {
            padding: 25px 20px;
            background-color: #0d1b2a; /* Slightly darker blue for the header area */
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .brand-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-img {
            width: 42px;
            height: 42px;
            object-fit: contain;
            border-radius: 0;
            background: transparent;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
        }

        .logo-text h1 {
            font-size: 19px;
            font-weight: 900; /* Extra bold for the 'EliteBlue' look */
            color: #ffffff; /* White for 'ELITE' */
            line-height: 1;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .logo-text h1 span {
            color: #ffc107; /* The specific gold/yellow for 'BLUE' */
        }

        .logo-text p {
            font-size: 8px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.8px;
            margin-top: 3px;
            text-transform: uppercase;
        }
        /* END OF MAIN ADMIN DASHBOARD */
        /* BRANCH ADMIN DASHBOARD */
        :root {
            --elite-blue: #1a237e;
            --bg-gray: #f4f7f6;
            --sidebar-width: 260px;
            
            --sidebar-blue: #1e2a4a; /* Deep EliteBlue */
            --gold: #ffc107;         /* Gold/Yellow for 'BLUE' and Active state */
            --text-muted: #aeb9cc;

        }

        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
            font-family: 
            'Segoe UI', sans-serif; 
        }

        .branchadmin-body {
            display: flex;
            margin: 0;
            padding: 0;
            background-color: #f4f7f6;
        }

        /* SIDEBAR */
        .sidebar {
            width: 260px;
            background-color: var(--sidebar-blue);
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            color: white;
            
        }
        .brand-wrapper { 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }
        .logo-shield { 
            width: 35px; 
            height: auto; 
        }

        .brand-text h1 {
            font-size: 18px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1;
            letter-spacing: 1px;
        }

        .brand-text h1 span { 
            color: var(--gold); 
        }

        .brand-text p {
            font-size: 8px;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 4px;
            text-transform: uppercase;
        }
        .sidebar .logo { 
            padding: 0 25px 25px; 
            font-weight: 800; 
            font-size: 22px; 
            border-bottom: 1px solid rgba(255,255,255,0.1);
         }
        .nav-links { 
            list-style: none; 
            margin-top: 20px; 
            padding-top: 10px;
        }
       .nav-links li a {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 25px;
            color: #aeb9cc; /* Muted gray-blue for inactive links */
            text-decoration: none;
            font-size: 14px;
            transition: 0.3s;
        }
        .nav-links li a:hover { 
            background: rgba(255,255,255,0.1); 
            color: white; 
            border-left: 4px solid white; 
        }

        /* MAIN CONTENT */
        .main-content {
            margin-left: 260px; /* MUST be exactly the same as the sidebar width */
            flex: 1;
            min-height: 100vh;
        }

        header {
            background: white; 
            padding: 15px 40px; 
            display: flex; 
            justify-content: flex-end;
            border-bottom: 1px solid #e0e0e0;
        }

        /* DROPDOWN MENU */
        .profile-container { 
            position: relative; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            font-size: 14px; 
        }
        .profile-trigger {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            color: #9ca3af;
            font-size: 18px;
        }
        .avatar-circle {
            width: 40px;
            height: 40px;
            background-color: #14244b; /* Your EliteBlue Navy */
            color: #f8b61c;           /* Your EliteBlue Gold */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.5px;
        }
        .user-info {
            display: flex;
            flex-direction: column;
            text-align: left;
        }
        .user-name {
            font-size: 14.5px;
            font-weight: 700;
            color: #1f2937; /* Dark Grey/Black */
            line-height: 1.1;
        }
        .user-role {
            font-size: 12px;
            color: #888; /* Muted Grey */
            margin-top: 2px;
        }
        .dropdown-menu {
            display: none; 
            position: absolute; 
            right: 0; top: 40px; 
            background: white;
            min-width: 180px; 
            box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
            border-radius: 8px; 
            z-index: 1000;
        }
        .dropdown-menu a { 
            padding: 12px 20px; 
            display: block; 
            text-decoration: none; 
            color: #333; 
            border-bottom: 1px solid #f8f9fa; 
        }
        .dropdown-menu a:hover { 
            background: #f8f9fa; 
        }
        .show { 
            display: block; 
        }

        /* DASHBOARD CARDS */
        .dashboard-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px; 
            padding: 30px; 
        }
        .card { 
            background: white;
            padding: 20px;
            border-radius: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-top: 3px solid #f8b61c; 
        }
        .card h4 { 
            font-size: 11px; 
            color: #888; 
            text-transform: uppercase; 
            margin-bottom: 5px; 
        }
        .card-icon {
            width: 45px;
            height: 45px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: white;
        }
        .card-icon.navy { 
            background-color: #14244b; 
        }
        .card-icon.red { 
            background-color: #e53935; 
        }
        .card-icon.teal { 
            background-color: #00796b; 
        }
        .card-icon.blue { 
            background-color: #3b82f6; 
        }
        .card .value { 
            font-size: 26px; 
            font-weight: bold; 
            color: var(--elite-blue); 
        }

        /* The Yellow Active State from your image */
        .nav-links li a.active {
            background-color: rgba(255, 255, 255, 0.05);
            color: #ffc107; /* Gold/Yellow text */
            border-left: 4px solid #ffc107; /* Yellow vertical line */
        }

        .nav-links li a.active i { 
            color: var(--gold); 
        }

        .nav-links li a:hover:not(.active) {
            background: rgba(255, 255, 255, 0.05);
            color: white;
        }

        .nav-links li a i {
            display: inline-block !important;
            font-size: 18px; /* Matches the size in your image */
            min-width: 25px; /* Ensures text stays aligned */
            color: #aeb9cc; /* Muted gray-blue icon color */
        }
        .sidebar-header {
            padding: 25px 20px;
            background-color: #0d1b2a; /* Slightly darker blue for the header area */
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .brand-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-img {
            width: 42px;
            height: 42px;
            object-fit: contain;
            border-radius: 0;
            background: transparent;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
        }

        .logo-text h1 {
            font-size: 19px;
            font-weight: 900; /* Extra bold for the 'EliteBlue' look */
            color: #ffffff; /* White for 'ELITE' */
            line-height: 1;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .logo-text h1 span {
            color: #ffc107; /* The specific gold/yellow for 'BLUE' */
        }

        .logo-text p {
            font-size: 8px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.8px;
            margin-top: 3px;
            text-transform: uppercase;
        }
        /* END OF BRANCH ADMIN DASHBOARD */

/* EMPLOYEE DASHBOARD */
.navbar {
    background-color: #1a237e;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-tag {
    font-size: 16px;
}

.logout {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid white;
    border-radius: 4px;
}

.dashboard-main {
    padding: 20px;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    /* LOGIN RESPONSIVE */
    .login-body {
        padding: 16px;
    }

    .login-card {
        width: 100%;
        max-width: 420px;
    }

    .card-header {
        padding: 25px 15px;
    }

    .card-header h1 {
        font-size: 18px;
    }

    .card-body {
        padding: 30px 20px;
    }

    /* DASHBOARD RESPONSIVE */
    .superadmin-body,
    .mainadmin-body,
    .branchadmin-body {
        display: block;
    }

    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        max-height: none;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }

    header {
        padding: 10px 20px;
        position: relative;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .hamburger {
        display: block;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        margin-right: 15px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .card {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(20, 36, 75, 0.08);
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .card .value {
        font-size: 22px;
    }

    .profile-container {
        gap: 5px;
        margin-left: auto;
    }

    .user-info {
        display: none;
    }

    /* EMPLOYEE DASHBOARD RESPONSIVE */
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .nav-right {
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-main {
        padding: 10px;
        margin: 20px;
    }

    .profile-trigger {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 560px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .card {
        padding: 12px;
    }

    .card h4 {
        font-size: 10px;
    }

    .card .value {
        font-size: 20px;
    }

    .login-card {
        border-radius: 16px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}


