.org-tree {
    padding: 1rem;
}

.dept-item {
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dept-item:hover {
    background-color: #f8f9fa;
}

.dept-item.active {
    background-color: #e9ecef;
    border-left: 3px solid #0d6efd;
}

.dept-item .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.pagination {
    margin-bottom: 0;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1rem;
}

.input-group {
    width: auto;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.table-responsive {
    margin: -1rem;
    padding: 1rem;
    overflow-x: auto;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1;
}

.card-body {
    padding: 1rem;
}

@media (max-width: 768px) {
    .col-md-4,
    .col-md-8 {
        margin-bottom: 1rem;
    }
    
    .dept-item {
        padding: 0.75rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-group {
        width: 100%;
    }
} 