
body {
    background: #f8f9fa;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Main wrapper - flex container */
.workspace-wrapper {
    display: flex;
    min-height: calc(100vh - 56px);
}

/* Sidebar - fixed width, flex column */
.sidebar {
    width: 260px;
    min-height: calc(100vh - 56px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Content - takes remaining space */
.workspace-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 56px);
    min-height: calc(100vh - 56px);
}

/* Sidebar navigation */
.sidebar .nav {
    flex: 1;
}

.sidebar .nav-link {
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover:not(.active) {
    background: #f1f3f5;
}

.sidebar .nav-link.active {
    background: #0d6efd;
    color: white !important;
}

.sidebar .nav-link.active i {
    color: white !important;
}

/* Cards and buttons */
.card {
    border-radius: 12px;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

.badge {
    font-weight: 500;
}

.btn {
    border-radius: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .workspace-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-height: auto;
    }
    
    .workspace-content {
        max-height: none;
        min-height: auto;
    }
}