.dashboard-with-sidebars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-height: calc(100vh - 200px);
}

.dashboard-left-sidebar,
.dashboard-right-sidebar {
    display: none;
}

.dashboard-main-content {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-mobile-toggle {
    display: block;
    width: 100%;
    padding: 20px 24px;
    background: var(--surface-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: none;
    touch-action: manipulation;
    min-height: 64px;
    text-align: center;
}

.sidebar-mobile-toggle:active {
    border-color: var(--accent-primary);
    background: var(--surface-elevated);
}

.sidebar-mobile-toggle.active {
    border-color: var(--accent-primary);
    background: rgba(143, 171, 143, 0.15);
}

.sidebar-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    transition: none;
}

.sidebar-mobile-overlay.active {
    display: block;
    opacity: 1;
}

.dashboard-toggle-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 600px) {
    .dashboard-toggle-buttons {
        flex-direction: row;
        gap: 16px;
    }
    
    .dashboard-toggle-buttons .sidebar-mobile-toggle {
        flex: 1;
    }
}

.dashboard-left-sidebar.mobile-open,
.dashboard-right-sidebar.mobile-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    background: var(--surface-card);
    padding: 20px;
    padding-right: 12px;
    border-right: 1px solid var(--border-default);
    -webkit-overflow-scrolling: touch;
}

.dashboard-left-sidebar.mobile-open::-webkit-scrollbar,
.dashboard-right-sidebar.mobile-open::-webkit-scrollbar {
    width: 8px;
}

.dashboard-left-sidebar.mobile-open::-webkit-scrollbar-track,
.dashboard-right-sidebar.mobile-open::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-left-sidebar.mobile-open::-webkit-scrollbar-thumb,
.dashboard-right-sidebar.mobile-open::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.dashboard-left-sidebar.mobile-open::-webkit-scrollbar-thumb:hover,
.dashboard-right-sidebar.mobile-open::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary-hover);
}

.dashboard-right-sidebar.mobile-open {
    left: 0;
    right: auto;
    transform: translateY(100%);
    border-right: none;
    border-left: none;
}

.dashboard-left-sidebar.mobile-open.active,
.dashboard-right-sidebar.mobile-open.active {
    transform: translateY(0);
}

body.sidebar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.sidebar-section {
    margin-bottom: 24px;
}

.dashboard-left-sidebar .sidebar-section:first-child,
.dashboard-right-sidebar .sidebar-section:first-child {
    padding-top: 8px;
}

.dashboard-left-sidebar,
.dashboard-right-sidebar {
    position: relative;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 10px;
    padding-right: 8px;
    border-bottom: 1px solid var(--border-default);
}

.sidebar-nav-item {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: none;
    margin-bottom: 8px;
    border: 1px solid var(--border-default);
    background: var(--surface-elevated);
    touch-action: manipulation;
    min-height: 52px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sidebar-nav-item:active {
    background: var(--surface-card);
    border-color: var(--accent-primary);
}

.sidebar-nav-item.active {
    background: rgba(143, 171, 143, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 700;
}

.sidebar-nav-text {
    flex: 1;
    font-weight: inherit;
    font-size: inherit;
}

.sidebar-nav-badge {
    background: var(--accent-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.sidebar-stats-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.sidebar-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-default);
    min-height: 44px;
}

.sidebar-stat-item:last-child {
    border-bottom: none;
}

.sidebar-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.sidebar-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
}

.sidebar-quick-link {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    transition: none;
    margin-bottom: 8px;
    touch-action: manipulation;
    min-height: 52px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-quick-link:active {
    background: var(--surface-card);
    border-color: var(--accent-primary);
}

.sidebar-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-default);
    min-height: 60px;
    transition: background-color 0.2s ease;
}

.sidebar-activity-item:hover {
    background-color: rgba(143, 171, 143, 0.05);
}

.sidebar-activity-item:last-child {
    border-bottom: none;
}

.sidebar-activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.sidebar-activity-content {
    flex: 1;
    min-width: 0;
}

.sidebar-activity-text {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sidebar-activity-time {
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .sidebar-activity-item {
        padding: 10px 0;
        min-height: 56px;
    }
    
    .sidebar-activity-text {
        font-size: 13px;
    }
    
    .sidebar-activity-time {
        font-size: 11px;
    }
    
    .sidebar-activity-dot {
        width: 8px;
        height: 8px;
        margin-top: 3px;
    }
}

.sidebar-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: none;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    margin: 0;
    padding: 0;
    opacity: 0.7;
}

.sidebar-close-btn:hover {
    opacity: 1;
    background: var(--surface-card);
}

.sidebar-close-btn:active {
    background: var(--surface-card);
    border-color: var(--accent-primary);
    transform: scale(0.9);
    opacity: 1;
}

@media (min-width: 600px) {
    .dashboard-with-sidebars {
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .dashboard-with-sidebars {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 20px;
        align-items: start;
    }
    
    .dashboard-left-sidebar {
        display: block;
        background: var(--surface-card);
        border: 1px solid var(--border-default);
        border-radius: var(--radius-lg);
        padding: 20px;
        padding-right: 12px;
        height: fit-content;
        position: sticky;
        top: 70px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .dashboard-left-sidebar::-webkit-scrollbar {
        width: 8px;
    }
    
    .dashboard-left-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .dashboard-left-sidebar::-webkit-scrollbar-thumb {
        background: var(--accent-primary);
        border-radius: 4px;
    }
    
    .dashboard-left-sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--accent-primary-hover);
    }
    
    .dashboard-right-sidebar {
        display: none;
    }
    
    .sidebar-mobile-toggle {
        display: none;
    }
    
    .sidebar-mobile-overlay {
        display: none !important;
    }
    
    .dashboard-left-sidebar.mobile-open,
    .dashboard-right-sidebar.mobile-open {
        position: relative;
        transform: none;
        width: 100%;
        height: auto;
        max-width: none;
    }
}

@media (min-width: 1200px) {
    .dashboard-with-sidebars {
        grid-template-columns: 260px minmax(0, 1fr) 280px;
        gap: 24px;
        align-items: start;
    }
    
    .dashboard-right-sidebar {
        display: block;
        background: var(--surface-card);
        border: 1px solid var(--border-default);
        border-radius: var(--radius-lg);
        padding: 24px;
        padding-right: 12px;
        height: fit-content;
        position: sticky;
        top: 70px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .dashboard-right-sidebar::-webkit-scrollbar {
        width: 8px;
    }
    
    .dashboard-right-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .dashboard-right-sidebar::-webkit-scrollbar-thumb {
        background: var(--accent-primary);
        border-radius: 4px;
    }
    
    .dashboard-right-sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--accent-primary-hover);
    }
    
    .dashboard-left-sidebar {
        padding: 24px;
    }
    
    .dashboard-main-content {
        align-self: start;
    }
}

@media (min-width: 1400px) {
    .dashboard-with-sidebars {
        grid-template-columns: 280px minmax(0, 1fr) 300px;
    }
}
