body { background-color: #f4f7fe; font-family: 'Poppins', sans-serif; color: #2b3674; overflow-x: hidden; }

/* Sidebar Logic */
.sidebar { height: 100vh; background: #fff; position: fixed; top: 0; left: 0; width: 260px; z-index: 1050; box-shadow: 2px 0 20px rgba(0,0,0,0.05); transition: 0.3s; }
.sidebar-header { padding: 30px 20px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.sidebar-header h4 { font-weight: 700; color: #e71e63; font-size: 22px; margin: 0; }
.sidebar-menu { padding: 20px 0; height: calc(100vh - 100px); overflow-y: auto; }
.sidebar a { padding: 15px 30px; text-decoration: none; font-size: 15px; color: #a3aed1; display: block; border-right: 4px solid transparent; font-weight: 500; transition: 0.2s; cursor: pointer; }
.sidebar a i { margin-right: 12px; font-size: 18px; width: 20px; text-align: center; }
.sidebar a:hover, .sidebar a.active { color: #e71e63; background-color: #f4f7fe; border-right-color: #e71e63; }

/* Main Wrapper - Desktop Fix */
.main-wrapper { margin-left: 260px; transition: 0.3s; display: flex; flex-direction: column; min-height: 100vh; }
.content { padding: 20px; flex-grow: 1; }

/* Header */
.top-header { background: #f4f7fe; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 999; backdrop-filter: blur(10px); }
.greeting-text { font-size: 20px; font-weight: 700; margin: 0; color: #2b3674; }
.greeting-sub { font-size: 12px; color: #a3aed1; margin: 0; }

.header-profile { display: flex; align-items: center; background: #fff; padding: 5px 10px; border-radius: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); cursor: pointer; }
.header-profile img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; margin-right: 8px; border: 2px solid #e71e63;}

/* Mobile Sidebar Overlay */
.sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1040; }

/* Desktop view me Overlay aur Hamburger hide rahega */
.d-lg-none { display: none; }

/* Responsive Media Queries - Mobile Fix */
@media (max-width: 991px) {
    .d-lg-none { display: block !important; }
    .sidebar { left: -260px; transition: 0.3s; } 
    .sidebar.open { left: 0; display: block !important; } 
    .main-wrapper { margin-left: 0; width: 100%; }
    .sidebar-overlay.show { display: block; }
    .greeting-text { font-size: 18px; }
    .content { padding: 15px; }
}

/* Stats Cards */
.card { border: none; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); background: #fff; margin-bottom: 20px; }
.stat-card { padding: 20px; display: flex; align-items: center; justify-content: space-between; border-radius: 20px; }
.stat-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; }
.icon-blue { background: #e9edff; color: #e71e63; } 
.icon-orange { background: #fff3e0; color: #ff9800; } 
.icon-green { background: #e8f5e9; color: #4caf50; } 
.icon-purple { background: #f3e5f5; color: #9c27b0; }

#login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #e71e63 0%, #868CFF 100%); z-index: 3000; display: flex; justify-content: center; align-items: center; }