/* Sidebar for desktop - hidden on mobile */
.sidebar {
    display: none !important;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    z-index: 200;
    flex-direction: column;
}

@media (min-width: 992px) {
    .sidebar {
        display: flex !important;
    }
}

.sidebar-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #E0E0E0;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    -webkit-overflow-scrolling: touch;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #E0E0E0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu-item {
    margin-bottom: 4px;
    list-style: none;
}

.nav-menu-item::marker {
    display: none;
}

.nav-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #616161;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.nav-menu-link:hover {
    background-color: #F5F5F5;
    text-decoration: none;
    color: #616161;
}

.nav-menu-link.active {
    color: #00CC61;
    border-left-color: #00CC61;
    background-color: rgba(0, 204, 97, 0.05);
}

.nav-menu-icon {
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.nav-menu-text {
    font-weight: 500;
}

.app-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 70%;
    width: 70%;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00CC61;
    color: white;
    border-radius: 8px;
    font-weight: 700;
    margin-right: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: #212121;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 204, 97, 0.1);
    color: #00CC61;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    color: #212121;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 12px;
    color: #757575;
}

/* Adjust main content for sidebar */
@media (min-width: 992px) {
    .main-content {
        margin-left: 240px;
    }
}

/* Adjust body padding for mobile navigation */
body {
    padding-bottom: 64px;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}