* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
/* ----------Colors-------------*/
:root {
    --active-text-color: #0DA5E9;
    --text-main-color: #6E6E6E;
    --company-color: #2A6F95;
    --sidebar-width: 270px;
    --background-color: #EFF2FB;
    --mobile-sidebar-width: 80px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 200;
    background-color: var(--company-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; /* Full height */
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    height: 40px;
    max-width: 100%;
}

.sidebar-menu {
    padding: 20px 0;
    overflow-y: auto;
    flex: 1; /* Take remaining space */
}

.menu-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    color: var(--text-main-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.menu-item:hover {
    background-color: rgba(13, 165, 233, 0.05);
    color: var(--active-text-color);
}

.menu-item img {
    margin-right: 15px;
    width: 15px;
    text-align: center;
}

.menu-item.active {
    color: var(--active-text-color);
    background-color: rgba(13, 165, 233, 0.05);
}

.menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--active-text-color);
}

.sidebar-footer {
    border-top: 1px solid #00000021;
    padding: 15px 0;
    display: flex;
    justify-content: space-around;
    background-color: white;
}

.sidebar-footer a {
    color: var(--text-main-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: var(--active-text-color);
}

.sidebar-footer a img {
    margin-right: 10px;
    width: 15px;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; 
}
.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 15px;
    height: 60px;
     flex-shrink: 0;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info .user {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-info .notification {
    margin-right: 20px;
    position: relative;
    cursor: pointer;
}

.user-info .notification img {
    width: 20px;
}

.UserProfileImg {
    border-radius: 50%;
}

.UserProfileImg img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info .user-name {
    margin-right: 10px;
    text-align: right;
}

.user-info .user-name h4 {
    font-size: 14px;
    margin: 0;
    color: #38393C;
}

.user-info .user-name p {
    font-size: 10px;
    color: #ABABAB;
    margin: 0;
}

/* Dashboard Area */
.Dashbord {
    background-color: var(--background-color);
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    overflow-y: auto;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    :root {
        --sidebar-width: var(--mobile-sidebar-width);
    }
    
    .sidebar {
        width: var(--mobile-sidebar-width);
    }
    
    .menu-item span {
        display: none;
    }
    
    .menu-item {
        justify-content: center;
        padding: 15px 0;
    }
    
    .menu-item img {
        margin-right: 0;
        width: 20px;
    }
    
    .sidebar-footer a span {
        display: none;
    }
    
    .sidebar-footer {
        justify-content: center;
    }
    
    .sidebar-footer a {
        padding: 10px;
    }
    
    .sidebar-footer a img {
        margin-right: 0;
        width: 20px;
    }
    
    .main-content {
        margin-left: var(--mobile-sidebar-width);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header {
        padding-left: 50px;
    }
}

@media (max-width: 576px) {
    .user-info .user-name {
        display: none;
    }
    
    .user-info .notification {
        margin-right: 15px;
    }
}

/* Additional styles for ensuring content flow */
.container-fluid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
     overflow: hidden;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}


.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }
}